Closed
Bug 1323617
Opened 8 years ago
Closed 8 years ago
WebGL conformance tests for canvas_sub_rectangle test fail
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla53
People
(Reporter: jgilbert, Assigned: jgilbert)
References
Details
(Whiteboard: gfx-noted)
Attachments
(2 files)
58 bytes,
text/x-review-board-request
|
ethlin
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details |
58 bytes,
text/x-review-board-request
|
ethlin
:
review+
|
Details |
No description provided.
Assignee | ||
Updated•8 years ago
|
Whiteboard: gfx-noted
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8819114 [details] Bug 1323617 - Don't assert for performance trap when srcPremult == dstPremult, even if the formats allow us to skip premult. - https://reviewboard.mozilla.org/r/98956/#review99306
Attachment #8819114 -
Flags: review?(ethlin) → review+
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8818760 [details] Bug 1323617 - Fix canvas_sub_rectangle tests. - https://reviewboard.mozilla.org/r/98702/#review99300 ::: dom/canvas/TexUnpackBlob.cpp:248 (Diff revision 2) > - funcName); > - return false; > - } > - const uint32_t skipBytes = offset.value(); > > - auto const srcBegin = srcBytes + skipBytes; > + *out_begin = srcBegin; Why not skipping bytes now? ::: dom/canvas/TexUnpackBlob.cpp:698 (Diff revision 2) > + > + //// > > WebGLTexelFormat srcFormat; > uint8_t srcBPP; > - if (!GetFormatForSurf(mSurf, &srcFormat, &srcBPP)) { > + bool alphaPremultMatters; Is 'alphaPremultMatters' an unnecessary variable?
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8818760 [details] Bug 1323617 - Fix canvas_sub_rectangle tests. - https://reviewboard.mozilla.org/r/98702/#review99300 > Why not skipping bytes now? We just convert the whole source buffer now, instead of only what's used. > Is 'alphaPremultMatters' an unnecessary variable? Yes.
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8818760 [details] Bug 1323617 - Fix canvas_sub_rectangle tests. - https://reviewboard.mozilla.org/r/98702/#review99516
Attachment #8818760 -
Flags: review?(ethlin) → review+
Comment 11•8 years ago
|
||
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/49141c456780 Fix canvas_sub_rectangle tests. - r=ethlin https://hg.mozilla.org/integration/mozilla-inbound/rev/6e5513e34226 Don't assert for performance trap when srcPremult == dstPremult, even if the formats allow us to skip premult. - r=ethlin
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/49141c456780 https://hg.mozilla.org/mozilla-central/rev/6e5513e34226
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 13•7 years ago
|
||
I tried to send a try with the attached patch. The test result only covers the test cases in /canvas_sub_rectangle. From this link, I don't see any crash but still have fail items. [1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ad0cc87c00792c52548863f9408f890b2c304b4
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8818760 [details] Bug 1323617 - Fix canvas_sub_rectangle tests. - Approval Request Comment [Feature/Bug causing the regression]: webgl2 [User impact if declined]: [Is this code covered by automated tests?]: [Has the fix been verified in Nightly?]: [Needs manual test from QE? If yes, steps to reproduce]: [List of other uplifts needed for the feature/fix]: [Is the change risky?]: [Why is the change risky/not risky?]: [String changes made/needed]: Approval Request Comment [Feature/Bug causing the regression]: [User impact if declined]: [Is this code covered by automated tests?]: [Has the fix been verified in Nightly?]: [Needs manual test from QE? If yes, steps to reproduce]: [List of other uplifts needed for the feature/fix]: [Is the change risky?]: [Why is the change risky/not risky?]: [String changes made/needed]: (this and other patches)
Attachment #8818760 -
Flags: approval-mozilla-beta?
Attachment #8818760 -
Flags: approval-mozilla-aurora?
Comment 15•7 years ago
|
||
Comment on attachment 8818760 [details] Bug 1323617 - Fix canvas_sub_rectangle tests. - Fix a WebGL 2 related issue. Beta51+ and Aurora52+. Should be in 51 beta 10.
Attachment #8818760 -
Flags: approval-mozilla-beta?
Attachment #8818760 -
Flags: approval-mozilla-beta+
Attachment #8818760 -
Flags: approval-mozilla-aurora?
Attachment #8818760 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 16•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/06637572b51f
Assignee | ||
Comment 17•7 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/904a33bad7c4
You need to log in
before you can comment on or make changes to this bug.
Description
•