diff options
author | hendrikw <hendrikw@chromium.org> | 2015-10-19 06:13:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-19 06:13:55 -0700 |
commit | b3f1636ec80e66188ddc01306672a9a79a954dfe (patch) | |
tree | f5859dca0082fa29a1559dcef3eb2070889ddda3 /debugger/SkDebugger.h | |
parent | 44d85d1748baf6fe61641673a55509af7def1886 (diff) |
skia: Make the validate match interface for *_draw_instanced
For whatever reason, on the Mac, the command buffer is reporting
ARB_draw_instanced as a valid extension. This is probably a bug in the
command buffer and I'll look into this later.
In Skia, we don't check for ARB_draw_instanced in GLES2 when building
the interface, but during the validate, we do, so we ended up failing
the validation.
Looking a bit further at the specs, ARB_draw_instanced is GL only,
whereas EXT_draw_instanced is both GL and GLES. I've updated the code
to reflect this.
See:
https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/ARB/draw_instanced.txt
https://www.opengl.org/registry/specs/EXT/draw_instanced.txt
Everything above also applies to ARB/EXT_instanced_arrays
https://www.khronos.org/registry/gles/extensions/EXT/EXT_instanced_arrays.txt
https://www.opengl.org/registry/specs/ARB/instanced_arrays.txt
Review URL: https://codereview.chromium.org/1409053003
Diffstat (limited to 'debugger/SkDebugger.h')
0 files changed, 0 insertions, 0 deletions