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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h

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
Index: gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h b/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
index 450d10237befc498efbb49943d742e2d1afbb80b..2d7a52d0d80027f31f290bf02e81fac3ce239792 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
@@ -44,7 +44,7 @@ class GPU_EXPORT GpuMemoryBufferImplOzoneNativePixmap
bool Map() override;
void* memory(size_t plane) override;
void Unmap() override;
- int stride(size_t plane) const override;
+ uint32_t stride(size_t plane) const override;
gfx::GpuMemoryBufferHandle GetHandle() const override;
private:
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_io_surface.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698