Commit Graph

904 Commits

Author SHA1 Message Date
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Nicholas Cameron
0514eb1ecd Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Matt Woodrow
5938d48e42 Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas 2013-08-21 11:58:27 +12:00
Matt Woodrow
f8e8d3bb7a Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas 2013-08-21 11:57:57 +12:00
Matt Woodrow
e24181566b Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas 2013-08-21 11:56:27 +12:00
Matt Woodrow
697797fc7b Bug 904884 - Assign RAII class instances to variables in PathCario so that they stay alive for the correct scope. r=nrc 2013-08-21 11:55:53 +12:00
Matt Woodrow
917d54f3b7 Bug 904981 - Clear surface devices offsets in DrawTargetCairo since we don't use them. r=Bas 2013-08-21 11:52:20 +12:00
Ryan VanderMeulen
93247b9975 Merge m-c to inbound. 2013-08-16 21:58:51 -04:00
Botond Ballo
978933e44e Bug 895905 - Fixed a compiler error on GCC 4.7. r=Bas 2013-08-08 15:56:09 -04:00
Milan Sreckovic
501c4cfc89 Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel 2013-08-14 12:29:47 -04:00
Milan Sreckovic
ec1c424f28 Bug 903526 - Add BaseRect::IsFinite() method. r=bas 2013-08-13 14:48:17 -04:00
Phil Ringnalda
d2099e030b Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
de3e98e1de Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Jeff Muizelaar
8818ab3b07 Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Matt Brubeck
9fc67ed1e7 Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes 2013-08-08 14:58:00 -07:00
Jeff Muizelaar
caf604a77c Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12
2013-07-31 14:46:25 -04:00
Matt Woodrow
47aaa7c4a1 Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Wes Kocher
67614e96b8 Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
efa3e6d5de Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Matt Woodrow
a6db83ee6b Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel
--HG--
extra : rebase_source : dc5e18fe96966a86cbb3b2fbaa508247cbe73142
2013-07-15 13:28:04 -04:00
Ehsan Akhgari
2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Jeff Muizelaar
6db2981894 Bug 898803. Add support for different surface formats to DrawTargetCG. r=joe
This causes us to get cleartype when drawing with alpha with CG.

--HG--
extra : rebase_source : 611c5b76ce0ea926ea8e1e26501ca3d8d9a6b452
2013-07-29 15:01:29 -04:00
John Daggett
c1ed3910f5 Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel 2013-07-30 05:00:53 +09:00
Nicolas Silva
47fc67a4c6 Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas 2013-07-17 16:07:44 +02:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Birunthan Mohanathas
a672678234 Bug 784739 - Switch from NULL to nullptr in gfx/2d/; r=Bas
--HG--
extra : rebase_source : 340bb0ff65c56c23bf2a4c8e24d082e938997831
2013-07-20 11:48:55 +03:00
Chris Lord
e3186541d9 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Jeff Muizelaar
b17dfd732b Bug 896129. Use CGContextDrawImage when appropriate in FillRect(). r=mattwoodrow
This fixes the element-paint-paintserversize-rounding-02.html reftest.
2013-07-19 20:39:31 -04:00
Jeff Muizelaar
9ddd2f5d8f Bug 896290. Support drawing with antialaising in DrawTargetCG. r=mattwoodrow 2013-07-19 08:18:18 -04:00
Jacek Caban
688f875b2e Bug 883004 - GCC bustage fix 2013-07-20 12:37:04 +02:00
Jeff Muizelaar
9eda8ae743 Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
7fa5ac69af Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
Wes Kocher
c7291d2df1 Backout df425bca5665 (bug 893977) for breaking the build on a CLOSED TREE 2013-07-18 21:16:20 -07:00
Wes Kocher
2528692e6a Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE 2013-07-18 21:15:29 -07:00
Jeff Muizelaar
3b763c6381 Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
39c3bb9c5c Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
James Willcox
e858f94d27 Bug 895036 - Lower the SkiaGL texture cache size r=gwright 2013-07-09 16:12:49 -04:00
James Willcox
4e4bee4669 Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow 2013-06-21 15:28:10 -04:00
Jeff Muizelaar
5c2872b750 Bug 895078. Implement ScaledFontMac::CopyGlyphsToBuilder. r=mattwoodrow
--HG--
extra : rebase_source : e18c584de856676b84c9aac50021f255185a677a
2013-07-16 11:25:49 -04:00
Matt Woodrow
588f5a77ec Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Bas Schouten
a3c970c2dd Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Bas Schouten
bdd816c314 Bug 883004 - Part 2: Move Direct2D 1.1 detection to configure.in r=glandium 2013-07-17 14:12:05 +02:00
Matt Woodrow
8d17852f86 Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
cf7c30ed33 Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
c45ae27d7e Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel 2013-07-12 17:19:27 -04:00
Phil Ringnalda
eb8de189ea Back out 7160624804ff:69062da26093 (bug 892966) on suspicion of mochitest-4 test_bug767779.html bustage
CLOSED TREE
2013-07-12 16:39:36 -07:00
Jeff Muizelaar
ad0a0a9bd8 Bug 892968. Implement POINT filtering properly in DrawTargetCG. r=mattwoodrow
--HG--
extra : rebase_source : 13528e2c21f96d9c5d5dba6f44593869033479f2
2013-07-12 10:01:58 -04:00
Matt Woodrow
b2487e960c Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel 2013-07-12 17:19:29 -04:00
Matt Woodrow
eb65fc3063 Bug 892966 - Implement CreateSourceSurfaceFromNativeSurface for DrawTargetCG and use it instead of copying pixel data. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
86c0401d89 Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel 2013-07-12 17:19:28 -04:00
Matt Woodrow
2362fcace6 Bug 892966 - Take a reference to the CGContext when constructing a DrawTargetCG from one. r=jrmuizel 2013-07-12 17:19:27 -04:00
Jeff Muizelaar
e44e34c767 Bug 892964. Rewrite DrawTargetCG::MaskSurface to avoid using FillRect(). r=mattwoodrow
With FillRect we were setting the transform twice.

The patch looks really bad because I needed to move the implementation of
MaskSurface so that it was below the helper methods.

The actual change is:

-  FillRect(Rect(aOffset.x, aOffset.y, size.width, size.height), aSource, aDrawOptions);
-
+  if (isGradient(aSource)) {
+    // we shouldn't need to clip to an additional rectangle
+    // as the cliping to the mask should be sufficient.
+    DrawGradient(cg, aSource);
+  } else {
+    SetFillFromPattern(cg, mColorSpace, aSource);
+    CGContextFillRect(cg, CGRectMake(aOffset.x, aOffset.y, size.width, size.height));
+  }

This also avoids setting up other state like alpha and the unboundness fixer twice.

