Index: src/gpu/gl/GrGLBufferImpl.h |
diff --git a/src/gpu/gl/GrGLBufferImpl.h b/src/gpu/gl/GrGLBufferImpl.h |
index 279075f4c9e617aae6c1f1892e4432975a13d546..8617a897d42835930a51914f847422c748769fbe 100644 |
--- a/src/gpu/gl/GrGLBufferImpl.h |
+++ b/src/gpu/gl/GrGLBufferImpl.h |
@@ -11,7 +11,7 @@ |
#include "SkTypes.h" |
#include "gl/GrGLFunctions.h" |
-class GrGpuGL; |
+class GrGLGpu; |
/** |
* This class serves as the implementation of GrGL*Buffer classes. It was written to avoid code |
@@ -26,24 +26,24 @@ public: |
bool fDynamic; |
}; |
- GrGLBufferImpl(GrGpuGL*, const Desc&, GrGLenum bufferType); |
+ GrGLBufferImpl(GrGLGpu*, const Desc&, GrGLenum bufferType); |
~GrGLBufferImpl() { |
// either release or abandon should have been called by the owner of this object. |
SkASSERT(0 == fDesc.fID); |
} |
void abandon(); |
- void release(GrGpuGL* gpu); |
+ void release(GrGLGpu* gpu); |
GrGLuint bufferID() const { return fDesc.fID; } |
size_t baseOffset() const { return reinterpret_cast<size_t>(fCPUData); } |
- void bind(GrGpuGL* gpu) const; |
+ void bind(GrGLGpu* gpu) const; |
- void* map(GrGpuGL* gpu); |
- void unmap(GrGpuGL* gpu); |
+ void* map(GrGLGpu* gpu); |
+ void unmap(GrGLGpu* gpu); |
bool isMapped() const; |
- bool updateData(GrGpuGL* gpu, const void* src, size_t srcSizeInBytes); |
+ bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes); |
private: |
void validate() const; |