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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1062853002: Add gfx::GpuMemoryBuffer::YUV_420 and GpuMemoryBufferImplSharedMemory support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index e56009f45d075dc8468dbe6b13be881ea72a14a3..6383a138fca97bc17bfa181db8f4c094aff33abb 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -51,8 +51,9 @@ class GFX_EXPORT GpuMemoryBuffer {
RGBA_8888,
RGBX_8888,
BGRA_8888,
+ YUV_420,
- FORMAT_LAST = BGRA_8888
+ FORMAT_LAST = YUV_420
};
// The usage mode affects how a buffer can be used. Only buffers created with

Powered by Google App Engine
This is Rietveld 408576698