--HG--
extra : rebase_source : 762f2d94ddaff129d584aab1e1f429ddfea99277
2013-07-08 17:35:56 -04:00
James Kolb
c2eedbfda2 Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas 2013-07-11 10:43:34 -04:00
Jeff Muizelaar
1e6e84f8d1 Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Jeff Muizelaar
c62228e3e4 Bug 891388. Implement Arc() in PathCG. r=joe
--HG--
extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
2013-07-08 14:28:21 -04:00
Jeff Muizelaar
63c878f816 Bug 790673. Add BorrowedCGContext. r=bas
This can be used to safely get at the underlying CGContext.
2013-07-09 18:55:02 -04:00
Markus Stange
b474b910a6 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Emanuel Hoogeveen
e32590ca0d Bug 890714 - Fix mixed line endings. r=joe, r=jesup 2013-07-08 16:33:15 -04:00
Joey Armstrong
38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Benoit Girard
a210b5dede Bug 775459 - Implement hit testing on layer tree + tests. r=kats
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
James Willcox
1a08fd2938 Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow 2013-06-28 22:59:19 -04:00
Benoit Jacob
aa62cf2418 Bug 875218 - Fix all the Skia leaks! By avoiding addref'ing a second time the GrGLInterface and GrContext r=mattwoodrow 2013-06-17 13:45:04 -04:00
Benoit Jacob
2647d72fc9 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob
a568ac2b45 Bug 882561 - Add a GenericRefCounted base class to moz2d, will allow moz2d to hold strong references to external objects without adding a dependency r=jwalden 2013-06-16 22:05:14 -04:00
George Wright
7149fbee84 Bug 869178 - Use SkCanvas::drawBitmapRect instead of a bitmap SkShader; it's slightly faster r=snorp 2012-11-15 19:57:40 -05:00
George Wright
4c15fc0684 Bug 736276 - Ensure we can never double addref a cairo scaled font in ScaledFontBase r=mattwoodrow 2013-06-28 22:50:59 -04:00
George Wright
602e1332d6 Bug 736276 - Only create the SkTypeface in ScaledFontCairo when necessary r=jrmuizel 2013-06-28 22:50:09 -04:00
George Wright
1c299f739f Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
George Wright
df877b614e Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
George Wright
8a86a63e18 Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow 2013-04-09 15:57:22 -04:00
Joey Armstrong
03706f341a bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Jacek Caban
26ba83c45d Bug 887821 - GCC compilation failure in RadialGradientEffectD2D1.cpp r=jmuizelaar 2013-06-29 12:13:42 +02:00
Jacek Caban
039490b3b1 Bug 880836 - Fixed 'extra qualification' error on GCC. 2013-06-29 12:13:17 +02:00
Bas Schouten
28ede182a7 Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel 2013-06-27 20:20:30 +00:00
Jeff Muizelaar
f167521fa7 Bug 886531. Fix MaskSurface implementation on CG. r=bas
The offsets were wrong.

--HG--
extra : rebase_source : 810f88c587e4fbcef377c53c13ee59a4b59cbe66
2013-06-24 17:28:21 -04:00
Justin Wood
0648210a74 Bug 885855 - [Build bustage] gfx\2d\RadialGradientEffectD2D1.h(9) : fatal error C1083: Cannot open include file: 'd2d1_1.h': No such file or directory. r=gps, f=InvisibleSmiley, f=Bas
--HG--
extra : rebase_source : aea4bba00ffa4701315ff563f31be6425a439a23
2013-06-24 13:29:09 -04:00
Phil Ringnalda
8c08aa8ebd Merge birch to m-c 2013-06-22 15:50:24 -07:00
Kartikaya Gupta
1de2b15435 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Bas Schouten
820b5a0f1c Bug 883004 - Part 1: Add radial gradient effect code. r=jrmuizel 2013-06-21 05:53:23 +02:00
Ryan VanderMeulen
d2b6c8631b Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Mike Hommey
d52fe41442 Bug 885985 - Missing format string in printf call in gfx/2d/unittest/TestBase.cpp. r=bas 2013-06-22 20:29:39 +09:00
Kartikaya Gupta
603cf626d1 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Bas Schouten
8c309fb1dc Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
a1c535659d Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Ehsan Akhgari
9b5acabd5a Backed out 2 changesets (bug 878032) because of Windows build bustage
Backed out changeset 3cb61a7d5746 (bug 878032)
Backed out changeset 627c03f469d8 (bug 878032)

Landed on a CLOSED TREE
2013-06-19 17:35:21 -04:00
Bas Schouten
be986ecb4d Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
224e3f27b7 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
ecd2c72639 Bug 883352 - With OMTC enabled on Metro Firefox, we crash when scrolling. r=jmuizelaar 2013-06-19 08:57:59 -04:00
Jeff Muizelaar
1be4a402cb Bug 880836. Fix a typo caught by joe.
--HG--
extra : rebase_source : deabe5a79c8ac27497cfbeb42d5f98b7b882a7a3
2013-06-18 20:31:17 -04:00
Jeff Muizelaar
44d26ad07a Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
extra : rebase_source : a3031305302fb4abe93aa480df35ed0936d68cd8
2013-06-12 23:57:51 -04:00
James Willcox
bbfa0a3db1 Bug 883201 - Make SourceSurfaceSkia::GetData keep pixels alive as necessary r=gal 2013-06-18 12:49:05 -04:00
Ryan VanderMeulen
e6eb53fb07 Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
32dbe991d6 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592

--HG--
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke-ref.svg => layout/reftests/svg/non-scaling-stroke-03-ref.svg
rename : layout/reftests/svg/text/dynamic-non-scaling-stroke.svg => layout/reftests/svg/non-scaling-stroke-03.svg
extra : rebase_source : a1218b8bc5cdcec7d4dd94561d841fb6e2a8ce5d
2013-06-12 23:57:51 -04:00
Kartikaya Gupta
2a3c35c773 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -04:00
Kartikaya Gupta
fbe003e9c9 Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
ddc341ee0a Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Benoit Girard
0d44f34246 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Kartikaya Gupta
3bec9e603d Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Martin Stransky
b3b0827162 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Kartikaya Gupta
39f7cc7f7b Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Bas Schouten
c0753402db Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel 2013-06-04 03:13:53 +02:00
Bas Schouten
0c97f0440c Bug 829954 - Part 1: Make AlignedArray fallible. r=jrmuizel 2013-06-04 03:13:53 +02:00
Kartikaya Gupta
46a7789a65 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Phil Ringnalda
b560a7bab2 Merge m-c to a CLOSED TREE m-i 2013-05-31 07:41:20 -07:00
Phil Ringnalda
4aec020413 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Anthony Jones
b7c0e66763 Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Benoit Girard
908b9e495b Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Phil Ringnalda
ad4c150cb3 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
397d220ef5 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Jeff Gilbert
d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
James Willcox
e96260d704 Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword 2013-05-29 12:49:40 -04:00
Kartikaya Gupta
d44a465803 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ryan VanderMeulen
46fedd529b Backed out 2 changesets (bug 736276) for reftest crashes on a CLOSED TREE.
Backed out changeset 1bd02a8da04f (bug 736276)
Backed out changeset 120285554c44 (bug 736276)
2013-05-15 16:14:56 -04:00
George Wright
fd8ac1eae7 [PATCH 2/2] Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2012-08-05 02:29:18 -04:00
Mark Banner
26ea3b3736 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Benoit Jacob
061b45658d Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas 2013-05-07 08:14:26 -04:00
Jeff Muizelaar
f5e7e8a290 Bug 845125. Fix impromper use of CheckedInt.
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Jonathan Kew
1e56f2c480 bug 866747 - stroke glyphs individually instead of making a single path for the entire text run. r=bas 2013-04-30 19:26:28 +01:00
Milan Sreckovic
1de038645a Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar 2013-04-19 12:13:18 +02:00
Chris Lord
e599bc8a48 Bug 853867 - Allow --enable-gtest on Android and fix build issues. NPOTB r=bas,bgirard
--HG--
extra : rebase_source : 2e870fd157ea7e9a4de4cf8f4d465784eab0ff8e
2013-04-25 15:39:33 -04:00
Matt Woodrow
96eccc1df7 Bug 863922 - Use the device pixel size of plugin IOSurfaces since layers handles resolution scaling already. r=BenWa 2013-04-25 10:31:12 +12:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Daniel Holbert
8f7e6be9e1 Bug 858304: Fix 2 signed/unsigned comparison warnings in QuartzSupport.mm. r=smichaud 2013-04-04 18:20:44 -07:00
Daniel Holbert
97d4918f90 Bug 857740: Use MOZ_STATIC_ASSERT instead of COMPILE_ASSERT in convolver.h. r=jrmuizel 2013-04-04 14:42:07 -07:00
Nathan Froyd
d50ff6f7f0 Bug 839383 - part 3 - inline AssignSurfaceParametersFromFormat into its only caller; r=jrmuizel 2013-03-12 17:02:19 -04:00
Nathan Froyd
4611459772 Bug 839383 - part 2 - factor out CGImageRef creation code in SourceSurfaceCG.cpp; r=jrmuizel 2013-03-12 16:59:26 -04:00
Nathan Froyd
2b6086db25 Bug 839383 - part 1 - fix unhandled enumeration values in SourceSurfaceCG.cpp; r=jrmuizel 2013-03-06 11:11:18 -05:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Landry Breuil
295b15ad0e Bug 849253 - Followup to really unbreak BE archs: use USE_SKIA_GPU in HelpersSkia.h too r=gwright 2013-03-26 22:13:12 +01:00
George Wright
b48b6ce203 Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow 2013-03-13 19:29:47 -04:00
Steve Singer
f2ece8dd56 Bug 844883 - Use a signed value for the stride. r=jmuizelaar 2013-03-20 15:42:51 -04:00
Milan Sreckovic
643024a806 Bug 825721 - Clamp negative box starts and disallow negative sizes. r=jmuizelaar 2013-03-07 10:13:28 -05:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Bas Schouten
f8a695c1e9 Bug 828157 - Properly offset gradient origin when using D2D to draw moderately complex gradients. r=jmuizelaar 2013-03-12 15:55:50 -04:00
Jacek Caban
f3f006ac72 Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00
Chris Lord
75f7b3b58c Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
e67ae46cb3 Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Chris Lord
f66da698fb Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Daniel Holbert
56c48afacf Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
George Wright
ceb8b0a733 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
George Wright
64496fbfb2 [PATCH 7/9] Bug 751418 - Add support for the Skia/GL backend to DrawTargetSkia r=mattwoodrow
From 0792589a5679ba3af020708233bacbd83a0c611e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DrawTargetSkia.cpp | 24 ++++++++++++++++++++++++
 gfx/2d/DrawTargetSkia.h   |  4 ++++
 gfx/2d/HelpersSkia.h      | 20 ++++++++++++++++++++
 3 files changed, 48 insertions(+)
2012-11-30 18:57:38 -05:00
George Wright
2190ff4dfe [PATCH 4/9] Bug 751418 - Ensure we define USE_SKIA globally r=ted
From f0e2d2aa3f9a5738369ce9e0e8cd00d937ac77ab Mon Sep 17 00:00:00 2001
---
 configure.in         | 4 ++++
 gfx/2d/Makefile.in   | 7 -------
 gfx/skia/Makefile.in | 3 ---
 3 files changed, 4 insertions(+), 10 deletions(-)
2013-02-26 18:29:33 -05:00
Ed Morley
35a3834d4f Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Robert O'Callahan
94dcb604c5 Bug 840695. Make aAntialiasMode default to AA_DEFAULT, because, well, it's the default. r=bas
--HG--
extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
2013-02-25 12:01:16 +13:00
Anthony Jones
123a7144b9 Bug 840693 - Add ZoomScale; r=Bas 2013-03-04 13:25:22 +13:00
Ryan VanderMeulen
3fe58cf9ea Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
73720b6632 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Gregory Szorc
6145f28e00 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Benoit Girard
e6e264b047 Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas 2013-02-22 19:28:08 -05:00
Daniel Holbert
f2dec4ea11 Bug 839265: Remove unused enum value OP_ARCTO from the PathOp::OpType enum. r=Bas 2013-02-17 00:49:50 -08:00
Daniel Holbert
09245f218c Bug 839257: Mark Factory.cpp's HasCPUIDBit() as inline, to fix build warnings on some configurations about the function being defined but not used. r=Bas 2013-02-17 00:45:10 -08:00
Daniel Holbert
5f1e502515 Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel 2013-02-12 20:00:54 -08:00
Robert O'Callahan
5f549df09b Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Phil Ringnalda
a567c335fc Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
bcbd213cc7 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Timothy Nikkel
28001fd23a Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 14:01:19 -06:00
Timothy Nikkel
89b9fabf30 Backout 1b5a4a4cf267 (bug 827946) for build breakage on CLOSED TREE. 2013-02-08 10:55:17 -06:00
Timothy Nikkel
ab38148892 Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 10:39:16 -06:00
Matt Woodrow
d4453c2c2c Bug 836892 - Add new skia blending modes to GfxOpToSkiaOp. r=gw280 2013-02-08 10:54:59 +13:00
Matt Woodrow
4092ec62cc Bug 831529 - Stop using SkPath::contains for now since it doesn't match the canvas spec. r=jrmuizel 2013-02-08 10:54:59 +13:00
Milan Sreckovic
94700f7920 Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar 2013-01-29 10:22:52 -05:00
Mats Palmgren
81ba64a395 Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe 2013-01-30 17:02:27 +01:00
Mats Palmgren
1f5b357881 Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe 2013-01-30 17:02:27 +01:00
Filippo Cristofoletti
c820f4dd55 Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar 2013-01-28 10:09:29 -05:00
Filippo Cristofoletti
ddef8c2fb1 Bug 755031 - Clear warnings in gfx/2d/ScaledFontDWrite.cpp. r=jmuizelaar 2013-01-15 07:21:00 -05:00
Usurelu Catalin
91a84914b2 Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones 2013-01-24 18:10:27 -05:00
Steven Michaud
c20100d89c Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard 2013-01-23 16:19:15 -06:00
Milan Sreckovic
b06cb735a4 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Bas Schouten
d45729f5e1 Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel 2013-01-15 02:20:10 +01:00
Trevor Saunders
cd9ce5e64f no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Chris Peterson
de411b5fd0 Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Anthony Jones
f0fee81267 Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc 2012-12-23 10:50:30 -05:00
Steven Michaud
1007db2ced Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard 2012-12-20 15:14:20 -06:00
Jeff Muizelaar
ef84a35a51 Bug 823393. Breakage fix for partially commited Bug 823148.
Only some hunks of the patch for bug 823148 made it into the
tree. I've no idea why.

