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

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

Issue 1412223009: Reland: GpuMemoryBuffer interface change: Map(**) to Map() and memory(plane); stride(plane) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Win X64 compile fix Created 5 years, 2 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 d75c9d1e7fa8a56bc0f9fc94cc552d04d42b9066..79cde4de91f7d5d292c6a46932b6df1db5aa2a36 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
@@ -34,9 +34,10 @@ class CONTENT_EXPORT GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl {
gfx::GpuMemoryBufferHandle* handle);
// Overridden from gfx::GpuMemoryBuffer:
- bool Map(void** data) override;
+ bool Map() override;
+ void* memory(size_t plane) override;
void Unmap() override;
- void GetStride(int* stride) const override;
+ int stride(size_t plane) const override;
gfx::GpuMemoryBufferHandle GetHandle() const override;
private:
« no previous file with comments | « content/child/child_thread_impl_browsertest.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