Benoit Jacob
5bc178dcdd
Bug 734657 - Upgrade ANGLE to r1042 - no review
...
The upstream is at:
http://code.google.com/p/angleproject/
This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Benoit Jacob
97aa7c28db
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
fa875e1658
Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB
2012-03-26 15:20:34 -04:00
Benoit Jacob
7acfec9dc1
Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
...
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.
Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Matt Brubeck
d4695bccc5
Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie]
2012-03-26 09:43:58 -07:00
Jeff Gilbert
5c20276bf3
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Aryeh Gregor
94d5ff735b
Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz
2012-03-16 16:07:09 -04:00
Ms2ger
b21a9fb08a
Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz
2012-03-16 10:49:16 +01:00
Ms2ger
090a26ea3d
Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz
2012-03-16 10:48:55 +01:00
Ms2ger
7ea9d494ee
Bug 550309 - Part c: Implement ImageData; r=bz
2012-03-16 10:44:08 +01:00
Ms2ger
6712d38a5f
Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz
2012-03-16 10:41:53 +01:00
Ms2ger
906cb53234
No bug - Update test_canvas.html to test for Uint8ClampedArray instead of CanvasPixelArray; r=mounir
2012-03-11 09:54:26 +01:00
Serge Gautherie
d0f83f0c4a
Bug 629595. (Cv1) Remove unwanted debug ok(false,) from patch Av3b, Fix nits. r=bjacob.
2012-03-07 22:12:30 +01:00
Benoit Jacob
bd837a50c5
Bug 676071 - ugh, that test is still failing on windows. re-adding to list of known failing tests. - no review, bustage
2012-03-02 17:15:23 -05:00
Benoit Jacob
d447c8ad1f
Bug 676071 - remove uniformfArrayLen1.html from failing tests list - r=bustage
2012-03-02 16:56:06 -05:00
Benoit Jacob
d0fbf0ab29
Bug 676071 - use ANGLE long identifier mapping - r=jgilbert
...
This also fixes the leak reported in bug 723261, and makes us avoid generating the shader translator output when we don't use it (on Android).
2012-03-02 15:42:49 -05:00
Matt Brubeck
2609178889
Merge last green changeset from inbound to mozilla-central
2012-02-29 10:47:38 -08:00
Serge Gautherie
caea646639
Bug 629595. (Av3b) test_webgl_conformance_test_suite.html: Remove dump()s, Add ok()s and todo()s, Do a few related rewrites, Fix totalFailed calculation, Remove (obsolete) workaround for Windows 2000. r=bjacob.
2012-02-29 10:41:42 +01:00
Serge Gautherie
77ff8dd270
Bug 629595. (Bv1a) test_webgl_conformance_test_suite.html: Ensure waitForExplicitFinish() is executed, Disable test on Windows 2000 and (if necessary) on SeaMonkey, Move Mac OSX version check to a better place. r=bjacob.
2012-02-28 09:55:54 +01:00
Florian Boesch
9650d0e848
Bug 728354 - WebGL EXT_texture_filter_anisotropic: added the EXT suffix and adjusted conformance test - r=bjacob
2012-02-26 12:06:18 -05:00
Florian Boesch
ada0d9ea9e
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Masatoshi Kimura
d99288b6cc
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
Joe Drew
bf8b7e35e4
Bug 725747 - Seems we run into a driver bug on OS X (on NVIDIA cards only) now. Mark these tests as failing. r=bjacob
2012-02-16 18:45:16 -05:00
Serge Gautherie
7b6e30ceeb
Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
...
DONTBUILD (log-string only).
2012-02-08 19:45:48 +01:00
Phil Ringnalda
fddd608e98
Bug 724455 - mark conformance/textures/texture-mips.html and conformance/textures/texture-npot.html as failing on 10.7, r=bjacob
2012-02-05 17:47:39 -08:00
Benoit Jacob
91469a86b4
Bug 700429 - mark uniformfBadArgs.html and uniformiBadArgs.html as passing on 10.7, r=jgilbert
2011-11-08 08:30:00 -08:00
Ms2ger
db0196cd73
Bug 407105 - Enable test_2d.strokeRect.zero.5.html; r=roc
2012-02-01 11:54:21 +01:00
Benoit Jacob
384c9124a6
Bug 722211 - Update WebGL conformance tests to r16765 and adapt mochitest to harness changes - no review
...
No review because this is mostly just syncing us with the upstream,
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
as well as adjusting to test harness changes (now loading test lists asynchronously) and a patch to the harness itself which I'll send upstream (see fix-webgl-harness-async.patch)
2012-01-30 13:59:06 -05:00
Benoit Jacob
66a14ff3fd
Bug 720438 - Update ANGLE to r963 - no review
...
No review because this is just syncing us with upstream:
http://code.google.com/p/angleproject/
This is also doing some cleanup, removing stale/empty files and updating patches.
The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Jon Buckley
05489b6226
Bug 682299 - CORS <video> tests. r=roc
2012-01-25 17:31:30 -05:00
Benoit Jacob
b62ac022b9
back out Bug 696495 for linux m1 orange.
2012-01-24 17:37:44 -05:00
Benoit Jacob
3b8b1dcef4
Bug 696495 - texture-mips.html failures might be workaroundable by setting minification filter before glGenerateMipmap call - r=jgilbert
2012-01-24 16:12:31 -05:00
Benoit Jacob
b248d21643
Bug 706674 - WebGLFramebufferAttachment's are not WebGLRectangleObject's - r=jgilbert
...
The main change is: remove the WebGLRectangleObject inheritance from
WebGLFramebufferAttachment, and instead have WebGLFramebufferAttachment
query its texture or renderbuffer for their dimensions, when needed.
In the course of doing this, a couple other needed changes appeared:
- let WebGLTexture::ImageInfo inherit WebGLRectangleObject, so that WebGLFramebufferAttachment can return a pointer to it right away in the texture case
- add a FramebufferRectangleObject() method to WebGLContext, that will return the dimensions of the bound FBO if there is one, otherwise will just return the contexts' own dimensions.
- in order to do that, it was very convenient to let WebGLContext inherit WebGLRectangleObject so that FramebufferRectangleObject() could just return a pointer to that in the no-bound-FBO case.
- move WebGLRectangleObject up in the file, above WebGLContext
- there was a plain bug in WebGLFramebufferAttachment::HasAlpha(), we were not using the right image info within the texture.
2012-01-24 16:12:31 -05:00
Jeff Muizelaar
380c970240
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
2012-01-04 15:35:55 -05:00
Matt Brubeck
717184f6d9
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
a290bd3e5f
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
...
--HG--
extra : rebase_source : f77d38e03ca63a8d0d2a620eca6a4247753cc8de
2012-01-04 15:35:55 -05:00
Ms2ger
5bd0fc389c
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
1472a10308
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
2012-01-04 15:35:55 -05:00
Benoit Jacob
8f1a091dde
Bug 713276 - Upgrade WebGL conformance test suite to r16456, follow-up - no review
...
follow-up: forgot to hg add some files and reenable the shader-precision-format test
2012-01-10 08:47:39 -05:00
Ed Morley
c1bac028af
Bug 716168 - Remove browser/components/wintaskbar/ now that the tests live in browser/modules/test/ (bug 699575 followup); r=gavin
2012-01-10 01:10:42 +00:00
Benoit Jacob
75b9b2f382
Bug 713276 - Upgrade WebGL conformance test suite to r16456 - no review
...
No review because this is just syncing us with the upstream,
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/
2012-01-03 12:28:10 -05:00
Bobby Holley
4b6add2c77
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
Benoit Jacob
3fa3cbc3b0
Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
...
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
23d503f744
Bug 703927 - object-deletion-behaviour test still failing until we land 706674 - no review, fix mochitest-1 orange, CLOSED TREE
2011-12-04 15:13:18 -05:00
Benoit Jacob
bfff5f7f10
Bug 703927 - Upgrade WebGL conformance test suite to r16237 - no review
...
The canonical location for this testsuite is:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests
2011-12-04 14:15:53 -05:00
Jeff Gilbert
5d2abca505
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
Doug Sherk
ffd0060fbc
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Matt Woodrow
8f1885fb5e
Bug 702517 - Mark tests that fail in chrome as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
6392b36119
Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Brian O'Keefe
6817f95a05
Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=joe
2011-11-14 11:21:19 +13:00
Ed Morley
7bc582f20f
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Doug Sherk
7e2a7062bc
Bug 699626: fix TEST-UNEXPECTED-FAIL > TEST-KNOWN-FAIL in WebGL reftests r=burning
2011-11-03 19:05:16 -07:00
Doug Sherk
86605677d2
Bug 693703: added additional logging information for mochitests, incl. image reference differences r=bjacob
...
Added some code to print to dump output of WebGL mochitest failures. Also added
special code to handle incorrect reference images. It will now provide the user
with a way to compare the reference and actual drawings.
2011-11-03 10:50:40 -04:00
Doug Sherk
044245b4f0
Bug 682496 - fixed program-test.html test failures - r=bjacob
...
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-11-03 10:50:40 -04:00
Doug Sherk
be1a950c70
Bug 697211: fixed stride not being returned correctly from getVertexAttrib r=jgilbert
2011-11-03 10:50:40 -04:00
Benoit Jacob
1287259b1c
Bug 698856 - Mark one WebGL test page as expected to pass on Windows - no review, m1 orange fix
2011-11-02 11:25:32 -04:00
Benoit Jacob
b4d9a4bac3
Bug 698856 - Upgrade WebGL conformance test suite to r15981 - no review
...
The upstream is
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
This changeset also updates our lists of failing tests, and the garbageCollect() call before each test page is now done on all platforms, instead of only on linux, as it's now clear that we've been having this problem everywhere.
2011-11-02 08:44:41 -04:00
Matt Brubeck
385d21a5fd
Back out be8056caccb4 (Bug 698856) because of test failures
2011-11-02 07:33:54 -07:00
Benoit Jacob
9eb2b07f4a
Bug 698856 - Upgrade WebGL conformance test suite to r15981 - no review
...
The upstream is
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
This changeset also updates our lists of failing tests, and the garbageCollect() call before each test page is now done on all platforms, instead of only on linux, as it's now clear that we've been having this problem everywhere.
2011-11-02 08:44:41 -04:00
Phil Ringnalda
77dcce52fd
Back out 773e9705c61b (bug 697211) for orange
2011-10-31 19:02:50 -07:00
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