Commit Graph

1438 Commits

Author SHA1 Message Date
Benoit Jacob
29a8024910 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
6e6cb1c555 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Matt Brubeck
a9d0bc0b91 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
f23bc53c69 Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Ms2ger
33ab87c978 Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley 2012-03-20 13:57:00 -07:00
Aryeh Gregor
18007ca69a Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Jonathan Watt
c4e6b7547e Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Marco Bonardo
cb781bfe97 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ms2ger
2119045a0b Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
75d516dac5 Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob 2012-03-16 10:52:42 +01:00
Ms2ger
9d5622d081 Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob 2012-03-16 10:51:04 +01:00
Ms2ger
e43e051f40 Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
7fd85b3f0a Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
79d282af26 Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
ce7192e639 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
a1ef3fe3ca Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob 2012-03-16 10:49:29 +01:00
Ms2ger
07234ed61c Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz 2012-03-16 10:49:16 +01:00
Ms2ger
b9704abcc3 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
8874969471 Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
b47d7ff113 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ms2ger
c4ac60d8ed Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz 2012-03-16 10:41:53 +01:00
Nathan Froyd
70907fb5f2 Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Justin Lebar
1fc1dc1879 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Ms2ger
5368eb806b No bug - Update test_canvas.html to test for Uint8ClampedArray instead of CanvasPixelArray; r=mounir 2012-03-11 09:54:26 +01:00
Ms2ger
650edda979 Bug 730554 - Part c: Unwrap to nsGenericElement in TexImage2DImageDataOrElement; r=bz 2012-03-11 09:54:24 +01:00
Ms2ger
cfa9fa0bdb Bug 730554 - Part b: Check the result of JS_GetProperty in TexImage2DImageDataOrElement; r=bz 2012-03-11 09:53:24 +01:00
Ms2ger
cd670c49ac Bug 730554 - Part a: Deduplicate code in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz 2012-03-11 09:53:07 +01:00
Nicholas Nethercote
a4e916975c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Ed Morley
214e82db8b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-08 13:14:47 +00:00
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
9b1c40baca Bug 733665 - NS_ASSERTION failure when calling WebGL getExtension - r=jgilbert 2012-03-07 15:17:49 -05:00
David Mandelin
0822e24e67 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
David Mandelin
fb07fe8847 Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
3c657080b5 Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
7e343a6c1d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
9cf4ac042d Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05: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
Marco Bonardo
f64b21e054 Merge last green PGO from inbound to central 2012-03-01 14:27:31 +01:00
Benoit Jacob
ae146ef230 Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel 2012-02-29 15:49:55 -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
Matt Brubeck
271eb939a4 Merge last green changeset from inbound to mozilla-central 2012-02-28 09:21:10 -08: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
Bas Schouten
c02f263d08 Bug 729116 - Followup: Skip crashtest which causes a crash on OS X. rs=philor 2012-02-28 06:49:37 +01:00
Bas Schouten
b638512b2b Bug 729116 - Crashtest: Test if we deal with changing a canvas to a very large size. r=joe 2012-02-28 04:03:24 +01:00
Bas Schouten
d894670085 Bug 729116: Try our best to have a valid mTarget even when having an invalid context. r=joe 2012-02-28 04:02:21 +01:00
Benoit Jacob
9b60ee63b6 backout 6a94d3142674 / bug 629595, it was bitrotted and caused mochitest-1 failure 2012-02-27 18:31:02 -05:00
Serge Gautherie
4382ca0bd3 Bug 629595 - 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-27 16:57:58 -05:00
Benoit Jacob
c5a42c7937 Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Rafael Ávila de Espíndola
ee9d9444cf Bug 729995 - Mark WebGLMemoryMultiReporter final. r=jmuizelaar. 2012-02-27 14:37:32 -05:00
David Mandelin
ec012300ff Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
Jeff Gilbert
6c4ca2a654 Bug 727178 - Revert ANGLE path to using glFinish to resolve - r=bjacob 2012-02-24 15:10:18 -08:00
David Mandelin
80fdf887df Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08: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
Daniel Holbert
1537335538 Backout 5311f051974e (Bug 729272) due to webgl test failures 2012-02-22 16:36:43 -08:00
Masatoshi Kimura
d7e66cef1d Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Jeff Gilbert
aba5af153e Bug 729272 - Abandon ANGLE during WebGL init if can't provide d3d share handles - r=bjacob 2012-02-22 14:08:24 -08:00
Ed Morley
3aea95e2d2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
f0746b81d8 Bug 727547 - Improve error handling in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz 2012-02-21 10:34:02 +01:00
Andrew Quartey
7fec112501 Bug 710594 - Adapt WebGL about:memory reporters to the new memory reporting API. r=njn,bjacob.
--HG--
extra : rebase_source : 49a48f5237e3fb8fe17ceb30e469de253e985028
2012-02-19 19:58:08 -08:00
Robert O'Callahan
421bb29463 Bug 715401. Instead of trying to create a fallback surface, just leave mTarget alone. r=bas 2012-02-19 21:53:01 +13:00
Benoit Jacob
ea46243f65 Bug 727614 - Use #ifdef ANDROID instead of #ifdef MOZ_WIDGET_ANDROID to cover B2G too. r=joe 2012-02-16 18:45:16 -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
Rafael Ávila de Espíndola
ff6085b93f Bug 727226 - mark some classes in content/canvas/src final. r=:jrmuizel. 2012-02-16 08:24:18 -05:00
David Mandelin
3588ac5aae Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Jeff Muizelaar
ba00f463ee Bug 731117. Bound the size of CG surfaces to match cairo. r=bas
This fixes crashes that can happen when we try to create
an image surface from a quartz surface larger than the maximum
size supported by image surfaces.

