Commit Graph

256 Commits

Author SHA1 Message Date
Matt Woodrow
9981e0e2a8 Bug 909000 - Make SupportsAzureContentForBackend only return true for backends allowed by the current prefs. r=nrc 2013-08-26 16:13:24 +12:00
Matt Woodrow
11914fb596 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Arnaud Sourioux
de3b6b7cdf Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Nicholas Cameron
180f8169bb Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
1bc1f9224a Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicolas Silva
8e7aa5738e Bug 899667 - Make layer borders more readable. r=BenWa 2013-08-03 00:50:17 +02:00
Nicholas Cameron
dd58f82344 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Birunthan Mohanathas
186d1e17e2 Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan 2013-07-31 11:44:31 -04:00
Nicolas Silva
2b6a0c31a2 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Nicholas Cameron
55c1931c05 Bug 756606. Don't try to fast path D2D A8 surfaces in GetSourceSurfaceForSurface. r=Bas 2013-07-29 10:12:37 +12:00
Matt Woodrow
176768d454 Bug 892966 - Clear any cached SourceSurfaces when a gfxASurface is flushed or marked dirty. r=jrmuizel 2013-07-11 22:44:29 -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
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
Avi Halachmi
33f8c51e08 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03: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
Benoit Girard
d000f2c08b Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -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
70a86a8ebb Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel 2013-06-28 22:48:35 -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
Matt Woodrow
e1a0d2923b Bug 885573 - Stop forcing layers acceleration when we have OMTC enabled. r=nrc 2013-06-24 17:27:29 +12:00
Matt Woodrow
9e2717d794 Bug 756601 - Enable OMTC by default on OSX 10.7 and 10.8. r=roc 2013-06-21 09:32:04 +12:00
Nicholas Cameron
6e0a3f59c0 Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Connor Behan
4eee3aa7c0 Bug 722975: Unbreak builds using --with-system-cairo. r=bas 2013-06-01 00:23:05 +02:00
Aryeh Gregor
b14c2cbab2 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jonathan Kew
6da4abbf5b bug 871961 pt 1 - handle on-the-fly changes to the gfx.font_rendering.opentype_svg.enabled preference setting. r=roc 2013-05-16 17:32:41 +01:00
Nicolas Silva
d44f4453e5 Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel 2013-03-21 18:08:01 +01:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03: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
Bas Schouten
2a84c94fa0 Bug 859791 - Part 1: Listen for changes to the Moz2D recording pref. r=jrmuizel 2013-04-09 17:37:56 +00:00
Bas Schouten
a96984c4c4 Bug 854446: Allow setting Moz2D recording destination. r=joedrew 2013-03-26 03:20:30 +00: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
Joe Drew
4eb8da0dd8 Bug 853169 - Initialize the output profile explicitly from within gfxPlatform::Init, and handle when we can't create one in xpcshell tests on Gtk because we don't have an X Display. r=jrmuizel 2013-03-21 23:12:30 -04:00
Joe Drew
5198406bc3 Backed out 3 changesets (bug 853628, bug 853169) for crashing mysteriously
Backed out changeset c0befbf2533d (bug 853169)
Backed out changeset 2e318d0a172b (bug 853169)
Backed out changeset 69f965c0fd46 (bug 853628)

