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

Unified Diff: third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom

Issue 2328463004: Implement WebGL's commit on the main thread (Closed)
Patch Set: using cc::mojom::MojoCompositorFrameSink Created 4 years, 3 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 | « third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
diff --git a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
index 5faf670d949eda0b7e5f47befef9db02b0972595..19374b5900cc64ad2b961130e81e980b851a7814 100644
--- a/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
+++ b/third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom
@@ -5,6 +5,7 @@
module blink.mojom;
import "cc/ipc/compositor_frame.mojom";
+import "cc/ipc/mojo_compositor_frame_sink.mojom";
import "cc/ipc/surface_id.mojom";
import "cc/ipc/surface_sequence.mojom";
@@ -22,8 +23,12 @@ interface OffscreenCanvasSurface {
// This interface is called from either worker or main thread in renderer, but
// not both for the same OffscreenCanvas instance.
interface OffscreenCanvasFrameReceiver {
jbroman 2016/09/19 15:12:10 This interface is now unused.
xidachen 2016/09/19 18:25:11 Done.
-
SubmitCompositorFrame(cc.mojom.SurfaceId surface_id, cc.mojom.CompositorFrame compositor_frame);
+};
+interface OffscreenCanvasCompositorFrameSinkProvider {
+ CreateCompositorFrameSink(cc.mojom.SurfaceId surface_id,
+ cc.mojom.MojoCompositorFrameSink& sink,
+ cc.mojom.MojoCompositorFrameSinkClient client);
};
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698