Closed
Bug 556573
Opened 14 years ago
Closed 13 years ago
OpenGL video support doesn't support non-multiple-of-4 widths/heights
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: joe, Assigned: bas.schouten)
References
()
Details
Attachments
(1 file)
3.05 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
Playing the Big Buck Bunny 480p video results in the linked image's results when we switch to fullscreen OpenGL video. We're just off by a couple of pixels here because the image isn't a multiple of four.
Assignee | ||
Comment 1•14 years ago
|
||
We now look for the optimal alignment we've got. And then use GL_UNPACK_ALIGNMENT, in theory this should also work on OGL ES unlike the ROW_LENGTH approach.
Attachment #436536 -
Flags: review?(joe)
Reporter | ||
Comment 2•14 years ago
|
||
Comment on attachment 436536 [details] [diff] [review] Use GL_UNPACK_ALIGNMENT instead of ROW_LENGTH Add comments saying what textures' alignments are being set at each PixelStore call, and one saying "restore to default" at the bottom of the function?
Attachment #436536 -
Flags: review?(joe) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/3bce11a17af7.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•