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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.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_shared_memory.h
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
index 022c320e83c2b11398f9c7e1087748e2329b0b42..c7eb80ca1038b5f568241f662f06edfa9f589951 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h
@@ -34,9 +34,9 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl {
static bool IsSizeValidForFormat(const gfx::Size& size, Format format);
// 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:

Powered by Google App Engine
This is Rietveld 408576698