OSDN Git Service

Avoid crashes with Suspendon Lollipop (ColorFade)
authorPaulo Sergio Travaglia <pstglia@gmail.com>
Sun, 21 Jun 2015 08:11:13 +0000 (05:11 -0300)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 22 Dec 2015 04:13:53 +0000 (12:13 +0800)
commit927459c53af3063ea49f5af6af96a334c25cc11e
tree2964bc316ae746d100713895e8685fbf6c560961
parent1f776b4099e560c9de207f90352e237e9763a773
Avoid crashes with Suspendon Lollipop (ColorFade)

ColorFade (which is called on Suspend during STATE_OFF)
uses some GLSL commands to make some effects ( fade current screen
to black and white before blacking it out completelly)

However, it produces a crash on mesa. To avoid this crash,
Fragment Shader code was commented out, keeping just
gl_FragColor to set a single black color
core/res/res/raw/color_fade_frag.frag