Jim Chen
8cf891bd76
Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
...
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Michael Wu
38ab39f16e
Bug 958008 - Avoid copying images on Android/Gonk when there's nothing to optimize, r=jrmuizel
2014-01-14 11:12:36 +08:00
Nicholas Cameron
6630c7c1c6
Bug 956967. Don't use direct2d if we forcing d3d9. r=Bas
...
--HG--
extra : rebase_source : 5a4505f9fe043cce965b11a0d1c33815d2b0be3e
2014-01-12 17:02:30 +13:00
Nicholas Cameron
07571f1ffe
Bug 956967. If we have to fallback to our default Azure backend, we must support that backend. r=nical
...
--HG--
extra : rebase_source : 2cc8d34078df6db64353cf5236572f085c2be72e
2014-01-12 17:02:18 +13:00
Benoit Jacob
06f7a9c4a2
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
3a7886f0e9
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
2d5774ca0a
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
6cdb25269c
Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert
2014-01-10 13:55:23 -05:00
Ali Akhtarzada
59a512b675
Bug 958086 - Adjust matrix in gfxPattern::GetPattern for Moz2D. r=bas
...
The pattern transform was not taking in to account the transform
that was set on the draw target.
2014-01-10 08:48:56 -05:00
Jonathan Kew
556db08b34
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
acedd32ca7
Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:28 +01:00
Jonathan Kew
48bf0ba949
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 07:48:01 +00:00
Milan Sreckovic
c92d614b7b
Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=BenWa
2014-01-09 13:17:29 -05:00
Wes Kocher
8af7a4b53c
Backed out changeset 010f5faed9cf (bug 956796) for build bustage
2014-01-08 15:03:23 -08:00
Milan Sreckovic
aa95ffdfe9
Bug 956796 - A bad assertion and a typo in the pref name cancelled each other. Fix, and create #defines for the pref names in this file to avoid problems like this. r=bgirard
2014-01-06 14:14:39 -05:00
Nicholas Cameron
0c8a244237
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Nicholas Cameron
2b06b385d4
backed out bug 933549 on a CLOSED TREE
2014-01-08 10:27:14 +13:00
Nicholas Cameron
b88a44ffc8
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Matt Woodrow
e011cb2cda
Bug 952235 - Handle device offset when applying pattern transform. r=bas
2014-01-07 10:25:05 +09:00
Birunthan Mohanathas
c293ca84b8
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
82b05b710d
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9505172caf
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Henri Sivonen
2fabf9a684
Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame.
2014-01-02 09:18:20 +02:00
Nicholas Cameron
5c4b9e35d8
Bug 898828. Don't even try async video on Windows. r=nical
2013-12-21 10:37:07 +13:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Jonathan Kew
89efbb065c
bug 950590 - part 2 - make SetUserFontSet support updating a gfxFontGroup's user font set on the fly, and use this in canvas rendering context. r=roc
2013-12-19 20:21:11 +00:00
Jonathan Kew
80258a1f9d
bug 950590 - part 1 - use nsRefPtr instead of manual addref/release calls for gfxFontGroup's reference to the user font set. r=roc
2013-12-19 20:20:57 +00:00
Isura Edirisinghe
1542439ab5
Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa
2013-12-19 11:42:19 -05:00
Vladimir Vukicevic
88f2cc2ac7
b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel
2013-12-18 13:09:10 -05:00
Jeff Muizelaar
4fa43a6bda
Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
...
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.
If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.
--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -05:00
Chris Lord
2fab05a2c9
Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
...
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Nicholas Cameron
09d8e541fe
Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
...
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Jim Mathies
d85f619b11
Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy
2013-12-14 14:40:55 -06:00
Kevin Simons
306ee6f1e6
Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
...
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05:00
Bill McCloskey
c4c1d8233a
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
John Daggett
ad51a7094b
Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam
2013-12-12 09:28:40 +09:00
Matt Woodrow
d9683d5ba3
Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc
2013-12-12 10:05:26 +13:00
Matt Woodrow
9602bddb2a
Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas
2013-12-12 10:05:26 +13:00
Matt Woodrow
0cfc75c3ec
Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc
2013-11-27 14:05:03 +13:00
Matt Woodrow
6133167fe4
Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas
2013-12-12 10:05:26 +13:00
Jacek Caban
66134a8c07
Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten
2013-12-11 10:46:41 +01:00
John Daggett
e494c89c89
Bug 947812 - log font name loading times. r=bas
2013-12-11 09:58:27 +09:00
John Daggett
24ab4b6feb
Bug 947812 - use DirectWrite API for fullname/psname lookup. r=bas
2013-12-11 09:58:19 +09:00
Ehsan Akhgari
d4490ee3c7
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
Martin Stransky
2b7ca13346
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Jeff Muizelaar
4264e2fab0
Bug 947379. Remove MOZ_PANGO. r=jfkthame
...
We haven't been able to build with this since
2008. Time for it to go.
--HG--
extra : rebase_source : 0e25f91e2a4308d3873ca2c240347b25d70d69c5
2013-12-09 10:03:28 -05:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00