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
Doug Sherk
1be48befb7
Bug 593867: removed nvidia check for forcing getProgramParameter() so it now returns 1 on any Mac OSX setup
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
Matt Woodrow
9c9e398ae8
Bug 591358 - Delay creation of canvases until we actually draw to them. r=roc
2011-08-31 14:03:31 +12:00
Benoit Jacob
5de2c95a0d
Bug 682506 - Upgrade ANGLE to r740 - r=upstream
...
I need this now especially as it gets us the shader modification mechanisms to work around Mac GL crashes, see bug 665578
The relevant ANGLE revisions are 734, 738, and 740 fixes a bug in 738.
This also allows us to reset our set of cherrypicked ANGLE revisions which was starting to be very big.
2011-08-30 18:50:05 -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
Marco Castelluccio
7cb0506077
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01: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
Benoit Jacob
b097dfda2f
Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe
2011-08-15 15:53:02 -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
Ms2ger
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02: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
6a1b59abd3
Bug 638549 - fix leak of WebGL about:memory reporters - r=jrmuizel
...
See bug 638549 comment 25. We had to ref-count these pointers.
2011-08-10 18:25:23 -04: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
Doug Sherk
00b59bb7f3
Bug 680724: moved height and width checks for render buffers r=bjacob
2011-08-25 14:28:59 -04: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
Jeff Walden
8f924181c5
Bug 676738 - Change the index argument to JS_GetElement from jsint to uint32. r=dmandelin
2011-08-04 19:39:13 -07:00
Nikhil Marathe
c3f0bf12bc
Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
...
--HG--
extra : rebase_source : 1bcd524f639b1e79dbb461c737b6abdbc62ba606
2011-08-01 15:50:04 -07:00
Michael Wu
e6dce0d707
Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer
2011-08-01 21:18:48 -07:00
Nikhil Marathe
a28285d0a7
Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
...
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Benoit Jacob
2bc65bec27
Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
...
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Ehsan Akhgari
b9380105e9
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-28 10:37:23 -04:00
Benoit Jacob
d2d4229f08
Bug 674074 - about:memory blank in presence of WebGL contexts - r=njn
...
This fixes the names of WebGL KIND_HEAP reporters. Newly enforced rules about the naming of KIND_HEAP reporters were making about:memory fail to work in presence of WebGL reporters.
2011-07-27 14:46:15 -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