diff options
author | 2015-02-13 14:20:05 -0800 | |
---|---|---|
committer | 2015-02-13 14:20:05 -0800 | |
commit | 3582d3ee9fffdec715f5e4949a241ab08e6271ec (patch) | |
tree | eab9709bbe8c4d00cd11fb987654cfb9e51acc65 /src/gpu/gl | |
parent | 4ccce7ea618fd9557a6d5cfa29c1fd6b015c7580 (diff) |
Split out methods in GrGpuResource::CacheAccess that can be called outside of the cache.
Review URL: https://codereview.chromium.org/923143002
Diffstat (limited to 'src/gpu/gl')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp index 21d2f6327b..5813d5d0f6 100644 --- a/src/gpu/gl/GrGLGpu.cpp +++ b/src/gpu/gl/GrGLGpu.cpp @@ -9,7 +9,7 @@ #include "GrGLGpu.h" #include "GrGLStencilBuffer.h" #include "GrGLTextureRenderTarget.h" -#include "GrGpuResourceCacheAccess.h" +#include "GrGpuResourcePriv.h" #include "GrPipeline.h" #include "GrSurfacePriv.h" #include "GrTemplates.h" @@ -1186,7 +1186,7 @@ bool GrGLGpu::createStencilBufferForRenderTarget(GrRenderTarget* rt, bool budget } // Remove the scratch key from this resource so we don't grab it from the cache ever // again. - sb->cacheAccess().removeScratchKey(); + sb->resourcePriv().removeScratchKey(); // Set this to 0 since we handed the valid ID off to the failed stencil buffer resource. sbDesc.fRenderbufferID = 0; } |