Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: src/gpu/gl/GrGLBufferImpl.h

Issue 808593003: Rename GrGpuGL to GrGLGpu for consistency (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTraceMarker.cpp ('k') | src/gpu/gl/GrGLBufferImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/gpu/GrTraceMarker.cpp ('k') | src/gpu/gl/GrGLBufferImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698