forked from firka/flutter
[fuchsia] Use the real name for the GFX library... (flutter/engine#5346)
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
|
||||
? fuchsia::gfx::HitTestBehavior::kDefault
|
||||
: fuchsia::gfx::HitTestBehavior::kSuppress);
|
||||
? fuchsia::ui::gfx::HitTestBehavior::kDefault
|
||||
: fuchsia::ui::gfx::HitTestBehavior::kSuppress);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -119,10 +119,10 @@ class SceneUpdateContext {
|
||||
scenic_lib::Session* session() { return session_; }
|
||||
|
||||
bool has_metrics() const { return !!metrics_; }
|
||||
void set_metrics(fuchsia::gfx::MetricsPtr metrics) {
|
||||
void set_metrics(fuchsia::ui::gfx::MetricsPtr metrics) {
|
||||
metrics_ = std::move(metrics);
|
||||
}
|
||||
const fuchsia::gfx::MetricsPtr& metrics() const { return metrics_; }
|
||||
const fuchsia::ui::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_;
|
||||
|
||||
fuchsia::gfx::MetricsPtr metrics_;
|
||||
fuchsia::ui::gfx::MetricsPtr metrics_;
|
||||
|
||||
std::vector<PaintTask> paint_tasks_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user