Closed
Bug 1322796
Opened 9 years ago
Closed 9 years ago
Don't assume snapshot requests will always be the full buffer size
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox53 | --- | affected |
People
(Reporter: kats, Assigned: kats)
References
Details
(Whiteboard: [gfx-noted])
https://hg.mozilla.org/projects/graphics/file/73bdd29461ae/gfx/layers/wr/WebRenderBridgeParent.cpp#l370 is a false assumption. The rect passed in might be a smaller area of the full texture. In that case the expectation is that we will get a snapshot of the requested subrect and update the relevant pixels in the texture with that subrect.
However doing that is a little complicated so for now I'd like to just always do a full snapshot so that we can get the reftests running without crashes. (Failing to do this triggers a panic inside gleam somewhere - https://hg.mozilla.org/try/file/692105fb7299b46274b59827d9b87baeb5bf4f96/third_party/rust/gleam/src/gl.rs#l96)
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/1399cee329f2
Don't assume the snapshot area is the same as the buffer. r=mchang?
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Pushed by mchang@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/69ad226cd228
Correctly flip surface pattern for reftests. r=kats?
Assignee | ||
Updated•8 years ago
|
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•