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

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

Issue 2298353002: gfx: Use unsigned strides for gpu memory buffers. (Closed)
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/public/cpp/mojo_gpu_memory_buffer.cc ('k') | ui/gfx/gpu_memory_buffer.h » ('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 c4685113b8d365bfd689c561315680f83e06e886..160d3bea6bc444562e1ae81779c28dc00308dcb7 100644
--- a/services/ui/public/interfaces/gpu_memory_buffer.mojom
+++ b/services/ui/public/interfaces/gpu_memory_buffer.mojom
@@ -11,7 +11,7 @@ struct NativePixmapHandle {
handle fd;
// The stride used when accessing the buffer via a memory mapping.
- int32 stride;
+ uint32 stride;
};
@@ -20,7 +20,7 @@ struct GpuMemoryBufferHandle {
gfx.mojom.GpuMemoryBufferId id;
handle buffer_handle;
uint32 offset;
- int32 stride;
+ uint32 stride;
NativePixmapHandle? native_pixmap_handle;
// TODO(fsamuel): Add support for Machports.
};
« no previous file with comments | « services/ui/public/cpp/mojo_gpu_memory_buffer.cc ('k') | ui/gfx/gpu_memory_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698