未验证 提交 89602cc6 编写于 作者: M mikejurka 提交者: GitHub

[scenic] Expose compositor context from rasterizer. (#5739)

Needed by code to support Scenic's new API for views.
上级 9baeb9c1
......@@ -63,6 +63,10 @@ class Rasterizer final {
// the surface on the GPU task runner.
void SetNextFrameCallback(fml::closure callback);
flow::CompositorContext* compositor_context() {
return compositor_context_.get();
}
private:
blink::TaskRunners task_runners_;
std::unique_ptr<Surface> surface_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册