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

Unified Diff: src/gpu/GrPictureUtils.cpp

Issue 448793004: add drawPicture variant that takes a matrix and paint (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: pass paint to transformBounds in bbox Created 6 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
Index: src/gpu/GrPictureUtils.cpp
diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp
index 0bcd927e578806179fe8b5f015cc18769f0c235b..b33bf2a61085587dc277af67112ddb219335e169 100644
--- a/src/gpu/GrPictureUtils.cpp
+++ b/src/gpu/GrPictureUtils.cpp
@@ -234,7 +234,8 @@ protected:
this->updateClipConservativelyUsingBounds(rrect.getBounds(), op, false);
}
- virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE {
+ virtual void onDrawPicture(const SkPicture* picture, const SkMatrix* matrix,
+ const SkPaint* paint) SK_OVERRIDE {
if (NULL != picture->fData.get()) {
// Disable the BBH for the old path so all the draw calls
// will be seen. The stock SkPicture::draw method can't be

Powered by Google App Engine
This is Rietveld 408576698