summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-02-21 16:58:53 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2015-02-21 17:24:36 -0600
commite9ac4d53a6b50e61375ffc1994d7d278e4c94e7a (patch)
tree8d7c6d8bea50868aa1a407898d2a7f58f5e6ca1a /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
parenta5b4ac6faa11201ef90ff2a9881af8b0146f9c1f (diff)
Implement full occlusion queries for the Nexus 9.
GLES3 spec is worthless and only returns a boolean result for occlusion queries. This is fine for simple cellular games but we need more than a boolean result. Thankfully Nvidia exposes GL_NV_occlusion_queries under a OpenGL ES extension, which allows us to get full samples rendered. The only device this change affects is the Nexus 9, since it is an Nvidia K1 crippled to only support OpenGL ES. No other OpenGL ES device that I know of supports this extension.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions