Closed
Bug 594624
Opened 14 years ago
Closed 14 years ago
[D2D][D3D9] Content Type switches not supported properly
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(2 files, 1 obsolete file)
3.00 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
2.53 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
When CanUseOpaqueSurface() changes during the lifetime of a layer, when using just GDI this causes the texture to be recreated. With D2D this does not happen since it always uses a D3DFMT_A8R8G8B8, and the surface content type determines how its drawn. We should verify this and recreate the surface if needed.
Assignee | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #473317 -
Flags: review?(jmuizelaar)
Updated•14 years ago
|
blocking2.0: ? → beta6+
We should be able to get a reftest here.
Comment 3•14 years ago
|
||
Comment on attachment 473317 [details] [diff] [review]
Toss out surface on content type change
Seems like this should be a function instead of duplicating the code. Make sure you put the #ifdef CAIRO_HAS_D2D_SURFACE inside the function so that you don't clutter up the callers. You should also put together a reftest for this.
Attachment #473317 -
Flags: review?(jmuizelaar) → review-
Assignee | ||
Comment 4•14 years ago
|
||
Adjusted for review comments. Will create a reftest for this tomorrow.
Attachment #473317 -
Attachment is obsolete: true
Attachment #473897 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•14 years ago
|
Summary: [D2D][D3D9] Content Type switches not supporter properly → [D2D][D3D9] Content Type switches not supported properly
Assignee | ||
Comment 5•14 years ago
|
||
This reftest seems to do the job, it's the most reduced thing I can come up with.
Attachment #474115 -
Flags: review?(roc)
Attachment #474115 -
Flags: review?(roc) → review+
Updated•14 years ago
|
Attachment #473897 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/d0f924de4cf7
http://hg.mozilla.org/mozilla-central/rev/085ee83e9775
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•