Commit Graph

1557 Commits

Author SHA1 Message Date
Benoit Jacob
c78ff1d433 Bug 790138 - raise WebGL context limits on desktop - r=jgilbert 2012-09-21 13:44:35 -04:00
Ms2ger
abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
451f5737e1 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Robert O'Callahan
66cf5380d9 Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc 2012-09-12 17:30:25 +12:00
Robert O'Callahan
f745e28a4c Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
George Wright
b79b813eb0 Bug 777614 - It seems we used to pass this test by accident. Now we're in line with all the other Azure backends. r=nrc 2012-09-18 15:41:37 -04:00
Robert O'Callahan
51edec70b6 Bug 772726. Make nsCanvasRenderingContext2DAzure::DrawWindow use Azure content drawing if that's enabled. r=bas 2012-09-04 16:24:09 +12:00
Ms2ger
3dda1753df Bug 788525 - Remove ErrorResult& arguments to infallible methods in WebGL; r=bjacob 2012-09-17 10:37:20 +02:00
Phil Ringnalda
b1dab35f6b Bug 791509 - Adjust WebGL expected failures and passes for OS X 10.8, r=bjacob 2012-09-16 10:09:54 -07:00
Boris Zbarsky
b97e3a8dcd Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Nicolas Silva
80242795c3 Bug 777967 - Cache the computation of WebGLContext::ValidateBuffers for better performances. r=bjacob 2012-09-11 14:54:39 -04:00
Anthony Jones
1683a40e37 Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc 2012-05-31 12:47:27 +12:00
Andrew Quartey
0e25c1e408 Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
Jeff Gilbert
454b8655e8 Bug 782860 - Mark failing WebGL reftests as failing - r=bjacob 2012-09-06 18:46:43 -07:00
Jeff Gilbert
2d61de0cf9 Bug 782860 - Add basic WebGL reftests - r=bjacob 2012-09-06 18:46:39 -07:00
Edwin Flores
4db701b991 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Ryan VanderMeulen
b89a18ff9f Backout 013743bb609e (bug 591358) for Windows orange. 2012-09-05 19:53:43 -04:00
Anthony Jones
ba6389b298 Bug 591358 - Part 3: Lazy creation of the draw target in order to save memory and improve performance. r=roc 2012-05-31 12:47:27 +12:00
Anthony Jones
aefbf93eb8 Bug 786913 - Fix Azure short-circuiting of 0px fonts. r=roc 2012-09-05 17:52:34 -04:00
Robert O'Callahan
21130136a9 Bug 787623. Call MarkContextClean immediately if we're not going to receive a DidTransactionCallback. r=joedrew
--HG--
extra : rebase_source : 459c517fba4b6c2e6e6d95200aebec9369c0edb6
2012-09-05 22:28:23 +12:00
Brendan Dahl
c8fe46d4c6 Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Anthony Jones
16cab51b48 Bug 784573 - Reftest for azure/cairo transform problem. r=joe 2012-09-03 17:49:33 -04:00
Anthony Jones
d08f2d71eb Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe 2012-09-02 19:07:06 -04:00
Anthony Jones
fe3c0bfdf7 Bug 781731 - Set Azure shadow canvas size match thebes in order to match performance. r=Bas 2012-09-02 19:07:06 -04:00
Anthony Jones
7222cc6f21 Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel 2012-09-02 19:07:06 -04:00
Anthony Jones
2a776a69a2 Bug 781731 - Fix passing of text bounds to AdjustedTarget in order to limit the size of the temporary target. r=Bas 2012-09-02 19:07:05 -04:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Boris Zbarsky
b09cf99f10 Bug 567511. Don't consider document.domain when deciding whether to taint a canvas. r=roc 2012-08-29 01:14:47 -04:00
Boris Zbarsky
ab70c09702 Bug 784869. Stop allowing undefined as the second argument to createPattern in the WebIDL 2d context bindings. r=peterv 2012-08-28 13:10:10 -04:00
Ms2ger
a77fd1cc47 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
90166db903 Bug 781731 - Fixed crash caused by an empty shadow region; r=Bas 2012-08-27 11:35:10 +02:00
Anthony Jones
4a0f48b226 Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc 2012-08-27 11:34:33 +02:00
Anthony Jones
a00ccdb8d2 Bug 781731 - Set azure shadow canvas size match thebes in order to match performance; r=roc 2012-08-27 11:34:12 +02:00
Anthony Jones
3e97df84ad Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc 2012-08-27 11:34:07 +02:00
Anthony Jones
ef8463cc9b Bug 781731 - Fixed passing of text bounds to AdjustedTarget in order to limit the size of the temporary target; r=Bas 2012-08-27 11:31:36 +02:00
Benoit Jacob
6f30e1539b Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert 2012-08-23 14:56:17 -04:00
Boris Zbarsky
59f47be2a6 Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Matt Brubeck
38cbcc6cc5 Back out 156eaa94f73c (bug 782786) and 05d1a3fba90b (bug 777028) for frequent Linux reftest failures on a CLOSED TREE 2012-08-23 14:47:07 -07:00
Matt Brubeck
f0721d083d Back out b88ccf7bd3e3 for Linux test_canvas.html failures on a CLOSED TREE 2012-08-23 14:08:42 -07:00
Boris Zbarsky
8295d78bfb Bug 784809. Allow null for the repeat argument of canvas createPattern. r=peterv 2012-08-23 12:23:23 -07:00
Benoit Jacob
c50e6dd0da Bug 777028 - honor gfx.work-around-driver-bugs for Mesa WebGL workaround - r=jgilbert 2012-08-23 14:56:17 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jeff Gilbert
ae272e1e5c Bug 782785 - Use temp surfaces to ReadPixels with correct stride - r=bjacob 2012-08-21 16:13:26 -07:00
David Zbarsky
3154e1b535 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Bobby Holley
aa8dadc330 Bug 553102 - Remove unnecessary SpecialPowers wrap in test_canvas.html. r=me
I put this in in bug 778420, but it looks like it wasn't necessary, since the
tests seem to pass without it. It's on the critical path for this longish-running
test, and it also breaks stuff with respect to __exposedProps__. Let's kill it.
2012-08-17 23:14:55 -07:00
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