Commit Graph

1400 Commits

Author SHA1 Message Date
Benoit Jacob
719a318e65 Bug 766251 - 5/5 - update Adreno WebGL blacklisting - r=jrmuizel 2012-07-05 10:13:04 -04:00
Jon Buckley
b8338c34bb Bug 769077 - Have unintialized render buffers report memory usage correctly, r=bjacob 2012-06-27 16:11:00 -07:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Chris Peterson
0d476a31d6 Bug 769080 - Fix Azure build errors about Uint8ClampedArray on Android. Fix some uninitialized variable warnings. r=Ms2ger 2012-06-29 15:17:03 -07:00
Peter Van der Beken
eac55f89be Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Boris Zbarsky
9654eaf005 Bug 767936. Use Element* as the cache key for CanvasImageCache. r=roc 2012-06-30 01:53:21 -04:00
Benoit Jacob
cf2676ee96 Bug 763355 - even more logging to understand this intermittent orange in WebGL tests on Android - r=jgilbert 2012-06-29 17:21:35 -04:00
Peter Van der Beken
06da342a55 Bug 762652. Rename the class GeneralPattern here to avoid having Windows PGO builds confuse this class with the GeneralPattern class in gfxContext.cpp. r=bz 2012-06-29 11:20:13 -07:00
Peter Van der Beken
2d6a797659 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Matt Brubeck
ae0a175ce7 Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Peter Van der Beken
465ca15eec Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Peter Van der Beken
74a0543703 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
--HG--
extra : rebase_source : 8e7a2722aa1fb089baa6c1aa8604dcd0e91c1ff2
2012-06-13 17:14:15 +02:00
Peter Van der Beken
e18ac6a285 Fix for bug 768050 (Make TypedArray::Create take a wrapper cache and create JS objects in the compartment of the cache's wrapper). r=bz.
--HG--
extra : rebase_source : 3ec03b33913e14a113bf9283566a68fe3be5fe02
2012-06-25 18:37:46 +02:00
Robert O'Callahan
ad80bd7500 Bug 731868. Part 2: Make CanvasRenderingContext2DUserData's reference to the context weak (Azure). r=jrmuizel 2012-06-01 18:26:42 +12:00
Robert O'Callahan
71cb4a30b5 Bug 731868. Make reference from CanvasRenderingContext2DUserData to its 2D (non-Azure) context weak. r=jrmuizel 2012-06-01 18:26:36 +12:00
Peter Van der Beken
2556e5d626 Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Peter Van der Beken
6a7e8ec5a9 Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz. 2012-06-04 21:41:51 +02:00
Benoit Jacob
7436782d1d Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert 2012-06-16 01:12:30 -04:00
Benoit Jacob
884c586b5a Bug 765137 - 2/3 - WebGL: clean up IsExtensionSupported - r=jgilbert 2012-06-16 01:12:08 -04:00
Benoit Jacob
75a255c594 Bug 765137 - 1/3 - WebGL: use case-insensitive comparisons rather than lower-case versions of extension strings - r=jgilbert 2012-06-16 01:11:50 -04:00
Benoit Jacob
9a01c4c443 Bug 765179 - 2/2 - Check for empty string in WebGL SplitLastSquareBracket - r=jgilbert 2012-06-15 17:40:25 -04:00
Benoit Jacob
67f30a33e0 Bug 765179 - 1/2 - Check for empty GLSL identifier strings - r=jgilbert 2012-06-15 17:39:21 -04:00
Benoit Jacob
5976d2e454 Bug 765198 - WebGL crash in readPixels with null destination - r=bz 2012-06-15 17:36:48 -04:00
Boris Zbarsky
a20f0507aa Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob 2012-06-15 16:25:51 -04:00
Benoit Jacob
d9920d2433 Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert 2012-06-14 23:16:21 -04:00
Benoit Jacob
f89b7d1d24 Bug 763355 - more logging to understand WebGL read-pixels-test intermittent timeouts on Android - r=jgilbert 2012-06-14 16:12:34 -04:00
Nicholas Cameron
d839c86659 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Ryan VanderMeulen
287fbc1e16 Merge m-c to inbound. 2012-06-12 21:36:40 -04:00
Matt Brubeck
a66da30249 Merge last green changeset from inbound to mozilla-central 2012-06-12 18:24:45 -07:00
Nicholas Cameron
1cbb2d0f07 Bug 750575; use nsCOMPtr around nsIPresShell in canvas code. r=roc 2012-06-12 10:48:42 -07:00
Chris Jones
b187adf1d9 Bug 746813: Check for context allocation failure before returning inverse transform. r=joedrew 2012-06-12 10:31:37 -07:00
John Drinkwater
15c380056a Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Ryan VanderMeulen
bf2b50270d Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Matt Brubeck
8aad0a2626 Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Andrew McCreight
f4f0e1a935 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Benoit Jacob
79ddf6d351 Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
fb2dcf4256 Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00
Benoit Jacob
cd3c551e46 Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel 2012-06-08 13:41:39 -04:00
Matt Brubeck
d1bcdbae1a Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
5f82934789 Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
9f262ffc96 Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00
Benoit Jacob
6d0d7bff13 Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel 2012-06-08 13:41:39 -04:00
Ms2ger
7f450410f9 Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob 2012-06-06 09:42:47 +02:00
Ms2ger
37be1fb791 Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Ms2ger
19f060907a Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ms2ger
b036a6ed71 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Chris Jones
797d753fce Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Benoit Jacob
e979347e83 Bug 760675 - update adreno blacklisting to not use the global context - r=jrmuizel
The current Adreno blacklists hard-asserts (even in release builds) that there is a global context, as it needs it to get renderer info. That was done as, at the time (bug 736123) there were GL context creation crashes there.

However, without share groups, I can't reproduce the context creation crashes anymore, so this approach doesn't seem to be needed anymore. If we were unlucky and there still were context creation crashes, the solution would be the java thread thing mentioned in comment 0, anyway.
2012-06-02 16:28:18 -04:00
Andrew Quartey
2760bcfb43 Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Benoit Jacob
68fa7e641d Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert 2012-06-01 15:32:18 -04:00
Boris Zbarsky
3f887fdbe1 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Robert O'Callahan
5d303388c9 Backing out 65cd6893941e, b24941f7205b and bcec6006b1ac (bug 731868) for test failures 2012-06-01 20:27:53 +12:00
Robert O'Callahan
aa873d1741 Bug 731868. Part 2: Make CanvasRenderingContext2DUserData's reference to the context weak (Azure). r=jrmuizel
--HG--
extra : rebase_source : 9c8d4e71069fcd47fc1b4f2914c65256902056fd
2012-06-01 18:26:42 +12:00
Robert O'Callahan
7fdb3ae809 Bug 731868. Make reference from CanvasRenderingContext2DUserData to its 2D (non-Azure) context weak. r=jrmuizel
--HG--
extra : rebase_source : 364040f753bec622ed8df03773bf76053d17963a
2012-06-01 18:26:36 +12:00
Nicholas Cameron
eca1271801 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar
--HG--
extra : rebase_source : 31938676856235c42f7b95de69cefdcce8cdd8ec
2012-04-16 07:49:56 +12:00
Boris Zbarsky
fddc56821d Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too. 2012-05-31 16:20:49 -04:00
Boris Zbarsky
c46a9a1068 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Jeff Gilbert
47e74b19aa Bug 750527 - Rebind program if current program is relinked - r=bjacob 2012-05-30 17:00:38 -07:00
Jeff Gilbert
67c1c15b46 Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob 2012-05-30 16:05:37 -07:00
Ed Morley
da18754c01 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Benoit Jacob
9142ac1000 Bug 759178 - WebGL extension strings should be case-insensitive - r=jgilbert 2012-05-30 08:30:32 -04:00
Benoit Jacob
1cca2f1673 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
697f7c5667 back out 90292e7ec6fb for mochitest-1 orange 2012-05-29 16:33:29 -04:00
Benoit Jacob
9459089e75 Bug 758404 - Use LinkedList instead of arrays for WebGLContext to track WebGL objects - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
919ce9b00a Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Ms2ger
beea34d1fc Bug 757365 - Don't use uint8 in DocumentRenderer{Parent,Child}.cpp; r=bjacob 2012-05-25 09:18:30 +02:00
Boris Zbarsky
52a20a9207 Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv 2012-05-25 01:08:22 -04:00
Benoit Jacob
a9319a7f30 Bug 754669 - Update WebGL tests to r17794 - no review, syncing with upstream
Upstream is:
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/

Note this this is the conformance-suites/1.0.1/ branch, not trunk.
2012-05-23 22:18:49 -04:00
Benoit Jacob
c619dd78da Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz 2012-05-23 22:17:10 -04:00
Benoit Jacob
6eeddf0112 Bug 754669 - fix stack corruption in WebGL texImage2D parameter validation - r=jrmuizel - landing on a CLOSED TREE because this stack corruption started causing mochitest-1 crashes 2012-05-23 18:05:48 -04:00
Boris Zbarsky
fce4638ab8 Bug 757699. Use JS::NumberValue, not JS::DoubleValue, for returning uint32_t values to JS. r=bjacob 2012-05-23 12:44:48 -04:00
Benoit Jacob
3fa1e41ba2 Bug 754303 - WebGLUniformLocation doesn't need to be a WebGLRefCountedObject - r=jrmuizel 2012-05-23 12:07:44 -04:00
Benoit Jacob
435c7a2caf Bug 743753 - 4/4 - fix the case issues in WebGL method names in warnings - r=vlad 2012-05-23 12:07:35 -04:00
Benoit Jacob
2596ecaf92 Bug 743753 - 3/4 - WebGL: rename LogMessage to GenerateWarning - r=vlad 2012-05-23 12:07:29 -04:00
Benoit Jacob
ce9986904d Bug 743753 - 2/4 - remove the webgl.verbose preference (always be verbose) - r=vlad 2012-05-23 12:07:19 -04:00
Benoit Jacob
0678e86145 Bug 743753 - 1/4 - limit the number of warnings per WebGL context - r=vlad 2012-05-23 12:07:10 -04:00
Benoit Jacob
e6dfb4952e Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger 2012-05-23 12:07:01 -04:00
Bas Schouten
bfa88daaba Bug 690643: Properly mark transform dealt with once a device space path builder is created. r=roc 2012-05-23 08:17:43 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Ms2ger
5623a92079 Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley 2012-05-18 10:29:40 +02:00
Benoit Jacob
17b0e7f92d Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
002d57ff04 Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert 2012-06-12 17:20:21 -04:00
Benoit Jacob
03f28a1e60 Bug 763355 - log exceptions to understand timeout in read-pixels-test - r=jgilbert 2012-06-12 17:19:09 -04:00
Ed Morley
8b2dbc3dca Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Andrew McCreight
a3d49f791d Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Tom Schuster
fb630ae705 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Yury
28d71f4a36 Bug 753758 - Saving state doesn't carry mozFillRule. r=jrmuizel 2012-05-11 10:35:31 -07:00
Ed Morley
79899a6f75 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
1941fb1bb4 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Benoit Jacob
725ba8f732 Bug 736123 - short-term fix: blacklist adreno using the global GLContext to get renderer info - r=bgirard
It really works, but it's not future-proof as it relies on the global GL context that's going away soon. But it probably won't go away in Aurora 14, so this should at least allow us to ship Fennec 14.

Longer term, we need to do some message passing so we can get the LayerManager's OpenGL context's renderer id, from the OMTC thread.
2012-05-08 15:55:52 -04:00
Jon Buckley
abfe75ece8 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00