S straybullet Member Licensed User Longtime User May 18, 2012 #1 This is a power saving method that workds on OLED phone screens. It uses an OpenGl call to set the current going to the color leds, I would be interested in creating the red & green modes and have a return to normal function See example here.. Jeff Sharkey » Android SurfaceFlinger tricks for fun and profit Here is the code they reference in the examples... https://android-review.googlesource.com/#/c/15614/ Be cool if there is some way, if not o'well maybe next time.
This is a power saving method that workds on OLED phone screens. It uses an OpenGl call to set the current going to the color leds, I would be interested in creating the red & green modes and have a return to normal function See example here.. Jeff Sharkey » Android SurfaceFlinger tricks for fun and profit Here is the code they reference in the examples... https://android-review.googlesource.com/#/c/15614/ Be cool if there is some way, if not o'well maybe next time.
Erel B4X founder Staff member Licensed User Longtime User May 20, 2012 #2 Checkout OpenGL or OpenGL2 libraries. I'm not an expert in this field so I do not know if it is possible or not. Upvote 0
Checkout OpenGL or OpenGL2 libraries. I'm not an expert in this field so I do not know if it is possible or not.
agraham Expert Licensed User Longtime User May 20, 2012 #3 straybullet said: It uses an OpenGl call to set the current going to the color leds, Click to expand... Actually it doesn't. This needs modification and recompile of Android itself so that the low-level window compositor works in OpenGL mode (not possible on all hardware). It's a non-starter. Last edited: May 20, 2012 Upvote 0
straybullet said: It uses an OpenGl call to set the current going to the color leds, Click to expand... Actually it doesn't. This needs modification and recompile of Android itself so that the low-level window compositor works in OpenGL mode (not possible on all hardware). It's a non-starter.