Commit Graph

399 Commits

Author SHA1 Message Date
Doug Sherk
75e4300cc4 Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Doug Sherk
545febe771 Bug 697757 - WebGL context fix for alpha being improperly set on OSX. r=jgilbert
If we request alpha and it isn't enabled, or we request it off and it gets
enabled, we now fail the pbuffer creation and fall back to FBOs. This is bad for
performance but allows us to pass the conformance test in this case.
2011-10-31 17:49:55 -07:00
Jeff Gilbert
151b79fe87 Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
d1abf8d6d9 Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
496f5777ce Bug 697560 - Generate WebGL errors in readPixels according to spec - r=bjacob
* * *
Bug 697560 - Disallow conformance failures on read-pixels-test - r=bjacob
2011-10-31 16:55:01 -07:00
Benoit Jacob
688f2ae9c1 Bug 677543 - Not clearing WebGL framebuffer in teapot demo - r=jgilbert
We are supposed to clear the WebGL framebuffer after it's been presented to the compositor and before the next draw operation, and were using the wrong way to know when we got composited. The right way is DidTransactionCallback.
2011-10-31 17:14:12 -04:00
Benoit Jacob
209051eea8 Bug 696889 - Upgrade ANGLE to r802 - no review
This is syncing us with the ANGLE project at

   http://code.google.com/p/angleproject/

Also, with this new ANGLE revision, two WebGL conformance tests are now passing on windows so this patch removes them from failing_tests_windows.txt.

--HG--
rename : gfx/angle/angle-instrinsic-msvc2005.patch => gfx/angle/angle-intrinsic-msvc2005.patch
2011-10-25 08:58:43 -04:00
Benoit Jacob
604edc0665 Bug 696844 - Upgrade WebGL conformance test suite to r15892 - no review
This is just syncing us with the upstreal WebGL conformance tests from

  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/

Also reenabling the quickCheckAPI tests, updating the list of failing tests (only one part of quickCheckAPI added to the list) and added 3 lines of code to ignore empty lines in the lists of failing tests to get a correct count.
2011-10-25 08:48:39 -04:00
Benoit Jacob
7f9677a997 Bug 696009 and bug 695947 - frequent linux-pgo intermittent oranges since Bug 615976 (WebGL AA) landed - no review, fix bustage
We've seen frequent intermittent failures in WebGL tests since WebGL AA landed. This turns out to be OOM conditions leading to failure to create WebGL contexts, due to the fact that the JS engine keeps too many unreferenced WebGL contexts around before it decides to GC (bug 617453). This patch makes us trigger the GC before every WebGL test page (there are 300 of them) which has proved to solve the problem on tryserver, with 18 green runs without any orange: https://tbpl.mozilla.org/?tree=Try&rev=789cf49fdc63

Failures occured most of the time on 32bit linux-pgo but have been observed on 64bit too, see bug 695947 comment 6.
2011-10-22 13:48:47 -04:00
Phil Ringnalda
7cc6bf217e Back out 9fa7d2c8ec2d and a0784cecf9bd (bug 696009 and bug 695947) to investigate the unlikely but apparent way they broke a Linux debug browser-chrome test by touching a mochitest-1 test 2011-10-22 17:44:58 -07:00
Benoit Jacob
85271f7e31 Bug 696009 - Fix trivial mistake in a0784cecf9bd which would have caused us to use this fix on all platforms whereas it is only needed on linux - r=bustage 2011-10-22 13:55:20 -04:00
Benoit Jacob
c4c5304de9 Bug 696009 and bug 695947 - frequent linux-pgo intermittent oranges since Bug 615976 (WebGL AA) landed - no review, fix bustage
We've seen frequent intermittent failures in WebGL tests since WebGL AA landed. This turns out to be OOM conditions leading to failure to create WebGL contexts, due to the fact that the JS engine keeps too many unreferenced WebGL contexts around before it decides to GC (bug 617453). This patch makes us trigger the GC before every WebGL test page (there are 300 of them) which has proved to solve the problem on tryserver, with 18 green runs without any orange: https://tbpl.mozilla.org/?tree=Try&rev=789cf49fdc63

