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

Needed by code to support Scenic's new API for views.
This commit is contained in:
mikejurka
2018-07-26 21:46:07 -07:00
committed by GitHub
parent 7327aae8ea
commit 05395a3a17

View File

@@ -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_;