google-code-export / angleproject

Automatically exported from code.google.com/p/angleproject
0 stars 0 forks source link

Add support for GL_EXT_shader_framebuffer_fetch in GLSL/ESSL validator/translator #834

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ANGLE should allow use of GL_*_shader_framebuffer_fetch for devices that 
support it.

The blendmodes shaders used in CC can be given a nice boost by allowing the 
shaders to read directly from the framebuffer instead of using a temporary 
texture with a copy of the framebuffer, if the device supports 
GL_EXT_shader_framebuffer_fetch (or a variant thereof).

On a Nexus 7 tablet (nvidia tegra 3) this meant a performance improvement (from 
~21fps to ~27fps) on the web content that I used for testing.

The issue I faced was that ANGLE didn't validate/accept the shader code that my 
corresponding patch in the chromium compositor generated.

Original issue reported on code.google.com by e...@opera.com on 20 Nov 2014 at 4:16

GoogleCodeExporter commented 9 years ago
Codereview: https://chromium-review.googlesource.com/231032

Original comment by e...@opera.com on 20 Nov 2014 at 4:33