Commit Graph

1512 Commits

Author SHA1 Message Date
Benoit Jacob
1e2f20e917 Bug 763355 - attempt to fix timeouts in WebGL mochitest on Android slaves by avoiding loading the js-test-post.js script - r=jgilbert
Indeed, we have data here showing that the timeouts are caused by failure to load this file. Reason not yet understood.
2012-08-14 12:59:14 -04:00
Ehsan Akhgari
a09e69cee0 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Alexander Boldyrev
51cb65d942 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Matt Woodrow
e1a83f8656 Bug 539356 - Part 31 - Call Azure canvas DidTransactionCallback even when painting from DrawWindow(). r=roc 2012-08-13 22:10:57 +12:00
Joe Drew
b9ad485ab4 Bug 773097 - Don't create our surface from GetCanvasLayer. It's called while painting, and doing so will destroy the layer manager that we're painting with. r=roc,mattwoodrow
Canvases use the "persistent" layer manager, which is only used after 5
seconds has elapsed on Windows. So if we start up to a site that uses canvas,
we risk switching to the persistent layer manager while drawing using the
temporary layer manager. Because layer managers are singletons, they're not
refcounted, and so we end up holding a dead pointer and corrupting the heap.
2012-08-10 12:13:09 -04:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Benoit Jacob
3b5628b720 Bug 777028 - WebGL: allow only 16 samplers per program on Mesa - r=jgilbert 2012-08-09 22:30:17 -04:00
Nicholas Cameron
9e3416cd5c Bug 773460; IsLinux should be false for Android. r=roc
--HG--
extra : rebase_source : ddc09bd2ad7b380d42fbefe34f2fc2e2fc9b5a39
2012-08-10 06:45:03 +12:00
Ed Morley
b5f4776008 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
803578e620 Bug 727547 - Add test. 2012-08-09 09:10:43 +02:00
Andrew McCreight
e69ccef6c8 Bug 779669 - Return error in GetMozDash. r=peterv 2012-08-06 08:12:06 -07:00
Bobby Holley
1895527d8c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Nicholas Cameron
e36380e0c6 Bug 780392. Crashtest. r=bas
--HG--
extra : rebase_source : b2761827d90ceb99818b7beda5bcc596de90d7a3
2012-08-09 08:17:03 +12:00
David Zbarsky
03039446fa [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Benoit Jacob
12c020bbe8 Bug 617453 - lose the least-recently-used WebGL context when a certain limit is exceeded - r=vladv
The current limits are:

#ifdef MOZ_GFX_OPTIMIZE_MOBILE
    // some mobile devices can't have more than 8 GL contexts overall
    const size_t kMaxWebGLContextsPerPrincipal = 2;
    const size_t kMaxWebGLContexts             = 4;
#else
    const size_t kMaxWebGLContextsPerPrincipal = 8;
    const size_t kMaxWebGLContexts             = 16;
#endif
2012-08-02 17:28:02 -04:00
Benoit Jacob
fd35324100 Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert 2012-08-02 17:28:02 -04:00
Ryan VanderMeulen
368add0e77 Bustage fix for bug 779535 follow-up. 2012-08-01 18:40:24 -04:00
Oleg Romashin
328ae4d1e4 Bug 779535 - readability followup. r=jgilbert 2012-08-01 15:13:49 -07:00
Oleg Romashin
cf0edff8a1 Bug 779535 - defaultNoAlpha preference is not used in case if nsIPropertyBag argument is 0. r=vlad 2012-08-01 11:58:44 -07:00
Nicholas Cameron
afcbca306a Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
f642f5c9cd Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz 2012-07-26 14:31:26 +12:00
Eric Faust
62ec8929cd Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:45:20 -07:00
Eric Faust
28008c2879 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
7ff37c6b6d Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:06:35 -07:00
Boris Zbarsky
88f3d72148 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Nicholas Cameron
5dd825ba63 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Benoit Jacob
42023fff9f Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking - r=jgilbert 2012-07-26 19:58:53 -04:00
Benoit Jacob
467321359c Bug 777883 - Avoid calling glLinkProgram when we know that a bad shader is attached - r=jgilbert 2012-07-26 19:58:52 -04:00
Nicholas Cameron
952f2e4661 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
3e5d68ecf6 Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas 2012-07-25 12:46:24 +12:00
Nicholas Cameron
0719cba22b 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
dbc18f6058 Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc 2012-04-26 10:04:36 +12:00
Nicholas Cameron
c4d43283b2 Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
bd78445cca Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Nicholas Cameron
7bd4512a9b Bug 764125; changes to tests; r=jrmuizel 2012-07-24 22:18:39 +12:00
Nicholas Cameron
702da9ed9b Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
9bcaf104d6 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Nicholas Cameron
3abd6b6d32 Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280 2012-04-10 13:18:53 +12:00
Nicholas Cameron
e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
c934b676bb Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
d240eee5a1 Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas 2012-07-25 12:46:24 +12:00
Nicholas Cameron
8dabb5c5b9 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
85b294d71f Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc 2012-04-26 10:04:36 +12:00
Nicholas Cameron
9135a6d031 Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc 2012-07-24 22:18:39 +12:00