| Index: src/gpu/gl/GrGLPathRange.cpp
|
| diff --git a/src/gpu/gl/GrGLPathRange.cpp b/src/gpu/gl/GrGLPathRange.cpp
|
| index 5ff64f85affb512250bf0bbb16b6d95437c9e6a5..a85c32000e8440d46c429b62c1b8ad57d6a72e2d 100644
|
| --- a/src/gpu/gl/GrGLPathRange.cpp
|
| +++ b/src/gpu/gl/GrGLPathRange.cpp
|
| @@ -11,14 +11,14 @@
|
| #include "GrGLPathRendering.h"
|
| #include "GrGpuGL.h"
|
|
|
| -GrGLPathRange::GrGLPathRange(GrGpuGL* gpu, PathGenerator* pathGenerator, const SkStrokeRec& stroke)
|
| +GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const SkStrokeRec& stroke)
|
| : INHERITED(gpu, pathGenerator, stroke),
|
| fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())),
|
| fGpuMemorySize(0) {
|
| this->registerWithCache();
|
| }
|
|
|
| -GrGLPathRange::GrGLPathRange(GrGpuGL* gpu,
|
| +GrGLPathRange::GrGLPathRange(GrGLGpu* gpu,
|
| GrGLuint basePathID,
|
| int numPaths,
|
| size_t gpuMemorySize,
|
| @@ -30,7 +30,7 @@ GrGLPathRange::GrGLPathRange(GrGpuGL* gpu,
|
| }
|
|
|
| void GrGLPathRange::onInitPath(int index, const SkPath& skPath) const {
|
| - GrGpuGL* gpu = static_cast<GrGpuGL*>(this->getGpu());
|
| + GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu());
|
| if (NULL == gpu) {
|
| return;
|
| }
|
| @@ -51,7 +51,7 @@ void GrGLPathRange::onRelease() {
|
| SkASSERT(this->getGpu());
|
|
|
| if (0 != fBasePathID && !this->isWrapped()) {
|
| - static_cast<GrGpuGL*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID,
|
| + static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID,
|
| this->getNumPaths());
|
| fBasePathID = 0;
|
| }
|
|
|