aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/imagefromyuvtextures.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-05 07:17:34 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-05 07:17:34 -0800
commite63ffef6248bd103b5f7827f1e4bc75e47ca9e20 (patch)
tree982e920b3597332f6c653ea848485cbb6e09c71f /gm/imagefromyuvtextures.cpp
parentd3b32bf8322877cf263229735aef4f04df5415c4 (diff)
Remove deferred clear from SkGpuDevice
Add combining to GrClearBatch Fix issue with state tracking in GrGLGpu::createTestingOnlyBackendTexture Add tests for clearing GPU SkSurfaces and add tests for GrDrawContext::clear(). Add comment that SkCanvas::flush will resolve the RT in the GPU case. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1658823002 Review URL: https://codereview.chromium.org/1658823002
Diffstat (limited to 'gm/imagefromyuvtextures.cpp')
-rw-r--r--gm/imagefromyuvtextures.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp
index 28d2cf84c5..c53df295cd 100644
--- a/gm/imagefromyuvtextures.cpp
+++ b/gm/imagefromyuvtextures.cpp
@@ -94,7 +94,7 @@ protected:
}
void createYUVTextures(GrContext* context, GrBackendObject yuvHandles[3]) {
- const GrGpu* gpu = context->getGpu();
+ GrGpu* gpu = context->getGpu();
if (!gpu) {
return;
}
@@ -111,7 +111,7 @@ protected:
void deleteYUVTextures(GrContext* context, const GrBackendObject yuvHandles[3]) {
- const GrGpu* gpu = context->getGpu();
+ GrGpu* gpu = context->getGpu();
if (!gpu) {
return;
}