--HG--
extra : rebase_source : 6ef9c66a91068f75ddef90a3453a7360dd91fa78
2012-02-29 21:30:11 -05:00
Matt Brubeck
4b1062f69d Merge from mozilla-central to mozilla-inbound 2012-02-28 10:08:33 -08:00
Rafael Ávila de Espíndola
a2d3d6fe02 Bug 727230 - Add a virtual destructor to WebGLExtension. r=bjacob. 2012-02-15 07:26:14 -05:00
Jonathan Kew
5a7f1cdcbb bug 726988 - remove stray instances of PR_TRUE in WebGL. r=bjacob 2012-02-14 16:17:19 +00: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
Bobby Holley
a3f57f90f9 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-02-07 18:06:41 -08:00
Bas Schouten
b289758895 Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Marco Bonardo
50ebfbbd4a Merge last PGO-safe changeset from inbound to central 2012-02-06 09:37:30 +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
Andreas Gal
3710b85b4e Remove DOS carriage return (^M) from CanvasImageCache.cpp (bug 724362, r=cjones). 2012-02-05 13:23:08 +01:00
Panagiotis Koutsourakis
9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Edwin Flores
d271c53b53 Bug 719288 - Fill and stroke SVG text with one Draw call r=roc 2012-02-04 13:11:09 +00:00
Rafael Ávila de Espíndola
a22f0bac9d Bug 723853 - Remove dead default cases in content/canvas. r=jmuizelaar. 2012-02-03 17:10:58 +01:00
Rafael Ávila de Espíndola
ec820d6d78 Bug 723525 - Mark classes final or add virtual destructor in content/*. r=jmuizelaar. 2012-02-02 17:15:18 +01: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
Ms2ger
bd0cc76ae6 Bug 407105 - Enable test_2d.strokeRect.zero.5.html; r=roc 2012-02-01 11:54:21 +01:00
Marco Castelluccio
db0b22097c Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09: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
Jon Buckley
091173cb1e Bug 721230 - Implement a compressed texture support stub for WebGL conformance. r=bjacob 2012-01-28 16:15:27 -05:00
Chris Jones
9d1717a44d Bug 698652: Ignore the user's minimum font size when drawing to canvas. r=dbaron 2012-01-27 22:00:35 -08: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
Edwin Flores
4701befff3 Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc 2012-01-26 13:11:18 +01:00
Marco Castelluccio
6532a673e2 Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow 2012-01-26 09:54:31 +09:00
Jon Buckley
0f5a015dd3 Bug 682299 - CORS <video> tests. r=roc 2012-01-25 17:31:30 -05:00
Jon Buckley
d54e4fa42d Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -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
cf71e81b49 Bug 707460 - Fix WebGL framebuffer statuses and errors - 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
Jonathan Watt
f36738d918 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Jeff Muizelaar
6e93f717ea Bug 717921. Always get a thebes surface to mark dirty. r=bas 2012-01-14 14:49:27 -05:00
Jeff Muizelaar
c80b220c7a Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow 2012-01-04 15:35:55 -05:00
Matt Brubeck
4b1bdf5b96 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
edb2ddb906 Bug 717921. Always get a thebes surface to mark dirty. r=bas
--HG--
extra : rebase_source : 1c8013fc9f9b974a7a471f8ab9b2e7b902602905
2012-01-14 14:49:27 -05:00
Jeff Muizelaar
ca742b32ad 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
7535aaa04a 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
aaf4a4d8ad Bug 717921. Always get a thebes surface to mark dirty. r=bas 2012-01-14 14:49:27 -05:00
Jeff Muizelaar
fa942d90ee Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow 2012-01-04 15:35:55 -05:00
Benoit Jacob
e2ed3400bd Bug 612320 - remove useless viewport changes - r=vlad 2012-01-16 17:07:18 -05:00
Benoit Jacob
938902615b Bug 717584 - FAIL_ON_WARNINGS in content/canvas/src - r=Ms2ger 2012-01-16 17:07:18 -05:00
Benoit Jacob
ba846acb30 Bug 713369 - don't try to fall back to another GL provider, if one GL provider gives a WebGL initialization error - r=jgilbert 2012-01-16 17:07:18 -05:00
Ms2ger
2365b12e07 Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie 2012-01-11 09:23:08 +01:00
Ms2ger
52641a24c5 Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01: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
Ed Morley
a0b7161174 Backout b1612e3ba9b9 & 668a56be0eef (bug 622301) for Dromaeo regressions 2012-01-07 14:17:54 +00:00
Bobby Holley
e1b5338653 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-01-06 17:29:02 -08:00
Jeff Muizelaar
cbe6846053 Bug 715699. Mark the Thebes surface dirty when we change it the canvas implemention. r=bas
We need to tell cairo when we've changed the Thebes surface. This was causing bugs on the CG backend.
2011-12-13 15:44:41 -05:00
Jonathan Kew
fae89f9ba9 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Bas Schouten
caf6bef0eb Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew 2012-01-05 08:17:51 +01:00
Doug Sherk
6b51946c31 Bug 710163: (part 2) fix EXT_context_loss semantics r=bjacob
Housekeeping stuff; update all WebGL API functions to use !IsContextStable()
instead of mContextLost.
2012-01-04 16:12:05 -05:00
Doug Sherk
c826aceeac Bug 710163: fix EXT_lose_context semantics r=bjacob
The EXT_lose_context extension spec has had updates from Khronos which break our
current implementation. Primarily, it is mostly asynchronous now with more
heavily defined behavior.

NOTE: This patch will not pass on our current copy of context-lost.html and
context-lost-restored.html see bug for more info.
2012-01-04 16:12:03 -05: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
Jeff Walden
569422c3b1 Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert 2011-12-31 01:15:59 -06:00
Bobby Holley
8a890a3676 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Bas Schouten
ec94a42be5 Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc 2011-12-28 06:56:11 +01:00
Phil Ringnalda
b8c127164a Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange 2011-12-27 21:09:44 -08:00
Bas Schouten
3c44803f6b Bug 702878: Extend gfx::2d API and D2D backend with new functionality. r=jrmuizel sr=roc 2011-12-28 03:51:38 +01:00
Ms2ger
e927de0840 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01:00
Ms2ger
a6b482e711 No bug - Remove uint32/int32 from CustomQS_Canvas2D.h; rs=Waldo 2011-12-24 09:20:13 +01:00
Olli Pettay
1e8af4413d Bug 711841, Null(C)String(), r=bsmedberg,glandium 2011-12-20 21:46:00 +02:00
Jeff Gilbert
760e8ef03b Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob 2011-12-19 15:47:54 -08:00
Mats Palmgren
ac37bbd111 Bug 704143 - Null check to avoid crashing. r=bas 2011-12-19 23:11:15 +01:00
Jeff Walden
16db021217 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Matt Brubeck
f51deee1fa Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Edwin Flores
6697ae002d Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Jeff Gilbert
e91e311cc8 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
c28c5261c7 Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk
573bfdbe9c Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Jeff Walden
735580ff0e Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ed Morley
6740d16a68 Bug 710481 - Remove tracer leftovers in CustomQS_WebGL.h; r=bjacob f=bhackett 2011-12-16 09:13:29 +00:00
Masatoshi Kimura
4eadc7baec Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Doug Sherk
6ce120ed7e Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Joe Drew
d21f6635ff Bug 709947 - Don't use the ESSL backend of ANGLE - r=jgilbert a=ehsan 2011-12-14 14:50:48 -05:00
Robert O'Callahan
b7b3435216 Bug 705559. Part 1: Clean up nsCanvasRenderingContext2DAzure::DrawImage code a bit. r=jrmuizel 2011-12-09 22:51:50 +13:00
Jonathan Kew
0998411baf bug 698185 - convert coordinates properly when processing bidi runs in canvas text. r=dbaron 2011-12-08 17:52:47 +00: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
Benoit Jacob
e1cbcb578e Bug 707033 - Kill the hashtables of WebGLUniformLocation's held by WebGLProgram's - r=jgilbert
Currently, WebGLProgram holds a hashtable of refptrs to all WebGLUniformLocation's created from it.

It's used for one thing: to ensure that multiple getUniformLocation() calls on same uniform return the same WebGLUniformLocation object.

However, in a discussion on the public_webgl mailing list this week, we agreed that this was not mandated by the spec and that on the contrary, to ensure consistent behavior across browsers, we're going to require that NOT to happen. So this becomes a conformance issue.

Removing this hashtable also simplifies code and ownership patterns.
2011-12-04 14:15:43 -05:00
Benoit Jacob
7f087d1d80 Bug 705904 - [6/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLFramebuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
5cfb8c36ef Bug 705904 - [5/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLRenderbuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
b996390ae1 Bug 705904 - [4/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLShader.
2011-12-04 14:15:43 -05:00
Benoit Jacob
39c4a77eb0 Bug 705904 - [3/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLProgram.
2011-12-04 14:15:43 -05:00
Benoit Jacob
3d33a7e477 Bug 705904 - [2/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLBuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ec7d4ef5de Bug 705904 - [1/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLTexture, and introduces the WebGLFastArray helper (see comment).
2011-12-04 14:15:43 -05:00
Benoit Jacob
e9dd4bf03c Bug 704839 - [9/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch removes the old helper classes which we no longer use.
2011-12-04 14:15:43 -05:00
Benoit Jacob
7bcf3699be Bug 704839 - [8/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch moves WebGLVertexAttribData further down in the file, where it belongs.
2011-12-04 14:15:43 -05:00
Benoit Jacob
c26d4afac3 Bug 704839 - [7/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes framebuffer attachment deletion.
2011-12-04 14:15:43 -05:00
Benoit Jacob
d03329bba6 Bug 704839 - [6/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes WebGL isObject functions.
2011-12-04 14:15:43 -05:00
Benoit Jacob
1852069aab Bug 704839 - [5/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes the implementation of DELETE_STATUS queries.
2011-12-04 14:15:43 -05:00
Benoit Jacob
8f1f6f1d58 Bug 704839 - [4/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch switches to the new mutual ownership pattern for WebGL objects, based on maintaining a second WebGL-specific refcount mirroring the OpenGL refcount which we can't access, using the helper classes that were introduced in patches 1 and 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
cb8dbfe4fe Bug 704839 - [3/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch renames GLuint mName to mGLName for consistency.
2011-12-04 14:15:42 -05:00
Benoit Jacob
7e9fd0f1f1 Bug 704839 - [2/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch implements the WebGLRefPtr class, which is how WebGL objects can hold strong references to each other that work in the same way as the references held by the underlying OpenGL objects, i.e. that will be immediately destroyed even by explicit delete calls.
2011-12-04 14:15:42 -05:00
Benoit Jacob
aa4eec484a Bug 704839 - [1/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch implements WebGLRefCountedObject, a base class for WebGL objects that implements a "WebGL refcount" mirroring the OpenGL refcount, separate from the XPCOM refcount. It collaborates with the WebGLRefPtr class introduced in patch 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
6ae9ac8358 Bug 705673 - remove stale mUniformTextures - no review
According to legends, there are still mUniformTextures in caves going down to the center of Earth.
2011-12-04 14:15:42 -05:00
Benoit Jacob
14053c316d Bug 705668 - Remove IIDs on WebGL implementation classes - r=ehsan
These IIDs were used in the past to check, using do_QueryInterface, that the objects passed to WebGL functions were really of the expected type. Now that WebGL classes are marked 'builtinclass' in the IDL and that check has been removed (see bug 638328), none of that is needed anymore.
2011-12-04 14:15:42 -05:00
Ms2ger
19fd340158 Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob 2011-12-03 22:50:17 +01:00
Ms2ger
cdc32f1c63 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Doug Sherk
e83d419313 Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Benoit Jacob
073f54e476 Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel 2011-11-28 14:30:28 -05:00
Jeff Gilbert
9bedcc608e Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob 2011-11-23 16:49:02 -08:00
Michael Wu
95e746a177 Bug 703307 - Fix build/crash in gonk, r=cjones 2011-11-22 11:51:51 -08:00
Doug Sherk
160573a759 Bug 656824: fixed invalid return type on loseContext and restoreContext r=bjacob 2011-11-18 22:57:29 -05:00
Doug Sherk
7a2325141e 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
446aaeb959 Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron 2011-11-18 22:57:29 -05:00
Jeff Muizelaar
342f1d0cec 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
bdd5d2d841 Bug 702517 - Mark tests that fail in chrome as passing. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
8c5da2ed3d 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
2f7388d5b7 Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Brian O'Keefe
e470d8dd0c 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
65a5f3ea90 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
d303f502ae Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Ted Mielczarek
de5f3b42a5 bug 693595 - Add WebGLExtensionStandardDerivatives to WebGLContextNotSupported. r=bjacob 2011-10-19 10:01:27 -04:00
Doug Sherk
a5b176e675 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
555ebb514c Bug 665578 - Backed out changeset 82a297b0d0d3 for compile error 2011-11-07 17:32:07 -05:00
Doug Sherk
c94e26acf7 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
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
Benoit Jacob
513c5913ad 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
de6f13fb32 Bug 699522 - WebGL lose_context extension was not listed by webgl.getSupportedExtensions() - r=dsherk 2011-11-03 15:52:52 -04: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
Doug Sherk
0b19b694c6 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
3c02808b7d 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
ed14f0aa74 Bug 698318 - Share ArcToBezier code. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
4fc2827fb5 Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
ba3ebc26fb Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00