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

Unified Diff: src/pipe/SkGPipePriv.h

Issue 20806003: Plumb in "bleed" flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: trying again after timeout Created 7 years, 5 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
Index: src/pipe/SkGPipePriv.h
===================================================================
--- src/pipe/SkGPipePriv.h (revision 10408)
+++ src/pipe/SkGPipePriv.h (working copy)
@@ -148,6 +148,9 @@
// Specific to drawBitmapRect, but needs to be different from HasPaint,
// which is used for all drawBitmap calls, so include it here.
kDrawBitmap_HasSrcRect_DrawOpFlag = 1 << 1,
+ // SkCanvas::DrawBitmapRectFlags::kBleed_DrawBitmapRectFlag is
+ // converted into and out of this flag to save space
+ kDrawBitmap_Bleed_DrawOpFlag = 1 << 2,
scroggo 2013/08/13 21:05:46 nit: = should line up with = for other flags.
robertphillips 2013/08/14 15:37:41 Done.
};
enum {
kClip_HasAntiAlias_DrawOpFlag = 1 << 0,
« no previous file with comments | « src/pdf/SkPDFDevice.cpp ('k') | src/pipe/SkGPipeRead.cpp » ('j') | src/pipe/SkGPipeRead.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698