Closed
Bug 964731
Opened 10 years ago
Closed 10 years ago
Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
Tracking | Status | |
---|---|---|
firefox31 | --- | fixed |
People
(Reporter: ali, Assigned: jwatt)
References
Details
(Whiteboard: [qa-] )
Attachments
(1 file, 1 obsolete file)
20.61 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
Remove the calls to Image::DeprecatedGetAsSurface from ImageLayerD3D10::GetImageSRView.
Comment 1•10 years ago
|
||
Hi Ali, Is this unconfirmed because you're not sure it is a bug, or because you need to have editbug permissions for Bugzilla? Let me know. Thanks!
Flags: needinfo?(ali)
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•10 years ago
|
||
Ali, I went ahead and gave you canconfirm permissions based on your bugzilla history. Let me know if you need anything else!
Flags: needinfo?(ali)
Assignee | ||
Comment 4•10 years ago
|
||
The ImageLayerD3D10 code is strongly intertwined with CreateOptimalSurface/CreateOptimalMaskSurface, so I'm also going to convert them as part of this bug.
Summary: Remove gfxASurface usage from ImageLayerD3D10::GetImageSRView → Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D
Assignee | ||
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 5•10 years ago
|
||
Bas, I'm trying to maintain the gKeyD3D10Texture optimization, although doing so is messy.
Assignee: nobody → jwatt
Attachment #8400694 -
Flags: review?(bas)
Assignee | ||
Comment 6•10 years ago
|
||
Also you can ignore the |data.mDeprecatedSurface = nullptr| line. I'll land this together with the patch is bug 960524 which kills off mDeprecatedSurface.
Comment 7•10 years ago
|
||
Comment on attachment 8400694 [details] [diff] [review] patch Review of attachment 8400694 [details] [diff] [review]: ----------------------------------------------------------------- This patch looks good, so this r- is not related to the quality of the patch, but we should really fix the native surface handling along with this probably.. That would remove a lot of the complexity. ::: layout/base/FrameLayerBuilder.cpp @@ +3965,5 @@ > aRoundedRectClipCount); > > + RefPtr<SourceSurface> surface = dt->Snapshot(); > +#ifdef MOZ_ENABLE_D3D10_LAYER > + void* data = dt->GetUserData(gKeyD3D10Texture); You want to use GetNativeSurface here on the dt and not depend on the userdata at least for the DrawTarget where you have that option. I wonder if we should add a GetNativeSurface on SourceSurface as well. I suspect we probably do..
Attachment #8400694 -
Flags: review?(bas) → review-
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8400694 -
Attachment is obsolete: true
Attachment #8403651 -
Flags: review?(bas)
Updated•10 years ago
|
Attachment #8403651 -
Flags: review?(bas) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/70af90b7e08b
Version: 28 Branch → 31 Branch
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/70af90b7e08b
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Updated•10 years ago
|
status-firefox31:
--- → fixed
Whiteboard: [qa?]
Comment 12•10 years ago
|
||
I'm going to go ahead and mark this qa- since it's been in since Nightly and hasn't caused any obvious problems.
Whiteboard: [qa?] → [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•