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

Unified Diff: ui/gfx/buffer_types.h

Issue 2717963002: ui: Add gfx::BufferUsage::SCANOUT_CPU_READ_WRITE. (Closed)
Patch Set: SCANOUT_CPU_READ_WRITE as valid shm usage Created 3 years, 10 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
« no previous file with comments | « gpu/ipc/service/gpu_memory_buffer_factory_test_template.h ('k') | ui/gfx/mojo/buffer_types.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/buffer_types.h
diff --git a/ui/gfx/buffer_types.h b/ui/gfx/buffer_types.h
index 7e1a157afd039e8aaae59e96e5b9df72d906f978..575ae7ff719fc5f4e8a004943ea41a339359d87c 100644
--- a/ui/gfx/buffer_types.h
+++ b/ui/gfx/buffer_types.h
@@ -40,6 +40,7 @@ enum class BufferFormat {
enum class BufferUsage {
GPU_READ,
SCANOUT,
+ SCANOUT_CPU_READ_WRITE,
GPU_READ_CPU_READ_WRITE,
// TODO(reveman): Merge this with GPU_READ_CPU_READ_WRITE when SurfaceTexture
// backed buffers are single buffered and support it.
« no previous file with comments | « gpu/ipc/service/gpu_memory_buffer_factory_test_template.h ('k') | ui/gfx/mojo/buffer_types.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698