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

Unified Diff: components/mus/public/interfaces/gpu_memory_buffer.mojom

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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: components/mus/public/interfaces/gpu_memory_buffer.mojom
diff --git a/components/mus/public/interfaces/gpu_memory_buffer.mojom b/components/mus/public/interfaces/gpu_memory_buffer.mojom
deleted file mode 100644
index 0cb6e19ee0a55a477d52c5a1ae283b3806c02a1b..0000000000000000000000000000000000000000
--- a/components/mus/public/interfaces/gpu_memory_buffer.mojom
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mus.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,
- IO_SURFACE,
- SURFACE_TEXTURE,
- OZONE_NATIVE_PIXMAP,
- LAST = OZONE_NATIVE_PIXMAP
-};
-
-struct GpuMemoryBufferId {
- int32 id;
-};
-
-struct NativePixmapHandle {
- // A file descriptor for the underlying memory object (usually dmabuf).
- handle fd;
-
- // The stride used when accessing the buffer via a memory mapping.
- int32 stride;
-};
-
-
-struct GpuMemoryBufferHandle {
- GpuMemoryBufferType type;
- GpuMemoryBufferId id;
- handle buffer_handle;
- uint32 offset;
- int32 stride;
- NativePixmapHandle? native_pixmap_handle;
- // TODO(fsamuel): Add support for Machports.
-};
« no previous file with comments | « components/mus/public/interfaces/gpu/display_compositor_host.mojom ('k') | components/mus/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698