Open Bug 959157 Opened 11 years ago Updated 2 years ago

Moz2Dify GLReadTexImageHelper

Categories

(Core :: Graphics, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: pehrsons, Unassigned)

References

Details

Attachments

(1 file)

Used to be a part of GLContext, but bug 877115 is getting bloated by comments and patches so let's break distinguishable parts out of it.
Blocks: 877115
Attachment #8402411 - Flags: review?(jgilbert)
Comment on attachment 8402411 [details] [diff] [review] Part 1. Remove GLReadTexImageHelper::ReadPixelsIntoImageSurface. Review of attachment 8402411 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/canvas/src/WebGLContext.cpp @@ +654,5 @@ > bool srcPremultAlpha = mOptions.premultipliedAlpha; > bool dstPremultAlpha = aFlags & RenderFlagPremultAlpha; > > if (!srcPremultAlpha && dstPremultAlpha) { > gfxUtils::PremultiplyImageSurface(surf); The changes above move us in the right direction, but it'd be nice to port these functions to moz2d as part of this bug, perhaps in a later patch.
Attachment #8402411 - Flags: review?(jgilbert) → review+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: