Closed Bug 627498 Opened 14 years ago Closed 14 years ago

GL disabled on OS X, Android due to not calling Init

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b11
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: joe, Assigned: joe)

References

Details

(Whiteboard: [hardblocker])

Attachments

(2 files)

I stupidly didn't make sure GfxInfo::Init was called on non-Windows platforms. This patch fixes that.
Attachment #505522 - Flags: review?(jmuizelaar)
Blocks: 625160
blocking2.0: --- → betaN+
Assignee: nobody → joe
Comment on attachment 505522 [details] [diff] [review]
call Init in the constructor function on Android and Cocoa

Test for ogl layers on 10.6 please
Attachment #505522 - Flags: review?(jmuizelaar) → review+
This is a mochitest that makes sure that acceleration status is what we think it is on Windows and OS X. It would have prevented this bug!
Attachment #505553 - Flags: review?(jmuizelaar)
Comment on attachment 505553 [details] [diff] [review]
test acceleration status

>+  <title>Test for Bug 627498</title>

A better title
Attachment #505553 - Flags: review?(jmuizelaar) → review+
http://hg.mozilla.org/mozilla-central/rev/2736d8740c66 is the fix. The test is currently going through Try.
http://hg.mozilla.org/mozilla-central/rev/d92d9dd27d9b
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Target Milestone: --- → mozilla2.0b11
Depends on: 628589
Jeff, this appears to detect if gl is enabled on windowsXP+, and if it isn't then it will fail.  I am not sure what the relationship is between direct2D/webgl/canvas- maybe they are the same or have similar traits when it comes to support.

I am testing running the windows 7 tests in the cloud.  For machines that have a graphics card, this test case (test_acceleration.html) passes, but for the ones that do not have a dedicated graphics card this test fails.

We are looking to run the webgl tests (in the 'gl' job) as well as reftests on higher end machines that have full graphics support.  Most likely, I could put this test in the 'gl' job- I just don't understand how this related to webgl.

Jeff, can you help me understand this more and determine if it makes sense to put this test case in the 'gl' job.
Flags: needinfo?(jmuizelaar)
This is testing whether we have layers acceleration and is unrelated to webgl. It should run on a machine that has a GPU, but I'm not sure which is the best job for it.
Flags: needinfo?(jmuizelaar)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: