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

Unified Diff: bench/GameBench.cpp

Issue 23264014: Bleed cleanup (remove nocolorbleed GM & enable bleed in game bench) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 | gm/nocolorbleed.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GameBench.cpp
===================================================================
--- bench/GameBench.cpp (revision 10827)
+++ bench/GameBench.cpp (working copy)
@@ -207,7 +207,8 @@
4, verts, uvs, NULL, NULL,
indices, 6, p2);
} else {
- canvas->drawBitmapRect(fAtlas, &src, dst, &p);
+ canvas->drawBitmapRect(fAtlas, &src, dst, &p,
+ SkCanvas::kBleed_DrawBitmapRectFlag);
}
} else {
canvas->drawBitmapRect(fCheckerboard, NULL, dst, &p);
« no previous file with comments | « no previous file | gm/nocolorbleed.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698