--HG--
extra : rebase_source : 629e6d74e2e6cf4255e7875a8a1eb044241eec23
2012-12-20 01:16:45 -05:00
Jeff Muizelaar
99b4d14555 Bug 823148. Make IsPatternSupportedByD2D match its name. r=bgirard
The name of this function got inverted but its implementation stayed the same.
2012-12-19 23:19:45 -05:00
Yazen Ghannam
330dcb43aa Bug 795378 - Clean up the high-quality scaler - Merge upstream changes to image_operations.cpp. r=joe 2012-12-18 16:25:07 -05:00
Rik Cabanier
e415179e91 Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel 2012-12-12 21:28:17 +01:00
Rik Cabanier
def515871e Bug 809927: Add new blend modes and implement them for Direct2D. r=bas 2012-12-12 21:28:17 +01:00
Steve Singer
d7d49d78c3 Bug 817356. the skia image resizers need to respect endian order when finding the alpha values. r=joedrew 2012-12-09 21:20:41 +01:00
Tobias Netzel
a8f635d832 Bug 818004 - New Blurring code isn't big endian compatible. r=joedrew 2012-12-04 21:00:39 -05:00
Bas Schouten
0c1dad40d2 Bug 789933: Support non-D2D targets for getting a Path off ScaledFontDWrite. r=nrc 2012-12-05 01:11:02 +01:00
Nicholas Cameron
413fea71f6 Bug 814828. DEST_OUT has no affect outside the source; r=bas
--HG--
extra : rebase_source : 098f3e3e64ba5504530264016d7fa9425c065f99
2012-12-05 13:02:52 +13:00
Joe Drew
e55d6da2f5 Bug 813090 - Fix license block on imported Chromium code. r=gerv 2012-12-03 18:04:22 -05:00
Mats Palmgren
ae5054469e Bug 815489 - Don't let Blur() swap mData since the buffer is also used by the image surface. r=roc 2012-11-28 19:55:36 +01:00
Brian R. Bondy
6247c94cd0 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
George Wright
05131526b2 Bug 751418 - Move common functions from DrawTargetSkia to HelpersSkia r=mattwoodrow 2012-10-16 17:16:45 -04:00
Bas Schouten
b084ef8c84 Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame 2012-11-23 02:53:12 +01:00
Yury
c1d893e99b Bug 812039 - mozIsPointInPath leaks CGPath objects. r=jmuizelaar 2012-11-15 20:34:57 -05:00
Jeff Muizelaar
8c9b653c40 Bug 811919. Include the pattern transform when painting patterns in DrawTargetCG. r=benwa
This fixes a lot of azure content bugs.

