Jeff Walden
793acbdae0
Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
...
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
Ehsan Akhgari
6e3b90c43e
Merge mozilla-central into mozilla-inbound
2012-11-04 11:09:45 -05:00
Ms2ger
48475a4d75
Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas
2012-11-04 09:05:25 +01:00
Ms2ger
8acaa800d6
Bug 629876 - Throw when drawImage's sw/sh arguments are zero; r=bz
2012-11-04 09:00:06 +01:00
Erick Dransch
548d04b119
bug 801986 - restore renderbuffer attachments on detach when necessary; r=bjacob
2012-10-31 15:11:40 -04:00
Jonathan Kew
f20b79de6f
bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas
2012-11-04 10:51:03 +00:00
Ed Morley
0e0ca5c163
Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures
2012-11-04 00:53:06 +00:00
Jonathan Kew
6f943e5171
bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas
2012-11-03 23:01:33 +00:00
Jonathan Kew
07a2fab28f
bug 808288 - part 2 - render the font's .notdef glyph for missing glyphs in <canvas>. r=bas
2012-11-03 23:01:33 +00:00
Jonathan Kew
5299435d4a
bug 808288 - part 1 - leave missing glyphs blank in <canvas> text, rather than rendering arbitrary (incorrect) glyphs. r=bas
2012-11-03 23:01:32 +00:00
Anthony Jones
4832a592be
Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas
2012-10-28 21:52:21 +01:00
Anthony Jones
be3042410b
Bug 802658 - Part 1: Whitespace fixes
2012-10-28 21:51:43 +01:00
Matt Joras
d1fe98e6b3
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-27 13:24:04 -04:00
Phil Ringnalda
b6c07f4fe7
Back out c25bc74b7fd3 (bug 798033) for build bustage
2012-10-26 19:05:18 -07:00
Matt Joras
cc0bb2727c
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-14 00:04:51 -05:00
Mats Palmgren
68d8f0b847
Bug 805957. r=roc
2012-10-27 03:02:57 +02:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Benoit Jacob
ffeffc42cc
Bug 757593 - Fix WebGL context restorer timer: InitWithFuncCallback's 3rd parameter is a number of milliseconds - r=bz
2012-10-24 15:46:31 -04:00
Benoit Jacob
35cc01597b
Bug 795186 - fix the WebGL robustness timer, don't inherit the timer callback base class - r=opettay
2012-10-23 12:21:23 -04:00
Benoit Jacob
47a6960085
Bug 795186 - Declare refptrs between WebGL objects to the CC even if there is no cycle at C++ level - r=opettay
2012-10-22 17:17:42 -04:00
Boris Zbarsky
85cc57baf9
Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv
2012-10-22 15:14:30 -04:00
Boris Zbarsky
3011384d8c
Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob
2012-10-22 13:08:52 -04:00
Boris Zbarsky
2c0d8809e7
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
ad8c0e8444
Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
98124699eb
Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv
2012-10-22 13:08:52 -04:00
Kyle Huey
f7d552a878
Bug 802926: Null check the callback passed to toBlob. r=sicking
2012-10-18 23:59:38 -07:00
Boris Zbarsky
611fe536d0
Bug 800983. Expose a getter for default computed style. r=dbaron
...
An alternative implementation strategy is to add "default-only"
versions of ResolveStyleFor and ResolvePseudoElementStyle and then
modify FileRules to support those, or use a cut-down custom version of
FileRules for them. That would be faster, but more complicated on the
style set side. We can always make that switch if we need to, I guess.
2012-10-17 17:01:56 -04:00
Benoit Jacob
525b627f70
Bug 742781 - Chrome mochitest for WEBGL_debug_renderer_info extension - r=bz
2012-10-17 15:11:59 -04:00
Benoit Jacob
d568e3410c
Bug 742781 - Implement WEBGL_debug_renderer_info extension - r=bz,jgilbert
2012-10-17 15:11:51 -04:00
Benoit Jacob
9ca940a27d
Bug 800657 - reenable WebGL index-validation.html test - r=bz
2012-10-17 14:38:58 -04:00
Nicholas Cameron
31ab21c6b6
Bug 801993; remove mentions of Azure canvas from tests; r=roc
...
--HG--
extra : rebase_source : 5a399ee1d7d21c133e35235de83d9e99d33f6b7e
2012-10-17 15:57:30 +13:00
Saurabh Anand
6f6e10b290
Bug 745840 - Rework WebGL uniform/attrib setters, remove the huge macros - r=bjacob
2012-10-16 17:47:01 +05:30
Kyle Huey
e860e3a746
Bug 648610: Implement <canvas>.toBlob. r=smaug
...
--HG--
rename : content/canvas/test/test_mozGetAsFile.html => content/canvas/test/test_toBlob.html
2012-10-15 14:15:25 -07:00
Benoit Jacob
d59e3548af
Bug 800657 - Fix WebGL typedefs, WebGLintptr was wrong on 32bit systems, caused index-validation.html regression - r=bz
2012-10-15 12:57:14 -04:00
Nicholas Cameron
119951dc96
Bug 734668; fix indenting for CanvasRenderingContext2D; r=whitespace
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.h => content/canvas/src/CanvasRenderingContext2D.h
extra : rebase_source : 125d329f7d6129e51af3db282df903a1372a1040
2012-10-12 22:42:53 +13:00
Nicholas Cameron
404ba9b65d
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
80df51e492
Bug 734668; remove canvas quickstubs. r=Ms2ger
...
--HG--
extra : rebase_source : ceefaf29933c58a0605d60a599fddf31b0c1b229
2012-10-12 22:42:53 +13:00
Nicholas Cameron
2e1a97f864
Bug 734668; rename files and classes. r=roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.h => content/canvas/src/CanvasRenderingContext2D.h
extra : rebase_source : ded29b0c029bbcee232c4760c49539f465d40399
2012-10-12 22:42:52 +13:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ryan VanderMeulen
50f0369e62
Bug 798849 - Disable more failing canvas tests.
2012-10-11 21:56:47 -04:00
Benoit Jacob
9d29b452f2
Bug 798849 - Disable a few canvas2d sub-tests for failures on WinXP and Linux at least. Will investigate ASAP. Better than re-disabling whole mochitests (which a backout would do). - no review, bustage
2012-10-11 20:13:03 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Benoit Jacob
fbd279edcd
Bug 798849 - Disable 1 WebGL conformance test page for failures on 32-bit machines. Will investigate ASAP. Better than re-disabling whole mochitests (which a backout would do). - no review, bustage
2012-10-11 20:00:36 -04:00
Benoit Jacob
91eef9f133
Bug 798849 - fix uninitialized values in WebGL element array cache... and reenable accidentally disabled canvas mochitests (!!!) - r=jgilbert
...
This fixes Valgrind errors while running TestWebGLElementArrayCache.
This also fixes the way we do content/canvas/test in the Makefiles, which had been broken by my attempt to enable compiled-code tests there (bug 732660).
Since I still don't know how to do compiled-code tests there, I've disabled them. At least we have the rest of content/canvas/test back.
Let's hope that no regression happened.
2012-10-11 18:27:09 -04:00
Benoit Jacob
0f810db6e5
Bug 779611 - part 12: remove old-bindings remnants in the WebGL implementation - r=bz
2012-10-11 15:23:03 -04:00
Robert O'Callahan
2e9aff20da
Bug 798990. Part 2: nsCanvasRenderingContext2DAzure::EnsureTarget must ensure that a full layer transaction occurs, because we may have transitioned from needing no display item or layer to needing them. r=mattwoodrow
2012-10-12 01:31:48 +13:00
Robert O'Callahan
e129317626
Bug 798990. No need to call EnsureTarget just to paint nothing. Anyway it's not safe to call it during a paint. r=kft
2012-10-12 01:31:41 +13:00
Tetsuro Kato
27f4959f2f
Bug 800026 - Speed up Canvas putImageData() without filling gfxImageSurface with zeros. r=jmuizelaar
2012-10-11 06:26:30 -04:00
Benoit Jacob
9855a14995
Bug 779611 - part 10: move remaining non-WebGLContext goop to separate files - r=jgilbert
2012-10-09 14:39:51 -04:00
Benoit Jacob
966189fec7
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00