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

Unified Diff: gm/yuvtorgbeffect.cpp

Issue 1404433002: Remove image usage type enum. Use GrTextureParams instead. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix no gpu build Created 5 years, 2 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 | « gm/texturedomaineffect.cpp ('k') | gyp/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/yuvtorgbeffect.cpp
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp
index 2fb3eec756d99e34ba5089f653fab54a5b971c3e..25dca35e02ba0b2b046c104edff91d7ce501c8ea 100644
--- a/gm/yuvtorgbeffect.cpp
+++ b/gm/yuvtorgbeffect.cpp
@@ -85,9 +85,12 @@ protected:
}
SkAutoTUnref<GrTexture> texture[3];
- texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0], nullptr));
- texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1], nullptr));
- texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2], nullptr));
+ texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0],
+ GrTextureParams::ClampBilerp()));
+ texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1],
+ GrTextureParams::ClampBilerp()));
+ texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2],
+ GrTextureParams::ClampBilerp()));
if (!texture[0] || !texture[1] || !texture[2]) {
return;
« no previous file with comments | « gm/texturedomaineffect.cpp ('k') | gyp/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698