Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[dart:ui] expose renderer selection from Impeller.
  • Loading branch information
jonahwilliams committed May 1, 2024
commit d65ef5bdc3065ff8183c473c908f3ffc3b675cb8
5 changes: 3 additions & 2 deletions lib/ui/natives.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ typedef _ScheduleImmediateClosure = void Function(void Function());
@pragma('vm:entry-point')
_ScheduleImmediateClosure _getScheduleMicrotaskClosure() => _scheduleMicrotask;

// Used internally to indicate whether the Engine is using Impeller for
// rendering.
/// Whether the Engine is using the Impeller rendering engine.
bool get isImpellerEnabled => _impellerEnabled;

@pragma('vm:entry-point')
bool _impellerEnabled = false;

Expand Down