Commit Graph

164 Commits

Author SHA1 Message Date
Serge Gautherie
855ee6abe9 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
4dff658cb5 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
7d0d94da61 Bug 676071 - remove uniformfArrayLen1.html from failing tests list - r=bustage 2012-03-02 16:56:06 -05:00
Benoit Jacob
d82a3cbcee 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
c52c92d647 Merge last green changeset from inbound to mozilla-central 2012-02-29 10:47:38 -08:00
Serge Gautherie
5b45bced4d 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
7147cb6c30 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
5f7e9f9ff4 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
401b77d113 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
Joe Drew
4b54d517e0 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
eb17a765d8 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
0c31134c18 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
90584af833 Bug 700429 - mark uniformfBadArgs.html and uniformiBadArgs.html as passing on 10.7, r=jgilbert 2011-11-08 08:30:00 -08:00
Benoit Jacob
2192acb899 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
b9c5df43a5 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
Benoit Jacob
d9362f2c32 back out Bug 696495 for linux m1 orange. 2012-01-24 17:37:44 -05:00
Benoit Jacob
cd6750ebf7 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
edf3ce6b67 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
Benoit Jacob
d9083fa079 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
6bb3db1b07 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
b29786ebc2 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
Benoit Jacob
f236d1743f 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
5a8ad40a6c 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
ec07eefce7 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
9bedcc608e Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob 2011-11-23 16:49:02 -08:00
Doug Sherk
446aaeb959 Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron 2011-11-18 22:57:29 -05:00
Ed Morley
7ea8e12caa 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
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Doug Sherk
f8e3063725 Bug 699626: fix TEST-UNEXPECTED-FAIL > TEST-KNOWN-FAIL in WebGL reftests r=burning 2011-11-03 19:05:16 -07:00
Doug Sherk
d873816e05 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
8e6c4c87cb 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
3e5f8419ab Bug 697211: fixed stride not being returned correctly from getVertexAttrib r=jgilbert 2011-11-03 10:50:40 -04:00
Benoit Jacob
eb593ff120 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
7f98c7b760 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
a45ef44892 Back out be8056caccb4 (Bug 698856) because of test failures 2011-11-02 07:33:54 -07:00
Benoit Jacob
afc605318e 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
a4243e7ce4 Back out 773e9705c61b (bug 697211) for orange 2011-10-31 19:02:50 -07:00
Doug Sherk
fa97ba776d Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Doug Sherk
c47bd89d8a 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
3e243dea6b Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
08548a6814 Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
34ff2cc95c 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
7a684ca1be 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
d33d9d4b45 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
5240fde73b 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
e418b5fdb9 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
46a6889039 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
d1f461bcfa 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
b4b0dc7aed 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
56378bd370 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00