aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-08 23:31:35 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-08 23:31:35 +0000
commit506db0b7d2905c6bedba9fc5d4aeaf231a9a34ea (patch)
tree77d73de439e9102d45891be433c5556ee23ce74c /gyp
parent9ffa52d98fc216b6766f33ffd0d9f1c3a1acdb2f (diff)
SkRecord: make culling work if SkRecordAnnotateCullingPairs is called.
- Allow stateful functors; allow visit()/mutate() at a given index; add count(). - Annotate cull push/pop pairs on the PushCull records. (tested) - Use those annotations to skip ahead in SkRecordDraw. (not yet tested beyond dm --skr) - Make SkRecordDraw a function, move its implementation to a .cpp. BUG=skia:2378 R=fmalita@chromium.org, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/229523002 git-svn-id: http://skia.googlecode.com/svn/trunk@14101 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/record.gyp2
-rw-r--r--gyp/tests.gypi1
2 files changed, 3 insertions, 0 deletions
diff --git a/gyp/record.gyp b/gyp/record.gyp
index bcc42229ed..ae80f7c885 100644
--- a/gyp/record.gyp
+++ b/gyp/record.gyp
@@ -14,6 +14,8 @@
},
'sources': [
'../src/record/SkRecorder.cpp',
+ '../src/record/SkRecordCulling.cpp',
+ '../src/record/SkRecordDraw.cpp',
],
}]
}
diff --git a/gyp/tests.gypi b/gyp/tests.gypi
index 02aed738b5..a3d1e509b7 100644
--- a/gyp/tests.gypi
+++ b/gyp/tests.gypi
@@ -135,6 +135,7 @@
'../tests/ReadPixelsTest.cpp',
'../tests/ReadWriteAlphaTest.cpp',
'../tests/Reader32Test.cpp',
+ '../tests/RecordCullingTest.cpp',
'../tests/RecordTest.cpp',
'../tests/RecorderTest.cpp',
'../tests/RefCntTest.cpp',