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

Unified Diff: gm/bleed.cpp

Issue 1225923010: Refugee from Dead Machine 4: MDB Monster Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Last update from dead machine Created 4 years, 8 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 | « dm/DMSrcSink.cpp ('k') | gm/colorfilterimagefilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bleed.cpp
diff --git a/gm/bleed.cpp b/gm/bleed.cpp
index 85ae2f49d10584aa37a3f6c417b8052b25f78bb9..434f9a2f7f45e154b2de9450902e01b11a983b01 100644
--- a/gm/bleed.cpp
+++ b/gm/bleed.cpp
@@ -243,6 +243,9 @@ bool make_oversized_texture_bitmap(GrContext* ctx, TestPixels* result, int width
return false;
}
+ texture->setFromRawPixels(true);
+ texture->setException(true);
+
GrWrapTextureInBitmap(texture, width, height, true, &result->fBitmap);
result->fType = TestPixels::kBitmap;
result->fBitmap.setImmutable();
« no previous file with comments | « dm/DMSrcSink.cpp ('k') | gm/colorfilterimagefilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698