diff options
author | bsalomon <bsalomon@google.com> | 2014-12-16 07:33:49 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-16 07:33:50 -0800 |
commit | 861e1037017bbb7ac52ec5ebecab3a636a82a3e8 (patch) | |
tree | ba74afb4f14b209b733892c17a02b5c1c99ead24 /src/gpu/gl/GrGLVertexArray.cpp | |
parent | 702eb9622102599d94ab6798e6227cf29f48c2d3 (diff) |
Rename GrGpuGL to GrGLGpu for consistency
Review URL: https://codereview.chromium.org/808593003
Diffstat (limited to 'src/gpu/gl/GrGLVertexArray.cpp')
-rw-r--r-- | src/gpu/gl/GrGLVertexArray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLVertexArray.cpp b/src/gpu/gl/GrGLVertexArray.cpp index 4acf29235d..e28a163739 100644 --- a/src/gpu/gl/GrGLVertexArray.cpp +++ b/src/gpu/gl/GrGLVertexArray.cpp @@ -8,10 +8,10 @@ #include "GrGLVertexArray.h" #include "GrGpuGL.h" -#define GPUGL static_cast<GrGpuGL*>(this->getGpu()) +#define GPUGL static_cast<GrGLGpu*>(this->getGpu()) #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X); -void GrGLAttribArrayState::set(const GrGpuGL* gpu, +void GrGLAttribArrayState::set(const GrGLGpu* gpu, int index, GrGLVertexBuffer* buffer, GrGLint size, @@ -49,7 +49,7 @@ void GrGLAttribArrayState::set(const GrGpuGL* gpu, } } -void GrGLAttribArrayState::disableUnusedArrays(const GrGpuGL* gpu, uint64_t usedMask) { +void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) { int count = fAttribArrayStates.count(); for (int i = 0; i < count; ++i) { if (!(usedMask & 0x1)) { @@ -68,7 +68,7 @@ void GrGLAttribArrayState::disableUnusedArrays(const GrGpuGL* gpu, uint64_t used /////////////////////////////////////////////////////////////////////////////////////////////////// -GrGLVertexArray::GrGLVertexArray(GrGpuGL* gpu, GrGLint id, int attribCount) +GrGLVertexArray::GrGLVertexArray(GrGLGpu* gpu, GrGLint id, int attribCount) : INHERITED(gpu, false) , fID(id) , fAttribArrays(attribCount) |