Commit Graph

217 Commits

Author SHA1 Message Date
Doug Sherk
ffb5ce184d Bug 682172: fixed tex2DImage WebGL function, which was rejecting 0-size textures and doing an incorrect validation - r=bjacob
There was actually some surrounding logic breaking 0-size textures. It was because there was code that basically checked "did uint=negative_num*other_vars overflow". For incorrect validation, two copies of the same variable (one stored internally and one passed in) were available to the function, but the one stored internally was being validated, while the version passed in wasn't. The fix for this was simply checking the passed var instead.
2011-09-01 15:28:34 -04:00
Doug Sherk
384fd43041 Bug 681835: fixed a series of object deletion conformance issues r=bjacob
The bindX() commands were erroring with INVALID_VALUE when they're instead supposed to simply fail silently when they're given a deleted object. Additionally, the getParameter() function was failing after its associated variable was deleted, sometimes returning values when it should return null.
* * *
Bug 681835: WebGL fix for previous patch which introduced a bug with deletion

DeleteRenderbuffer and DeleteFramebuffer weren't checking if the deleted buffer was the currently bound buffer before deleting them. This patch implements this functionality. A separate test case patch was also submitted to Khronos:
http://www.khronos.org/bugzilla/show_bug.cgi?id=518
2011-09-01 15:28:34 -04:00
Benoit Jacob
4e7482058c Bug 658856 - implement drawingbufferWidth/Height - r=jmuizelaar
These are new WebGLRenderingContext attributes exposing the actual drawing buffer size
2011-09-01 15:28:34 -04:00
Benoit Jacob
982e3f2239 Bug 681715 - rework the WebGL test runner HTML to make more room for the test page - r=joe
This makes the buffer-offscreen-test.html test pass. It was failing because it relied on getting composited and fell outside the visible area.
2011-09-01 15:28:34 -04:00
Benoit Jacob
03bf748a6a Bug 683216 - shut up a WebGL test failure about OES_texture_float - r=jrmuizel
This test is valid, but flaky as it relies on GC happening at a particular time. A recent JS engine change making it actually happen caused it to actually catch a bug we've always had in the OES_texture_float impl, see the discussion on bug 630672, and I don't have time to fix that now.
2011-08-30 18:01:50 -04:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Benoit Jacob
38a46bd1e5 Bug 679864 - [5/5] Upgrade WebGL conformance test suite to r15318
This is just removing some old cruft, mainly old patches that are not needed anymore.
2011-08-19 11:39:00 -04:00
Benoit Jacob
bbda139a99 Bug 679864 - [4/5] Upgrade WebGL conformance test suite to r15318
This reapplies the patch replacing remote images by local ones on http://example.com and http://mochi.test:8888 URLs.
2011-08-19 11:39:00 -04:00
Benoit Jacob
1cc7f76c99 Bug 679864 - [3/5] Upgrade WebGL conformance test suite to r15318
This patch disables the quickCheckAPI.html page, with this comment:

this test causes whichever comes after to intermittently time out.
forcing a GC run doesn't solve this issue. Could be something about using a random amount of memory that
can be too high, causing e.g. swapping.
2011-08-22 11:52:19 -04:00
Benoit Jacob
ea88b927bd Bug 679864 - [2/5] Upgrade WebGL conformance test suite to r15318
This patch updates the lists of failing tests, and adds some code to ignore a few intermittently failing tests: 1 on Linux and 4 on Mac
2011-08-19 11:39:00 -04:00
Benoit Jacob
7051305d50 Bug 679864 - [1/5] Upgrade WebGL conformance test suite to r15318
This is the actual upgrade. The canonical URL for this test suite is

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
2011-08-19 11:39:00 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Benoit Jacob
da8591f8ce Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
0a3e57c7ac Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
L. David Baron
34f632f590 Backout changeset 289becc07558 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:20 -07:00
L. David Baron
9fc478bf0f Backout changeset aac29f0bdd10 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 17:59:55 -07:00
Benoit Jacob
559ce0c9f0 Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
7ad2f36370 Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
39b62fae2a Bug 667222 - In texSubImage2D, check that the update format matches the existing texture - r=jrmuizel 2011-07-27 14:46:14 -04:00
Benoit Jacob
06db157d33 Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Jeff Muizelaar
7d4f014e45 Bug 629875/bug 669366. Switch back to our old behaviour for source rects larger than the source image for both Cairo and Azure canvas implementations. r=joe a=dveditz
We haven't decided what the behaviour for source rects larger than
the source image should be, and 4ede7b9b55bc breaks content like
20thingsilearned.com.
2011-07-22 15:35:16 -04:00
Benoit Jacob
8560e62354 Bug 664299 - Test loading cross-domain images validated with CORS in WebGL. r=bz 2011-07-14 14:47:39 -04:00
Benjamin Peterson
6806ca5d95 Bug 670442: Reset mZero flag on the CanvasRenderingContext when new dimensions are set. r=joe 2011-07-12 08:54:38 -07:00
Bas Schouten
70cf943058 Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Benoit Jacob
4e79726e0c Bug 665070 - turns out that uninitialized-test is still failing on the winxp test slaves due to old drivers - a=bustage 2011-07-07 23:54:35 -04:00
Benoit Jacob
dc5ab28481 Bug 665070 - turns out that uninitialized-test is still failing on the linux test slaves due to old drivers - a=bustage 2011-07-07 22:22:00 -04:00
Benoit Jacob
318d5ac451 Bug 665070 - part 14: check error in copyTexImage2D - r=jrmuizel 2011-07-07 20:01:17 -04:00
Bas Schouten
d23cf9b6df Bug 668801: Backed out Bug 656844 - changeset a565838cfc3a. 2011-07-04 16:35:50 +00:00
Bas Schouten
f61d114004 Bug 668801: Backed out Bug 656844 - changeset 22ec5982eca7. 2011-07-04 16:32:36 +00:00
Doug Sherk
e3fe16b123 Bug 680722: added invalid character checks to WebGL functions r=bjacob 2011-08-25 14:27:52 -04:00
Ed Morley
1eeeb8a78f Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Matt Brubeck
6ed926f6a2 Back out bug 679864 (e6a4dd7f9906 - 7a9079ac5718) because of Win debug M1 failures 2011-08-22 13:23:21 -07:00
Benoit Jacob
39f9707afa Bug 679864 - [5/5] Upgrade WebGL conformance test suite to r15318
This is just removing some old cruft, mainly old patches that are not needed anymore.
2011-08-19 11:39:00 -04:00
Benoit Jacob
c195d792ae Bug 679864 - [4/5] Upgrade WebGL conformance test suite to r15318
This reapplies the patch replacing remote images by local ones on http://example.com and http://mochi.test:8888 URLs.
2011-08-19 11:39:00 -04:00
Benoit Jacob
6845441923 Bug 679864 - [3/5] Upgrade WebGL conformance test suite to r15318
This patch disables the quickCheckAPI.html page, with this comment:

this test causes whichever comes after to intermittently time out.
forcing a GC run doesn't solve this issue. Could be something about using a random amount of memory that
can be too high, causing e.g. swapping.
2011-08-22 11:52:19 -04:00
Benoit Jacob
cd003a954e Bug 679864 - [2/5] Upgrade WebGL conformance test suite to r15318
This patch updates the lists of failing tests, and adds some code to ignore a few intermittently failing tests: 1 on Linux and 4 on Mac
2011-08-19 11:39:00 -04:00
Benoit Jacob
a9825d42c5 Bug 679864 - [1/5] Upgrade WebGL conformance test suite to r15318
This is the actual upgrade. The canonical URL for this test suite is

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
2011-08-19 11:39:00 -04:00
Ehsan Akhgari
3e996662bd Backed out bug 679864 because of mochitest-1 oranges 2011-08-19 14:22:52 -04:00
Benoit Jacob
a52456112f Bug 679864 - [4/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This is just removing some old cruft, mainly old patches that are not needed anymore.
2011-08-19 11:39:00 -04:00
Benoit Jacob
c73b8ddbd8 Bug 679864 - [3/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This reapplies the patch replacing remote images by local ones on http://example.com and http://mochi.test:8888 URLs.
2011-08-19 11:39:00 -04:00
Benoit Jacob
55f0c4f93d Bug 679864 - [2/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This patch updates the lists of failing tests, and adds some code to ignore a few intermittently failing tests: 1 on Windows and 2 on Mac
2011-08-19 11:39:00 -04:00
Benoit Jacob
df66d5b997 Bug 679864 - [1/4] Upgrade WebGL conformance test suite to r15318 - r=trust.me
This is the actual upgrade. The canonical URL for this test suite is

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
2011-08-19 11:39:00 -04:00
Cameron McCormack
56d9b00e15 Bug 667370 - Fix uncaught exception in test_2d.gradient.radial.cone.top.html. r=philor 2011-06-27 13:45:45 +12:00
Bas Schouten
813aaf1e16 Bug 651858 - Part 9: Update canvas tests to deal with new Azure canvas. r=roc 2011-06-24 19:41:18 +02:00
Robert O'Callahan
ae2df1cd66 Adding test file to fix bustage for bug 662450 2011-06-17 16:16:45 +12:00
Robert O'Callahan
561601264e Bug 662450. Test, r=jrmuizel 2011-06-17 15:46:06 +12:00
Robert O'Callahan
186867c591 Bug 656844. Test. r=joe 2011-06-17 15:37:27 +12:00
Ms2ger
86f87e082b Bug 664107 - Calling drawImage with non-finite arguments should not throw; r=smaug 2011-06-15 09:39:50 +02:00
Ms2ger
d0671160d0 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00