[fuchsia] Updated references to the gfx FIDL library. (flutter/engine#5341)
This commit is contained in:
@@ -58,8 +58,8 @@ void ExportNode::Bind(SceneUpdateContext& context,
|
||||
container.AddChild(*node_);
|
||||
node_->SetTranslation(offset.x(), offset.y(), 0.f);
|
||||
node_->SetHitTestBehavior(hit_testable
|
||||
? gfx::HitTestBehavior::kDefault
|
||||
: gfx::HitTestBehavior::kSuppress);
|
||||
? fuchsia::gfx::HitTestBehavior::kDefault
|
||||
: fuchsia::gfx::HitTestBehavior::kSuppress);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -119,10 +119,10 @@ class SceneUpdateContext {
|
||||
scenic_lib::Session* session() { return session_; }
|
||||
|
||||
bool has_metrics() const { return !!metrics_; }
|
||||
void set_metrics(gfx::MetricsPtr metrics) {
|
||||
void set_metrics(fuchsia::gfx::MetricsPtr metrics) {
|
||||
metrics_ = std::move(metrics);
|
||||
}
|
||||
const gfx::MetricsPtr& metrics() const { return metrics_; }
|
||||
const fuchsia::gfx::MetricsPtr& metrics() const { return metrics_; }
|
||||
|
||||
void AddChildScene(ExportNode* export_node,
|
||||
SkPoint offset,
|
||||
@@ -182,7 +182,7 @@ class SceneUpdateContext {
|
||||
scenic_lib::Session* const session_;
|
||||
SurfaceProducer* const surface_producer_;
|
||||
|
||||
gfx::MetricsPtr metrics_;
|
||||
fuchsia::gfx::MetricsPtr metrics_;
|
||||
|
||||
std::vector<PaintTask> paint_tasks_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user