Commit Graph

1797 Commits

Author SHA1 Message Date
Rik Cabanier
be4a743c58 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Nethercote
cfabe434d4 Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jeff Gilbert
a4b12104f2 Bug 826546 - Delay WebGL reftest completion until subsequent rAF - r=vlad 2013-01-10 12:17:44 -08:00
Steve Fink
d2ce4ffafc Bug 827225 - Avoid JS_GetArrayBufferViewType until safe to call. r=bz
--HG--
extra : rebase_source : 5ac40b7fc9567cc02ab2f2167f756348f1a44fd0
2013-01-07 15:12:06 -08:00
Steve Fink
9ea2fb22e5 Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Benoit Jacob
8692dd9ade Bug 825205 - Fix WebGL drawElements validation when the max allowable index wraps to zero in the index type - r=vladv 2013-01-05 21:05:10 -05:00
Benoit Jacob
a526f17fb6 Bug 825205 - WebGL drawElements: add unit test for the case where the max allowable index wrap to 0 in the index type - r=vladv 2013-01-05 21:05:08 -05:00
Ehsan Akhgari
faeec71701 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
6a1c8d2947 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
60fa51d399 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Chris Jones
b90b649e31 Bug 823610: Make discarding GL contexts of foreground pages on memory pressure pref-able, and pref off for b2g. r=jgilbert,jlebar 2013-01-03 15:39:25 -08:00
Trevor Saunders
efffc97c2d bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Ehsan Akhgari
fb0041f474 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Ehsan Akhgari
bb9d583189 Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky 2012-12-31 13:48:55 -05:00
Ehsan Akhgari
f808d4d65b Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Masatoshi Kimura
ecc812a3c0 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote
b6939f2c42 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Neil Rashbrook
d8fe604ecd Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Masatoshi Kimura
2a245d47d2 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Justin Lebar
7c71799ff2 Bug 815473 - Follow-up: Remove now-undefined methods from CanvasRenderingContext2D.h. r=me 2012-12-19 18:03:11 -05:00
Jeff Gilbert
8a878b20d7 Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 19:23:03 -08:00
Ed Morley
bcf204637c Backout 966b04dba626 (bug 822114) for failing to build on any platform 2012-12-19 01:22:45 +00:00
Jeff Gilbert
4b5ec843d1 Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 16:47:03 -08:00
Joe Drew
741b13bbe8 Bug 813124 - Test for multiple clip paths. r=jrmuizel 2012-12-18 11:37:14 -05:00
Joe Drew
cdd8607f29 Bug 815648 - Test. r=bas 2012-12-18 11:37:14 -05:00
Joe Drew
3939619e1e Bug 815648 - Correctly detect when we're going to use a shadow so we can measure the text's extents correctly. r=roc 2012-12-18 11:37:14 -05:00
Benoit Jacob
2dd19f3177 Bug 814455 - skip all intermittently failing glsl tests on android - r=jgilbert 2012-12-18 09:37:24 -05:00
Jeff Gilbert
ca7ccdffc2 Bug 821191 - Switch recent files from accidental windows line endings to unix line endings - r=bjacob 2012-12-17 17:58:44 -08:00
William Chen
c349db0a4d Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz 2012-12-17 13:44:04 -08:00
Benoit Jacob
85c9b54051 Bug 822404 - Shouldn't use WANT_NEW_SURFACE when uploading DOM elements to WebGL textures - r=jgilbert 2012-12-17 16:59:51 -05:00
Tobias Schneider
b70a1cf2a8 Bug 803124 - Rename mozIsPointInStroke to IsPointInStroke. r=jmuizelaar
--HG--
rename : content/canvas/test/test_mozIsPointInStroke.html => content/canvas/test/test_isPointInStroke.html
2012-11-22 14:37:42 +01:00
Ting-Yuan Huang
a4fb559e4e Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc 2012-12-16 19:20:01 -05:00
Ed Morley
fea5ff8037 Backout 67d84be0cc83 (bug 820544) for bustage 2012-12-14 16:58:51 +00:00
William Chen
98dfaef8d1 Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz 2012-12-11 16:05:46 -08:00
Joel Maher
aee39bba84 Bug 820649 - disable 4 crashtests on Android so we can run C1 again. r=gbrown 2012-12-13 06:31:55 -05:00
Rik Cabanier
b7d1fb3c16 Bug 748433 - Test: Add tests for canvas blending. r=jrmuizel 2012-12-12 21:28:18 +01:00
Rik Cabanier
4c61fa69ca Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel 2012-12-12 21:28:17 +01:00
Benoit Jacob
2825758085 Bug 805814 - turn on packing restrictions in WebGL shaders - r=jgilbert 2012-12-11 16:57:30 -05:00
Benoit Jacob
592bffdcd5 Bug 814716 - correct the way that we tweak max sizes - r=jgilbert 2012-12-11 16:57:30 -05:00
Benoit Jacob
845bb40ae9 Bug 814407 - reattach textures when a texture image is replaced - r=jgilbert 2012-12-11 16:57:30 -05:00
Saurabh Anand
4812a79f41 Bug 816173 - Split out WebGLFramebuffer into separate files 2012-12-09 17:28:41 +05:30
Saurabh Anand
68e3a7887e Bug 817186 - Split out WebGLUniformLocation into separate files, r=bjacob 2012-12-09 04:32:29 +05:30
Saurabh Anand
8768ca2292 Bug 817785 - Split out WebGLProgram into separate files 2012-12-09 02:11:02 +05:30
Benoit Jacob
cef3d6361a Bug 818766 - disable by default losing WebGL contexts on heap-minimize, add a pref for it - r=jgilbert 2012-12-07 21:00:42 -05:00
Benoit Jacob
46051d5ef1 Bug 814455 - install skipped_tests_android.txt - r=jgilbert 2012-12-07 21:00:42 -05:00
Saurabh Anand
7ab9fff2e2 Backed out changeset 5725e73685e9 (bug 817785) 2012-12-07 14:00:15 +05:30
Saurabh Anand
32fb2cba29 Backed out changeset e7108bad8aa2 (bug 817186) 2012-12-07 13:57:49 +05:30
Saurabh Anand
9764d196a2 Bug 817186 - Split out WebGLUniformLocation into separate files 2012-12-07 13:44:43 +05:30
Saurabh Anand
71f5cde825 Bug 817785 - Split out WebGLProgram into separate files 2012-12-07 04:09:32 +05:30
Saurabh Anand
48ffc3ec4d Backed out changeset cdb687853418 (bug 817785) 2012-12-07 02:55:02 +05:30
Saurabh Anand
c9c915cbc7 Bug 817785 - Split out WebGLProgram into separate files 2012-12-07 02:07:16 +05:30
Nicholas Cameron
51ebbd692d Bug 789933. test for writing text across Azure backends. r=Bas 2012-12-06 10:55:13 +13:00
Saurabh Anand
5d370031dc Bug 815921 - Split out WebGLTexture into separate files, r=bjacob 2012-12-04 05:43:47 +05:30
Benoit Jacob
10e3ac2d4a Bug 814455 - disable WebGL test glsl-function.html on android - r=jgilbert 2012-12-05 14:28:19 -05:00
Mats Palmgren
e6ad33709d Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Saurabh Anand
56368912e3 Bug 816181 - Split out WebGLShader into separate files - r=bjacob 2012-12-03 18:40:23 +05:30
Saurabh Anand
1f8c9e91e5 Bug 816168 - Split out WebGLRenderbuffer into separate files - r=bjacob 2012-12-03 23:57:25 +05:30
Saurabh Anand
13ac9584e3 Bug 816176 - Move WebGLShaderPrecisionFormat to a separate header; r=bjacob 2012-12-02 15:58:21 +05:30
Benoit Jacob
d41eaaa3a0 Bug 816187 - make WebIDL accept nullable dictionary retvals; let getContextAttributes's retval be nullable - r=bz 2012-11-30 18:30:05 -05:00
Nicholas Cameron
7c4e0bb92e Bug 800658; turn the tests back on. r=bjacob 2012-11-30 08:38:29 +13:00
Nicholas Cameron
2a0a42ee85 Bug 800658. remove aCommitTransform. r=bas 2012-11-30 08:37:49 +13:00
Eric Wong
6d43d9be70 Bug 815915 - Split out WebGLVertexAttribData into a separate header. r=bjacob 2012-11-28 22:04:26 -08:00
Ehsan Akhgari
a7a98ebf22 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay
f62ac2c85e Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Jeff Muizelaar
9f6046a8e9 Bug 813851 - Clear path when creating a path builder. r=bas,ncameron 2012-11-23 14:02:36 -05:00
Benoit Jacob
4f8c5dd285 Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob
0143264919 Bug 810943 - add ability to skip webgl pages on Android by listing them in a text file, skipped_tests_android.txt - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob
1dc12cc61f Bug 814407 - check for null buffer data in readpixels (should never happen, but apparently does) - r=jgilbert 2012-11-22 13:53:11 -05:00
Nicholas Cameron
b182f5a099 Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Erick Dransch
690e22a9ec Bug 801499 - Move WebGLBuffer to a separate file. r=bjacob 2012-11-20 16:38:20 -05:00
Boris Zbarsky
bca9c82c0f Bug 812789. Remove some dead code for converting jsvals to Matrix objects. r=nrc 2012-11-20 11:36:06 -05:00
Boris Zbarsky
22fd7f8467 Bug 767933 part 5. Remove no longer needed FloatValidate calls from canvas code. r=bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky
e0facaae90 Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas 2012-11-27 15:32:05 -05:00
Jeff Gilbert
04326b49a5 Bug 812121 - Allow drawArrays/Elements without vertex attrib arrays - r=bjacob 2012-11-19 07:49:51 -08:00
Nathan Froyd
7763a56349 Bug 812156 - fix GCC 4.4 compile error with qualified enum values in CanvasRenderingContext2D.cpp; r=Ms2ger 2012-11-15 09:16:04 -05:00
Bobby Holley
8ef2b01458 Bug 811152 - Decxify various DOM methods. r=me 2012-11-15 11:54:34 -08:00
Benoit Jacob
01e66c04f0 Bug 806279 - reverting this file to Unix line endings - no review, bustage 2012-11-15 04:30:54 -05:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob
fbd4fe56c8 Bug 806279 - CC macros refactoring: part 5: sample porting: content/canvas - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
826d3b4b65 Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jeff Muizelaar
517a0e7414 Bug 811836. Fast path eCSSUnit_Color colors when parsing colors in canvas. r=dholbert
This will avoid doing extra work/flushing layout in the common case.

