Closed Bug 1206161 Opened 10 years ago Closed 10 years ago

Readback with SkiaGL canvas on OS X?

Categories

(Core :: Graphics: Canvas2D, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox43 --- affected
firefox44 --- fixed

People

(Reporter: mstange, Assigned: mattwoodrow)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file, 1 obsolete file)

With the fix for bug 1206076 applied, scrolling on https://medium.com/art-science/a-warning-for-our-next-great-screenwriters-4af580c2e0b7 (which does drawImage on a canvas for the header image) sometimes seems to cause readback: mozilla::gfx::DataSourceSurface::Map(mozilla::gfx::DataSourceSurface::MapType, mozilla::gfx::DataSourceSurface::MappedSurface*) mozilla::gfx::GetCairoSurfaceForSourceSurface(mozilla::gfx::SourceSurface*, bool, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&) mozilla::gfx::DrawTargetCairo::CopySurface(mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const&) mozilla::layers::CopyableCanvasLayer::UpdateTarget(mozilla::gfx::DrawTarget*) mozilla::layers::CanvasClient2D::Update(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, mozilla::layers::ClientCanvasLayer*) ClientCanvasLayer::RenderLayer mozilla::gfx::DrawTargetCairo::CopySurface(mozilla::gfx::SourceSurface*, mozilla::gfx::IntRectTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::IntPointTyped<mozilla::gfx::UnknownUnits> const&) mozilla::layers::CopyableCanvasLayer::UpdateTarget(mozilla::gfx::DrawTarget*) mozilla::layers::CanvasClient2D::Update(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits>, mozilla::layers::ClientCanvasLayer*) ClientCanvasLayer::RenderLayer
OS: Unspecified → Mac OS X
Hardware: Unspecified → All
Whiteboard: [gfx-noted]
We check SkiaGLTex() in this function, which relies on mTarget.
Assignee: nobody → matt.woodrow
Attachment #8664485 - Flags: review?(bas)
Attachment #8665080 - Flags: review?(bas) → review+
Attachment #8664485 - Attachment is obsolete: true
Attachment #8664485 - Flags: review?(bas)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Depends on: 1208048
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: