-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Consider creating a DlAtlas object for DlCanvas.drawAtlas #121512
Copy link
Copy link
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
🚀 Features
The arguments to the
drawAtlascall include a number of arrays that must match in size for the call to be valid. It is also difficult to compute the bounds of the atlas since it requires transforming each source rectangle and accumulating the results, so such an object could cache the bounds at construction time to save several layers of the graphics system from having to do that work redundantly.See flutter/engine#39865 (comment)