Failures occured most of the time on 32bit linux-pgo but have been observed on 64bit too, see bug 695947 comment 6.
2011-10-22 13:48:47 -04:00
Jeff Gilbert
2279492640 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
ac985089ee Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93 Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
d1f0738a66 Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed 2011-10-19 15:09:57 -04:00
Jeff Gilbert
d3ef700073 Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Benoit Jacob
8eeed3c374 Bug 694730 - Upgrade WebGL conformance test suite to r15815 - no review
The 1.0.1 release is really close, and upgrading now allows us to give feedback and make sure that all tests are passable.

The canonical URL for this test suite is
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html

--HG--
rename : content/canvas/test/webgl/conformance/include.vs => content/canvas/test/webgl/conformance/glsl/misc/include.vs
2011-10-16 21:19:28 -04:00
Benoit Jacob
a9b2e70434 Bug 638328 - use builtinclass and remove do_QueryInterface - r=peterv 2011-10-13 08:09:22 -04:00
Ms2ger
02983e60f6 Bug 691156 - Handle putImageData(nonfinite) correctly; r=bz 2011-10-08 12:18:53 +02:00
Ms2ger
f30af024c2 Bug 689046 - Ensure createPattern(zero-size canvas) throws; r=roc 2011-10-08 12:18:51 +02:00
Ms2ger
fbef8a05f9 Bug 691184 - Add test_2d.text.align.(default|invalid).html & test_2d.text.baseline.(default|invalid).html from Philip Taylor's canvas tests; r=smaug 2011-10-07 10:24:38 +01:00
Ed Morley
0424aad1ba (No bug) Remove CRLFs that have crept into test_canvas.html; rs=bz 2011-10-07 10:24:37 +01:00
Atul Aggarwal
e9468a5526 Bug 673820 - Rewriting StringToInteger function to match behavior of Rules for parsing Integers specified in spec. r=jonas f=mounir,Ms2ger,dbaron 2011-10-01 19:30:27 +05:30
Benoit Jacob
ca2a58f371 Bug 630728 - Intermittent test_webgl_conformance_test_suite.html | Test expected to fail, but passed: conformance/texture-npot.html; r=ehsan 2011-09-29 00:06:03 -04:00
Doug Sherk
f9a5610153 Bug 683710: added stripping of comments from shader sources before compiling and check for illegal characters, mostly from webkit code r=bjacob
This code is copied mostly from WebKit. It strips out comments from shader source code before actually compiling it, so that the comments can have illegal characters. It was benchmarked and it was noted that a test attached to the bug ticket took about twice as long with these changes.

This includes the patch from bug 680722 to check for illegal characters.
2011-09-07 17:17:44 -04:00
Ehsan Akhgari
99a7871114 Bug 686026 - test_mozGetAsFile.html runs finish three times, instead of once; r=joedrew 2011-09-09 18:17:50 -04:00
Boris Zbarsky
25316d6093 Bug 685518 part 3. Add crossorigin 2d canvas tests. r=roc 2011-09-09 17:58:40 -04:00
Boris Zbarsky
3b76a63272 Bug 685518 part 2. Move the crossorigin webgl test to a saner location so I can add cross-origin non-webgl tests. r=roc
--HG--
rename : content/canvas/test/webgl/crossorigin/image-allow-credentials.png => content/canvas/test/crossorigin/image-allow-credentials.png
rename : content/canvas/test/webgl/crossorigin/image-allow-credentials.png^headers^ => content/canvas/test/crossorigin/image-allow-credentials.png^headers^
rename : content/canvas/test/webgl/crossorigin/image-allow-star.png => content/canvas/test/crossorigin/image-allow-star.png
rename : content/canvas/test/webgl/crossorigin/image-allow-star.png^headers^ => content/canvas/test/crossorigin/image-allow-star.png^headers^
rename : content/canvas/test/webgl/crossorigin/image.png => content/canvas/test/crossorigin/image.png
rename : content/canvas/test/webgl/crossorigin/test_webgl_crossorigin_textures.html => content/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
2011-09-09 17:58:38 -04:00
Phil Ringnalda
946b02e238 Back out d333f4021aaf, 5e90688c720e and bdb0bff93ce8 for Windows build redness 2011-09-07 15:20:26 -07:00
Doug Sherk
73534e1d22 Bug 683710: added stripping of comments from shader sources before compiling and check for illegal characters, mostly from webkit code r=bjacob
This code is copied mostly from WebKit. It strips out comments from shader source code before actually compiling it, so that the comments can have illegal characters. It was benchmarked and it was noted that a test attached to the bug ticket took about twice as long with these changes.

