WebGL does not work with MOZ_QT_GL=1

RESOLVED WONTFIX

Status

()

Core
Canvas: WebGL
RESOLVED WONTFIX
8 years ago
8 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

Trunk
Other
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
MOZ_QT_GL=1 enabling QGLWidget backend for toplevel qt window

This error dumped in console, and no GL scene rendered:

layout/generic/nsGfxScrollFrame.cpp, line 3144
glGetProgramiv GL_ACTIVE_ATTRIBUTES failed: 0x00000501
JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICanvasRenderingContextWebGL.drawArrays]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: http://learningwebgl.com/lessons/lesson01/index.html :: drawScene :: line 173"  data: no]
(Reporter)

Comment 1

8 years ago
And this works fine when MOZ_QT_GL=1 no exported.
Presumably something is not properly ensuring the correct context is made active?
(Reporter)

Comment 3

8 years ago
MOZ_QT_GL already hacked into current OGL layers system...  but is not valid anymore
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.