Michael Wu
8ded2a05cd
Bug 703307 - Fix build/crash in gonk, r=cjones
2011-11-22 11:51:51 -08:00
Doug Sherk
f224127867
Bug 656824: fixed invalid return type on loseContext and restoreContext r=bjacob
2011-11-18 22:57:29 -05:00
Doug Sherk
e6a246b74c
Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
...
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Doug Sherk
ffd0060fbc
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Jeff Muizelaar
394e1a656b
Bug 666312. Check surface status instead of surface existance. r=mwoodrow
...
We always have cairo surfaces now instead of having NULL ones. We should
check the status instead. This fixes crashes with the quartz and skia
azure backends.
2011-11-19 01:39:14 +13: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
Marco Castelluccio
34d53ff8bc
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +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
Matt Brubeck
78721ee177
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
79b0975cc8
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Ted Mielczarek
feaf042052
bug 693595 - Add WebGLExtensionStandardDerivatives to WebGLContextNotSupported. r=bjacob
2011-10-19 10:01:27 -04:00
Doug Sherk
ed54177bec
Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob
2011-11-07 19:33:51 -05:00
Benoit Jacob
e980a6d29d
Bug 665578 - Backed out changeset 82a297b0d0d3 for compile error
2011-11-07 17:32:07 -05:00
Doug Sherk
d0c313f963
Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob
2011-11-07 17:13:34 -05: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
Benoit Jacob
2e4e1bd781
Bug 699516 - Rename WEBKIT_lose_context to WEBGL_EXT_lose_context - r=dsherk
...
See today's discussion on public_webgl list. WEBGL_EXT_lose_context will be officially created in a few days.
2011-11-03 20:29:57 -04:00
Benoit Jacob
1ac69bdbd8
Bug 699522 - WebGL lose_context extension was not listed by webgl.getSupportedExtensions() - r=dsherk
2011-11-03 15:52:52 -04: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
Doug Sherk
b0cc51bfe5
Bug 695912: allow forcing MSAA on r=jgilbert
...
Allows forcing MSAA on even if we determine through the blocklist that the user
probably shouldn't be running it.
2011-11-03 10:50:40 -04:00
Doug Sherk
332f23c4b9
Bug 695912: implemented antialiasing blocklisting r=jgilbert
...
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Matt Woodrow
20deb50620
Bug 698318 - Share ArcToBezier code. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
85518431cb
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
f871e68d88
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13: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
Jeff Gilbert
244f51369c
Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob
2011-10-31 16:55:00 -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
Jonathan Watt
71a67640b1
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Marco Bonardo
e706fea5f6
Backout d9da4de6579c (Bug 682496) for M1 leaks.
2011-10-27 00:13:39 +02:00
Doug Sherk
63e6006511
Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
...
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Doug Sherk
85a673ccb1
Bug 682496: fixed program-test.html test failures
...
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-10-26 16:00:44 -04:00
Benoit Jacob
0131021f5b
Bug 697450 - Several WebGL texel unpack/pack functions are not inlined spontaneously, at least by GCC - r=jgilbert
2011-10-26 16:00:44 -04:00
Matt Woodrow
45907293a3
Bug 691976 - NULL check the JSContext before using JS_updateMallocCounter. r=Bas
2011-10-26 16:13:24 +13: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
68e5ce0f28
Bug 665578 - Use ANGLE's built-in-function-emulation feature on Mac - r=jrmuizel
2011-10-23 22:46:40 -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
d8f97c2d0d
Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
b7ec6b4615
Bug 615976 - Fix WebGL to default to trying to have anti-aliasing - 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
cc847aa544
Adds support for samples in ContextFormat, pref 'webgl.max-samples'
2011-10-19 15:09:57 -04:00
Jeff Gilbert
a18e95e222
Fix WebGL to default to trying to have anti-aliasing
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
Olli Pettay
e5b7e8ee46
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -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
6831dd8707
Bug 638328 - fix bug in assertion, bad usage of queryinterface - r=roc
...
do_QueryInterface itself doesn't assign to the nsresult, have to assign to a nsCOMPtr
2011-10-14 10:01:15 -04:00
Benoit Jacob
a9b2e70434
Bug 638328 - use builtinclass and remove do_QueryInterface - r=peterv
2011-10-13 08:09:22 -04:00
Christoph Diehl
3fcd8718cf
Bug 686732 - Implement minimal-capabilities WebGL mode - r=bjacob
2011-10-13 08:09:22 -04:00
Jonathan Kew
3c4257e0d9
bug 693610 - accumulate advanceSum so that we don't overlap successive glyph runs when drawing text to azure canvas. r=bas
2011-10-12 08:27:28 +01:00
Bas Schouten
6d7ff7c737
Bug 691137: Use proper coordinates when adding a device space quadratic curve. r=roc
2011-10-11 02:35:52 +02: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
6d7bc0dfbd
Bug 691184 - Don't throw on setting ctx.textAlign & ctx.textBaseline to bogus values, spec says to ignore; r=smaug
2011-10-07 10:24:37 +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
Bas Schouten
e89848a4cc
Bug 655836: Use Snapshot API for drawing one Azure canvas to another. r=roc
2011-10-05 01:12:23 +02:00
Brian Hackett
e89780c40d
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Justin Lebar
01cb8b32e2
Bug 686345 - Don't subtract from our count of canvas's memory if we never added to the count. r=jmuizelaar
2011-10-03 12:35:32 -04:00
Marco Bonardo
708de44700
Merge mozilla-central to mozilla-inbound
2011-10-03 17:13:54 +02:00
Benoit Jacob
3b0d019742
Bug 522193 - WebGL calls are slow because of memory allocation churning - r=roc
...
WebGL objects keep an array of refptrs of other WebGL objects owning references to them. In practical cases, the size of this array can oscillate between 0 and 2 at high frequency. nsTArray throws away its whole storage (mHdr) when its size hits 0. This patch makes us use a nsAutoTArray with a pre-allocated size of 2 or 8 depending on WebGL object types.
2011-10-03 08:41:56 -04: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
Doug Sherk
5b5702d6a4
Bug 684853: implement OES_standard_derivatives
...
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Benoit Jacob
93ca6f5084
Bug 684882 - on Macs with Intel GPUs, limit cube map size to 512 - r=jrmuizel
2011-09-29 10:13:49 -04:00
Benoit Jacob
b79d3d9d20
Bug 684882 - back out db67bdba5ca8
2011-09-29 10:13:49 -04:00
Benoit Jacob
50ebdccf9f
Bug 684882 - back out b4fd4fd0dc3f
2011-09-29 10:13:49 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
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
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Benoit Jacob
e0690707cd
Bug 684882 - Random video memory grabbed into WebGL cube map textures on Mac OS, including on 10.7.1, on Intel GPUs - r=jrmuizel
...
This patch does 3 things on Macs with Intel GPUs:
* prevents attaching a cube map to a framebuffer.
Test case: http://codeflow.org/webgl/irradiance/
* skips glGenerateMipmaps on cube maps
* since cube maps are now missing their mipmaps, prevents setting on them a minification filter that requires a mipmap, but only from OpenGL's point of view, not from WebGL's.
2011-09-23 20:29:40 -04:00
Benoit Jacob
c8be5c56a0
Bug 686398 - WebGL crash, addressing Texture ImageInfo out of bounds - r=jrmuizel
...
We were not checking that ImageInfoAt(level, face) existed before dereferencing it.
2011-09-22 02:57:26 -04:00
Benoit Jacob
b26a2af7ce
Bug 685793 - WebGL buffer overflow issue and access to out of range memory - r=jrmuizel
...
We were not checking for integer overflow in a required-buffer-size computation. Fixing this by using CheckedInt.
2011-09-22 02:55:10 -04:00
Boris Zbarsky
bd01572fc8
Bug 444641 part 4. Remove the data: special-casing for images in canvas, since we now set the right principal for data: images. r=roc
2011-09-20 17:00:42 -04:00
Jeff Muizelaar
6f22e3e5d3
Bug 684859. Add telemetry to track when 2d or webgl canvas is used. r=bas
...
--HG--
extra : transplant_source : %FB5%40%FA%3A%2Cg%AF%14W%D3%E8%D1y%03%25%D1%E9%22%AB
2011-09-19 16:08:56 -04:00
Matt Woodrow
a868d859af
Bug 676690 - Don't release DataSourceSurface pointers until we have finished accessing the pixels. r=Bas
2011-09-14 16:16:23 -07:00
Justin Wood
f90fd5539e
m-c -> m-i merge
2011-09-09 22:04:09 -04:00
Benoit Jacob
247aca9d4a
Bug 684882 - work around a glGenerateMipmap bug on Mac - r=jrmuizel
2011-09-09 18:00:20 -04:00
Benoit Jacob
7a24dd63e2
Bug 682335 - crash [@ WebGLContext::BufferSubData_array] - r=jrmuizel
2011-09-09 18:00:20 -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
Boris Zbarsky
f4ec90e1f0
Bug 685518 part 1. Look at the image CORS mode for drawImage into a canvas 2d context. r=roc
2011-09-09 17:58:35 -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
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