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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h

Issue 1024113003: Add multi-planar functions to GpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fix. Created 5 years, 9 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: content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
index d9db52f02e2371f5b2289836e4200aab0ea9276b..ff16c15cb37c9c00d787514906e2fb5f1b6a94d1 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_io_surface.h
@@ -22,9 +22,9 @@ class GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl {
const DestructionCallback& callback);
// Overridden from gfx::GpuMemoryBuffer:
- void* Map() override;
+ bool Map(void** data) override;
void Unmap() override;
- uint32 GetStride() const override;
+ void GetStride(uint32* stride) const override;
gfx::GpuMemoryBufferHandle GetHandle() const override;
private:
« no previous file with comments | « content/common/gpu/client/gpu_memory_buffer_impl.cc ('k') | content/common/gpu/client/gpu_memory_buffer_impl_io_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698