aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/mixedxfermodes.cpp
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-10 18:10:41 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-10 18:10:41 +0000
commitaef2d3b14eab4f86e7d0efef952e64b3546630ac (patch)
tree87233aea9154f77650512bee7e397ce36eb34ffd /gm/mixedxfermodes.cpp
parentae403b94967aa73fe0fd9f0afb612d5773aeafbf (diff)
Run mixedxfermodes GM through the pipe.
Pass the size of the GM to SkGPipeWriter.startRecording(), so that calls to getDeviceSize() on the returned SkCanvas return a reasonable result. This allows removing the flag to skip mixedxfermodes. BUG=https://code.google.com/p/skia/issues/detail?id=1199 Review URL: https://codereview.chromium.org/13814023 git-svn-id: http://skia.googlecode.com/svn/trunk@8598 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/mixedxfermodes.cpp')
-rw-r--r--gm/mixedxfermodes.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/gm/mixedxfermodes.cpp b/gm/mixedxfermodes.cpp
index dbc7453f39..beb5d5410e 100644
--- a/gm/mixedxfermodes.cpp
+++ b/gm/mixedxfermodes.cpp
@@ -90,9 +90,6 @@ protected:
canvas->restore();
}
- // https://code.google.com/p/skia/issues/detail?id=1199&thanks=1199&ts=1364839297
- virtual uint32_t onGetFlags() const SK_OVERRIDE { return kSkipPipe_Flag; }
-
private:
enum {
kMinR = 10,