--HG--
extra : rebase_source : be84084aa7753862920ddd7b04fbfb0bd0b54ded
2012-11-14 16:52:02 -08:00
Bas Schouten
bdac5bc9bf Bug 811850: Fix gfx 2d recording to be 64-bit neutral. r=jrmuizel 2012-11-14 20:55:02 +00:00
Nathan Froyd
a9bf69763f Bug 809967 - include ostream instead of iostream in PathRecording.h to avoid static initializers; r=Bas 2012-11-08 14:22:16 -05:00
Bas Schouten
69f705ff64 Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Ed Morley
0d699ad09b Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes 2012-11-07 10:47:27 +00:00
Bas Schouten
cbb586e21a Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Tobias Schneider
4e7558b2c4 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Tobias Schneider
ffb42aab23 Bug 806780 - PathSkia::ContainsPoint should use SkPath::contains(x, y). r=jmuizelaar 2012-10-30 10:19:16 +01:00
Nicholas Cameron
fc47915e6f Bug 801465; DataSourceSurfaceD2D; r=Bas 2012-10-31 12:30:25 +13:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Daniel Holbert
9824fbf2fb Bug 795655: Mark "StringFromPtr()" in RecordedEvent.h as inline, not static, so that it doesn't trigger build warnings in cpp files that don't use it. r=bas 2012-10-29 16:15:31 -07:00
Bas Schouten
b48e5c0b2c Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Phil Ringnalda
95b4fda2c5 Back out fbd8fdb7c544 (bug 805831) for build failures 2012-10-26 21:53:41 -07:00
Bas Schouten
0169a197cf Bug 805831: Add a cache for border corner gradients. r=joedrew 2012-10-27 06:32:52 +02:00
Matt Joras
aae7d1c44d Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar 2012-10-25 16:12:59 -04:00
Markus Stange
fda164eb61 Bug 770524 - Fix FuzzyEqual to not return false for equal floats which are smaller than -2048.0f. r=roc 2012-10-25 12:54:15 +02:00
Anthony Jones
154f3090d2 Bug 796418 - Check cairo matrix before drawing. r=joe 2012-10-24 22:03:21 -04:00
Jonathan Kew
6fc36fa6e9 bug 715798 pt 3 - support Color Emoji font in the gfx/2d quartz backend. r=jrmuizel 2012-10-23 10:07:14 +01:00
Joe Drew
7f41dae0d8 Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280
--HG--
extra : rebase_source : c26a57f060f172e9b7864eef69fa782064b4fae5
2012-10-10 11:35:23 -04:00
Steven Michaud
90b6155078 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Benoit Jacob
96865bc6d7 back out 621cfd13ceaf for build failures 2012-10-15 13:34:42 -04:00
Matt Joras
243e78c48b Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar 2012-10-15 13:02:21 -04:00
Anthony Jones
f118b7b673 Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe 2012-10-10 06:32:36 -04:00
Jacek Caban
a32fd6eb31 Bug 795839 - Include iostream in PathRecording.h r=bas
--HG--
extra : rebase_source : 3774e2bdd21b05b009301269e8241acac8468003
2012-10-09 11:44:11 +02:00
Bas Schouten
fd952228e5 Bug 798931: Push clip layers to the correct render targets. r=roc 2012-10-08 12:17:17 +02:00
Oleg Romashin
59ede95756 Bug 796927 - Gfx Build fix, missing cstring include for memcpy. r=joe 2012-10-06 13:59:01 -07:00
Joe Drew
ce20fab01f Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar 2012-10-06 21:53:23 -04:00
Bas Schouten
a579561534 Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel 2012-10-07 01:43:16 +02:00
Ehsan Akhgari
1ea624276c Bug 797612 - Remove PathCG::mFigureActive; r=jrmuizel
--HG--
extra : rebase_source : 4ce5161c5ffee297ab55ad7a980dbb74f0051ded
2012-10-03 19:43:03 -04:00
Ehsan Akhgari
f4a81fd8e3 Bug 797219 - Make OutputMessage in gfx/2d/Logging.h static inline; r=joe 2012-10-03 13:43:37 -04:00
Robert O'Callahan
68858f505c Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas 2012-10-04 00:30:56 +13:00
Nicholas Cameron
40a6ce145d Bug 753237 - Implement DrawTargetCairo::Mask(). r=joe 2012-10-02 20:14:38 -04:00
Steven Michaud
144130a844 Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Anthony Jones
999966f54c Bug 795135 - Fix CairoTempMatrix restore. r=joe 2012-10-01 22:12:13 -04:00
Joe Drew
b4317922d2 Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel 2012-08-23 15:36:04 -04:00
Ms2ger
b83586e559 Bug 795862 - Back out bug 486918 for build bustage in unreviewed code. 2012-10-01 14:16:03 +02:00
Joe Drew
7591cc0d11 Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel 2012-08-23 15:36:04 -04:00
Doug Sherk
4b01b719b1 Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc 2012-09-28 22:16:34 -04:00
Ed Morley
6028447903 Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE 2012-09-28 23:00:28 +01:00
Andrew Quartey
1417d2b2c4 Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas 2012-09-28 13:21:40 -04:00
Joe Drew
acb4cdbf5c Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel
--HG--
extra : rebase_source : afcbe4f2b8fac985d836b038fb42156d27dc1c29
2012-08-23 15:36:04 -04:00
Chris Jones
91cee1c412 Remove this .rej that didn't merge properly. No bug.
--HG--
extra : rebase_source : de991a63653dba7575448676cb855b29fb3d66c4
2012-09-25 23:44:39 -07:00
Bas Schouten
e5fce0382d Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
b50b058b3f Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
503ba3b845 Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
43ba37b366 Bug 792207 - Part 2: Add method to store and create from TrueType data. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
5161d422fa Bug 722269: Make DrawTargetD2D::DrawSurface deal with any SourceSurface convertible to a DataSourceSurface. r=joedrew 2012-09-20 21:24:12 +00:00
Robert O'Callahan
f50d5831fa Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas 2012-09-08 00:32:21 +12:00
Robert O'Callahan
d70cc1420e Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas 2012-09-12 17:24:09 +12:00
Robert O'Callahan
f8eaf0bc83 Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas 2012-09-05 12:15:52 +12:00
Bas Schouten
c137062286 Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel 2012-09-18 23:04:42 +00:00
George Wright
9bc2502f8a Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc 2012-09-18 15:41:37 -04:00
George Wright
d85ea2a425 Bug 777614 - Use Skia's Conical gradient shader instead of Radial to be in line with the canvas spec. r=nrc 2012-09-18 15:41:37 -04:00
Daniel Holbert
d45280b718 Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones 2012-09-17 15:41:24 -07:00
Jeff Muizelaar
9d45f08968 Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Bas Schouten
6882d89bf4 Bug 790222: Fix azure stand-alone build. r=BenWa 2012-09-11 13:51:39 +00:00
Andrew Quartey
0711be59da Bug 788398 - Remove unused variable 'rule' in CairoPathContext::DuplicateContextAndPath r=bjacob 2012-09-06 20:16:30 -04:00
Nicholas Cameron
4e0c1c1461 Bug 722217; keep only a single snapshot. r=jrmuizel 2012-09-06 16:07:53 +12:00
Benoit Girard
6667c8fbd7 Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud 2012-09-05 17:31:30 -04:00
Anthony Jones
068a22f36a Bug 788087 - Apply matrices to Azure/Cairo patterns. r=joe 2012-09-04 21:01:57 -04:00
Anthony Jones
223dd80132 Bug 784573 - Fix problems converting cairo paths between user space and device space. r=joe 2012-09-03 17:48:04 -04:00
Anthony Jones
a362c2be73 Bug 784573 - Create a RAII helper for temporary cairo matrices. r=joe 2012-09-03 17:47:09 -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
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
15b4ca998d Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe 2012-09-02 19:07:05 -04:00
Anthony Jones
b25ba9999a Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes. r=jrmuizel 2012-09-02 19:07:05 -04:00
Ryan VanderMeulen
b69a930716 Bug 781380 - Follow-up fix for a change that was lost in the original landing. r=ajones 2012-08-28 20:55:20 -04:00
Ms2ger
a77fd1cc47 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
0ef99da2cc Bug 781731 - Fixed failed assertion in reftest1; r=doublec 2012-08-27 22:01:47 +12: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
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
eaaba9b733 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02:00
Anthony Jones
fe21dfe47b Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes; r=jrmuizel 2012-08-27 11:31:56 +02:00
Anthony Jones
590ba32d85 Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc 2012-08-23 19:50:59 -04:00
Anthony Jones
f43050747b Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc 2012-08-23 19:50:59 -04:00
Nicholas Cameron
d65d21e855 Bug 784260; DrawTargetD2D should deal with Cairo surfaces in CreateBrush... . r=Bas
--HG--
extra : rebase_source : 6f6226c1b22b6e863499a40268cb44afab799381
2012-08-23 08:56:03 +12:00
Mats Palmgren
31a3faf00c Bug 783041 - Minor cleanup: remove local 'shadowIntRect' and use 'mRect' instead since it has the same value, and use Intersect instead of IntersectRect since we're not using its return value. part 2, r=roc 2012-08-16 16:13:29 +02:00
Mats Palmgren
25d5704336 Bug 783041 - Check IsEmpty() after rounding. part 1, r=roc 2012-08-16 16:13:29 +02:00
Joe Drew
f034089eec Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
db420cfa05 Bug 782416 - Make gfx::2d's nullptr definition actually work. r=nrc
--HG--
extra : rebase_source : da098e5e6d04aa1dce2ffefd4ccd0ad6ffb376b8
2012-08-15 15:24:44 -04:00
Joe Drew
0a6f454a9d Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
bd561fcfea Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Aryeh Gregor
a88ffe5c80 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Nicholas Cameron
f31d62bd16 Bug 781943. nullptr macro. r=joe 2012-08-14 09:06:59 +12:00
Robert O'Callahan
9423f16f15 Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
--HG--
extra : rebase_source : 72a21554ec37818e1b5ba4c36d03e4f81010c6a1
2012-08-10 23:18:36 +12:00
Ed Morley
7e6bb0b90b Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
2f22338375 Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
--HG--
extra : rebase_source : 51734958e7100ee4a5fc96d973905834d69345f0
2012-08-10 23:18:36 +12:00
Nicholas Cameron
e611666225 Bug 781056; remove extraneous save/restores from DrawTargetCairo. r=bas
--HG--
extra : rebase_source : d3c9d94d3263c50bc0d4bae42b6d58f3f5b07a0b
2012-08-10 06:45:03 +12:00
Nicholas Cameron
3a0930992b Bug 779401; Teach HelpersCairo.h about 565 image formats. r=bas
--HG--
extra : rebase_source : eef05ab0fa1a8094104f272786ba7a3714c27dd5
2012-08-09 08:17:04 +12:00
Nicholas Cameron
ebac508850 Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
Sergey Glushchenko
a2ebf3852f Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Matt Woodrow
3276a711dc Bug 778036 - Add Has function to gfx::UserData and use it in Layers to correctly check for existance of user data. r=roc 2012-08-03 17:38:44 -07:00
Andrew McCreight
0ae46980c5 Bug 724666 - Remove debugging printfs. r=bgirard 2012-08-01 08:51:31 -07:00
Jeff Muizelaar
0d2a16823e Bug 778307. Don't shadow mFormat in DrawTargetCG. r=bgirard
This was causing problems with Azure content.
2012-07-31 12:28:03 -07:00
Benoit Girard
1f69b9e7d3 Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar 2012-07-31 11:17:43 -04:00
Benoit Girard
f7f7db01d2 Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Bas Schouten
6f1c5a20d8 Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Benjamin Peterson
f6cc8b9124 Backout 46b27e913ac9 for windows failures 2012-07-27 21:46:51 -07:00
Bas Schouten
51e730d67d Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel 2012-07-28 02:33:08 +02:00
Oleg Romashin
4445fe5a1f Bug 778195 - Add string.h to cover memcpy include and fix build error. r=nrc 2012-07-27 17:51:53 -04:00
Nicolas Silva
98c9dc075e Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel 2012-07-26 14:06:23 -04:00
Nicholas Cameron
9c67b116d5 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Nicholas Cameron
0bd7471f44 Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron
d450574f99 Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. 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
Anthony Jones
addbceb368 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
48dc33d1b4 Bug 764125; Fix canvas 2d.drawImage.5arg and 2d.drawImage.9arg surface scaling tests. r=karl 2012-07-24 22:18:38 +12:00
Nicholas Cameron
afe4b54728 Bug 764125; Fix a bug where a path with a transform is re-used. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
a75142fe47 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
b657d63db8 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
a09794d38c Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
f7b6bad081 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
0d5423973a Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +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
3843356847 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Nicholas Cameron
ca6e9953e8 Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc 2012-07-24 22:18:40 +12:00
Nicholas Cameron
671b436d44 Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
6f143d9ff2 Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Anthony Jones
0de5f9da76 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
b789e5aab5 Bug 764125; Fix canvas 2d.drawImage.5arg and 2d.drawImage.9arg surface scaling tests. r=karl 2012-07-24 22:18:38 +12:00
Nicholas Cameron
fe5b3b94b5 Bug 764125; Fix a bug where a path with a transform is re-used. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
078a3b4954 Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel 2012-07-24 22:18:38 +12:00
Nicholas Cameron
2d3a6b04e7 Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
1292400ee5 Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
30018721c2 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
f88cc44619 Bug 764125; implement DrawTargetCairo::CopySurface; r=Bas 2012-07-24 22:18:37 +12:00
George Wright
fc3ad7def1 Bug 774728 - Do a null pointer check before using any gradient shaders in DrawTargetSkia r=mattwoodrow
--HG--
extra : rebase_source : 7db2d28692a3cd9cccbd542ca752950f5df90511
2012-07-25 20:11:17 -04:00
Matt Woodrow
9cd0f7f2c4 Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
12dbf688b4 Bug 741682 - Add ScaleToInsidePixels and ScaleToNearestPixels to nsRegion. r=roc 2012-07-23 15:00:36 +12:00
Bas Schouten
c6748c7b62 Bug 772726. Part 4: Fix SampleTextTexturesPS(Masked) shaders to premultiply TextColor. r=jrmuizel
--HG--
extra : rebase_source : 76781e7f69db6d47b3ecf8d8c37bac284133c6be
2012-07-18 01:02:08 -04:00
Matt Woodrow
b095ec8407 Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-07-17 13:03:50 -04:00
Bas Schouten
b53f135b8d Bug 770033 - Part 3: Deal with extend modes for D2D partial bitmap uploads. r=jrmuizel 2012-07-04 20:23:16 +02:00
Bas Schouten
d9db166712 Bug 770033 - Part 2: Add order test for horizontal halfscaling code. r=jrmuizel 2012-07-04 20:21:27 +02:00
Bas Schouten
fa540edf39 Bug 770033 - Part 1: Fix shuffling bug in horizontal halfscaling code. r=jrmuizel 2012-07-04 20:21:12 +02:00
Ehsan Akhgari
78b833f61a Backout changeset 89f35d1fea6c (bug 539356) because of performance and correctness regressions 2012-07-03 20:32:33 -04:00
Matt Woodrow
f03cf41652 Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-30 15:06:09 +12:00
Bas Schouten
459b745b39 Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel 2012-06-26 02:59:18 +02:00
Jeff Muizelaar
1d94e6d617 Bug 764594. Remove some unneeded calls in the Azure CG backend. r=bgirard
Some old code that was copy-n-pasted but never used.
2012-06-12 21:15:32 -07:00
Bas Schouten
8bff902af4 Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten
a76e2ac169 Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten
fecc69df4f Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Nicholas Cameron
85b23ac129 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280 2012-04-26 10:04:35 +12:00
Jeff Muizelaar
7c8858f874 Bug 763120. Avoid using vm_copy when snapshoting. r=bgirard
CGBitmapContextCreateImage uses vm_copy which ends up being
slower than memcpy if we actually need to make a copy. Further,
since it does the copy by pagefaulting, it's shows up poorly
on profiles. Since, we already manually track modification we
don't really have need for the copy-on-write semantics. This
change ensures that we'll only use memcpy when we need to make
a copy.

