Nicholas Cameron
5e7721090d
Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc
2012-07-24 22:18:39 +12:00
Nicholas Cameron
95a274068b
Bug 746883; tidying up some nits I found along the way; r=gw280
2012-04-26 10:04:35 +12:00
Nicholas Cameron
cadb8239d0
Bug 764125; changes to tests; r=jrmuizel
2012-07-24 22:18:39 +12:00
Nicholas Cameron
6720ecdb04
Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
ee280adfe3
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
1b0ed26abc
Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280
2012-04-10 13:18:53 +12:00
Nicholas Cameron
9e4ceaecb8
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
65cef0593d
Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc
2012-07-26 13:56:42 +12:00
Nicholas Cameron
2b54f3b5fd
Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas
2012-07-25 12:46:24 +12:00
Nicholas Cameron
6a8d4a8317
Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas
2012-07-24 22:18:40 +12:00
Nicholas Cameron
12bb2b2e21
Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc
2012-04-26 10:04:36 +12:00
Nicholas Cameron
b44e1f1a38
Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc
2012-07-24 22:18:39 +12:00
Nicholas Cameron
2078be321e
Bug 746883; tidying up some nits I found along the way; r=gw280
2012-04-26 10:04:35 +12:00
Nicholas Cameron
10a3597bf5
Bug 764125; changes to tests; r=jrmuizel
2012-07-24 22:18:39 +12:00
Nicholas Cameron
490ec30f66
Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
ee33a4caab
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
aa33f1027c
Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280
2012-04-10 13:18:53 +12:00
Benoit Jacob
7b994b10fc
Bug 771408 - Warn on WebGL drawing without attrib 0 array enabled - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
1e7ce80f83
Bug 771669 - Crash with memory-pressure, WebGL bufferData - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
db37d31897
Bug 775234 - WebGL: fix 1-byte out-of-bounds access in compileShader - r=jgilbert
2012-07-25 12:13:45 -04:00
Benoit Jacob
850e90ab78
Bug 774755 - 8/8 - ANGLE r1242: update list of failing tests (all tests now passing on windows) - no review
2012-07-25 12:13:45 -04:00
Benoit Jacob
3ec0f56d77
Bug 774755 - 1/8 - Update ANGLE to r1242 - no review
...
--HG--
rename : gfx/angle/src/compiler/compilerdebug.h => gfx/angle/src/compiler/debug.h
2012-07-25 12:13:45 -04:00
Benoit Jacob
b6e6cd12dd
Bug 776001 - WebGL: support EXT_texture_filter_anisotropic without prefix; warn on using the MOZ_ prefix - r=jgilbert
2012-07-25 12:13:44 -04:00
David Zbarsky
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Nicholas Cameron
8564f0e282
Bug 767337; crash test. r=roc
2012-07-18 15:04:15 -04:00
Vladimir Vukicevic
07de49632f
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert,r=bjacob
2012-07-06 09:19:27 -04:00
Benoit Jacob
d3f9ec79e5
Bug 760323 - fix --disable-webgl : let it also disable the bindings and s3tc extension - r=bz
2012-07-12 01:30:17 -04:00
Ryan VanderMeulen
b8ccede77d
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Vladimir Vukicevic
487b9b6ef2
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Vladimir Vukicevic
510f79a933
backout bug 767064, 1f9c66d66df4
2012-07-06 11:08:21 -04:00
Vladimir Vukicevic
7ca7353251
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Jeff Gilbert
2ff44fcfc8
Bug 735560 - Emulate GLSL math on Mac+Intel - r=bjacob
2012-07-05 19:34:01 -07:00
Benoit Jacob
06a3b7f799
Bug 769810 - Mac ATI OpenGL driver still needs math function emulation on 10.8 - r=jgilbert
2012-07-05 10:13:57 -04:00
Benoit Jacob
ee53ef1ef8
Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert
2012-07-05 10:13:46 -04:00
Benoit Jacob
e6fb01b882
Bug 766251 - 5/5 - update Adreno WebGL blacklisting - r=jrmuizel
2012-07-05 10:13:04 -04:00
Jon Buckley
4e2d74c059
Bug 769077 - Have unintialized render buffers report memory usage correctly, r=bjacob
2012-06-27 16:11:00 -07:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Chris Peterson
36fdd81fa4
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
f8c3fdf0be
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
e58a7928ca
Bug 767936. Use Element* as the cache key for CanvasImageCache. r=roc
2012-06-30 01:53:21 -04:00
Benoit Jacob
fb1f675dc6
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
436113599f
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
52a7369c47
Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
2012-06-13 17:14:15 +02:00
Matt Brubeck
250881f221
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
c05ad472fc
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
61a79011e0
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
1d58234ea3
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
19277ba9e5
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
ca02c922f7
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
b02a1ce6f4
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
eeca8d5fd4
Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz.
2012-06-04 21:41:51 +02:00
Benoit Jacob
c52c12fbb8
Bug 765137 - 3/3 - WebGL: more cleanup and renaming around extensions - r=jgilbert
2012-06-16 01:12:30 -04:00
Benoit Jacob
ca958a1d97
Bug 765137 - 2/3 - WebGL: clean up IsExtensionSupported - r=jgilbert
2012-06-16 01:12:08 -04:00
Benoit Jacob
e772dccbe8
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
96be0aa7b1
Bug 765179 - 2/2 - Check for empty string in WebGL SplitLastSquareBracket - r=jgilbert
2012-06-15 17:40:25 -04:00
Benoit Jacob
ca107b35b9
Bug 765179 - 1/2 - Check for empty GLSL identifier strings - r=jgilbert
2012-06-15 17:39:21 -04:00
Benoit Jacob
ef8f0631cb
Bug 765198 - WebGL crash in readPixels with null destination - r=bz
2012-06-15 17:36:48 -04:00
Boris Zbarsky
44edd4a058
Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob
2012-06-15 16:25:51 -04:00
Benoit Jacob
a4f9ebbddf
Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert
2012-06-14 23:16:21 -04:00
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
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
Benoit Jacob
fa0ec2aecb
Bug 763190 - WebGL readPixels shouldn't call EnsureBackbufferClearedAsNeeded - r=jgilbert
2012-06-12 17:20:21 -04:00
Benoit Jacob
7a3fe9a05f
Bug 763355 - log exceptions to understand timeout in read-pixels-test - r=jgilbert
2012-06-12 17:19:09 -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
Jon Buckley
f4f2e1efb0
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
802a3dc0cf
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
70ef0e73d6
back out e8f3fd02ba3e for windows build failure
2012-05-07 14:04:10 -04:00
Benoit Jacob
826a893d64
Bug 749711 - Lots of WebGL texture conversion fixes and improvements - r=jgilbert
...
* Templatize pack/unpack routines
** Inside anonymous namespace in a naive attempt to not hammer PGO linker
memory usage.
* Support conversions changing texel size
* Support conversion from integer to float formats
* Support RGBA32F properly
* Avoid compiling useless paths (code size down to 17k from 44k)
2012-05-07 13:05:32 -04:00
Benoit Jacob
047847bb94
Bug 747619 - Fix WebGL uniform setter validation - r=jgilbert
...
This bug, introduced by the patch from bug 732233, caused us to wrongly reject
legitimate WebGL uniform setters, especially when doing a partial update of
a uniform array.
2012-05-06 23:09:36 -04:00
Boris Zbarsky
fa88b9861d
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
d3adeb4433
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
cc67ef4fb6
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Boris Zbarsky
edbe43b288
Bug 749539. Make IsContextStable an inline function. r=bjacob
2012-05-05 09:28:25 -04:00
Boris Zbarsky
ab17ec6502
Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
...
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04:00
Boris Zbarsky
dc79d60c42
Bug 747825. Make the WebGLContext a wrapper cache. r=peterv
2012-05-04 12:36:40 -04:00
Benoit Jacob
d0aad62dac
backout b13c1d8d2cda / bug 747619 for build failure (-Werror)
2012-05-03 16:54:14 -04:00
Benoit Jacob
c1db69d7ab
Bug 747619 - fix uniform setter validation: allow partial uniform array updates - r=jgilbert
2012-05-03 15:57:25 -04:00
Jonathan Kew
c48dacae61
bug 751129 - ensure the font list is updated if necessary before accessing metrics. r=roc
2012-05-03 08:56:26 +01:00
Benoit Jacob
b6fab9255a
Bug 743748 - Reenable ANGLE shader translation on Android - r=jgilbert
2012-04-30 17:43:12 -04:00
Benoit Jacob
21cf44ab03
Bug 736123 - blacklist Adreno renderers for WebGL - r=joe
2012-04-30 17:43:12 -04:00
Bas Schouten
ee03259bf9
Bug 749467: Properly mark mPathTransformWillUpdate false. r=roc
2012-04-27 07:07:01 +02:00
Masatoshi Kimura
f17f15dabb
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
John Daggett
36057fec8a
Bug 718539. Trim out old featureSettings string code. r=jkew
2012-04-26 15:27:08 +09:00
John Daggett
1d89c211d4
Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron
2012-04-26 15:25:29 +09:00
Ed Morley
a3e0f65181
Backout cc37cd8dac59 (bug 744303) for M1 orange
2012-04-25 16:15:11 +01:00
Jeff Gilbert
b00fa67275
Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob
2012-04-25 15:05:35 +01:00
Patrick Wong
15df25098f
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Jeff Muizelaar
4cb3bbcc36
Bug 745818. Fix crashtest bustage. a=bustage
...
Disable the test added in 3b31c3121e98 as it still crashes
in lots of places.
--HG--
extra : rebase_source : 31274e7ac05dae017615a18f1601c219b4f0b4a9
2012-04-23 17:55:56 -04:00
Jeff Muizelaar
d2356ee6d6
Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
...
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar
11ae79aaf3
Bug 745818. Ignore invalid cairo surfaces. r=bas, a=blassey
...
With bug 686453, we're not really supposed to get NULL surfaces
anymore. Instead we get Invalid ones that we should still ignore.
--HG--
extra : rebase_source : eee8213c897c01508815a810436d1e04e133f752
2012-04-23 17:03:36 -04:00
Tom Schuster
0fe26d128c
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Benoit Jacob
86217acddb
Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
...
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob
1b53206894
Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
674aed832a
Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
b5fa6b73b1
Bug 736481 - 4/7 - WebGL lost contexts: remove ShouldEnableRobustnessTimer, rename Robustness to ContextLoss - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
206692bdfa
Bug 736481 - 3/7 - Add missing checks for lost WebGL contexts - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
3c1e40fdd9
Bug 736481 - 2/7 - lose WebGL context on memory-pressure events - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
7e0123bd58
Bug 736481 - 1/7 - simplification in WebGL lost context handling - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
f47413694c
Bug 746296 - Check for antialiasing should be samples>1 not samples>0 - r=jgilbert, a=akeybl
2012-04-19 23:28:01 -04:00
Benoit Jacob
208cb56f14
Bug 696495 - set tex min filter before generateMipmap calls, to work around driver bugs - r=jgilbert, a=akeybl
2012-04-19 23:28:01 -04:00
Jonathan Kew
b228bd58dc
bug 745699 - canvas2d rendering context needs to call gfxFontGroup::UpdateFontList() before MakeTextRun() to ensure user font generation is up to date. r=roc a=blassey
2012-04-18 20:56:19 +01:00
Benoit Jacob
72646b8f7e
Bug 732233 - Explicitly enforce spec in uniform setters - r=jgilbert
2012-04-16 15:56:12 -04:00
Benoit Jacob
5bc178dcdd
Bug 734657 - Upgrade ANGLE to r1042 - no review
...
The upstream is at:
http://code.google.com/p/angleproject/
This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Benoit Jacob
3c914a4ac6
Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review
2012-04-10 12:23:23 -04:00
Benoit Jacob
ac251c8f19
Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert
2012-04-10 11:51:30 -04:00
Benoit Jacob
dc36f05c94
Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
...
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Matias Juntunen
01e8f29412
Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert
2012-04-09 19:51:29 -07:00
Jeff Gilbert
6a03940b95
Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob
2012-04-04 18:57:35 -07:00
Jeff Gilbert
6b7627f5c1
Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob
2012-04-03 16:42:06 -07:00
Benoit Jacob
8882e64f22
Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel
2012-03-31 12:48:32 -04:00
Peter Van der Beken
30521e37e9
Undo accidental mode change to webgl-conformance-tests.html. No bug.
2012-03-30 22:04:54 -07:00
Peter Van der Beken
09128a75d3
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Benoit Jacob
97aa7c28db
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
343931424b
Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert
2012-03-26 15:20:35 -04:00
Benoit Jacob
fa875e1658
Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB
2012-03-26 15:20:34 -04:00
Benoit Jacob
7acfec9dc1
Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
...
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.
Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Benoit Jacob
1ae2806ea3
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
...
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
27f43955f9
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
2012-03-26 14:59:04 -04:00
Matt Brubeck
d4695bccc5
Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie]
2012-03-26 09:43:58 -07:00
Jeff Gilbert
5c20276bf3
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Ms2ger
16bb75fefb
Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley
2012-03-20 13:57:00 -07:00
Aryeh Gregor
94d5ff735b
Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz
2012-03-16 16:07:09 -04:00
Jonathan Watt
e30bc57157
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Marco Bonardo
312ed3ed80
Merge inbound and central
2012-03-16 13:42:16 +01:00
Ms2ger
a494664e3f
Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob
2012-03-16 10:53:41 +01:00
Ms2ger
3456d2d5e4
Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob
2012-03-16 10:52:42 +01:00
Ms2ger
c378830bae
Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob
2012-03-16 10:51:04 +01:00
Ms2ger
d5d2b74974
Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob
2012-03-16 10:50:51 +01:00
Ms2ger
58d4fde71b
Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob
2012-03-16 10:50:33 +01:00
Ms2ger
3850828e22
Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob
2012-03-16 10:50:18 +01:00