Open
Bug 959157
Opened 11 years ago
Updated 2 years ago
Moz2Dify GLReadTexImageHelper
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
UNCONFIRMED
People
(Reporter: pehrsons, Unassigned)
References
Details
Attachments
(1 file)
15.77 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #8402411 -
Flags: review?(jgilbert)
Comment 2•11 years ago
|
||
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+
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•