skia2/include/gpu
kkinnunen 9e61bb7815 Make the Sk GL context class an abstract base class
Make the Sk GL context class, SkGLNativeContext, an abstract base class. Before,
it depended on ifdefs to implement the platform dependent polymorphism.  Move
the logic to subclasses of the various platform implementations.

This a step to enable Skia embedders to compile dm and bench_pictures. The
concrete goal is to support running these test apps with Chromium command buffer.

With this change, Chromium can implement its own version of SkGLNativeContext
that uses command buffer, and host the implementation in its own repository.

Implements the above by renaming the SkGLContextHelper to SkGLContext and
removing the unneeded SkGLNativeContext. Also removes
SkGLNativeContext::AutoRestoreContext functionality, it appeared to be unused:
no use in Skia code, and no tests.

BUG=skia:2992

Committed: https://skia.googlesource.com/skia/+/a90ed4e83897b45d6331ee4c54e1edd4054de9a8

Review URL: https://codereview.chromium.org/630843002
2014-10-09 05:24:15 -07:00
..
gl Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
GrBackendProcessorFactory.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrBinHashKey.h Make textures register with GrResourceCache2 as scratch. 2014-08-28 09:54:34 -07:00
GrClipData.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
GrColor.h Always use both a color and coverage attribute in GrAARectRenderer. 2014-08-11 11:07:48 -07:00
GrConfig.h Add counting of some GL calls 2014-09-18 13:52:08 -07:00
GrContext.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
GrContextFactory.h Make the Sk GL context class an abstract base class 2014-10-09 05:24:15 -07:00
GrCoordTransform.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrFontScaler.h Fix thread unsafe mutex initialization. 2014-07-25 11:52:48 -07:00
GrGeometryProcessor.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrGlyph.h Replace use of GrTHashTable in GrFontCache with SkTDynamicHash. 2014-07-22 13:25:26 -07:00
GrGpuResource.h call derived ~ from GrIORef 2014-10-08 12:36:54 -07:00
GrGpuResourceRef.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
GrPaint.h Cleanup of shader building system 2014-10-07 16:43:25 -07:00
GrPathRendererChain.h Revert of r13384 (Stateful PathRenderer implementation) 2014-02-11 16:30:21 +00:00
GrProcessor.h Revert of gl programs rewrite (patchset #10 id:180001 of https://codereview.chromium.org/628633003/) 2014-10-07 08:37:36 -07:00
GrProcessorStage.h Cleanup of shader building system 2014-10-07 16:43:25 -07:00
GrProcessorUnitTest.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrProgramElement.h Fix ref cnt'ing issue in GrProgramElement. 2014-10-03 05:31:41 -07:00
GrProgramElementRef.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrRect.h Begin atlasing 2014-06-30 08:26:50 -07:00
GrRenderTarget.h "NULL !=" = NULL 2014-09-05 13:34:00 -07:00
GrResourceKey.h Make textures register with GrResourceCache2 as scratch. 2014-08-28 09:54:34 -07:00
GrShaderVar.h Changes to remove program effects builder 2014-09-18 12:26:38 -07:00
GrSurface.h GrContext::copyTexture->GrContext::copySurface. 2014-10-07 05:56:02 -07:00
GrTBackendProcessorFactory.h Cleanup of shader building system 2014-10-07 16:43:25 -07:00
GrTexture.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
GrTextureAccess.h Patch to create a distinct geometry processor. The vast majority of this patch 2014-09-23 09:50:21 -07:00
GrTypes.h Revert of gl programs rewrite (patchset #10 id:180001 of https://codereview.chromium.org/628633003/) 2014-10-07 08:37:36 -07:00
GrTypesPriv.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
GrUserConfig.h Rename from "(un)lock" to "(un)map" for geometry buffers. 2014-05-07 20:51:05 +00:00
SkGr.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
SkGrPixelRef.h GrResourceCache2 manages scratch texture. 2014-10-08 08:40:09 -07:00
SkGrTexturePixelRef.h Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00