aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-22 20:43:56 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-22 20:43:56 +0000
commit7c9594259bbf007bf6dab857544586f2327ea66e (patch)
treeddee2e50d2cdc95c318d1334e136be7b29802b90 /include
parent5fd53858f83776025e63de44b2e0a1822b932c39 (diff)
Extended debug GL interface to include tracking of render buffers
Diffstat (limited to 'include')
-rw-r--r--include/gpu/gl/GrGLDefines.h1
-rw-r--r--include/gpu/gl/SkGLContext.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/gl/GrGLDefines.h b/include/gpu/gl/GrGLDefines.h
index e66eec4edf..3697d604cb 100644
--- a/include/gpu/gl/GrGLDefines.h
+++ b/include/gpu/gl/GrGLDefines.h
@@ -673,7 +673,6 @@
#define GR_GL_COLOR_ATTACHMENT0 0x8CE0
#define GR_GL_DEPTH_ATTACHMENT 0x8D00
#define GR_GL_STENCIL_ATTACHMENT 0x8D20
-#define GR_GL_DEPTH_STENCIL_ATTACHMENT 0x821A
#define GR_GL_NONE 0
diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h
index 542d1bbc06..e2ac7e0885 100644
--- a/include/gpu/gl/SkGLContext.h
+++ b/include/gpu/gl/SkGLContext.h
@@ -51,6 +51,8 @@ protected:
private:
SkString fExtensionString;
GrGLuint fFBO;
+ GrGLuint fColorBufferID;
+ GrGLuint fDepthStencilBufferID;
const GrGLInterface* fGL;
};