Commit Graph

1325 Commits

Author SHA1 Message Date
Benoit Jacob
157e8095af 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
11d1e38c3a 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
71f5182a3c Merge m-c to inbound. 2012-06-12 21:36:40 -04:00
Matt Brubeck
77ee3f3f4b Merge last green changeset from inbound to mozilla-central 2012-06-12 18:24:45 -07:00
Nicholas Cameron
4315d16887 Bug 750575; use nsCOMPtr around nsIPresShell in canvas code. r=roc 2012-06-12 10:48:42 -07:00
Chris Jones
5fc3024b9d Bug 746813: Check for context allocation failure before returning inverse transform. r=joedrew 2012-06-12 10:31:37 -07:00
John Drinkwater
1aa688bab1 Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert 2012-06-11 08:25:06 -07:00
Ryan VanderMeulen
846a6a41bf Merge m-c to inbound 2012-06-10 17:59:00 -04:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Matt Brubeck
72ef8c96fc 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
9152e14841 Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent 2012-05-15 09:56:39 -07:00
Benoit Jacob
6458b79a5a Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
4e9b9a219c Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00
Benoit Jacob
2d526bb1d8 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
c4a437e09c Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
61d21a3c32 Bug 759221 - 5/6 - mark known failing WebGL conformance tests on Android - r=jgilbert 2012-06-08 13:41:43 -04:00
Benoit Jacob
3c118cd898 Bug 759221 - 4/6 - webgl mochitest needs a longer timeout on android - r=jgilbert 2012-06-08 13:41:42 -04:00
Benoit Jacob
57b73e7b3f 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
ffbf1dffd2 Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob 2012-06-06 09:42:47 +02:00
Ms2ger
f696a656cc 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
4ff76331ca 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
201de433a3 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Chris Jones
d45528d7d4 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
0cbd1cb517 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
ea5a6de0a9 Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob 2012-06-02 12:05:45 -04:00
Benoit Jacob
8d4e604e05 Bug 748211 - getVertexAttrib should reject the VERTEX_ATTRIB_ARRAY_POINTER pname - r=jgilbert 2012-06-01 15:32:18 -04:00
Boris Zbarsky
1ead997ef4 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Robert O'Callahan
a230eb4dde Backing out 65cd6893941e, b24941f7205b and bcec6006b1ac (bug 731868) for test failures 2012-06-01 20:27:53 +12:00
Robert O'Callahan
c6a4b422b5 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
32995beb29 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
357913ddda 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
19d2fed0a9 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
1dbd12b802 Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Jeff Gilbert
17d345849f Bug 750527 - Rebind program if current program is relinked - r=bjacob 2012-05-30 17:00:38 -07:00
Jeff Gilbert
41e9d93854 Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob 2012-05-30 16:05:37 -07:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
638c878b13 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
5393812760 Bug 759178 - WebGL extension strings should be case-insensitive - r=jgilbert 2012-05-30 08:30:32 -04:00
Benoit Jacob
3499d12a20 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
aef31b1e2d back out 90292e7ec6fb for mochitest-1 orange 2012-05-29 16:33:29 -04:00
Benoit Jacob
9c5bbde02b 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
3acd5b0163 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Ms2ger
3354692bab Bug 757365 - Don't use uint8 in DocumentRenderer{Parent,Child}.cpp; r=bjacob 2012-05-25 09:18:30 +02:00
Boris Zbarsky
86da6f4a01 Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv 2012-05-25 01:08:22 -04:00
Benoit Jacob
b4fc68d3e4 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
5b5b75da2d Bug 754669 - remove legacy cast to int32 in vertexAttribPointer - r=bz 2012-05-23 22:17:10 -04:00
Benoit Jacob
9d4c82bd03 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
d89832f628 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
6b0de4418f Bug 754303 - WebGLUniformLocation doesn't need to be a WebGLRefCountedObject - r=jrmuizel 2012-05-23 12:07:44 -04:00