aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar sugoi <sugoi@chromium.org>2015-01-19 10:10:27 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-19 10:10:27 -0800
commit692135f9689d4dcb5ba91ff8f4899e268c0bfe11 (patch)
tree73d0911ff57b27e75df7c5a1da554b959a2e6ca1 /gyp
parent89499d76b9616a455dfe8257cef9e4489938ea22 (diff)
YUV planes cache
- Added new classes to contain YUV planes of memory, along with the associated data. - Used these classes in load_yuv_texture() to enable YUV planes caching - Added a unit test for the new cache BUG=450021 Review URL: https://codereview.chromium.org/851273003
Diffstat (limited to 'gyp')
-rw-r--r--gyp/core.gypi2
-rw-r--r--gyp/tests.gypi1
2 files changed, 3 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi
index c5cecb666e..e7738af8bb 100644
--- a/gyp/core.gypi
+++ b/gyp/core.gypi
@@ -218,6 +218,8 @@
'<(skia_src_path)/core/SkWriteBuffer.cpp',
'<(skia_src_path)/core/SkWriter32.cpp',
'<(skia_src_path)/core/SkXfermode.cpp',
+ '<(skia_src_path)/core/SkYUVPlanesCache.cpp',
+ '<(skia_src_path)/core/SkYUVPlanesCache.h',
'<(skia_src_path)/doc/SkDocument.cpp',
diff --git a/gyp/tests.gypi b/gyp/tests.gypi
index d59b26204a..ac71d36169 100644
--- a/gyp/tests.gypi
+++ b/gyp/tests.gypi
@@ -218,6 +218,7 @@
'../tests/WritePixelsTest.cpp',
'../tests/Writer32Test.cpp',
'../tests/XfermodeTest.cpp',
+ '../tests/YUVCacheTest.cpp',
'../tests/MatrixClipCollapseTest.cpp',
'../src/utils/debugger/SkDrawCommand.h',