Index: src/gpu/gl/GrGLProgramDesc.h |
diff --git a/src/gpu/gl/GrGLProgramDesc.h b/src/gpu/gl/GrGLProgramDesc.h |
index f2371556bfaf19a178b67594795ba92144316201..a10b0e8875249238d7c44cb75a6ba350fe9b0926 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.h |
+++ b/src/gpu/gl/GrGLProgramDesc.h |
@@ -14,6 +14,11 @@ |
#include "GrTypesPriv.h" |
class GrGLGpu; |
+class GrGLProgramDescBuilder; |
+ |
+class GrGLProgramDesc : public GrProgramDesc { |
+ friend class GrGLProgramDescBuilder; |
+}; |
/** |
* This class can be used to build a GrProgramDesc. It also provides helpers for accessing |
@@ -30,7 +35,7 @@ public: |
// Each processor's key is a variable length array of uint32_t. |
enum { |
// Part 3. |
- kHeaderOffset = GrProgramDesc::kHeaderOffset, |
+ kHeaderOffset = GrGLProgramDesc::kHeaderOffset, |
kHeaderSize = SkAlign4(sizeof(KeyHeader)), |
// Part 4. |
// This is the offset into the backenend specific part of the key, which includes |