diff options
author | reveman <reveman@chromium.org> | 2014-10-28 18:28:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 01:28:30 +0000 |
commit | 2232bce10844b88b9816027c2b546ccee64f46d4 (patch) | |
tree | 1f862495b3334ce7a1af5b40de39b762eba58f4e /cc/cc_tests.gyp | |
parent | cb127d47af978593c05db25bb056ef6e55048a00 (diff) | |
download | chromium_src-2232bce10844b88b9816027c2b546ccee64f46d4.zip chromium_src-2232bce10844b88b9816027c2b546ccee64f46d4.tar.gz chromium_src-2232bce10844b88b9816027c2b546ccee64f46d4.tar.bz2 |
gpu: Add CHROMIUM_image support to in-process command buffer.
This makes it possible to use the in-process command buffer
with CHROMIUM_image extension. GpuMemoryBufferManager and
ImageFactory interfaces need to be provided when creating
an in-process command buffer. Existing implementations
of these interfaces in content/ should work just fine.
cc::TestGpuMemoryBufferManager and cc::TestImageFactory
are used for cc pixel tests. They provide a minimal
implementation of these interfaces using shared memory.
Note: shared memory is used for in-process testing as it
maps better to the GpuMemoryBuffer framework that has
been designed for multi-process usage. Non-shared memory
might be a bit more efficient but it would require more
complexity and not match real usage as well.
BUG=423533
Review URL: https://codereview.chromium.org/665463003
Cr-Commit-Position: refs/heads/master@{#301763}
Diffstat (limited to 'cc/cc_tests.gyp')
-rw-r--r-- | cc/cc_tests.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp index 2724ec0..ab478d1 100644 --- a/cc/cc_tests.gyp +++ b/cc/cc_tests.gyp @@ -237,6 +237,8 @@ 'test/test_gles2_interface.h', 'test/test_gpu_memory_buffer_manager.cc', 'test/test_gpu_memory_buffer_manager.h', + 'test/test_image_factory.cc', + 'test/test_image_factory.h', 'test/test_now_source.cc', 'test/test_now_source.h', 'test/test_occlusion_tracker.h', |