Closed Bug 649685 Opened 13 years ago Closed 13 years ago

Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down

Categories

(Core :: Graphics, defect)

2.0 Branch
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: Virtual, Assigned: mattwoodrow)

References

Details

(Keywords: nightly-community)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:6.0a1) Gecko/20110412 Firefox/6.0a1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:6.0a1) Gecko/20110412 Firefox/6.0a1

 

Reproducible: Always

Steps to Reproduce:
1. Set layers.prefer-opengl to true
Summary: Setting layers.prefer-opengl to true causes screen to be upside down → Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → matt.woodrow+bugzilla
Blocks: 546508
Summary: Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down → [Win64] Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down
This should fix the issue. Don't have a machine to test it on here, will try when I get home if nobody beats me to it.
Attachment #526102 - Flags: review?
Attachment #526102 - Flags: review? → review?(joe)
Hardware: x86_64 → All
Summary: [Win64] Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down → Setting layers.prefer-opengl to true causes screen to be flipped horizontally upside down
Comment on attachment 526102 [details] [diff] [review]
Stop flipping when blitting the backbuffer to the window

This should be pretty easy to test, correct? Or would it already be caught in our tests?
Attachment #526102 - Flags: review?(joe) → review+
Attached image Screenshot in Linux
I noticed this bug is marked for Windows, but I can reproduce it in Linux. The attached screenshot is from Ubuntu 10.10, with proprietary ATI driver fglrx 8.780 from the Ubuntu repositories. Graphics card is an ATI Radeon HD 2400 Pro. It is Firefox 6 from the Nightly branch, build from 2011-05-08.
Yes, I've heard other people reporting it on linux too.
OS: Windows 7 → All
(In reply to comment #3)
> 
> This should be pretty easy to test, correct? Or would it already be caught
> in our tests?

I can't think of any easy way, no.

It only affects the single buffered configuration (WGL and GLX with radeon), which we don't have test machines for.

It also only flips on the final blit to the window, so both the test and reference should always still match.
http://hg.mozilla.org/mozilla-central/rev/f44b71c6c327
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
This bug is able to be reproduced in the current release version (Firefox 5.0). Did the patch not make it in time? :(
Yes.  This was checked in a month after Firefox 5 branched.
(In reply to comment #8)
> This bug is able to be reproduced in the current release version (Firefox
> 5.0). Did the patch not make it in time? :(

But still OpenGL rendering didn't work properly even in this bug is fixed. See bug #656565
Flags: in-testsuite?
Flags: in-litmus?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: