| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index ec9c8d6fab7e3ea5bebf77280966d68fe1b7851f..94ad26d1ec685735b5877f29655541870800029f 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -117,14 +117,12 @@ GrGpuGL::GrGpuGL(const GrGLContext& ctx, GrContext* context)
|
| , fGLContext(ctx) {
|
|
|
| SkASSERT(ctx.isInitialized());
|
| -
|
| fCaps.reset(SkRef(ctx.caps()));
|
|
|
| fHWBoundTextures.reset(this->glCaps().maxFragmentTextureUnits());
|
| fHWTexGenSettings.reset(this->glCaps().maxFixedFunctionTextureCoords());
|
|
|
| GrGLClearErr(fGLContext.interface());
|
| -
|
| if (gPrintStartupSpew) {
|
| const GrGLubyte* vendor;
|
| const GrGLubyte* renderer;
|
| @@ -2663,6 +2661,21 @@ bool GrGpuGL::onCanCopySurface(GrSurface* dst,
|
| return INHERITED::onCanCopySurface(dst, src, srcRect, dstPoint);
|
| }
|
|
|
| +void GrGpuGL::onInsertEventMarker(const char* marker){
|
| + if (this->caps()->debugMarkerSupport()) {
|
| + // GL_CALL(InsertEventMarker(0, marker));
|
| + }
|
| +}
|
| +void GrGpuGL::onPushGroupMarker(const char* marker){
|
| + if (this->caps()->debugMarkerSupport()) {
|
| + // GL_CALL(PushGroupMarker(0, marker));
|
| + }
|
| +}
|
| +void GrGpuGL::onPopGroupMarker(){
|
| + if (this->caps()->debugMarkerSupport()) {
|
| + // GL_CALL(PopGroupMarker());
|
| + }
|
| +}
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|