Closed
Bug 927962
Opened 11 years ago
Closed 11 years ago
WebGL conformance test error in conformance/canvas/drawingbuffer-test.html
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 847714
People
(Reporter: jujjyl, Unassigned)
Details
(Whiteboard: webgl-conformance)
On my laptop with the specs
Windows 7 Home Premium 64-bit
Intel(R) Core(TM) i5-2557M CPU @ 1.70GHz (4 CPUs), ~1.7GHz
4096MB RAM
Intel(R) HD Graphics 3000
Intel(R) GPU driver version 9.17.10.2932
Intel(R) GPU driver date 12/14/2012 (up-to-date)
running https://www.khronos.org/registry/webgl/sdk/tests/conformance/canvas/drawingbuffer-test.html
with both Firefox 24 stable and Firefox 27.0a1 Nightly (2013-10-17) gives output:
WebGL Canvas.drawingBufferWidth,drawingBufferHeight Conformance Tests
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context exists
PASS gl.drawingBufferWidth is gl.canvas.width
PASS gl.drawingBufferHeight is gl.canvas.height
MAX_VIEWPORT_DIMS: 8192, 8192
PASS maxSize[0] > 0 is true
PASS maxSize[1] > 0 is true
testing canvas width = 16, height = 32
PASS context exists
PASS gl.getParameter(gl.MAX_VIEWPORT_DIMS)[0] is maxSize[0]
PASS gl.getParameter(gl.MAX_VIEWPORT_DIMS)[1] is maxSize[1]
PASS gl.getParameter(gl.VIEWPORT)[0] is 0
PASS gl.getParameter(gl.VIEWPORT)[1] is 0
PASS gl.getParameter(gl.VIEWPORT)[2] is gl.drawingBufferWidth
PASS gl.getParameter(gl.VIEWPORT)[3] is gl.drawingBufferHeight
testing resizing canvas to width = 16, height = 32
PASS gl.getParameter(gl.VIEWPORT)[0] is oldViewport[0]
PASS gl.getParameter(gl.VIEWPORT)[1] is oldViewport[1]
PASS gl.getParameter(gl.VIEWPORT)[2] is oldViewport[2]
PASS gl.getParameter(gl.VIEWPORT)[3] is oldViewport[3]
PASS gl.getError() is gl.NO_ERROR
testing canvas width = 8224, height = 8
FAIL Unable to fetch WebGL rendering context for Canvas
FAIL context does not exist
PASS successfullyParsed is true
TEST COMPLETE
Reporter | ||
Updated•11 years ago
|
Whiteboard: webgl-conformance
Comment 1•11 years ago
|
||
can I take this bug ?
Comment 2•11 years ago
|
||
this bug is caused by the implementation doesn't follow WebGL's spec currently
[ http://www.khronos.org/registry/webgl/specs/latest/1.0/#2.2 ]
when we request a WebGL context with width or height larger than the system limit, it should be truncated to the nearest size rather
than just fail to create ( which is the behaviour now ).
Comment 3•11 years ago
|
||
We already have a couple patches that solve this. I'll push one through.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•