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

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

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 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: components/view_manager/gles2/command_buffer_driver.h
diff --git a/components/view_manager/gles2/command_buffer_driver.h b/components/view_manager/gles2/command_buffer_driver.h
index 3617c3d8461b8d7de14128062b85999b76cd8e20..584cfb628c0cc80ed1cfd76a36551dc3a966759a 100644
--- a/components/view_manager/gles2/command_buffer_driver.h
+++ b/components/view_manager/gles2/command_buffer_driver.h
@@ -73,6 +73,13 @@ class CommandBufferDriver {
uint32_t size);
void DestroyTransferBuffer(int32_t id);
void Echo(const mojo::Callback<void()>& callback);
+ void CreateImage(int32_t id,
+ mojo::ScopedHandle memory_handle,
+ int32_t type,
+ mojo::SizePtr size,
+ int32_t format,
+ int32_t internal_format);
+ void DestroyImage(int32_t id);
// Called at shutdown to destroy the X window. This is needed when the parent
// window is being destroyed. Otherwise X calls for this window will fail.

Powered by Google App Engine
This is Rietveld 408576698