Andreas Gal
78d8372907
Bug 929299 - Fix DrawTargetSkia to not copy and render in place. r=gwright
2013-10-31 22:48:46 -04:00
Daniel Holbert
dd14cc9ed2
Bug 839269: Mark gfx/2d as FAIL_ON_WARNINGS. r=jmuizelaar
2013-10-31 19:39:03 -07:00
Jonathan Watt
1db558618b
Bug 931769, part 2 - Add IsSingular and operator*= methods to Matrix. r=Bas
2013-10-29 08:14:40 +00:00
Robert O'Callahan
2a8665e0e6
Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
...
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
80c623bb6a
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
George Wright
e4943a763f
Bug 920160 - Add prefs for SkiaGL cache size r=snorp
...
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Matt Woodrow
e547261144
Bug 928727 - Don't clear before drawing with OPERATOR_SOURCE in DrawTargetCairo, since we know all required pixels will be clear already. r=jrmuizel
2013-10-22 12:11:30 +02:00
Matt Woodrow
0e6944fdce
Bug 928727 - Share code for getting the user-space clip bounds in DrawTargetCairo. r=jrmuizel
2013-10-22 12:11:30 +02:00
Benoit Girard
fccf27d2ae
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Benoit Girard
2adb9b73bb
Bug 928123 - Avoid PushGroup during simple FillRect. r=Bas
...
--HG--
extra : rebase_source : f1beea7a8281ed78ab6eb22373913b0484a5430e
2013-10-17 19:08:20 -04:00
Ryan VanderMeulen
a8368b8b5c
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
1aa99b3bef
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Matt Woodrow
105a6104cc
Bug 922942 - Update BufferTextureClients using Azure. r=nical
2013-10-16 14:00:30 +13:00
Matt Woodrow
76ab45c95f
Bug 926258 - Implement a Moz2D version of gfxPath. r=Bas
2013-10-15 16:23:21 +13:00
Matt Woodrow
6eab2feff6
Bug 740598 - Add optimized version of CopyRect for the cairo backend. r=Bas
2013-10-15 14:55:16 +13:00
Matt Woodrow
c19f0da01b
Bug 740598 - Add CopyRect API to Moz2D. r=Bas
2013-10-15 14:55:15 +13:00
Daniel Holbert
bc00304ab8
Bug 924749: Make loop variable signed-ness match the type they're compared against, to fix signed/unsigned warnings in PathCairo.cpp. r=Bas
2013-10-11 08:55:03 -07:00
Markus Stange
991115729d
Bug 902591 - Choose the number of linear gradient repetitions in such a way that the whole extents rect is filled. Substantial parts of the code in this patch were written by roc in bug 508730. r=mattwoodrow
...
--HG--
extra : rebase_source : d7f99adc56ef4d81e14bf3ece6761dd8d5c476ed
2013-10-11 10:26:40 -04:00
Daniel Holbert
a6777e75a5
Bug 925140: Remove nsAlgorithm.h #includes from gfx/2d. r=tn
2013-10-10 15:18:42 -07:00
Matt Woodrow
e7fe35ece1
Bug 923309 - Don't flush CGContext drawing to the window when we're only meant to be completing any pending drawing. r=Bas
2013-10-10 17:44:09 +13:00
Daniel Holbert
f837a8ecf8
Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers.
2013-10-09 17:03:35 -07:00
Josh Aas
02bf9533bf
Bug 924444: Fix various integer comparison warnings in QuartzSupport.mm. r=mstange
2013-10-09 00:42:26 -05:00
George Wright
10193a209f
Bug 915145 - Always use soft clipping with Skia r=snorp
2013-10-08 15:05:57 -04:00
Josh Aas
add72abd0c
Bug 923945: Fix a memory leak when fetching OS X system color space. Also move system color space retrieval code from deprecated Color Manager APIs to Core Graphics. r=mstange
2013-10-07 16:03:19 -05:00
Ms2ger
df62fb8b0f
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Matt Woodrow
a2bd6fa53c
Bug 920571 - Followup to copy all the pixel on the last line. r=bustage
2013-09-30 17:14:30 +13:00
Matt Woodrow
e899730348
Bug 920571 - Don't read from the trailing stride on the last row of pixels when copying image data in SourceSurfaceCG. r=jrmuizel
2013-09-30 14:42:45 +13:00
Bas Schouten
d457c68e85
Bug 918613: Convert cairo path code to use cairo_path_t. r=jrmuizel
2013-09-28 16:20:24 +02:00
Markus Stange
77ee6d0e97
Bug 921132 - Make CopyDataToCairoSurface respect stride. r=ncameron
2013-09-27 17:21:09 +02:00
Markus Stange
c9a470f6fb
Bug 912945 - Use aligned data storage for DrawTargetCG. r=jrmuizel
2013-09-27 17:20:28 +02:00
Markus Stange
737fc61f80
Bug 912944 - Handle different surface formats in Azure CG source surfaces. r=jrmuizel
2013-09-27 17:19:33 +02:00
Markus Stange
6a76d73090
Bug 921501 - Call CGBitmapContextGetHeight when getting the height for Cairo Quartz surfaces. r=Bas
2013-09-27 17:18:05 +02:00
Anthony Jones
94c6803786
Bug 920847 - Remove gfxSize reference from Azure; r=kats
2013-09-27 14:24:46 +12:00
Anthony Jones
af656ab898
Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow
2013-09-23 15:28:16 +12:00
Steven Michaud
d576c0c300
Bug 884014 - Can't build QuartzSupport with 10.9 SDK. r=bgirard
2013-09-20 10:56:45 -05:00
Anthony Jones
9c86c23374
Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow
2013-09-20 14:00:35 +12:00
Rik Cabanier
8614b1d5ca
Bug 917943 - Fix color-burn and color-dodge blend modes for Direct2D. r=Bas
2013-09-19 14:48:30 -04:00
Phil Ringnalda
fbd6eb9d18
Backed out 10 changesets (bug 907926, bug 911393, bug 740200, bug 917703) for b2g build bustage
...
CLOSED TREE
Backed out changeset ae02054863f7 (bug 907926)
Backed out changeset 8fcdbbc2dac2 (bug 917703)
Backed out changeset aa253a1fd7e5 (bug 911393)
Backed out changeset ec63e6d6d874 (bug 907926)
Backed out changeset 0042a2722aab (bug 907926)
Backed out changeset dc8bddfca5f1 (bug 740200)
Backed out changeset 439ff7e64d35 (bug 740200)
Backed out changeset d871c0d61510 (bug 740200)
Backed out changeset 3b248c5a0dc2 (bug 740200)
Backed out changeset 3466e81d3a41 (bug 740200)
2013-09-18 23:08:41 -07:00
Anthony Jones
a26b4bab6d
Bug 740200 - BorrowedContext support for cairo; r=mattwoodrow
2013-09-19 16:29:51 +12:00
Ehsan Akhgari
8d2ac65709
Bug 915735 - Part 0: Stop pulling in all of jsapi.h into gkmedias.dll; rs=bjacob
2013-09-18 16:07:56 -04:00
David Zbarsky
9acc4166bf
[Bug 914955] Fix build warnings in Moz2D r=bas
2013-09-15 14:23:51 -04:00
Corey Ford
2c345af1a4
Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert
2013-09-11 16:27:14 -07:00
Nathan Froyd
3e57d05761
Bug 913640 - sprinkle MOZ_CONSTEXPR on gfx's typed units to reduce static constructors; r=kats
2013-09-13 12:34:20 -04:00
Corey Ford
1df58efcfc
Bug 897105 - Part 1: Add RectTyped::operator== to allow use in IPDL structs. r=roc
2013-09-11 21:09:43 -07:00
Matt Woodrow
42c3c9e699
Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas
2013-09-11 17:08:53 +12:00
Matt Woodrow
e2dab065a5
Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas
2013-09-11 17:08:52 +12:00
Vladan Djeric
61628c8947
Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions
2013-09-11 13:32:23 -04:00
Vladan Djeric
45a0a24f12
Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions
2013-09-11 13:31:24 -04:00
Kartikaya Gupta
abd5cb0f8b
Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa
2013-09-11 13:20:43 -04:00
Matt Woodrow
57c0fd4157
Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas
2013-09-11 17:08:53 +12:00
Matt Woodrow
795eeb8c27
Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas
2013-09-11 17:08:52 +12:00
Milan Sreckovic
9618b4a696
Bug 913614 - When the input is invalid, skip the work as we won't get anything useful anyway. r=jmuizelaar
2013-09-06 12:22:20 -07:00
David Zbarsky
cf0aa8a52a
Fix an include guard in gfx/2d, no bug, r=me
2013-09-05 16:50:52 -04:00
Jeff Muizelaar
94a064e04b
Bug 897007. Implement ScaledFontMac::GetFontFileData. r=bas
...
This implements GetFontFileData by reconstructing a truetype font from the
table data.
--HG--
extra : rebase_source : 02a7c5af079854cce02c1e9794a4da6f1fc8bce1
2013-07-24 16:23:57 -04:00
Brian Birtles
723987fcda
Bug 912305 - Fix documentation of RadialGradientPattern constructor; r=bas, DONTBUILD (comment-only)
2013-09-05 09:59:54 +09:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Kartikaya Gupta
e928b156af
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
James Willcox
c2779b4f41
Bug 850263 - Use reasonable SkiaGL cache size and share between instances r=mattwoodrow
...
--HG--
extra : rebase_source : 11a2e5ce90a693abdac91d5ca1308aaed3a29403
2013-08-28 10:08:10 -04:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Matt Woodrow
9fd4f7c1c4
Bug 909128 - Support snapshot source surfaces in DrawTargetCG's CopySurface. r=jrmuizel
2013-08-28 10:54:52 +12:00
Kartikaya Gupta
55c123d4d6
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Matt Woodrow
323cf741f0
Bug 907011 - Don't copy surface contents into the snapshot when destroying DrawTargetCairo. r=Bas
2013-08-23 16:54:03 +12:00
Matt Woodrow
cd8a7c72ac
Bug 907011 - Expose cairo objects from gfxContext when using Azure/cairo. r=Bas
2013-08-23 16:53:53 +12:00
Kartikaya Gupta
0089237c64
Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis
2013-08-22 12:41:51 -04:00
Nicholas Cameron
d027b19178
Bug 907901. Remove NS_lround from rect.h. r=Bas
2013-08-22 21:10:35 +12:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Nicholas Cameron
9b7d0b4cf3
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Matt Woodrow
e00658a518
Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas
2013-08-21 11:58:27 +12:00
Matt Woodrow
e9ede790d9
Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas
2013-08-21 11:57:57 +12:00
Matt Woodrow
6775b7dfee
Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas
2013-08-21 11:56:27 +12:00
Matt Woodrow
e790df95f3
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
68fc511900
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
8c1d293b1c
Merge m-c to inbound.
2013-08-16 21:58:51 -04:00
Botond Ballo
9296923f9b
Bug 895905 - Fixed a compiler error on GCC 4.7. r=Bas
2013-08-08 15:56:09 -04:00
Milan Sreckovic
4ba70803f0
Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel
2013-08-14 12:29:47 -04:00
Milan Sreckovic
c0b45ceae6
Bug 903526 - Add BaseRect::IsFinite() method. r=bas
2013-08-13 14:48:17 -04:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
f639add88a
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Jeff Muizelaar
ecae027e49
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
c53520d691
Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes
2013-08-08 14:58:00 -07:00
Jeff Muizelaar
949f85802a
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
25906e852f
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Wes Kocher
f304825fbc
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
0eff0999b8
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Matt Woodrow
82f9ee14d2
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
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Jeff Muizelaar
06379397bc
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
64789c29d2
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-30 05:00:53 +09:00
Nicolas Silva
4251e90afe
Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas
2013-07-17 16:07:44 +02:00
Joshua Cranmer
bb26e8f816
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Birunthan Mohanathas
fd20fbd749
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
f520fc2e89
Bug 886298 - Add a typed-units Margin. r=kats
2013-07-22 09:50:11 +01:00
Jeff Muizelaar
71a7916743
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
bda5f61652
Bug 896290. Support drawing with antialaising in DrawTargetCG. r=mattwoodrow
2013-07-19 08:18:18 -04:00
Jacek Caban
c7b2dbb23c
Bug 883004 - GCC bustage fix
2013-07-20 12:37:04 +02:00
Jeff Muizelaar
f4d062eadf
Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow
2013-07-16 11:27:12 -04:00
Jeff Muizelaar
c9db22097b
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
27bac0ed90
Backout df425bca5665 (bug 893977) for breaking the build on a CLOSED TREE
2013-07-18 21:16:20 -07:00
Wes Kocher
dfff5aa2ec
Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE
2013-07-18 21:15:29 -07:00
Jeff Muizelaar
5a65f982f2
Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow
2013-07-16 11:27:12 -04:00
Jeff Muizelaar
1ea74c7e1a
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
019945aae0
Bug 895036 - Lower the SkiaGL texture cache size r=gwright
2013-07-09 16:12:49 -04:00
James Willcox
23ccf56611
Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow
2013-06-21 15:28:10 -04:00
Jeff Muizelaar
d50aca8d23
Bug 895078. Implement ScaledFontMac::CopyGlyphsToBuilder. r=mattwoodrow
...
--HG--
extra : rebase_source : e18c584de856676b84c9aac50021f255185a677a
2013-07-16 11:25:49 -04:00
Matt Woodrow
15b6cbf471
Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa
2013-07-17 23:24:14 -04:00
Bas Schouten
9f559af1e2
Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel
2013-07-17 14:12:22 +02:00
Bas Schouten
31eab881fb
Bug 883004 - Part 2: Move Direct2D 1.1 detection to configure.in r=glandium
2013-07-17 14:12:05 +02:00
Matt Woodrow
0debdb2a99
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Matt Woodrow
6450d9080b
Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel
2013-07-12 17:19:28 -04:00
Matt Woodrow
a3629d3dbc
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
82da68ce77
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
4e9a81da93
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
fd6c011a54
Bug 892966 - Make gfxQuartzNativeDrawing support Moz2D surfaces. r=jrmuizel
2013-07-12 17:19:29 -04:00
Matt Woodrow
c1f63582a2
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
beabad00b7
Bug 892966 - Setup dashing correctly in DrawTargetCG::StrokeRect. r=jrmuizel
2013-07-12 17:19:28 -04:00
Matt Woodrow
3449d72a96
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
a814b7f1d1
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
b8a5747f53
Bug 889693 - Implement MaskSurface in DrawTargetCairo. r=Bas
2013-07-11 10:43:34 -04:00
Jeff Muizelaar
d4c95018cd
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
8144ddca1a
Bug 891388. Implement Arc() in PathCG. r=joe
...
--HG--
extra : rebase_source : 3ebc541ce7407eba02165366bcc754484f65fcaa
2013-07-08 14:28:21 -04:00
Jeff Muizelaar
d5a116ea3f
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
3dbc97023f
Bug 888288 - Fix some typos in GFX header comments. r=nrc
2013-07-08 21:21:06 -07:00
Emanuel Hoogeveen
9e0ec18236
Bug 890714 - Fix mixed line endings. r=joe, r=jesup
2013-07-08 16:33:15 -04:00
Joey Armstrong
df6123b0bc
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Benoit Girard
38f8cfba6c
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
a9ed9eaf16
Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow
2013-06-28 22:59:19 -04:00
Benoit Jacob
61388fa881
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
f0a1c91ea8
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
331ec8943f
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
6c6f1ec95a
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
420db62171
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
1d7c4a2d98
Bug 736276 - Only create the SkTypeface in ScaledFontCairo when necessary r=jrmuizel
2013-06-28 22:50:09 -04:00
George Wright
18f4f04c76
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
dc4ca76cb2
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
George Wright
fadeba4d82
Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow
2013-04-09 15:57:22 -04:00
Joey Armstrong
f183040ef5
bug 870407: move CMMSRCS to mozbuild (file batch #2 ) r=mshal
2013-07-01 12:32:40 -04:00
Jacek Caban
69129f1644
Bug 887821 - GCC compilation failure in RadialGradientEffectD2D1.cpp r=jmuizelaar
2013-06-29 12:13:42 +02:00
Jacek Caban
f6eccd3360
Bug 880836 - Fixed 'extra qualification' error on GCC.
2013-06-29 12:13:17 +02:00
Bas Schouten
707fe3e47b
Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel
2013-06-27 20:20:30 +00:00
Jeff Muizelaar
8411163d5f
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
2e2eb45787
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
11fb19e624
Merge birch to m-c
2013-06-22 15:50:24 -07:00
Kartikaya Gupta
dcd5272bcc
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Bas Schouten
7437c30e53
Bug 883004 - Part 1: Add radial gradient effect code. r=jrmuizel
2013-06-21 05:53:23 +02:00
Ryan VanderMeulen
5ee79e7c80
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
9bea0fed57
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
f4bbce6956
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Bas Schouten
a6d1150061
Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel
2013-06-19 22:48:40 +02:00
Bas Schouten
300f1fb695
Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel
2013-06-19 22:48:40 +02:00
Ehsan Akhgari
215e4ee922
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
91315bd42a
Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel
2013-06-19 22:48:40 +02:00
Bas Schouten
03d355fc6b
Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel
2013-06-19 22:48:40 +02:00
Bas Schouten
e18bb9816e
Bug 883352 - With OMTC enabled on Metro Firefox, we crash when scrolling. r=jmuizelaar
2013-06-19 08:57:59 -04:00
Jeff Muizelaar
d9b7049dbc
Bug 880836. Fix a typo caught by joe.
...
--HG--
extra : rebase_source : deabe5a79c8ac27497cfbeb42d5f98b7b882a7a3
2013-06-18 20:31:17 -04:00
Jeff Muizelaar
9925eb3684
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
fb8feed8db
Bug 883201 - Make SourceSurfaceSkia::GetData keep pixels alive as necessary r=gal
2013-06-18 12:49:05 -04:00
Ryan VanderMeulen
63406f756c
Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
...
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
f9e37e5828
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
2b90680712
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
972f8b7e26
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
9f1cd0c0ff
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
945cb3c483
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
dbc0077c31
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Martin Stransky
577cf4c6d4
Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt
2013-06-11 13:40:27 -04:00
Kartikaya Gupta
8125a1cac7
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Bas Schouten
ae9c9b21aa
Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel
2013-06-04 03:13:53 +02:00
Bas Schouten
919d149d6f
Bug 829954 - Part 1: Make AlignedArray fallible. r=jrmuizel
2013-06-04 03:13:53 +02:00
Kartikaya Gupta
83f51d55ac
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
01dda39d42
Merge m-c to a CLOSED TREE m-i
2013-05-31 07:41:20 -07:00
Phil Ringnalda
ea17398276
Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
...
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
09a6269c24
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
Anthony Jones
d25f900f94
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
5a4e5c64c2
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
315cb76195
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
da3a0b92cd
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
028ad03f99
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
James Willcox
0d335d769a
Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword
2013-05-29 12:49:40 -04:00
Kartikaya Gupta
43abffa297
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
6f32ddf61c
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
47d7af59de
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
e86857072e
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
bb00307f72
[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
e569d3dfb4
Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps
2013-05-08 19:31:52 +01:00
Benoit Jacob
b4f8ba9013
Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas
2013-05-07 08:14:26 -04:00
Jeff Muizelaar
a9d968b454
Bug 845125. Fix impromper use of CheckedInt.
...
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Jonathan Kew
bddd660d8e
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
581f025119
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
0282df309d
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
5ffc497bd0
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
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Bas Schouten
7d182a2102
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
71e4848cd7
Bug 858304: Fix 2 signed/unsigned comparison warnings in QuartzSupport.mm. r=smichaud
2013-04-04 18:20:44 -07:00
Daniel Holbert
913ca3ad48
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
ec03cbd4c3
Bug 839383 - part 3 - inline AssignSurfaceParametersFromFormat into its only caller; r=jrmuizel
2013-03-12 17:02:19 -04:00
Nathan Froyd
155fdc5155
Bug 839383 - part 2 - factor out CGImageRef creation code in SourceSurfaceCG.cpp; r=jrmuizel
2013-03-12 16:59:26 -04:00
Nathan Froyd
9612c3dcdb
Bug 839383 - part 1 - fix unhandled enumeration values in SourceSurfaceCG.cpp; r=jrmuizel
2013-03-06 11:11:18 -05:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
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
5663b98bc5
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
1a8ba053e6
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
0940cffd4b
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
2c5c9b5818
Bug 844883 - Use a signed value for the stride. r=jmuizelaar
2013-03-20 15:42:51 -04:00
Milan Sreckovic
b7bf7baffc
Bug 825721 - Clamp negative box starts and disallow negative sizes. r=jmuizelaar
2013-03-07 10:13:28 -05:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Bas Schouten
3a61db8df3
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
98db3116eb
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
b6dedb7d38
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
8cf664a621
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
bc3cb980a1
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
accc46f11d
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
956f0960a4
[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
3acf70f12b
[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
c8c36f8aa7
[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
4083244598
Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563
2013-03-04 14:38:11 +00:00
Robert O'Callahan
0da523cad4
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
a2f7f5b486
Bug 840693 - Add ZoomScale; r=Bas
2013-03-04 13:25:22 +13:00
Ryan VanderMeulen
75acd49b0e
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
fa6c4dbff3
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
0f0c587cec
Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Benoit Girard
b84eafe4cc
Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas
2013-02-22 19:28:08 -05:00
Daniel Holbert
45b45db03a
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
7e0d47c24b
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
c2dca048b1
Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel
2013-02-12 20:00:54 -08:00
Robert O'Callahan
1ffa96c238
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-12 17:56:28 +13:00
Phil Ringnalda
02dc61c4b7
Back out 1b98c119cbfb (bug 8203709) for bustage
...
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
b60912d30d
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-10 00:28:18 +13:00
Timothy Nikkel
4961ecbdec
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
930787a63a
Backout 1b5a4a4cf267 (bug 827946) for build breakage on CLOSED TREE.
2013-02-08 10:55:17 -06:00
Timothy Nikkel
85592e4e9d
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
c731acfcd9
Bug 836892 - Add new skia blending modes to GfxOpToSkiaOp. r=gw280
2013-02-08 10:54:59 +13:00
Matt Woodrow
d82b9be3bb
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
0e784ed3ff
Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar
2013-01-29 10:22:52 -05:00
Mats Palmgren
f16418bea2
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
3912990bf9
Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe
2013-01-30 17:02:27 +01:00
Filippo Cristofoletti
6ba40b463c
Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar
2013-01-28 10:09:29 -05:00
Filippo Cristofoletti
3d2316135a
Bug 755031 - Clear warnings in gfx/2d/ScaledFontDWrite.cpp. r=jmuizelaar
2013-01-15 07:21:00 -05:00
Usurelu Catalin
02bbb1d4a0
Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones
2013-01-24 18:10:27 -05:00
Steven Michaud
555c9efaae
Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard
2013-01-23 16:19:15 -06:00
Milan Sreckovic
246bd7a470
Bug 803568: Check for Cairo surface creation failure. r=bas
2013-01-17 14:38:38 +01:00
Mats Palmgren
d5826be6d7
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
1cd02f2da7
Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel
2013-01-15 02:20:10 +01:00
Trevor Saunders
a6e1ca0693
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
f456453bfd
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
ba51b4bc85
Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc
2012-12-23 10:50:30 -05:00
Steven Michaud
22e17a7096
Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard
2012-12-20 15:14:20 -06:00