skia2/include/gpu/gl
Kevin Lubick 3902628e35 Support WebGL 1.0 with caps
There is some logic in here for 2.0 as well, just as a
"as long as I was looking at the specs", but only 1.0
is really supported.

This seems to resolve the bug where some GPUs weren't
advertising correctly that they had vertex array object
support, by checking for both extension names (with and
without "GL_" prefix)

Of note, this saves about 18 Kb (5.5 Kb gzipped) of code size
by compiling out the unneeded GLES checks/functionality.

Bug: skia:8378
Change-Id: I773bf4dbf231b991051d2a9f640b8047a9010e7d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/203461
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2019-03-28 17:21:23 +00:00
..
GrGLAssembleHelpers.h Break out GrGLAssembleInterface into a few files 2019-03-18 18:57:18 +00:00
GrGLAssembleInterface.h Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
GrGLConfig_chrome.h Infer GL null buffer hint usage from whether on command buffer or WebGL. 2018-12-19 20:28:05 +00:00
GrGLConfig.h Infer GL null buffer hint usage from whether on command buffer or WebGL. 2018-12-19 20:28:05 +00:00
GrGLExtensions.h Make GrGLInterface great for Win32 x86 again 2018-08-27 16:09:48 +00:00
GrGLFunctions.h Drop support for GL_EXT_raster_multisample 2019-03-05 11:35:21 +00:00
GrGLInterface.h Drop support for GL_EXT_raster_multisample 2019-03-05 11:35:21 +00:00
GrGLTypes.h Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00