Note: There are a few cases of duplicates in user autocompletion which are being worked on.

OpenGL video support doesn't support non-multiple-of-4 widths/heights

RESOLVED FIXED

Status

()

Core
Graphics
RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: Joe Drew (not getting mail), Assigned: bas)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
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

7 years ago
Created attachment 436536 [details] [diff] [review]
Use GL_UNPACK_ALIGNMENT instead of ROW_LENGTH

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

7 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+
Duplicate of this bug: 556356
(Assignee)

Comment 4

7 years ago
Pushed http://hg.mozilla.org/mozilla-central/rev/3bce11a17af7.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.