David Zbarsky
4a408c479e
[Bug 914955] Fix build warnings in Moz2D r=bas
2013-09-15 14:23:51 -04:00
Corey Ford
1a8da8309d
Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert
2013-09-11 16:27:14 -07:00
Nathan Froyd
a26a4e9c87
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
931b7f1c89
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
8b263a5107
Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas
2013-09-11 17:08:53 +12:00
Matt Woodrow
fb74f07a20
Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas
2013-09-11 17:08:52 +12:00
Vladan Djeric
7a2465ff79
Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions
2013-09-11 13:32:23 -04:00
Vladan Djeric
36d2789a58
Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions
2013-09-11 13:31:24 -04:00
Kartikaya Gupta
9f0a4def20
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
7b34ab16e3
Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas
2013-09-11 17:08:53 +12:00
Matt Woodrow
15087d8ea8
Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas
2013-09-11 17:08:52 +12:00
Milan Sreckovic
a136a3f4b4
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
1195895c26
Fix an include guard in gfx/2d, no bug, r=me
2013-09-05 16:50:52 -04:00
Jeff Muizelaar
36dde4f467
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
f7bbe02558
Bug 912305 - Fix documentation of RadialGradientPattern constructor; r=bas, DONTBUILD (comment-only)
2013-09-05 09:59:54 +09:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Kartikaya Gupta
b77f1bc2b4
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
James Willcox
18bcc8779e
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
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Matt Woodrow
829d88b2b4
Bug 909128 - Support snapshot source surfaces in DrawTargetCG's CopySurface. r=jrmuizel
2013-08-28 10:54:52 +12:00
Kartikaya Gupta
c9052e6e85
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
108633936a
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
756511b29c
Bug 907011 - Expose cairo objects from gfxContext when using Azure/cairo. r=Bas
2013-08-23 16:53:53 +12:00
Kartikaya Gupta
e28825b675
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
2e6bc9e9b5
Bug 907901. Remove NS_lround from rect.h. r=Bas
2013-08-22 21:10:35 +12:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Nicholas Cameron
b85b496768
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Matt Woodrow
dec5eff0fb
Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas
2013-08-21 11:58:27 +12:00
Matt Woodrow
c092c3a063
Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas
2013-08-21 11:57:57 +12:00
Matt Woodrow
0b9be64593
Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas
2013-08-21 11:56:27 +12:00
Matt Woodrow
0fd25a1455
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
445103a1d8
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
976b11c6aa
Merge m-c to inbound.
2013-08-16 21:58:51 -04:00
Botond Ballo
728be070e1
Bug 895905 - Fixed a compiler error on GCC 4.7. r=Bas
2013-08-08 15:56:09 -04:00
Milan Sreckovic
d0ff790837
Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel
2013-08-14 12:29:47 -04:00
Milan Sreckovic
1e3436bf95
Bug 903526 - Add BaseRect::IsFinite() method. r=bas
2013-08-13 14:48:17 -04:00
Phil Ringnalda
be5f1b23e0
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
a23e8df091
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Jeff Muizelaar
8c90099fc3
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
ce29854576
Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes
2013-08-08 14:58:00 -07:00
Jeff Muizelaar
6ecc49ff82
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
a973a3feba
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Wes Kocher
c62360f0a2
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
11a9268d36
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Matt Woodrow
ec36c050ca
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
5ee21d6d3f
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
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Jeff Muizelaar
aca5a086d7
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
852023e695
Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel
2013-07-30 05:00:53 +09:00