--HG--
extra : rebase_source : 93afb1423605a13cb4c76a6c389e1989aa814ae0
2012-06-11 16:21:55 -07:00
Bas Schouten
bd1db785b0 Bug 758980: Assume DirectWrite is buggy when it returns empty alpha texture bounds. r=jrmuizel 2012-06-13 10:42:23 +02:00
Matt Brubeck
ef84814399 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
Nicholas Cameron
d0f8ee78e2 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
--HG--
extra : rebase_source : 89b3501dad46f0c1284107afe906869548623992
2012-04-26 10:04:35 +12:00
Ed Morley
865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Matt Woodrow
a6bda38b6d Bug 539356 - Part 1 - Allow LayerManagers to have multiple user data objects. r=roc 2012-06-11 16:44:08 +12:00
George Wright
6d009115f5 Bug 761201 - Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src. r=jrmuizel 2012-05-31 14:56:33 -04:00
Jacek Caban
61502911db Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Bas Schouten
3c414de019 Bug 736460: Deal with gradient stops in a single position. r=jrmuizel 2012-06-02 00:00:28 +02:00
Ed Morley
2fba49082b Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
852c055d05 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Takanori MATSUURA
92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Nicholas Cameron
0fdb7cc441 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Jacek Caban
5fba56d080 Bug 756430 - Missing return statement in DrawTargetD2D::FillGlyphsManual r=bas
--HG--
rename : toolkit/content/tests/widgets/test_menubar_gtk.xul => toolkit/content/tests/widgets/test_menubar.xul
rename : toolkit/content/tests/widgets/window_menubar_gtk.xul => toolkit/content/tests/widgets/window_menubar.xul
extra : rebase_source : 1f231cb0a881091853319a9e311405182a4e07f1
2012-05-21 11:03:06 +02:00
Bas Schouten
3598ccf8df Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
f879fdc01a Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
c834de34a7 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
507a051e3c Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Ed Morley
465e967ce9 Backout a693c64dc64e (bug 715768), c520957cc03f & 713ed280a80d (bug 756767), 20cb25a8b8ba (bug 756454), f3b5ad2320cb (bug 756424) for crashes 2012-05-21 18:56:46 +01:00
Bas Schouten
f1b03b036e Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
2fc6aacde8 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
5cc042b785 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jeff Muizelaar
e845b8fe0a Bug 752341. Avoid using CGContextSetTextMatrix. r=bgirard
CGContextSetTextMatrix has behaviour that depends on the text
drawing mode. We want consistency so avoid CGContextSetTextMatrix.

