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

Unified Diff: components/view_manager/public/interfaces/command_buffer.mojom

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/public/interfaces/command_buffer.mojom
diff --git a/components/view_manager/public/interfaces/command_buffer.mojom b/components/view_manager/public/interfaces/command_buffer.mojom
index e3921d3ff822ea568d1dc644fb424156267f3a8a..9a5bc39ea3b7e50321743224e2b6f04e5740be55 100644
--- a/components/view_manager/public/interfaces/command_buffer.mojom
+++ b/components/view_manager/public/interfaces/command_buffer.mojom
@@ -5,6 +5,7 @@
module mojo;
import "components/view_manager/public/interfaces/gpu_capabilities.mojom";
+import "ui/mojo/geometry/geometry.mojom";
struct CommandBufferState {
int32 num_entries;
@@ -52,4 +53,12 @@ interface CommandBuffer {
InsertSyncPoint(bool retire);
RetireSyncPoint(uint32 sync_point);
Echo() => ();
+
+ CreateImage(int32 id,
+ handle memory_handle,
+ int32 type,
+ Size size,
+ int32 format,
+ int32 internal_format);
+ DestroyImage(int32 id);
};

Powered by Google App Engine
This is Rietveld 408576698