--HG--
extra : rebase_source : 95df23c3e6a5118ec4964336465a6554705b99dd
2012-11-14 12:46:26 -08:00
Peter Van der Beken
218b158687 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Bobby Holley
a75f5ca4d9 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley
c7eb022388 Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken
ee9050291e Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Nicholas Cameron
4fb892ba0a Bug 800556; test for mozDashOffset errors; r=Ms2ger
--HG--
extra : rebase_source : 834c2d1c426a8f33b66ee60e3fef912d652d5f59
2012-11-13 21:39:37 -08:00
Nicholas Cameron
a0048e93a8 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Paul Adenot
0122321eae Bug 786331 - WebGL tests that use a video can loop indefinitely. r=bjacob 2012-11-13 16:47:59 -08:00
Benoit Jacob
83fc141837 Bug 800612 - actually increase WebGL element array test repetitions, patch didnt apply cleanly - r=jgilbert 2012-11-09 20:49:15 -05:00
Benoit Jacob
6d4ff6e818 Bug 806094 - Remove USE_ANGLE - r=jgilbert 2012-11-09 17:04:43 -05:00
Benoit Jacob
d748ee8a42 Bug 806091 - Don't export WebGL headers - r=jgilbert 2012-11-09 17:04:41 -05:00
Benoit Jacob
0e1b726faa Bug 802778 - validate level parameter in copyTexImage2D - r=jgilbert 2012-11-09 16:48:54 -05:00
Benoit Jacob
fcaf065e92 Bug 800612 - 2/2 - Enable compiled code tests in content/canvas - r=ted
--HG--
rename : content/canvas/test/compiled/Makefile.in => content/canvas/compiledtest/Makefile.in
rename : content/canvas/test/compiled/TestWebGLElementArrayCache.cpp => content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
2012-11-09 16:42:23 -05:00
Benoit Jacob
f9d7ada72b Bug 800612 - 1/2 - fix WebGLElementArrayCache bug and increase test repetitions to catch this bug - r=jgilbert 2012-11-09 16:42:21 -05:00
Tobias Schneider
8b298f4026 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Jeff Walden
1677629f44 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
a782ddd2a1 Merge mozilla-central into mozilla-inbound 2012-11-04 11:09:45 -05:00
Ms2ger
25935ac099 Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas 2012-11-04 09:05:25 +01:00
Ms2ger
4bebd637ce Bug 629876 - Throw when drawImage's sw/sh arguments are zero; r=bz 2012-11-04 09:00:06 +01:00
Erick Dransch
3855db7266 bug 801986 - restore renderbuffer attachments on detach when necessary; r=bjacob 2012-10-31 15:11:40 -04:00
Jonathan Kew
2d1f625e26 bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas 2012-11-04 10:51:03 +00:00
Ed Morley
0c1158c097 Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures 2012-11-04 00:53:06 +00:00
Jonathan Kew
aff29a1863 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
b59f5296f4 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
da23de4959 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
ba8b419957 Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Anthony Jones
a22adc0d8f Bug 802658 - Part 1: Whitespace fixes 2012-10-28 21:51:43 +01:00
Matt Joras
8835709995 Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-27 13:24:04 -04:00
Phil Ringnalda
56c57f466f Back out c25bc74b7fd3 (bug 798033) for build bustage 2012-10-26 19:05:18 -07:00
Matt Joras
5c9750a59e Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-14 00:04:51 -05:00
Mats Palmgren
5865f17728 Bug 805957. r=roc 2012-10-27 03:02:57 +02:00
Nikhil Marathe
5b8c5fd31a Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Benoit Jacob
9b38025820 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
f51e0a484e 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
3d2c0713dc 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
9af1986044 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
cd4e9e4533 Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob 2012-10-22 13:08:52 -04:00
Boris Zbarsky
04d6d1040c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
f49c8f247c Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
ab3d97d203 Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv 2012-10-22 13:08:52 -04:00
Kyle Huey
a5a6a888dd Bug 802926: Null check the callback passed to toBlob. r=sicking 2012-10-18 23:59:38 -07:00
Boris Zbarsky
d3f9d1f8ce 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
9073011ef5 Bug 742781 - Chrome mochitest for WEBGL_debug_renderer_info extension - r=bz 2012-10-17 15:11:59 -04:00
Benoit Jacob
92800ce87b Bug 742781 - Implement WEBGL_debug_renderer_info extension - r=bz,jgilbert 2012-10-17 15:11:51 -04:00
Benoit Jacob
eea3f5c821 Bug 800657 - reenable WebGL index-validation.html test - r=bz 2012-10-17 14:38:58 -04:00
Nicholas Cameron
551fad6866 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
fb5bf1e684 Bug 745840 - Rework WebGL uniform/attrib setters, remove the huge macros - r=bjacob 2012-10-16 17:47:01 +05:30
Kyle Huey
1b7f932c6e 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
3028dc5147 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
2a5df1b312 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
38e86da9ce 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
f6ed7d8545 Bug 734668; remove canvas quickstubs. r=Ms2ger
--HG--
extra : rebase_source : ceefaf29933c58a0605d60a599fddf31b0c1b229
2012-10-12 22:42:53 +13:00
Nicholas Cameron
58fa066c87 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
ab7f6035bf Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ryan VanderMeulen
5465e9e9da Bug 798849 - Disable more failing canvas tests. 2012-10-11 21:56:47 -04:00
Benoit Jacob
9bd722d6b8 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
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Benoit Jacob
a3cbc34a3a 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
781d70ff89 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
c122ce3925 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
52afd7923b 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
681d18936a 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
c2e3f95855 Bug 800026 - Speed up Canvas putImageData() without filling gfxImageSurface with zeros. r=jmuizelaar 2012-10-11 06:26:30 -04:00
Benoit Jacob
872a96db36 Bug 779611 - part 10: move remaining non-WebGLContext goop to separate files - r=jgilbert 2012-10-09 14:39:51 -04:00
Benoit Jacob
646cd8342f Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz 2012-10-09 14:39:49 -04:00
Benoit Jacob
97600a39d1 Bug 785734 - WebGL: test for illegal texture sizes for given mipmap level - r=jgilbert 2012-10-09 14:21:22 -04:00
Ed Morley
2296536125 Backout d22512e72e42 (bug 798990) for reftest failures in empty-transaction-1.html 2012-10-08 13:50:42 +01:00
Robert O'Callahan
1a0ca663fd 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-09 00:47:54 +13:00
Benoit Jacob
6ee7b9f2c3 Bug 779611 - reland parts 5-8 - port WebGLTexture, WebGLBuffer, WebGLFramebuffer, WebGLRenderbuffer, WebGLShader, WebGLProgram to WebIDL bindings - r=bz 2012-10-04 16:35:54 -04:00
Benoit Jacob
631713204c back out 6f3714945438, 5732dca84958, bfb93cf89612, e697a832c60b for Mac build error 2012-10-04 15:06:31 -04:00
Benoit Jacob
47ecb7bdce Bug 779611 - part 8 - port WebGLShader and WebGLProgram to WebIDL bindings - r=bz 2012-10-04 14:45:35 -04:00
Benoit Jacob
11b1af470b Bug 779611 - part 7 - port WebGLFramebuffer and WebGLRenderbuffer to WebIDL bindings - r=bz 2012-10-04 14:45:33 -04:00
Benoit Jacob
e3e1db192c Bug 779611 - part 6 - port WebGLBuffer to WebIDL bindings - r=bz 2012-10-04 14:45:32 -04:00
Benoit Jacob
e406e56db1 Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz 2012-10-04 14:45:25 -04:00
Benoit Jacob
30da2eadf9 Bug 779611 - fix --disable-webgl build by updating WebGLContextNotSupported.cpp - no review 2012-10-03 20:40:32 -04:00
Benoit Jacob
89d50dcdb1 Bug 779611 - part 4 - More WebGL extensions cleanup - r-jgilbert 2012-10-03 17:13:05 -04:00
Benoit Jacob
5d519163f1 Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert 2012-10-03 17:13:05 -04:00
Benoit Jacob
08fc05d7cf Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz 2012-10-03 17:13:05 -04:00
Benoit Jacob
545b47b406 Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz 2012-10-03 17:13:05 -04:00
Anthony Jones
c6094de81d Bug 794463 - Fix nullptr failure in Azure canvas. r=roc 2012-09-29 12:32:57 -04:00
Benoit Jacob
99b9faff74 Bug 785734 - reject certain rare, but legal, texImage2D calls to work around a driver bug - r=jgilbert 2012-09-28 07:41:45 -04:00
Benoit Jacob
5cdc4fdb18 Bug 790879 - work around Mac bufferData bug - r=jgilbert 2012-09-28 07:41:44 -04:00
Benoit Jacob
26ad5de498 Bug 791905 - reject WebGL canvas sizes greater than INT_MAX - r=jgilbert 2012-09-27 10:13:45 -04:00
Benoit Jacob
eb01982a02 Bug 791521 - return early on resizing WebGLContext where the canvas is null - r=jgilbert 2012-09-27 10:13:44 -04:00
Benoit Jacob
74e4b9ffe8 Bug 790946 - remove last remnant of MOZ_ prefix: we were still advertising MOZ_EXT_texture_filter_anisotropic even though we don't support the prefixed name anymore - no review, trivial omission 2012-09-26 14:52:38 -04:00
Benoit Jacob
a16b428247 Bug 750862 - forgot to add the next WebGL compressed texture extensions to WebGLContextNotSupported - no review, bustage of --disable-webgl build 2012-09-26 14:46:09 -04:00
Ryan VanderMeulen
a76e94c127 Backout bug 792215 for suspected Windows m-oth leaks.
CLOSED TREE
2012-09-25 22:40:56 -04:00
Boris Zbarsky
1b97afe0c2 Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Benoit Jacob
e87660d62e Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
8a05af4222 Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Benoit Jacob
03d1746439 Bug 790946 - Remove support for the MOZ_ prefixed EXT_texture_filter_anisotropic ext name - r=jgilbert 2012-09-21 16:02:37 -04:00
Benoit Jacob
5c7eac569f Bug 732660 - Efficient drawElements validation on subarray and/or dynamically updated array - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob
7b7e3533ce Bug 777967 - move the InvalidateCachedMinInUseAttribArrayLength calls a bit - r=jgilbert 2012-09-21 13:44:35 -04:00
Benoit Jacob
dd0684008c Bug 790138 - raise WebGL context limits on desktop - r=jgilbert 2012-09-21 13:44:35 -04:00
Ms2ger
5b4f3272e0 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
33b350e909 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Robert O'Callahan
649093f28b Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc 2012-09-12 17:30:25 +12:00
Robert O'Callahan
fc3689264b Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
George Wright
afff6bb1cb Bug 777614 - It seems we used to pass this test by accident. Now we're in line with all the other Azure backends. r=nrc 2012-09-18 15:41:37 -04:00
Robert O'Callahan
6eab080a20 Bug 772726. Make nsCanvasRenderingContext2DAzure::DrawWindow use Azure content drawing if that's enabled. r=bas 2012-09-04 16:24:09 +12:00
Ms2ger
9a5b31990e Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob 2012-09-17 10:37:20 +02:00
Phil Ringnalda
2bbe270302 Bug 791509 - Adjust WebGL expected failures and passes for OS X 10.8, r=bjacob 2012-09-16 10:09:54 -07:00
Boris Zbarsky
2268aac36b Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Nicolas Silva
be3ee369b8 Bug 777967 - Cache the computation of WebGLContext::ValidateBuffers for better performances. r=bjacob 2012-09-11 14:54:39 -04:00
Anthony Jones
137530eb05 Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc 2012-05-31 12:47:27 +12:00
Andrew Quartey
7bb6709ba5 Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
Jeff Gilbert
081dc9ddc7 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
Jeff Gilbert
df14baa628 Bug 782860 - Add basic WebGL reftests - r=bjacob 2012-09-06 18:46:39 -07:00
Edwin Flores
0dd30d4b22 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Ryan VanderMeulen
f7c91e83b4 Backout 013743bb609e (bug 591358) for Windows orange. 2012-09-05 19:53:43 -04:00
Anthony Jones
d6ecfa29f2 Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc 2012-05-31 12:47:27 +12:00
Anthony Jones
0d7d3fa58b Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc 2012-09-05 17:52:34 -04:00
Robert O'Callahan
72d8ae53e3 Bug 787623. Call MarkContextClean immediately if we're not going to receive a DidTransactionCallback. r=joedrew
--HG--
extra : rebase_source : 459c517fba4b6c2e6e6d95200aebec9369c0edb6
2012-09-05 22:28:23 +12:00
Brendan Dahl
e5b3162f1a Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00