This includes the patch from bug 680722 to check for illegal characters.
2011-09-07 17:17:44 -04:00
Benoit Jacob
d36cfc4ea7 back out 1b09c80c46c3 (bug 680722, WebGL shader validation) because of regression, see bug 684312 and 683710 2011-09-02 15:43:03 -04:00
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
Ms2ger
a6c4503b05 Bug 663194 - Calling drawImage with zero-size canvas should throw INVALID_STATE_ERR; r=sicking 2011-06-11 09:52:27 +02:00
Benoit Jacob
66919c207e Bug 663162 - Update ANGLE to r686 - r=joedrew
Just an ANGLE update, plus updating the list of failed tests on WinXP, also now properly reporting on unexpeced success (using todo(true) instead of ok(false))
2011-06-10 14:59:08 -04:00
Benoit Jacob
3f7d139bd9 Bug 656277 - Prevent loading WebGL textures from cross-domain images - r=bzbarsky, a=jpr
This blocks using cross-domain images and tainted canvases as WebGL textures, in response to a timing attack allowing to get approximations of cross domain images' pixel data.

This is known to break legitimate Web content (e.g. bug 662570), so it's sad to have to land this. In the hopefully near future, a way forward will be implemented allowing affected Web content to resume working: we will allow cross-domain textures that have CORS approval. This is being coordinated with other WebGL implementers on the WebGL mailing lists.
2011-06-07 13:47:54 -04:00
Kyle Huey
7c8feff73e Bug 661876: Fix tests to avoid using obsolete nsIDOMFile properties/methods. 2011-06-05 11:54:14 -07:00
Benjamin Peterson
be433a6891 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Ms2ger
4ee45e739a Bug 629870 - Drop support for globalCompositeOperation=over,clear; r=sicking 2011-06-02 14:56:46 +02:00
Robert O'Callahan
48d8d2b5f3 Bug 656844. Only draw shadows when 'source-over' operator is being used. r=joe 2011-05-30 15:28:01 +12:00
Benoit Jacob
2980ccd7c4 Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Ms2ger
56c39feb5c Bug 632513 - Handle non-finite values for setTransform per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
460ca55119 Bug 632486 - Handle non-finite values for bezierCurveTo per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
bcfcbc1d85 Bug 632482 - Handle non-finite values for arcTo per spec; r=jst 2011-05-26 10:06:31 +02:00
Brian O'Keefe
02a4c1c6d9 Bug 564388 - Make the 'quality' parameter to ToDataURL work for image/jpeg. Also fixes bug 401795 (handle excess arguments to ToDataURL by ignoring them). r=bz,roc 2011-05-26 09:28:26 +02:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
Benoit Jacob
3b22833d8a Bug 636942 - stencil separate param validation must now occur on draw calls - r=jrmuizel
We were validating these params when they're set, and that was non-conformant behavior.
2011-05-20 15:53:53 -04:00
Benoit Jacob
a392b3f339 Bug 636913 - fix buffer-preserve-test.html so it works in the mochitest - r=joedrew
This was filed upstream at:
http://www.khronos.org/bugzilla/show_bug.cgi?id=472

