Ms2ger
d93f9661f5
Bug 730554 - Part c: Unwrap to nsGenericElement in TexImage2DImageDataOrElement; r=bz
2012-03-11 09:54:24 +01:00
Ms2ger
9814185b9a
Bug 730554 - Part b: Check the result of JS_GetProperty in TexImage2DImageDataOrElement; r=bz
2012-03-11 09:53:24 +01:00
Ms2ger
11fb7b5ca6
Bug 730554 - Part a: Deduplicate code in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz
2012-03-11 09:53:07 +01:00
Nicholas Nethercote
d539e72dcc
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
ef0509d1fb
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-08 13:14:47 +00:00
Serge Gautherie
d0f83f0c4a
Bug 629595. (Cv1) Remove unwanted debug ok(false,) from patch Av3b, Fix nits. r=bjacob.
2012-03-07 22:12:30 +01:00
Benoit Jacob
8f515fd0b7
Bug 733665 - NS_ASSERTION failure when calling WebGL getExtension - r=jgilbert
2012-03-07 15:17:49 -05:00
David Mandelin
4b287e8788
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
77d336e566
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
c07407a766
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
65b70fabf4
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Benoit Jacob
bd837a50c5
Bug 676071 - ugh, that test is still failing on windows. re-adding to list of known failing tests. - no review, bustage
2012-03-02 17:15:23 -05:00
Benoit Jacob
d447c8ad1f
Bug 676071 - remove uniformfArrayLen1.html from failing tests list - r=bustage
2012-03-02 16:56:06 -05:00
Benoit Jacob
d0fbf0ab29
Bug 676071 - use ANGLE long identifier mapping - r=jgilbert
...
This also fixes the leak reported in bug 723261, and makes us avoid generating the shader translator output when we don't use it (on Android).
2012-03-02 15:42:49 -05:00
Marco Bonardo
208a286683
Merge last green PGO from inbound to central
2012-03-01 14:27:31 +01:00
Benoit Jacob
adca3ded7f
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
2609178889
Merge last green changeset from inbound to mozilla-central
2012-02-29 10:47:38 -08:00
Serge Gautherie
caea646639
Bug 629595. (Av3b) test_webgl_conformance_test_suite.html: Remove dump()s, Add ok()s and todo()s, Do a few related rewrites, Fix totalFailed calculation, Remove (obsolete) workaround for Windows 2000. r=bjacob.
2012-02-29 10:41:42 +01:00
Matt Brubeck
34712d993a
Merge last green changeset from inbound to mozilla-central
2012-02-28 09:21:10 -08:00
Serge Gautherie
77ff8dd270
Bug 629595. (Bv1a) test_webgl_conformance_test_suite.html: Ensure waitForExplicitFinish() is executed, Disable test on Windows 2000 and (if necessary) on SeaMonkey, Move Mac OSX version check to a better place. r=bjacob.
2012-02-28 09:55:54 +01:00
Florian Boesch
9650d0e848
Bug 728354 - WebGL EXT_texture_filter_anisotropic: added the EXT suffix and adjusted conformance test - r=bjacob
2012-02-26 12:06:18 -05:00
Bas Schouten
d9b310168b
Bug 729116 - Followup: Skip crashtest which causes a crash on OS X. rs=philor
2012-02-28 06:49:37 +01:00
Bas Schouten
3aa9fe8a57
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
c0689e1446
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
ef9340fef6
backout 6a94d3142674 / bug 629595, it was bitrotted and caused mochitest-1 failure
2012-02-27 18:31:02 -05:00
Serge Gautherie
0a850b3ea8
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
f49757071d
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
88946911df
Bug 729995 - Mark WebGLMemoryMultiReporter final. r=jmuizelaar.
2012-02-27 14:37:32 -05:00
David Mandelin
381d879c71
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5
Backout 4fc2f49371a8 (bug 725550) for build failures
2012-02-25 00:16:47 +01:00
Jeff Gilbert
3aa8b20cdf
Bug 727178 - Revert ANGLE path to using glFinish to resolve - r=bjacob
2012-02-24 15:10:18 -08:00
David Mandelin
5be5dda12e
Bug 725550: remove obsolete typedef jsdouble, r=jwalden
...
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Florian Boesch
ada0d9ea9e
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Daniel Holbert
2d7133b94c
Backout 5311f051974e (Bug 729272) due to webgl test failures
2012-02-22 16:36:43 -08:00
Masatoshi Kimura
d99288b6cc
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
Jeff Gilbert
d4b5a3895f
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
3d389274ff
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
c7d0416665
Bug 727547 - Improve error handling in nsIDOMWebGLRenderingContext_Tex{,Sub}Image2D; r=bz
2012-02-21 10:34:02 +01:00
Andrew Quartey
6ba173652f
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
6de9c64b6d
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
2d1e27f7d1
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
bf8b7e35e4
Bug 725747 - Seems we run into a driver bug on OS X (on NVIDIA cards only) now. Mark these tests as failing. r=bjacob
2012-02-16 18:45:16 -05:00
Rafael Ávila de Espíndola
7c0b8ad663
Bug 727226 - mark some classes in content/canvas/src final. r=:jrmuizel.
2012-02-16 08:24:18 -05:00
David Mandelin
60e80d55b6
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Jeff Muizelaar
ec40979a31
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
8aa8ff3307
Merge from mozilla-central to mozilla-inbound
2012-02-28 10:08:33 -08:00
Rafael Ávila de Espíndola
67155e4a55
Bug 727230 - Add a virtual destructor to WebGLExtension. r=bjacob.
2012-02-15 07:26:14 -05:00
Jonathan Kew
36e957aa2c
bug 726988 - remove stray instances of PR_TRUE in WebGL. r=bjacob
2012-02-14 16:17:19 +00:00
Serge Gautherie
7b6e30ceeb
Bug 725349. (Av1) Add a missing space to log messages. r=gavin.sharp.
...
DONTBUILD (log-string only).
2012-02-08 19:45:48 +01:00
Bobby Holley
f6d1b22438
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-02-07 18:06:41 -08:00
Bas Schouten
13b54eb6ce
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Marco Bonardo
1d8f86ce62
Merge last PGO-safe changeset from inbound to central
2012-02-06 09:37:30 +01:00
Phil Ringnalda
fddd608e98
Bug 724455 - mark conformance/textures/texture-mips.html and conformance/textures/texture-npot.html as failing on 10.7, r=bjacob
2012-02-05 17:47:39 -08:00
Andreas Gal
3690e02542
Remove DOS carriage return (^M) from CanvasImageCache.cpp (bug 724362, r=cjones).
2012-02-05 13:23:08 +01:00
Panagiotis Koutsourakis
583eb38038
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
bc6a31b0b1
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
eb6dba53e6
Bug 723853 - Remove dead default cases in content/canvas. r=jmuizelaar.
2012-02-03 17:10:58 +01:00
Rafael Ávila de Espíndola
e9ddfaa8cb
Bug 723525 - Mark classes final or add virtual destructor in content/*. r=jmuizelaar.
2012-02-02 17:15:18 +01:00
Benoit Jacob
91469a86b4
Bug 700429 - mark uniformfBadArgs.html and uniformiBadArgs.html as passing on 10.7, r=jgilbert
2011-11-08 08:30:00 -08:00
Ms2ger
db0196cd73
Bug 407105 - Enable test_2d.strokeRect.zero.5.html; r=roc
2012-02-01 11:54:21 +01:00
Marco Castelluccio
1e527c9676
Bug 702158 - [Skia] Get Skia backend working on Linux, part 2
2012-01-31 10:24:27 +09:00
Benoit Jacob
384c9124a6
Bug 722211 - Update WebGL conformance tests to r16765 and adapt mochitest to harness changes - no review
...
No review because this is mostly just syncing us with the upstream,
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/
as well as adjusting to test harness changes (now loading test lists asynchronously) and a patch to the harness itself which I'll send upstream (see fix-webgl-harness-async.patch)
2012-01-30 13:59:06 -05:00
Jon Buckley
ae7d4a9222
Bug 721230 - Implement a compressed texture support stub for WebGL conformance. r=bjacob
2012-01-28 16:15:27 -05:00
Chris Jones
d7d3c1f656
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
66a14ff3fd
Bug 720438 - Update ANGLE to r963 - no review
...
No review because this is just syncing us with upstream:
http://code.google.com/p/angleproject/
This is also doing some cleanup, removing stale/empty files and updating patches.
The main benefit from this update is that long-identifier-shortening has been fixed.
2012-01-26 12:04:15 -05:00
Edwin Flores
3f5de025f0
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
798dc727de
Bug 702158 - [Skia] Get Skia backend working on Linux. r=mattwoodrow
2012-01-26 09:54:31 +09:00
Jon Buckley
05489b6226
Bug 682299 - CORS <video> tests. r=roc
2012-01-25 17:31:30 -05:00
Jon Buckley
a1ada7a67d
Bug 682299 - Implement CORS support for the <video> tag. r=roc
2012-01-25 17:31:30 -05:00
Benoit Jacob
b62ac022b9
back out Bug 696495 for linux m1 orange.
2012-01-24 17:37:44 -05:00
Benoit Jacob
3b8b1dcef4
Bug 696495 - texture-mips.html failures might be workaroundable by setting minification filter before glGenerateMipmap call - r=jgilbert
2012-01-24 16:12:31 -05:00
Benoit Jacob
069451351b
Bug 707460 - Fix WebGL framebuffer statuses and errors - r=jgilbert
2012-01-24 16:12:31 -05:00
Benoit Jacob
b248d21643
Bug 706674 - WebGLFramebufferAttachment's are not WebGLRectangleObject's - r=jgilbert
...
The main change is: remove the WebGLRectangleObject inheritance from
WebGLFramebufferAttachment, and instead have WebGLFramebufferAttachment
query its texture or renderbuffer for their dimensions, when needed.
In the course of doing this, a couple other needed changes appeared:
- let WebGLTexture::ImageInfo inherit WebGLRectangleObject, so that WebGLFramebufferAttachment can return a pointer to it right away in the texture case
- add a FramebufferRectangleObject() method to WebGLContext, that will return the dimensions of the bound FBO if there is one, otherwise will just return the contexts' own dimensions.
- in order to do that, it was very convenient to let WebGLContext inherit WebGLRectangleObject so that FramebufferRectangleObject() could just return a pointer to that in the no-bound-FBO case.
- move WebGLRectangleObject up in the file, above WebGLContext
- there was a plain bug in WebGLFramebufferAttachment::HasAlpha(), we were not using the right image info within the texture.
2012-01-24 16:12:31 -05:00
Jonathan Watt
9fb3c8bb9f
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Jeff Muizelaar
bade3d71f6
Bug 717921. Always get a thebes surface to mark dirty. r=bas
2012-01-14 14:49:27 -05:00
Jeff Muizelaar
380c970240
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
2012-01-04 15:35:55 -05:00
Matt Brubeck
717184f6d9
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
eb807b4fcc
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
a290bd3e5f
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
...
--HG--
extra : rebase_source : f77d38e03ca63a8d0d2a620eca6a4247753cc8de
2012-01-04 15:35:55 -05:00
Ms2ger
5bd0fc389c
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
832738196a
Bug 717921. Always get a thebes surface to mark dirty. r=bas
2012-01-14 14:49:27 -05:00
Jeff Muizelaar
1472a10308
Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow
2012-01-04 15:35:55 -05:00
Benoit Jacob
4504ca0fe3
Bug 612320 - remove useless viewport changes - r=vlad
2012-01-16 17:07:18 -05:00
Benoit Jacob
aa0124a55d
Bug 717584 - FAIL_ON_WARNINGS in content/canvas/src - r=Ms2ger
2012-01-16 17:07:18 -05:00
Benoit Jacob
f1b1eafb82
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
28ef8d5df7
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
41e5f45d47
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
8f1a091dde
Bug 713276 - Upgrade WebGL conformance test suite to r16456, follow-up - no review
...
follow-up: forgot to hg add some files and reenable the shader-precision-format test
2012-01-10 08:47:39 -05:00
Ed Morley
c1bac028af
Bug 716168 - Remove browser/components/wintaskbar/ now that the tests live in browser/modules/test/ (bug 699575 followup); r=gavin
2012-01-10 01:10:42 +00:00
Ed Morley
7d7562b0d4
Backout b1612e3ba9b9 & 668a56be0eef (bug 622301) for Dromaeo regressions
2012-01-07 14:17:54 +00:00
Bobby Holley
fac15f2a63
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-01-06 17:29:02 -08:00
Jeff Muizelaar
a8589782a4
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
f702c54c74
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Bas Schouten
1cd7f246df
Bug 711063 - Part 1: Add new glue code for Azure Wrapper. r=joedrew
2012-01-05 08:17:51 +01:00
Doug Sherk
83bf338262
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
f0ca08618c
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
75b9b2f382
Bug 713276 - Upgrade WebGL conformance test suite to r16456 - no review
...
No review because this is just syncing us with the upstream,
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/
2012-01-03 12:28:10 -05:00
Jeff Walden
553cc19655
Bug 714411 - Fix several instances of classes/structs inconsistently declared. rs=dholbert
2011-12-31 01:15:59 -06:00
Bobby Holley
4b6add2c77
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
Bas Schouten
03a07b498c
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
ef2c35d259
Back out 9c78b4872333 (bug 702878) for Win M1 crashes and reftest orange
2011-12-27 21:09:44 -08:00
Bas Schouten
73338f5f2f
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
8d47d26d10
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Ms2ger
f97cb260f5
No bug - Remove uint32/int32 from CustomQS_Canvas2D.h; rs=Waldo
2011-12-24 09:20:13 +01:00
Olli Pettay
c35f7bb3a9
Bug 711841, Null(C)String(), r=bsmedberg,glandium
2011-12-20 21:46:00 +02:00
Jeff Gilbert
572d367333
Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob
2011-12-19 15:47:54 -08:00
Mats Palmgren
5220060923
Bug 704143 - Null check to avoid crashing. r=bas
2011-12-19 23:11:15 +01:00
Jeff Walden
279c3635c0
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
5d8466250b
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea
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
57ad493b06
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
38f36205f9
Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob
2011-12-16 14:24:46 -08:00
Doug Sherk
797ba840ff
Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob
2011-12-16 13:11:59 -08:00
Jeff Walden
476c7d19c5
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
0ce446deb5
Bug 710481 - Remove tracer leftovers in CustomQS_WebGL.h; r=bjacob f=bhackett
2011-12-16 09:13:29 +00:00
Masatoshi Kimura
26a3901298
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Doug Sherk
f65dc6e8d7
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
1ab4c87fe8
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
2292bf6769
Bug 705559. Part 1: Clean up nsCanvasRenderingContext2DAzure::DrawImage code a bit. r=jrmuizel
2011-12-09 22:51:50 +13:00
Jonathan Kew
3673019222
bug 698185 - convert coordinates properly when processing bidi runs in canvas text. r=dbaron
2011-12-08 17:52:47 +00:00
Benoit Jacob
3fa3cbc3b0
Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
...
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
23d503f744
Bug 703927 - object-deletion-behaviour test still failing until we land 706674 - no review, fix mochitest-1 orange, CLOSED TREE
2011-12-04 15:13:18 -05:00
Benoit Jacob
bfff5f7f10
Bug 703927 - Upgrade WebGL conformance test suite to r16237 - no review
...
The canonical location for this testsuite is:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests
2011-12-04 14:15:53 -05:00
Benoit Jacob
a959069916
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
dc5723fe15
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
f99eb362c0
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
cc4ac52540
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
60f1ae571c
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
f86dc75f37
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
d295edc325
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
1cbd18259d
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
a31862a997
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
2c459498c6
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
b96e2f914a
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
6b88bbe917
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
cbefb6a7a2
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
01397ddaa5
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
18afae8195
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
0693fafd24
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
9fb7ab40fd
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
b39d1c2e9f
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
685ed2f318
Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob
2011-12-03 22:50:17 +01:00
Ms2ger
68e1ed1f12
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Doug Sherk
6b8258d114
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
82379d20c5
Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel
2011-11-28 14:30:28 -05:00
Jeff Gilbert
5d2abca505
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
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