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

Unified Diff: services/ui/public/interfaces/gpu_memory_buffer.mojom

Issue 2248973005: mojo: Struct traits for gpu buffer types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « services/ui/gpu/gpu_service_impl.cc ('k') | services/ui/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/gpu_memory_buffer.mojom
diff --git a/services/ui/public/interfaces/gpu_memory_buffer.mojom b/services/ui/public/interfaces/gpu_memory_buffer.mojom
index c96e442376b7fffa245b2f34e191b08898f31d1b..683da1195dd087fe2c78c467971ee561e5dbf220 100644
--- a/services/ui/public/interfaces/gpu_memory_buffer.mojom
+++ b/services/ui/public/interfaces/gpu_memory_buffer.mojom
@@ -4,32 +4,6 @@
module ui.mojom;
-enum BufferFormat {
- ATC,
- ATCIA,
- DXT1,
- DXT5,
- ETC1,
- R_8,
- RGBA_4444,
- RGBX_8888,
- RGBA_8888,
- BGRX_8888,
- BGRA_8888,
- YUV_420,
- YUV_420_BIPLANAR,
- UYVY_422,
- LAST = UYVY_422
-};
-
-enum BufferUsage {
- GPU_READ,
- SCANOUT,
- GPU_READ_CPU_READ_WRITE,
- GPU_READ_CPU_READ_WRITE_PERSISTENT,
- LAST = GPU_READ_CPU_READ_WRITE_PERSISTENT
-};
-
enum GpuMemoryBufferType {
EMPTY,
SHARED_MEMORY,
« no previous file with comments | « services/ui/gpu/gpu_service_impl.cc ('k') | services/ui/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698