| Index: src/gpu/gl/debug/GrDebugGL.h
|
| ===================================================================
|
| --- src/gpu/gl/debug/GrDebugGL.h (revision 7907)
|
| +++ src/gpu/gl/debug/GrDebugGL.h (working copy)
|
| @@ -12,13 +12,14 @@
|
| #include "SkTArray.h"
|
| #include "gl/GrGLInterface.h"
|
|
|
| +class GrBufferObj;
|
| class GrFakeRefObj;
|
| -class GrTextureUnitObj;
|
| -class GrBufferObj;
|
| -class GrTextureObj;
|
| class GrFrameBufferObj;
|
| +class GrProgramObj;
|
| class GrRenderBufferObj;
|
| -class GrProgramObj;
|
| +class GrTextureObj;
|
| +class GrTextureUnitObj;
|
| +class GrVertexArrayObj;
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // This is the main debugging object. It is a singleton and keeps track of
|
| @@ -33,6 +34,7 @@
|
| kShader_ObjTypes,
|
| kProgram_ObjTypes,
|
| kTextureUnit_ObjTypes,
|
| + kVertexArray_ObjTypes,
|
| kObjTypeCount
|
| };
|
|
|
| @@ -63,6 +65,9 @@
|
| void setElementArrayBuffer(GrBufferObj *elementArrayBuffer);
|
| GrBufferObj *getElementArrayBuffer() { return fElementArrayBuffer; }
|
|
|
| + void setVertexArray(GrVertexArrayObj* vertexArray);
|
| + GrVertexArrayObj* getVertexArray() { return fVertexArray; }
|
| +
|
| void setTexture(GrTextureObj *texture);
|
|
|
| void setFrameBuffer(GrFrameBufferObj *frameBuffer);
|
| @@ -119,13 +124,14 @@
|
| GrGLint fUnPackRowLength;
|
| GrGLuint fMaxTextureUnits;
|
| GrGLuint fCurTextureUnit;
|
| - GrBufferObj * fArrayBuffer;
|
| - GrBufferObj * fElementArrayBuffer;
|
| - GrFrameBufferObj *fFrameBuffer;
|
| - GrRenderBufferObj *fRenderBuffer;
|
| - GrProgramObj * fProgram;
|
| - GrTextureObj * fTexture;
|
| + GrBufferObj* fArrayBuffer;
|
| + GrBufferObj* fElementArrayBuffer;
|
| + GrFrameBufferObj* fFrameBuffer;
|
| + GrRenderBufferObj* fRenderBuffer;
|
| + GrProgramObj* fProgram;
|
| + GrTextureObj* fTexture;
|
| GrTextureUnitObj *fTextureUnits[kDefaultMaxTextureUnits];
|
| + GrVertexArrayObj *fVertexArray;
|
|
|
| typedef GrFakeRefObj *(*Create)();
|
|
|
|
|