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

VERIFIED FIXED

Status

()

Core
Graphics
--
major
VERIFIED FIXED
6 years ago
3 years ago

People

(Reporter: Virtual, Assigned: mattwoodrow)

Tracking

(Blocks: 1 bug)

2.0 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

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
Created attachment 525717 [details]
screenshot
Version: unspecified → 2.0 Branch
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)

Updated

6 years ago
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
(Assignee)

Comment 2

6 years ago
Created attachment 526102 [details] [diff] [review]
Stop flipping when blitting the backbuffer to the window

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?
(Assignee)

Updated

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

Comment 4

6 years ago
Created attachment 530918 [details]
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
(Assignee)

Comment 6

6 years ago
(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.
(Assignee)

Comment 7

6 years ago
http://hg.mozilla.org/mozilla-central/rev/f44b71c6c327
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Blocks: 656565
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?

Comment 8

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

Updated

6 years ago
Flags: in-testsuite?
Flags: in-litmus?
No longer blocks: 656565
You need to log in before you can comment on or make changes to this bug.