--HG--
extra : rebase_source : c6e46252823586d947ec1dd19db7df980dee23f8
2012-05-21 10:22:11 -04:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
40d655dcb0 Merge m-c to inbound. 2012-05-17 23:23:57 -04:00
Makoto Kato
83760304ae Bug 756010 - Don't build ImageScalingSSE2.cpp on VC2005 due to no _mm_castsi128_ps. r=bas 2012-05-18 11:17:26 +09:00
Nicholas Cameron
d5b31c146f Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe 2012-05-17 17:54:22 -04:00
Bas Schouten
bbec405ae1 Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated 2012-05-17 02:33:01 +02:00
Makoto Kato
c38b44d1f1 Bug 753772 - [VC8 (SeaMonkey)] gfx/2d/Factory.cpp compilation fails since bug 732985 landed. r=bas 2012-05-16 17:40:51 +09:00
Bas Schouten
9b889709df Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel 2012-05-16 03:34:18 +02:00
Benoit Jacob
6de3cc03da 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
Bas Schouten
b887580d55 Bug 717393 - Part 4: Add code for drawing subpixel AA to transparent surfaces. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
7e1917058d Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
e0fdc6a682 Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
6c4644bcee Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
2c2138849b Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel 2012-05-15 16:57:51 +02:00
Honza Bambas
72e094469b Bug 753790 - define hypotf as _hypotf in gfx/2d/Tools.h when building with MSCV9 or older+include emmintrin.h in ImageScalingSSE2.cpp, r=bas 2012-05-15 16:44:25 +02:00
David Zbarsky
8121e6b90e Bug 754138 - Prevent Rect.h warning spam. r=roc 2012-05-14 19:01:05 -04:00
Ed Morley
0f956d7307 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469 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
Robert O'Callahan
ef89c4130b Bug 681192. Part 0.1: Add BaseRect::ClampPoint. r=bas
--HG--
extra : rebase_source : 32e086725d450d8867a4b5978cd76a2f03609572
2012-05-10 17:24:17 +12:00
Bas Schouten
da83778850 Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel 2012-05-10 06:31:14 +02:00
Bas Schouten
22c32efb31 Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel 2012-05-10 06:31:14 +02:00
Nicholas Cameron
a884abb611 Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe 2012-04-26 10:04:36 +12:00
Bas Schouten
5b789a608c Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89). 2012-05-08 04:58:37 +02:00
Bas Schouten
464271c16d Bug 732985 - Followup 2: Only compile HasCPUIDBit when using SSE2. r=bustage 2012-05-08 04:52:06 +02:00
Bas Schouten
513000df6a Bug 732985 - Followup: Fix include order in gfx/2d Makefile. r=bustage 2012-05-08 04:40:13 +02:00
Bas Schouten
9b3bbc93e2 Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel 2012-05-08 04:31:30 +02:00
Bas Schouten
1cf17247e1 Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel 2012-05-08 04:31:30 +02:00
Bas Schouten
bc2f084e3e Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc 2012-05-03 23:41:37 +02:00
Bas Schouten
6d00e6392f Bug 738413 - Part 1: Add OpaqueRect API to Azure DrawTargets. r=roc 2012-05-03 23:31:02 +02:00
Bas Schouten
0f0ca8f00f Bug 751463: Remove Azure from XUL. r=khuey 2012-05-03 21:21:52 +02:00
Jeff Muizelaar
a99a32ae57 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
Bas Schouten
d8db1df3b8 Bug 745054 - Part 2: Allow factory construction of Skia drawtargets on all platforms. r=mattwoodrow 2012-04-13 04:10:22 +02:00
Bas Schouten
0b0df4c4ce Bug 745054 - Part 1: Fix Skia compilation on windows. r=mattwoodrow 2012-04-13 04:10:22 +02:00
Bas Schouten
57a990453d Bug 742566: Add stand-alone unit test framework to Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
d01f80086f Bug 719776 - Part 5: Fix MSVC build files for Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
6acf8b6968 Bug 719776 - Part 4: Do not depend upon mozalloc inside Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
0dab5dbad2 Bug 719776 - Part 3: Only include ScaledFontWin when using Skia. r=jrmuizel 2012-04-12 02:03:07 +02:00
Matt Woodrow
026484c01a Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Ehsan Akhgari
dc62ac1760 Backed out changeset 690cba3bb817 (bug 719776) because of build failures 2012-04-03 17:49:59 -04:00
Matt Woodrow
4fbdb5afa4 Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Bas Schouten
858515dc1f Bug 740815 - Part 1: Add DrawTargetDual to Azure for Component Alpha drawing. r=jrmuizel 2012-04-03 22:25:52 +02:00
Matt Woodrow
7e20c213c5 Bug 740560 - [Azure] Add Factory::CreateDrawTargetForData. r=Bas,gw280 2012-04-02 15:15:08 -04:00
Joe Drew
55e22fdd09 Bug 739969 - Port patch from bug 633627 to use fixed point division instead of integer. r=jmuizelaar 2012-04-01 15:16:33 -04:00
George Wright
ffbd0273bd Bug 740963 - [Skia] Handle non-multiple-of-two dash lengths in HelpersSkia::StrokeOptionsToPaint(). r=jrmuizel 2012-03-30 17:36:34 -04:00
Bas Schouten
5ce9db7075 Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel 2012-03-29 20:53:44 +02:00
Jeff Muizelaar
74eeecb92a Bug 738919. Accept dash arrays of length > 0. r=mwoodrow
I copied a bug from the skia code here. This fixes the CG
version and puts a note into the skia code.
2012-03-26 22:50:08 -04:00
Bas Schouten
3f984e9d0e Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel 2012-03-19 19:20:17 +00:00
Bas Schouten
e6e7fdf6c9 Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel 2012-03-15 20:26:10 +00:00
Jonathan Watt
c95a36849d Bug 729562 - Make the SVG paint methods take an nsRenderingContext, and kill nsSVGRenderState. r=Bas. 2012-03-02 08:28:59 +00:00
Justin Lebar
69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Jeff Muizelaar
ba00f463ee Bug 731117. Bound the size of CG surfaces to match cairo. r=bas
This fixes crashes that can happen when we try to create
an image surface from a quartz surface larger than the maximum
size supported by image surfaces.