This just moves around the canvas in the html so it's visible, so it actually gets composited. Otherwise the test fails.
2011-05-20 15:53:53 -04:00
Benoit Jacob
c8c2f484a2 Bug 636913 - implement the WebGL backbuffer clear semantics - r=joedrew
This implements the WebGL backbuffer clearing behavior when preserveDrawingBuffer=false
2011-05-20 15:53:53 -04:00
Benoit Jacob
779f99fd6c Bug 630672 - fixes for WebGL OES_texture_float extension - r=joedrew
This fixes a few issues in Vlad's patch: pass test, break reference cycle, fix leak
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benoit Jacob
b9642f26a8 Bug 657190 - the WebGL mochitest is downloading images from internet - r=philor
This patch checks in the image in question so we don't download it from internet anymore. Was causing intermittent test failures.
2011-05-20 15:53:53 -04:00
Benjamin Peterson
6ca89b9ae1 Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Benjamin Peterson
00688a9856 Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Yury
f2320f7c06 Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron 2011-05-05 17:12:04 -04:00
Ms2ger
c28b43a2a1 Bug 632511 - Handle non-finite values for scale per spec; r=peterv 2011-04-12 14:32:03 +02:00
Ms2ger
86c222a574 Bug 632481 - Handle non-finite values for arc per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
487af0c4c2 Bug 632476 - Handle non-finite values for fillRect, strokeRect per spec; r=peterv 2011-04-12 14:32:02 +02:00
Joe Drew
e0a8d65434 Bug 640887 - Ignore canvas-test on Windows XP, since it fails most of the time; r=bjacob 2011-04-11 09:12:17 -04:00
Marco Perez
e86148e927 Bug 647468 - make $(TAR) use stdin/stdout explicitly in content/canvas/test/webgl/Makefile.in; r=bjacob 2011-04-11 00:49:12 -04:00
Ms2ger
daeb0e2616 Bug 630029 - Throw INDEX_SIZE_ERR instead of SYNTAX_ERR when calling CanvasGradient.addColorStop with non-finite values; r=?sicking 2011-04-02 20:50:14 +02:00
Saint Wesonga ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
27054f013a Bug 392751 - Allow out of bounds rects in getImageData; r=bz 2011-04-07 21:45:18 -07:00
Ms2ger
c0904e3ca3 Bug 629894 - createImageData and getImageData should work for sizes smaller than one pixel; r=bz 2011-04-02 20:42:07 +02:00
Yury
f5ac501833 Bug 630040 - Implement createImageData(ImageData); r=bz 2011-04-02 20:45:26 +02:00
Ms2ger
9da7592a07 Bug 630052, part c: Handle non-finite and negative arguments to createImageData and getImageData according to spec; r=bz 2011-04-02 14:19:03 -04:00
Ms2ger
75157756af Bug 632516 - Handle non-finite values for translate per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
5580363e6a Bug 632515 - Handle non-finite values for transform per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
52e0a6ab6d Bug 632503 - Handle non-finite values for rect per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
a621fafa13 Bug 632502 - Handle non-finite values for quadraticCurveTo per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
09c1e8b000 Bug 632495 - Handle non-finite values for moveTo per spec; r=roc 2011-03-29 14:12:00 -04:00
Ms2ger
9c0180628b Bug 632493 - Handle non-finite values for lineTo per spec; r=roc 2011-03-29 14:05:00 -04:00
Ms2ger
3cb1f8077b Bug 630271 - Throw a TYPE_MISMATCH_ERR on createPattern(null); r=smaug 2011-04-01 15:31:34 -04:00
Ms2ger
938d8be616 Bug 630034 - Throw when attempting to create a radial gradient with negative radii; r=jmuizelaar 2011-03-31 11:47:00 -04:00
Ms2ger
93402fcdce Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ms2ger
ff9e7daf3f Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ms2ger
b23a59837e Bug 632508 - Handle non-finite values for rotate per spec; r=roc 2011-03-30 13:40:48 -04:00
Ms2ger
f50b65f0de Bug 632505 - Handle non-finite values for shadow{OffsetX|OffsetY|Blur} per spec; r=smaug 2011-03-30 13:40:48 -04:00
Ms2ger
96e851647e Bug 632464 - Handle non-finite values for globalAlpha per spec; r=smaug 2011-03-30 13:40:47 -04:00
Yury
83ae98f843 Bug 629875 - Handle negative arguments to drawImage; r=jmuizelaar 2011-03-30 14:55:13 +02:00
Ms2ger
e68c465383 Bug 632469 - Handle non-finite values for clearRect per spec; r=smaug 2011-03-29 22:24:53 -04:00
Ms2ger
bf7288aa6e Bug 630511 - Lowercase mime type argument to toDataURL; r=sicking 2011-03-29 22:24:53 -04:00
Ms2ger
548bbd157d Bug 494744. Fix testcase to actually test what it means to test. r=roc 2011-03-28 12:49:11 -04:00
Mounir Lamouri
5c636d8313 Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00
Robert O'Callahan
82c852c903 Bug 638241. Test that painting an <img>, changing its src attribute and then painting the <img> again paints the new image. 2011-03-24 16:13:58 +13:00
Benoit Jacob
be066bd5d0 Bug 635059 - Update WebGL test suite to version 1.0.0 from khronos.org - a=NPOTB 2011-03-03 11:02:36 -05:00
Benoit Jacob
e7797b975e Bug 636613 - Let WebGL mochitest run on Windows XP - r=jrmuizel, a=joe 2011-03-01 17:25:22 -05:00
Wes Johnston
1ae3289ab2 backout logging for bug 634532 a=cleanup-test, DONTBUILD 2011-02-17 11:33:50 -08:00
Wes Johnston
6f5dee4313 Bug 634532 - Add some logging to debug random oranges r=dougt, a=input-is-good 2011-02-16 09:45:26 -08:00
Benoit Jacob
bf6803e6ae Bug 634032 - remove FIXME in test list filenames - r=vlad, a=joe
--HG--
rename : content/canvas/test/webgl/00_testFIXME_list.txt => content/canvas/test/webgl/00_test_list.txt
rename : content/canvas/test/webgl/conformance/00_testFIXME_list.txt => content/canvas/test/webgl/conformance/00_test_list.txt
2011-02-14 16:39:55 -05:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Benoit Jacob
7f6e80fbdd Bug 633622 - Make the webgl mochitest use ANGLE on test machines - r=vlad, a=hardblocker 2011-02-14 12:04:54 -05:00
Benoit Jacob
414569f071 oops -- fix list of webgl tests expected to fail -- r+a=bustage 2011-02-12 17:12:08 -05:00
Benoit Jacob
b0a4e99d3c Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
aeb24b4fe0 Bug 632546 - pass is-object test - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Vladimir Vukicevic
1e4ebe844d b=630177, update webgl tests for slice->subarray renaming, a=block 2011-02-01 17:43:55 -08:00
Jonas Sicking
e0cf36d329 Backed out changesets 808970eca6d5 and 84c8b33619e0 due to continued orange. a=bustage 2011-02-01 16:45:54 -08:00
Jonas Sicking
bf711df83f Fix orange from bug 630117. a=bustage 2011-02-01 16:19:22 -08:00
Ms2ger
c73a5e40aa Bug 630036 - Throw NOT_SUPPORTED_ERR instead of SYNTAX_ERR when calling cx.create{Linear|Radial}Gradient with non-finite values; r+a=roc 2011-02-02 08:48:57 +13:00
Ms2ger
057761e85c Bug 630062 - Don't throw on setting lineWidth and ignore non-positive values; r+a=roc 2011-02-02 08:47:24 +13:00
Ms2ger
efa9ee5a7b Bug 630056 - Don't throw on setting miterLimit and ignore non-positive values; r+a=roc 2011-02-02 08:46:44 +13:00
Ms2ger
1a2ff9c3c4 Bug 630068 - Throw when attempting to create an arc with a negative radius; r+a=roc 2011-02-02 08:45:48 +13:00
Benoit Jacob
0e625ec75b Bug 629933 - WebGL mochitest mistakenly disabled on Mac OS 10.6 - r=vlad, a=obviously-should-be-blocking2.0 2011-01-29 22:31:21 -05:00
Benoit Jacob
b5bb1fe80d Bug 628403 - rename webgl.prefer_gl to webgl.prefer-native-gl - r=vlad, a=joe 2011-01-28 21:12:25 -05:00
Benoit Jacob
950ed5f435 Bug 628403 - introduce webgl.force-enabled and webgl.disabled prefs - r=vlad, a=joe 2011-01-28 21:12:24 -05:00
Benoit Jacob
95e9471ced CLOSED TREE - Bug 629396 - update list of failing webgl tests after driver update on test slaves to fix WebGL mochitest failures - r+a=bustage 2011-01-27 12:26:11 -05:00
David Mandelin
46f9ff2b07 Bug 628612 followup: fix mochitest that assumes constructors are non-configurable, r=orange, a=blocker 2011-01-25 18:57:59 -08:00
Benoit Jacob
80aa7bed71 Bug 626996 - WebGL tests shouldn't be loading pages from the Internet - r=ehsan a=jrmuizel
--HG--
extra : rebase_source : c5760b5cedd4077a5e3d01985f9f0bbd103d1924
2011-01-20 17:24:47 -05:00
Benoit Jacob
65754f9740 CLOSED TREE Bug 582053 - that test fails on windows - r+a=bustage 2011-01-14 16:17:00 -05:00
Benoit Jacob
62991b997f Bug 582053 - gl-teximage passes now, remove from failing-tests list - r+a=bustage 2011-01-14 14:21:15 -05:00
Benoit Jacob
6afc30e375 Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=vlad, a=blocking2.0
--HG--
rename : content/canvas/test/webgl/failing_tests.txt => content/canvas/test/webgl/failing_tests_linux.txt
2011-01-14 13:40:05 -05:00
Boris Zbarsky
423b8adc19 Bug 613794. Throw a reasonable exception when passed bogus imagedata. r=vlad 2011-01-14 10:34:39 -05:00
Vladimir Vukicevic
1160e65f4c [no bug]; update webgl test; a=npotb 2010-12-22 19:25:48 -08:00
Vladimir Vukicevic
5a5c544bbf b=619798; upgrade ANGLE to r511; r+a=vlad 2010-12-16 12:49:06 -08:00
Saint Wesonga
ede18c4434 Bug 498826 - Implement optional putImageData arguments. r+a=vlad 2010-12-04 16:44:26 +01:00
Vladimir Vukicevic
2a475c1a6c update in-tree webgl conformance tests copy; r=npotb 2010-12-03 14:44:01 -08:00
Vladimir Vukicevic
5f7897cd98 b=612334; update in-tree webgl tests from svn; npotb 2010-11-16 20:33:04 -08:00
Vladimir Vukicevic
36f8014890 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-11-16 20:33:03 -08:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Ms2ger
5427337c29 Bug 589581 - Don't throw on non-finite values in canvas2Dcontext.isPointInPath; r+a=vlad 2010-10-17 20:24:31 +02:00
Benoit Jacob
f2663173fe Bug 593496 - Fix WebGL textures: conversions, flipping, premultiplication, unpack alignment - r=vladimir 2010-10-15 17:50:15 -04:00
Vladimir Vukicevic
d6d667fe54 Update in-tree WebGL test suite to r12629 2010-10-09 12:44:24 -07:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Justin Wood
71fa9278b0 Bug 600767 - [SeaMonkey] Linux Mochi-1 test_2d.composite.uncovered.image.destination-atop.html failing. r=khuey f=vlad a=NPOTB 2010-10-01 01:24:40 -04:00
Boris Zbarsky
a6899e1701 Fix this test to deal better with float rounding issues. Followup to bug 587106, a=bustage 2010-10-06 23:41:34 -04:00
Boris Zbarsky
7b56db1ca0 Followup for bug 587106. Update test to the new syntax. a=bustage 2010-10-06 22:40:41 -04:00
Boris Zbarsky
22c696308a Bug 587106. Make the alpha value of strokeStyle and company correct even for small alpha values. r=vlad, a=vlad 2010-10-06 21:01:37 -04:00
Masatoshi Kimura
57f204e676 b=600120; fix canvas composite.uncovered.image tests; r+a=vlad 2010-09-29 15:24:40 -07:00
Vladimir Vukicevic
b0850c29d5 b=599698; remove UpdateSurfaceClip speedtrap in canvas drawImage; r+a=shaver 2010-09-25 23:57:56 -07:00
Kyle Huey
a9713881d1 Bug 565843: Implement <canvas>.mozGetAsFile(name, type). r+a=sicking
--HG--
extra : rebase_source : 1a7a635dc5a7da047967d8feb57d637e83027618
2010-09-17 21:14:59 -04:00
Vladimir Vukicevic
c3fb6786b3 b=593850; [webgl] fix bad-arguments and null-object-behaviour tests; r=bjacob, a=b 2010-09-13 08:57:25 -07:00
Vladimir Vukicevic
c3b2630ecb b=593850; [webgl] remove bogus webgl debug utils from tests; r=bjacob 2010-09-13 08:56:13 -07:00
Vladimir Vukicevic
d8a5653695 b=593850; [webgl] fix test null-uniform-location; r=bjacob 2010-09-13 08:56:01 -07:00
Vladimir Vukicevic
15f8e02ea1 b=593850; [webgl] fix gl-uniform-arrays test; r=bjacob 2010-09-13 08:55:45 -07:00
Vladimir Vukicevic
66e6b95063 b=593850; [webgl] fix gl-scissor test; r=bjacob 2010-09-13 08:55:29 -07:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
Ginn Chen
472f5bdab7 Bug 594734 Use $(TAR) instead of tar for content/canvas/test/webgl r=bjacob a=testing file only 2010-09-10 20:56:33 +08:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
David Mandelin
f575742690 [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
Benoit Jacob
667e7a61ef Disable uniform-location.html test. r=vlad 2010-08-26 20:46:15 +00:00
Benoit Jacob
e2e3fc263e Bug 590729 - Update WebGL tests to upstream r12308, and Mochitest improvements - r=vladimir, a=blocking2.0 2010-08-25 19:09:26 -04:00
Benoit Jacob
66c3eb510a Bug 582053 - Integrate WebGL conformance suite as a mochitest - r=ctalbert,vladimir a=blocking2.0
--HG--
rename : content/canvas/test/webgl/test_list.txt => content/canvas/test/webgl/00_testFIXME_list.txt
rename : content/canvas/test/webgl/conformance/00_test_list.txt => content/canvas/test/webgl/conformance/00_testFIXME_list.txt
rename : content/canvas/test/webgl/more/00_test_list.txt => content/canvas/test/webgl/more/00_testFIXME_list.txt
2010-08-25 08:14:12 -04:00
Benoit Jacob
68da606240 Bug 592416 - Various WebGL fixes - r=vladimir 2010-09-02 10:38:26 -04:00
Benoit Jacob
64bf8cac02 Bug 571054 - emulate vertex attrib 0 on desktop GL - r=vladimir 2010-09-02 10:34:08 -04:00
Benoit Jacob
4232dc2f5d Bug 591438 - disable getParameter random testing - r=vladimir 2010-09-02 10:31:08 -04:00
Benoit Jacob
970240fc6f Bug 591042 - validation fix in copyTexImage2D and update list of failing tests - r=vladimir, a=blocking2.0 2010-09-02 10:28:38 -04:00
Bas Schouten
1f97f2daae Bug 587316 - Part 6: Disable failing gradient test on D2D. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
aecaf6e775 Bug 587316 - Part 5: Disable failing rectangle drawing test failing due to D2D inaccuracy. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
7d3515f1b6 Bug 587316 - Part 2: Disable degenerate rect stroking test. r=jrmuizel 2010-08-16 09:15:02 +02:00
Robert O'Callahan
052fa3ca37 Bug 522859. Handle unbounded cairo operators properly in the Quartz backend. r=jrmuizel,a=joe 2010-08-13 22:02:47 +12:00