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

Unified Diff: ui/gl/gl_image_ref_counted_memory.h

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: more build fixes Created 6 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: ui/gl/gl_image_ref_counted_memory.h
diff --git a/ui/gl/gl_image_ref_counted_memory.h b/ui/gl/gl_image_ref_counted_memory.h
index f721f4b86f42df79e9d179264fabc34630312e7c..78ad227eb6c516a24025ed48f12474214ead9e10 100644
--- a/ui/gl/gl_image_ref_counted_memory.h
+++ b/ui/gl/gl_image_ref_counted_memory.h
@@ -18,7 +18,8 @@ class GL_EXPORT GLImageRefCountedMemory : public GLImageMemory {
public:
GLImageRefCountedMemory(const gfx::Size& size, unsigned internalformat);
- bool Initialize(base::RefCountedMemory* ref_counted_memory);
+ bool Initialize(base::RefCountedMemory* ref_counted_memory,
+ gfx::GpuMemoryBuffer::Format format);
// Overridden from GLImage:
virtual void Destroy(bool have_context) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698