--HG--
extra : rebase_source : 6ef9c66a91068f75ddef90a3453a7360dd91fa78
2012-02-29 21:30:11 -05:00
Jeff Muizelaar
3f0b3ef8d7 Bug 729850. CG: Get the point order correct when transforming a path. r=mwoodrow 2012-02-25 00:35:41 -05:00
Jeff Muizelaar
64aa64da5f Bug 728028. CG: Avoid double transforming filled gradients. r=mwoodrow
When we fixed transformed clips it caused us to double transform gradients. We
fix this by avoiding ::PushClip when drawing gradients. This has the advantage
of saving a save and restore pair and it makes Fill() more closely match
Stroke()
2012-02-25 00:35:39 -05:00
Jeff Muizelaar
e0272b3ff7 Bug 729145. Don't ignore curves when we don't have a current point. r=mwoodrow
This was a copy & paste typo and is caught by
http://philip.html5.org/tests/canvas/suite/tests/2d.path.quadraticCurveTo.ensuresubpath.2.html
which is not in our test suite.

--HG--
extra : rebase_source : dc77d4bfa4da0d79e97da1e10e72bbd77223e8fa
2012-02-22 17:06:02 -05:00
Bas Schouten
ceb0b93557 Bug 726951: Correctly use height to normalize mask v-texture coordinate. r=jrmuizel 2012-02-16 04:08:08 +01:00
Jeff Muizelaar
5bc15e217c Bug 726764. Avoid leaking CGPaths when getting text paths. r=joe 2012-02-14 17:59:11 -05:00
George Wright
d8d5b9654f Bug 723110. Refactor font code to lay the groundwork for having a ScaledFontFreetype class. r=jrmuizel 2012-02-13 14:58:01 -05:00
Nathan Froyd
4661f1371c Bug 724275 - fix -Wswitch warnings; r=jrmuizel 2012-02-04 07:22:47 -05:00
Rafael Ávila de Espíndola
9c9009d7bf Bug 723122 - fix clang build. r=jmuizelaar. 2012-02-02 10:02:06 +01:00
Ed Morley
56c92d9d94 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-01-31 10:52:29 +00:00
Jeff Muizelaar
b17cef0f85 Bug 720482. Make CG snapshots work more like the other backends. r=joe,mattwoodrow,bas
This has big improvement in the performance of GetImageData() because
we make the snapshot lazily instead of using the vm_copy() method
of CGBitmapContextCreateImage()
2012-01-31 01:46:54 -05:00
Bas Schouten
3969125446 Bug 718730: Allow creating a bitmap from just an A8 texture. r=jrmuizel 2012-01-31 06:15:23 +01:00
Bas Schouten
614c2ee69d Bug 719136: Don't attempt to upload when there's nothing to upload. r=jrmuizel 2012-01-31 06:15:23 +01:00
Marco Castelluccio
db0b22097c Bug 702158 - [Skia] Get Skia backend working on Linux, part 2 2012-01-31 10:24:27 +09:00
Jeff Muizelaar
52ec6df53b Bug 722444. Initialize mData for 0 sized surfaces. r=bgirard
This avoids an invalid free() during destruction found with the
online canvas test suite.

--HG--
extra : rebase_source : e1aeff36e557b045fbaff38d7b46fdf91956ae49
2012-01-30 11:17:42 -05:00
Benoit Girard
203dc9e4c5 Bug 722164 - Set Azure Quartz Canvas image interpolation to low for better performance. r=jmuizelaar 2012-01-29 17:08:58 -05:00
George Wright
d95f49e214 Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Joe Drew
cb96f38c4a Bug 719631 - Support creating offscreen DrawTargets for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 6103e88ec0de91c16aa36829db1e8c988920bcfe
2012-01-27 13:09:20 -05:00
Joe Drew
b124e5c693 Bug 719627 - Merge the functionality of ScaledFontCairo into ScaledFontBase, as is its purpose. r=jrmuizel
--HG--
extra : rebase_source : df21f1a6e702de1e0a7f52a8a75203078c8be423
2012-01-27 13:08:46 -05:00
Jeff Muizelaar
d10366daf2 Bug 720721. Properly transform the clip path in DrawTargetCG. r=mwoodrow
This is a little tricky because we can't put a save/restore pair
around the operation because then we'll loose the clip.
2012-01-24 15:14:50 -05:00
Jeff Muizelaar
6fd6cdc9c1 Bug 719429. Fix canvas data leak in DrawTargetCG. r=ajuma
I forgot to fix this before landing and refound it using
http://s3.zazub.com/games/circle_game/index.html
2012-01-19 10:33:35 -05:00
Matt Woodrow
f6056a6e18 Bug 716415 - Enable soft clipping with Skia in Azure. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
55fe2b1be1 Bug 716415 - Update Azure for Skia API changes. r=gwright 2012-01-19 17:48:35 +13:00
Matt Woodrow
d1919de730 Bug 716802 - Implement new 2D API functions. r=gwright 2012-01-19 17:48:33 +13:00
Jeff Muizelaar
cb7f95173b Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
3036b1473f Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow 2012-01-09 13:54:44 -05:00
Matt Brubeck
4b1bdf5b96 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Jeff Muizelaar
1381616ab4 Bug 717921. Add UserData to DrawTarget. r=bas
* * *
Bug 717921. Fix bustage about moz_xrealloc.

--HG--
extra : rebase_source : 62d38e561d1e64c725587b1de4d1ae609b828557
2012-01-13 09:47:58 -05:00
Jeff Muizelaar
0ac4c9201a Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Joe Drew
0cb071a623 Bug 473236 - Remove executable bits from ScaledFontSkia.*. r=jrmuizel DONTBUILD 2012-01-16 16:29:42 -05:00
Joe Drew
8b86d40164 Bug 715513 - Implement text in the new 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : 75350d02ec31e60c356b1d9f05bf14b2b2dee9f4
2012-01-10 13:26:59 -05:00
Joe Drew
c4651e1eae Bug 715652 - Jeff's review requested changes which were easier to implement on top of path support. r=jrmuizel
--HG--
extra : rebase_source : 1918afdd0ea2629169dff36353fdf01d66377e26
2012-01-09 17:19:11 -05:00
Joe Drew
9371772113 Bug 707848 - Implement paths in the 2D API's Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : a127cd96d48077c02f32d64b89984995c02fc38b
2012-01-09 17:15:10 -05:00
Joe Drew
188a24ed30 Bug 715652 - Implement significantly more of the 2D API for the Cairo backend. r=jrmuizel
--HG--
extra : rebase_source : b23314691fef65db2518d3e738a66039e3c18909
2012-01-09 16:50:01 -05:00
Bas Schouten
c26856a098 Bug 711063 - Part 1.5: Add operator to gfx::Matrix for size transformation. r=jrmuizel 2012-01-05 08:17:51 +01:00
Joe Drew
4eba5b7917 Bug 715243 - Add the ability to use gfx logging on Matrix. r=Bas 2012-01-04 18:02:59 -05:00
Joe Drew
096b73608a Bug 705204 - Add mozilla::gfx::Matrix::operator!= and operator==. r=Bas 2012-01-04 18:02:59 -05:00