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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.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_surface_texture.h
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
index 3e4f862a0a319cdaefdde713bf47d08c5b155833..be749dbeb2b9c06bfa4facecd5bfd2a38e387a60 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
@@ -41,7 +41,7 @@ class GPU_EXPORT GpuMemoryBufferImplSurfaceTexture
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_shared_memory.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698