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

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 and typo 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..3bdcdd94dc18775321934891ca898bc9e54e63df 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;
+ bool GetStride(uint32* stride) const override;
gfx::GpuMemoryBufferHandle GetHandle() const override;
private:

Powered by Google App Engine
This is Rietveld 408576698