--HG--
extra : rebase_source : cbf40a9b54d1ab221ab1823f9ea32bae7c965c3b
2013-03-22 00:27:58 -04:00
Joe Drew
72bd187646 Bug 853169 - Initialize the output profile explicitly from within gfxPlatform::Init, and handle when we can't create one in xpcshell tests on Gtk because we don't have an X Display. r=jrmuizel 2013-03-21 23:12:30 -04:00
Phil Ringnalda
02042aac36 Back out d77773a8abf9 and eca6b3ea3e8d (bug 853169) for Linux xpcshell crashes
CLOSED TREE
2013-03-20 21:33:03 -07:00
Joe Drew
24615bd8ab Bug 853169 - Initialize the output profile at gfxPlatform::Init() time. r=jrmuizel 2013-03-20 22:25:43 -04: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
Milan Sreckovic
a414c1238a Bug 843830 - Consolidate the enums in one place, so that bad things don't happen if the qcms enums ever change. r=bgirard 2013-02-21 17:38:10 -05:00
Jonathan Kew
941b182708 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Jonathan Kew
e091da2191 bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett 2013-01-23 16:41:18 +00:00
Ehsan Akhgari
5c4378622a Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky 2013-01-07 18:34:38 -05:00
Jonathan Kew
266183f3c3 bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc 2013-01-04 18:35:37 +00:00
Chiajung Hung
34d6df648e Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Mark Hammond
a2e03cff14 Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE 2012-12-21 15:30:02 +11:00
Chiajung Hung
9c8179f70a Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Oleg Romashin
20a9a6a166 Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow 2012-12-16 11:25:04 -08:00
Ed Morley
9befd7d8b0 Backout 09d66d9ccb2e (bug 818060) for build failures on Windows 2012-12-13 17:17:12 +00:00
Kartikaya Gupta
f1aa9cacaa Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa 2012-12-13 11:38:37 -05:00
Chris Lord
742c5a38d7 Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard 2012-12-05 17:10:41 +00:00
Chris Lord
fba6244af3 Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 22:34:20 +00:00
Chris Lord
687263ae68 Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
a1ca146c7c Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
d51cbc3aac Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 19:16:53 +00:00
Chris Lord
ef4d0255cb Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Ryan VanderMeulen
1e6a5f0d3a Backout c3933841e06e (bug 793013) for possible Win7 reftest failures. 2012-11-06 21:27:09 -05:00
Anthony Jones
217bb02bf0 Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron 2012-11-06 18:23:13 -05:00
Anthony Jones
3a8e7334df Bug 793013 - Remove unnecessary whitespace. 2012-11-06 18:23:13 -05:00
Jeff Gilbert
6b85c63580 Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob 2012-11-07 11:39:38 +13:00
Nicholas Cameron
ab7f6035bf Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Ed Morley
b21550a382 Backout 2231b8e778a3 (bug 715658) for errors linking on Windows 2012-10-10 12:15:30 +01:00
Uli Schlachter
f82676933a Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas 2012-10-10 06:32:36 -04:00
Anthony Jones
1ad1473852 Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Bas Schouten
3e59ae2b30 Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Bas Schouten
d8b7eca98f Backed out changeset 41b5180cf6af DONTBUILD 2012-10-08 12:56:00 +02:00
Bas Schouten
a813e80bc2 Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel 2012-10-08 15:44:36 +13:00
Ed Morley
42f0125a9a Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends 2012-10-08 10:31:57 +01:00
Bas Schouten
2452b636ce Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Anthony Jones
3d4fd16180 Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron 2012-10-01 22:12:13 -04:00
Bas Schouten
f041c93a04 Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
8ed5af984b Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel 2012-09-24 15:02:49 +00:00
Ehsan Akhgari
70ba385729 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Anthony Jones
4ab1c0c454 Bug 789367 - Add content preference for GTK platform; r=nrc 2012-09-16 20:23:00 -07:00
Phil Ringnalda
07143175e9 Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build 2012-09-16 17:59:25 -07:00
Anthony Jones
e030a5d9cd Bug 789367 - Add content preference for GTK platform. r=nrc 2012-09-16 20:20:16 -04:00
Andrew Quartey
7bb6709ba5 Bug 743755 - Remove OSMesa support r=bjacob 2012-09-07 18:35:22 -04:00
Edwin Flores
c26e74e98d Bug 719286 - Basic OpenType SVG functionality r=roc 2012-09-06 16:57:54 +12:00
Anthony Jones
3ebb294b4d Bug 781731 - Fix Azure Cairo GTK perf by removing xlib to buffered image conversion. r=mattwoodrow 2012-09-02 19:07:05 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ms2ger
6a8ff69ba1 Backout bug 781731. 2012-08-27 12:27:40 +02:00
Anthony Jones
50f99e06da Bug 781731 - Fixed Azure Cairo GTK perf by removing xlib to buffered image conversion; r=Bas 2012-08-27 11:31:33 +02:00
David Zbarsky
4a0bd0bac6 Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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

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

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nicholas Cameron
b21f194886 Bug 779001. Falling back to Cairo for large canvases. r=roc 2012-07-31 19:57:28 +12:00
Nicholas Cameron
666c8e4e67 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
45704eb121 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
c750666cef Bug 779001. Falling back to Cairo for large canvases. r=roc 2012-07-31 13:46:05 +12:00
Nicholas Cameron
3570f3ac38 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Bas Schouten
8c8c56f49a Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Benjamin Peterson
f173c89d5c Backout 22eea4925efc for windows failures 2012-07-27 21:47:06 -07:00
Bas Schouten
0aa0168deb Bug 777700 - Part 2: Verify if a cached SourceSurface is still valid. r=jrmuizel 2012-07-28 02:33:08 +02:00
Nicholas Cameron
50b06bd8f2 Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow 2012-07-26 14:30:20 +12:00
Nicholas Cameron
067366aaee Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
d4158405d0 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Anthony Jones
4f689acacc Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Anthony Jones
72d12fc6a9 Bug 764125; fixed crash test fail on gtk caused by null. r=Bas 2012-07-24 22:18:38 +12:00
Anthony Jones
82ae88b1c0 Bug 764125; pretty sure this inverted logic will break something on windows; r=Bas 2012-07-24 22:18:38 +12:00