Create texture and upload inside SourceSurfaceD2D in two steps

RESOLVED FIXED in mozilla33

Status

()

Core
Graphics
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: bas, Assigned: bas)

Tracking

unspecified
mozilla33
x86_64
Windows 8.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
For reasons we can't completely explain it seems on Intel hardware if we pass initialization data when creating a texture there's a much higher degree of contention inside the driver than if we create a texture and then copy the data into it. Since it makes no significant difference on other drivers we should start doing the latter.
(Assignee)

Comment 1

3 years ago
Created attachment 8439411 [details] [diff] [review]
Upload bitmaps in two steps

Over the shoulder reviewed by Matt Woodrow.
Attachment #8439411 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/573774459f28
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.