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

Unified Diff: gm/imagefromyuvtextures.cpp

Issue 1658823002: Remove deferred clear from SkGpuDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix ptr->bool warning on windows Created 4 years, 10 months 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 | « no previous file | include/core/SkCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefromyuvtextures.cpp
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp
index 28d2cf84c56bd74d989d3ac7174d7fc88f69ef7d..c53df295cd0c6ba843347de382fbea49758524b2 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;
}
« no previous file with comments | « no previous file | include/core/SkCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698