skia2/include/gpu
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
..
gl Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
mock Convert GrPorterDuff test from NullGL to Mock context 2019-03-26 16:04:49 +00:00
mtl added Metal support to GrBackendSurface 2018-06-29 13:32:17 +00:00
vk Pass render target VkImage in GrVkDrawableInfo 2019-02-26 17:07:30 +00:00
GrBackendDrawableInfo.h Add ability for an SkDevice to handle the drawing of an SkDrawable. 2018-10-19 15:21:54 +00:00
GrBackendSemaphore.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
GrBackendSurface.h Make vulkan GrBackendFormats with ycbcr external texture types. 2019-03-11 14:01:20 +00:00
GrBlend.h Reland "make enum santizer fatal" 2018-11-06 17:31:00 +00:00
GrConfig.h Stop supporting VC8 (Visual Studio 2005) in GrConfig 2019-03-25 19:24:19 +00:00
GrContext.h Add a function to compute texture sizes 2019-03-27 14:05:28 +00:00
GrContextOptions.h Reland "Disable coverage counting by default" 2019-03-18 16:22:47 +00:00
GrContextThreadSafeProxy.h Move "matches" from GrContextThreadSafeProxy to GrContext_Base 2019-02-07 19:26:50 +00:00
GrDriverBugWorkarounds.h Reland "Add driver bug workarounds to GrCaps" 2018-05-14 23:46:49 +00:00
GrDriverBugWorkaroundsAutogen.h Add disable_texture_storage workaround 2018-08-22 23:56:23 +00:00
GrGpuResource.h Make it safe to enter the cache from a GrTexture idle proc. 2019-02-22 16:12:35 +00:00
GrRenderTarget.h Restore support for multisample locations 2019-03-07 22:00:48 +00:00
GrSamplerState.h Revert "Move some Gr headers from include/gpu to include/private and src/gpu." 2018-12-11 19:01:41 +00:00
GrSurface.h Default implementation of onSetRelease() on GrSurface 2019-03-05 13:24:52 +00:00
GrTexture.h Revert "Revert "Distinguish between "flushed" and "finished" idle state callbacks on GrTexture."" 2019-03-15 16:24:28 +00:00
GrTypes.h Remove a few semicolons. 2019-02-11 14:40:37 +00:00