Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

Change targets fewer times in post-CGD2D CGContext #1810

@ms-jihua

Description

@ms-jihua

Changing targets in ID2D1DeviceContext causes a flush. On CGD2D, every primitive draw in CGContext on CGD2D changes targets to a temporary command list, or something like it. Because of this, #1750 either has no performance impact or actually hurts it. We need to rewrite some of the code to change targets fewer times, possibly tying this to PushBegin/PopEndDraw.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions