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

Unified Diff: components/view_manager/gles2/mojo_gpu_memory_buffer.h

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed bot issues (I hope) Created 5 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
« no previous file with comments | « components/view_manager/gles2/gpu_impl.cc ('k') | components/view_manager/gles2/mojo_gpu_memory_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/gles2/mojo_gpu_memory_buffer.h
diff --git a/components/view_manager/gles2/mojo_gpu_memory_buffer.h b/components/view_manager/gles2/mojo_gpu_memory_buffer.h
index 341c5542c74a99010efc9efe7a1d14093d2241b6..70ea9c9f37fede39c26487631bc6c6fbdf9beb78 100644
--- a/components/view_manager/gles2/mojo_gpu_memory_buffer.h
+++ b/components/view_manager/gles2/mojo_gpu_memory_buffer.h
@@ -24,6 +24,8 @@ class MojoGpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
static MojoGpuMemoryBufferImpl* FromClientBuffer(ClientBuffer buffer);
+ const unsigned char* GetMemory() const;
+
// Overridden from gfx::GpuMemoryBuffer:
bool Map(void** data) override;
void Unmap() override;
« no previous file with comments | « components/view_manager/gles2/gpu_impl.cc ('k') | components/view_manager/gles2/mojo_gpu_memory_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698