 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1022923002:
    gpu: Benchmark GL_RED instead of GL_LUMINANCE on OpenGL ES3.  (Closed)
    
  
    Issue 
            1022923002:
    gpu: Benchmark GL_RED instead of GL_LUMINANCE on OpenGL ES3.  (Closed) 
  | Descriptiongpu: Benchmark GL_RED instead of GL_LUMINANCE on OpenGL ES3.
This patch tests GL_LUMINANCE only when OpenGL is not ES3
and tests GL_RED when on OpengGL ES3.
This change should allow crrev.com/1022603002 to run on Android perf
bots. Without this patch crrev.com/1022603002 fails on perf bots because
glTextureStorage2D doesn't always accept GL_LUMINANCE8 as
internalformat.
glTextureStorage2D has been added to OpenGL ES3 and it's available
as an extension (GL_{EXT,ARB}_texture_storage) prior to that.
If glTextureStorage2D is availabe via the extension it accepts
GL_LUMINANCE8_EXT as internal format, otherwise it doesn't.
BUG=468748
Committed: https://crrev.com/2208da11bfcabfa5bf0e05fbe614a04715f08b4d
Cr-Commit-Position: refs/heads/master@{#321462}
   Patch Set 1 #
 Messages
    Total messages: 7 (2 generated)
     | |||||||||||||||||||