Closed
Bug 1763742
Opened 4 years ago
Closed 4 months ago
LOCAL_GL_PACK_ALIGNMENT is sometimes used with functions other than glReadPixels
Categories
(Core :: Graphics, task, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
153 Branch
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: jgilbert, Assigned: bhood)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
glPixelStorei(GL_PACK_ALIGNMENT, 1); only changes behavior of glReadPixels (and glGetTexImage), but we have some uses where it appears to be set erroneously/spuriously:
- https://searchfox.org/mozilla-central/rev/fc5c4461124b8572442c71bc34947bee68b75551/gfx/layers/NativeLayerCA.mm#715
- https://searchfox.org/mozilla-central/rev/fc5c4461124b8572442c71bc34947bee68b75551/gfx/layers/NativeLayerCA.mm#1710
- https://searchfox.org/mozilla-central/rev/fc5c4461124b8572442c71bc34947bee68b75551/gfx/layers/opengl/CompositorOGL.cpp#84
| Reporter | ||
Updated•4 years ago
|
Priority: -- → P3
Updated•4 years ago
|
Severity: -- → N/A
| Reporter | ||
Comment 1•4 years ago
|
||
To be clear: This is harmless, except that it looks like it gives the wrong impression that it does something useful.
| Assignee | ||
Updated•5 months ago
|
Assignee: nobody → bhood
| Assignee | ||
Comment 2•5 months ago
|
||
Pushed by bhood@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/bb82230a3bd3
https://hg.mozilla.org/integration/autoland/rev/29d0e0ff0d05
Removed remaining lines as suggested. r=gfx-reviewers,bradwerth
Comment 4•4 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox153:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in
before you can comment on or make changes to this bug.
Description
•