Closed Bug 961715 Opened 10 years ago Closed 10 years ago

Implement D3D9SurfaceImage::GetAsSourceSurface

Categories

(Core :: Graphics: Layers, defect)

28 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: ali, Assigned: ali)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

Implement D3D9SurfaceImage::GetAsSourceSurface to do what D3D9SurfaceImage::DeprecatedGetAsSurface does for a SourceSurface
Blocks: 960053
Attachment #8365916 - Flags: review?(nical.bugzilla)
Comment on attachment 8365916 [details] [diff] [review]
Implement D3D9SurfaceImage::GetAsSourceSurface

Review of attachment 8365916 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/D3D9SurfaceImage.cpp
@@ +188,5 @@
> +  // Ensure that the texture is ready to be used.
> +  EnsureSynchronized();
> +
> +  // Readback the texture from GPU memory into system memory, so that
> +  // we can copy it into the Cairo image. This is expensive.

Man, I hope we don't hit this code path (and its deprecated version) often!
Attachment #8365916 - Flags: review?(nical.bugzilla) → review+
Assignee: nobody → ali
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8365916 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/6589f6ec3b6e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: