skia2/include/gpu/gl
kkinnunen 30bc88ccd5 Refactor SkGLContext to be actually extendable
Refactor SkGLContext to be actually extendable. Before, non-trivial subclass
would need to destroy the GL connection upon running the destructor. However,
the base class would run GL commands in its own destructor (with destroyed GL
connection)

Refactor so that SkGLContext subclass object creation is completely done by
the factory function. If the factory function returns a non-NULL ptr, it means the context
is usable.

The destruction is done with the destructor instead of virtual function called
upon destruction. Make the destructors not to call virtual functions, for
clarity.

Remove custom 1x1 FBO setup code from the base class. It appears not to be used
anymore.

BUG=skia:2992

Review URL: https://codereview.chromium.org/640283004
2014-10-15 23:03:54 -07:00
..
GrGLConfig_chrome.h Replace GR_*_BUILD by their SK_BUILD_FOR_* equivalents. 2013-09-25 20:57:51 +00:00
GrGLConfig.h Turn NVPR on by default (but off in tools). 2014-01-24 20:49:44 +00:00
GrGLExtensions.h Add SK_API to GrGLExtensions 2014-02-25 02:14:57 +00:00
GrGLFunctions.h Adding support for GL_CHROMIUM_copy_texture, part 1 2014-09-23 07:30:09 -07:00
GrGLInterface.h Adding support for GL_CHROMIUM_copy_texture, part 1 2014-09-23 07:30:09 -07:00
GrGLSLPrettyPrint.h Pretty print of shaders 2014-08-08 09:41:42 -07:00
SkANGLEGLContext.h Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00
SkDebugGLContext.h Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00
SkGLContext.h Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00
SkMesaGLContext.h Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00
SkNullGLContext.h Refactor SkGLContext to be actually extendable 2014-10-15 23:03:54 -07:00