Commit Graph

1303 Commits

Author SHA1 Message Date
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
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
Benoit Jacob
c10e4e1949 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
63291875e4 Bug 743753 - 3/4 - WebGL: rename LogMessage to GenerateWarning - r=vlad 2012-05-23 12:07:29 -04:00
Benoit Jacob
b457d41c24 Bug 743753 - 2/4 - remove the webgl.verbose preference (always be verbose) - r=vlad 2012-05-23 12:07:19 -04:00
Benoit Jacob
a1f489a216 Bug 743753 - 1/4 - limit the number of warnings per WebGL context - r=vlad 2012-05-23 12:07:10 -04:00
Benoit Jacob
e81c3b2e13 Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger 2012-05-23 12:07:01 -04:00
Bas Schouten
1ef4bf0702 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
f8aa8c3c5a Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
aeda1d5c01 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
54e8d378fb Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Ms2ger
5a68e74435 Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley 2012-05-18 10:29:40 +02:00
Benoit Jacob
6598b33e08 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
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 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
4915a0b128 Bug 754151 - add macros for basic wrappercached cycle collected classes. r=smaug 2012-05-14 08:24:03 -07:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Yury
8af3a41196 Bug 753758 - Saving state doesn't carry mozFillRule. r=jrmuizel 2012-05-11 10:35:31 -07:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a 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
f3cec89440 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