Commit Graph

660 Commits

Author SHA1 Message Date
Eric Rahm
67b91ff53a Bug 1162748 - Remove instances of #ifdef PR_LOGGING in graphics. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-08 14:37:01 -07:00
Daniel Holbert
3899eae2cc Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Milan Sreckovic
1266c84e30 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
nsilva@mozilla.com
1a180846c2 Bug 1151713 - Initialize the layers prefs earlier. r=jrmuizel 2015-04-16 11:55:36 -04:00
Chris Lord
2b3b00dfd3 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Jeff Muizelaar
347a7df060 Bug 1153381. Add a D3D11 ANGLE blacklist. r=mstange
This blocks the Intel 4500 style GPUs so that Google Maps
works properly

--HG--
extra : rebase_source : eb9669f5502c02024e6d33852a74a724a2f2d156
2015-04-10 16:17:27 -04:00
Nicolas Silva
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Vladimir Vukicevic
8e37e99593 Bug 1148009; [webvr] Split out gfxVROculus from gfxVR, refactor VRHMDManager; r=jrmuizel 2015-04-01 16:02:20 -04:00
Matt Woodrow
b3d4a15c89 Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
David Anderson
c974fd18b3 Improve bad APZ wheel pref detection in about:support. (bug 1147223 part 2, r=kats) 2015-03-25 18:37:33 -07:00
David Anderson
11dca95ed5 Fix wheel events not applying root scroll delta overrides. (bug 1147223 part 1, r=kats) 2015-03-25 18:36:41 -07:00
David Anderson
d96e85937b Add APZ info to about:support. (bug 1146727, r=jrmuizel)
--HG--
extra : rebase_source : 8758865fbde29af687fbe00fe64cc03fc8cb2cde
2015-03-24 15:04:44 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ryan VanderMeulen
fd575569d5 Backed out changeset 672cea72c662 (bug 994541) for making various browser-chrome tests more timeout-prone.
CLOSED TREE
2015-03-12 15:54:12 -04:00
Nicolas Silva
0863d3f6fa Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Chris Lord
7484b298e0 Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas 2015-03-12 14:01:23 +01:00
Ryan VanderMeulen
3807a08ace Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures. 2015-03-11 15:22:04 -04:00
Nicolas Silva
b292aa6f59 Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas 2015-03-11 17:16:13 +01:00
Milan Sreckovic
76dd5cd892 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Mason Chang
5729940b3c Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08:00
Jan Jongboom
a51560be5b Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Mason Chang
a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
JerryShih
70408d1c91 Bug 1129686 - Update cms profile in SRGBOverrideObserver callback. r=jmuizelaar
--HG--
extra : rebase_source : 9fc25be48d86379004ed4fda37c8a9eaf81409ed
2015-02-06 00:18:00 +01:00
Milan Sreckovic
0cf06341a4 Bug 1120611 - Avoid a data race for the rendering intent. r=jrmuizelaar
--HG--
extra : rebase_source : 54549a96e59772af1223d69e854d34d28e6d369c
2015-01-13 17:02:34 -05:00
Jeff Gilbert
56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Jeff Gilbert
680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Wes Kocher
d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Matt Woodrow
0003596eec Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Ehsan Akhgari
9cd10b7b4f Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Wes Kocher
dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari
d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari
56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Jeff Gilbert
ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Milan Sreckovic
3b87e81b6d Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Andrew McCreight
a455b1c095 Back out bug 1065536 part 3 for being a bad idea. 2015-01-14 11:23:06 -08:00
Chris Peterson
9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Mason Chang
4b9c7c9fe3 Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Bas Schouten
0b0280ec95 Bug 1118328 - Part 2 - Followup: Workaround a bug in GCC 4.4. r=bustage on a CLOSED TREE 2015-01-08 03:34:07 +01:00
Bas Schouten
9f630848f2 Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel 2015-01-07 22:58:25 +01:00
Wes Kocher
2f0156ea48 Backout 467595d39929 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:53:13 -08:00
Bas Schouten
93cbc3dcaf Bug 1118328 - Part 2: Test whether the content backend supports creating data draw targets before attempting to create one. r=jrmuizel 2015-01-07 22:58:25 +01:00
Milan Sreckovic
4713d65300 Bug 1113695 - Make gfxCriticalError thread safe. r=Bas 2014-12-19 12:03:58 -05:00
Andrew McCreight
b69d978b28 Bug 1065536, part 3 - Explicitly shut down the CompositorChild in the child process. r=nical 2015-01-02 13:09:06 -08:00
Mason Chang
5119b7e4eb Bug 1101974. Part 3 - Create VsyncSource / Display framework. r=kats 2014-12-18 08:30:06 -08:00
Ehsan Akhgari
ca5c6ca575 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
Bas Schouten
3eaeba266b Bug 1102499: Use WARP by default when D3D11 is available. r=BenWa
This will cause us to use WARP for composition on systems with Direct3D 11 when hardware acceleration is blacklisted or we're unable to find a powerful enough graphics card. It also allows us to force WARP on, in that situation WARP will also be used for Direct2D content rendering if Direct2D is enabled. Essentially this will ensure all systems running Windows 7 or higher always use D3D11 as their composition backend.
2014-12-06 00:02:19 +00:00
Wes Kocher
4f61d4867e Backed out changeset 08df10804c35 (bug 1101974) 2014-11-21 10:52:17 -08:00
Mason Chang
a288f3be7d Bug 1101974. Part 2: Initialize vsync source during compositor creation. r=mstange 2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
27e56b034e Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel 2014-07-09 12:24:49 -07:00
Milan Sreckovic
1d0aad208e Bug 1074952 - Part 5. Let the CrashReporter decide what threading combination is allowed. r=nsilva 2014-11-13 14:52:05 -05:00
Milan Sreckovic
de11f7eed9 Bug 1074952 - Part 4. For the critical log, save the first, then circular buffer the rest into the crash annotations. r=bas 2014-11-17 17:16:55 -05:00
Mason Chang
74c80403e2 bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-18 13:28:42 -08:00
George Wright
1b0520dc5b Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp 2014-09-10 16:15:43 -04:00
Benoit Girard
8935e0b46d Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Benoit Girard
aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Seth Fowler
9f0f9582f4 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jonathan Watt
03e708cc58 Bug 1084093, part 2 - Convert gfxPlatform::TransformPixel to Moz2D, and move gfxPlatform::MaybeTransformColor to ToDeviceColor in gfxUtils.h. r=Bas 2014-10-17 12:53:15 +01:00
Chris Jones
cc1383c2fc Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Chris Jones
54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Jonathan Watt
3790732f9a Bug 1074194 - Factor out gfxContext::SetColor()'s color management conversion into a gfxPlatform helper. r=Bas 2014-10-03 09:50:42 +01:00
Bas Schouten
7a91965ba7 Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:40:13 +02:00
Bas Schouten
086cbf0103 Bug 1068613 - Addendum 3: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:04:07 +02:00
Bas Schouten
8e86fc0d5c Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE 2014-09-18 00:25:23 +02:00
Nicolas Silva
4140f5cec4 Bug 1068613 - Part 2: Add an ErrorReporter that appends the error to app notes in the crash report. r=bas 2014-09-17 23:23:08 +02:00
Jonathan Kew
50b0ff2a5d bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Bas Schouten
cd7a317e2d Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Matt Woodrow
b1adcf8934 Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Sotaro Ikeda
5cb1b77a4e Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Felipe Gomes
382f4efc2f Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
John Daggett
6f2c0ee7ec Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam 2014-09-08 16:23:19 +09:00
Sotaro Ikeda
79d583db14 Bug 1061943 - Purge all GradientCache on memory-pressure r=jrmuizel 2014-09-04 10:28:43 -07:00
Sotaro Ikeda
7c6e154476 Bug 1060790 - Call glFlush() to SkiaGL's GLContext on memory-pressure r=gw280 2014-09-02 18:49:06 -07:00
Matt Woodrow
2e1cf8efa1 Bug 1047945 - Delete the TileExpiry object at shutdown to avoid leak warnings. r=BenWa 2014-08-27 10:57:49 +12:00
Matt Woodrow
c2d79a26ff Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Daniel Holbert
a94876412b Bug 1056256: Update callsite of Skia function 'setTextureCacheLimits' to use its new name, 'setResourceCacheLimits'. r=snorp 2014-08-20 12:09:47 -07:00
Simon Montagu
5c116bc180 Bug 756022 patch 3: merge tr with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Simon Montagu
dc74a6b3cd Bug 750622 patch 2: merge x-central-euro with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Simon Montagu
98c5fbd202 Bug 750622 patch 1: merge x-baltic with x-western, r=jfkthame 2014-08-05 10:49:16 +03:00
Milan Sreckovic
1b4d86bc4f Bug 1045680 - Instead of checking <= 256mb, check < 512mb. r=jwillcox 2014-07-29 11:58:40 -04:00
Kyle Huey
9991c6dfee Bug 1046416: Shut down gfxPlatformFontList on all platforms. r=jfkthame 2014-08-01 12:37:53 -07:00
"Jan Alexander Steffens (heftig)"
8b50352da5 Bug 1042295 - Change in Linux OMTC activation. r=nical 2014-07-22 22:46:02 +02:00
Jeff Gilbert
f032a2a672 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Jonathan Watt
98e3e25338 Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas 2014-07-10 10:58:09 +01:00
Walter Litwinczyk
cfa586e393 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Masatoshi Kimura
e6e3ddadf9 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Sotaro Ikeda
00dfb9fb42 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02:00
Jonathan Watt
8954b72140 Bug 1025537 - Stop using gfxImageSurface in gfxBlur and gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-06-26 08:40:12 +01:00
Benoit Jacob
360bdb42d9 Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Jonathan Watt
6586dcffb2 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Jonathan Watt
c98228197e Bug 1025858 - Remove gfxPlatform's SourceSnapshotDetached. r=gal 2014-06-17 10:37:46 +01:00
Jonathan Watt
36dd834e0d Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Wes Kocher
c2735215c7 Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE 2014-06-16 19:00:15 -07:00
Benoit Jacob
cea2702a66 Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Benoit Jacob
8f1cf755a9 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Jonathan Watt
3d9e321469 Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Chris Lord
1188fbbd28 Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
Matt Woodrow
cb06cb865b Bug 940845 - Part 6: Cache blurs when possible. r=Bas 2014-06-10 17:51:24 -04:00
Jonathan Watt
7608ba3c8a Bug 1021973 - Remove gfxPlatform::OptimizeImage(). r=Bas 2014-06-10 07:02:21 +01:00
Jonathan Kew
3022454dd2 backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:07 +01:00
Reed Koser
089106f836 Bug 965967, part 1 - Get rid of some Thebes backed gfxContexts in the plugin code (Moz2D migration). r=mattwoodrow
--HG--
extra : rebase_source : 54fd4a60da6031b64598ca697b84437e672d126b
2014-06-06 10:24:24 +01:00
Jonathan Kew
cddeb99510 bug 1020008 - use mozilla::ArrayLength for array size. r=smontagu 2014-06-05 11:15:26 +01:00
Jonathan Watt
dd0a3a7c18 Bug 1019690 - Remove gfxPlatform::CreateOffscreenImageSurface(). r=Bas
--HG--
extra : rebase_source : 3c79945a1179d7b7bb128278eae0642156460df0
2014-06-05 01:02:44 +01:00
Masatoshi Kimura
41e75a3dbc Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Sotaro Ikeda
afdf8e01dd Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink
12ba3a7a2a Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Sotaro Ikeda
ac5d74bdb6 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Nicolas Silva
7c865568d2 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Carsten "Tomcat" Book
756337dc40 Backed out changeset a6f85ff386c1 (bug 1011569) for m5 test failures on OS X 2014-05-19 13:46:02 +02:00
Chris Lord
95302d4975 Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-05-19 10:45:12 +01:00
Bas Schouten
88b9643ff7 Bug 1011367: Add Direct3D 11 Gfx feature. r=bjacob 2014-05-16 18:16:21 +02:00
Ryan VanderMeulen
9e342ce37a Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Nicolas Silva
5fdb00fc48 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Matt Woodrow
42a1b01ffc Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
Ryan VanderMeulen
54c1cb7bbc Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
c69668e0fa Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
b3c3ae76f7 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
bce5cf3347 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Sotaro Ikeda
e4e2cb245d Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
chiajung hung
098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Nicolas Silva
264f4d9481 Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Benoit Jacob
5004258047 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Nicolas Silva
4a884a6fbc Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-28 16:03:12 +02:00
Matt Woodrow
d8e88266a3 Bug 997551 - Avoid copying data in GetSourceSurfaceForSurface whenever possible. r=Bas 2014-04-25 15:31:53 +12:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Blair McBride
24b74a2af7 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
a53edd3151 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Ed Morley
1281549341 Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE 2014-04-25 17:51:42 +01:00
Ed Morley
20dd87ee29 Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
chiajung hung
c0cf680819 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-25 02:28:00 -04:00
Nicolas Silva
2dd73e27ec Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-25 13:55:36 +02:00
Jeff Gilbert
4a25e762cd Bug 999713 - Kill WS in files we want to touch. - r=kamidphish 2014-04-22 16:23:18 -07:00
Ryan VanderMeulen
fa7c5ad357 Merge inbound to m-c. 2014-04-15 23:26:35 -04:00
Phil Ringnalda
1228913846 Back out e17d61d6acf6 (bug 924622) for apparently making the mismatched CxxStackFrame aborts more frequent rather than less 2014-04-15 20:00:59 -07:00
Matt Woodrow
00b5bfc3b0 Bug 996393 - Part 1: Split GetSourceSurfaceForSurface so we can ask for a wrapping surface. r=roc 2014-04-15 14:36:26 +12:00
Nicolas Silva
9b422edf54 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Carsten "Tomcat" Book
daa39d9a32 Backed out changeset f52300725e6f (bug 924622) for Linux Test Bustage 2014-04-15 12:46:25 +02:00
Steve Singer
18537ce80a Bug 980891 - #ifdef out usage of Skia objects on non-skia builds. r=gal 2014-04-15 21:07:42 +02:00
Nicolas Silva
90b816eafd Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
peter chang
fc8c3c2db9 Bug 970007 - Fix incorrect colorformat when using CairoSurface. r=gal r=bas 2014-04-14 20:51:00 +02:00
Bobby Holley
ca041c08fd Bug 913138 - Shut down gfx at the end of layout shutdown. r=bsmedberg 2014-04-08 15:51:33 -07:00
Nicolas Silva
8151128bb6 Bug 982413 - Remove the deprecated textures pref. r=mattwoodrow 2014-04-01 14:28:36 +08:00
Ryan VanderMeulen
ad5d64b8b9 Backed out changesets 0b596070fe54 and ed6969e4fb6f (bug 957560) for causing bug 990027 on a CLOSED TREE. 2014-03-31 14:31:52 -04:00
Matt Woodrow
cc85b3dbf4 Bug 973264 - If we wrap gfxImageSurface data when creating a SourceSurface, hold a reference to the original surface so the data stays alive. r=Bas
--HG--
extra : rebase_source : ef99e74688f992c80bd4da1cd5373dcd95ac80a3
2014-03-05 16:04:05 +13:00
Phil Ringnalda
ff78811d5f Back out 5adc1acdb309 (bug 973264) for Windows reftest bustage
CLOSED TREE

--HG--
extra : rebase_source : e7e68eb00234424a7fe4bcd6a165c5cc07f0fa30
2014-03-30 20:32:34 -07:00
Nicolas Silva
4e568f39b1 Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow 2014-03-31 11:07:40 +08:00
Matt Woodrow
70730aef78 Bug 973264 - If we wrap gfxImageSurface data when creating a SourceSurface, hold a reference to the original surface so the data stays alive. r=Bas
--HG--
extra : rebase_source : 91833db0c39af3984dc7e7a1965486916a9f47f8
2014-03-05 16:04:05 +13:00
Nicolas Silva
f046e7971f Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 18:20:57 +01:00
Nicolas Silva
216960b7a3 Bug 977255 - Backout for build bustage on a CLOSED TREE 2014-03-28 17:01:52 +01:00
Nicolas Silva
3ef666e829 Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 15:40:30 +01:00
James Willcox
6d247f7333 Bug 985773 - Destroy SkiaGLGlue in gfxPlatform::Shutdown() instead of relying on destructor r=gwright 2014-03-26 13:21:16 -05:00
Ed Morley
c3601a06c2 Backed out changeset 3d83a5202173 (bug 985773) 2014-03-26 15:14:50 +00:00
James Willcox
49433cb15f Bug 985773 - Destroy SkiaGLGlue in gfxPlatform::Shutdown() instead of relying on destructor r=gwright 2014-03-26 09:12:19 -05:00
George Wright
404a5a2011 Bug 987054 - If we can't create a valid DrawTarget in GetThebesSurfaceForDrawTarget, error out r=mettwoodrow 2014-03-25 23:00:27 -04:00
Nicolas Silva
26060d4188 Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel 2014-03-25 17:54:39 +01:00
John Daggett
ca423ba456 Bug 921858 - distinguish space features in default features from those in non-default features. r=jfkthame 2014-03-20 14:43:30 +08:00
Jonathan Watt
cddedd8d2b Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
James Willcox
dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
Milan Sreckovic
3b37f2da27 Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard. 2014-03-05 16:25:09 -05:00
Milan Sreckovic
2b8bd73400 Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
L. David Baron
2521e72b74 Bug 978608: Shut down pango's fontmap cleanly and shut down fontconfig, #if CLEANUP_MEMORY. r=karlt
This bumps the minimum required pango version to 1.22, released 29 Sep 2008.
2014-03-03 00:54:38 -08:00
Milan Sreckovic
bdadbd3fbe Bug 971942: 7. gfx.canvas.skiagl.dynamic-cache, gfx.canvas.skiagl.cache-items, gfx.canvas.skiagl.cache-size moved to gfxPrefs. r=jwillcox 2014-02-26 21:53:32 -05:00
Milan Sreckovic
cf2045952f Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
594dff26e8 Bug 971942: 5. nglayout.debug.widget_update_flashing, canvas.azure.accelerated, layers.offmainthreadcomposition.enabled, layers.offmainthreadcomposition.testing.enabled, layers.offmainthreadcomposition.force-enabled, layers.acceleration.disabled moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
e23aa3622d Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
Milan Sreckovic
710bd9d8f9 Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord 2014-02-26 21:53:27 -05:00
Milan Sreckovic
95619c8d0d Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Milan Sreckovic
3dfa3dead4 Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva 2014-02-26 21:52:54 -05:00
Vivien Nicolas
ab4d18e9fd Bug 977207 - The fps counter requires a restart to be displayed. r=bgirard 2014-02-26 23:12:35 +01:00
Milan Sreckovic
825c103203 Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob 2014-02-22 18:53:04 -05:00
Ryan VanderMeulen
0fceb198fa Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures. 2014-02-21 12:35:35 -05:00
Milan Sreckovic
eb4c7c8908 Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa 2014-02-18 19:55:48 -05:00
Bill McCloskey
4d1519077d Bug 974007 - Change OMTC behavior when browser.tabs.remote is set (r=mattwoodrow,felipe) 2014-02-20 17:26:41 -08:00
Wes Kocher
8d647a6ec0 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
91032a3dca Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ehsan Akhgari
5643b79842 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
ee9a1556e5 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Milan Sreckovic
327933ac1d Bug 971817 - GetLog statics are initialized too late. r=jdaggett 2014-02-14 10:27:47 -05:00
Milan Sreckovic
690e84b90c Bug 912794 - Setup a place where graphics preferences can live, safe from multi-threading issues. r=bjacob 2014-02-13 12:38:40 -05:00
Benoit Girard
0f3a70b95f Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ms2ger
42aa546e2f Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Milan Sreckovic
b0b663f7da Bug 967794 - Pick up the low resolution preference during the session, not just at start. r=Cwiiis 2014-02-05 14:42:15 -05:00
Nicolas Silva
78ddfafb28 Bug 965844 - Remove the pref "layers.prefer-memory-over-shmem". r=gal 2014-01-31 14:22:25 +01:00
Nicolas Silva
7e4d9d4164 Bug 965804 - Ignore the deprecated texture pref except on Windows. r=Bas,Vlad 2014-01-31 14:17:11 +01:00
Oleg Romashin
e153d57ee2 Bug 840874 - Get Skia backend working on Qt port. r=bas 2014-01-29 23:01:16 -08:00
Benoit Girard
07811375fe Bug 956263 - Add a preference to control the compositor frame-rate. r=mstange 2014-01-29 18:26:38 -05:00
Benoit Jacob
aebf0bb92a Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
ed427f9600 Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Nicholas Cameron
8a8c7b4d2b Bug 962216. Assert the correct backend in gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-01-22 11:15:48 +13:00
guozhu cheng
cf3277421c Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Ryan VanderMeulen
5ced299fa2 Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng
46a51e4e02 Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar 2013-11-07 18:20:08 +08:00
Nicholas Cameron
ec62fec751 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
6660086ef4 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
ccaa35314d 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
a1e7c32630 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
Milan Sreckovic
5e81b5895e 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
1b803048c2 Backed out changeset 010f5faed9cf (bug 956796) for build bustage 2014-01-08 15:03:23 -08:00
Milan Sreckovic
8ca53ac317 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
Ehsan Akhgari
1b83407ce9 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
Henri Sivonen
93d2e07020 Bug 213517 part 2 - Remove the x-user-def language group. r=jfkthame. 2014-01-02 09:18:20 +02:00
Nicholas Cameron
15d5a81b18 Bug 898828. Don't even try async video on Windows. r=nical 2013-12-21 10:37:07 +13:00
Chris Lord
eb39e0acf3 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
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Phil Ringnalda
ef063fb0d4 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Bill McCloskey
e3463fe50e Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Matt Woodrow
c40c4b1a78 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
Ehsan Akhgari
e004ec8ac0 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Andreas Gal
62ef63ce40 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Benoit Girard
48786b9c7c Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Nicholas Nethercote
39004db706 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Markus Stange
3ba56fecc6 Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa 2013-11-27 08:33:39 +01:00
Nicholas Cameron
ad4e27c5f7 Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow 2013-11-27 11:15:17 +13:00
John Daggett
11931c9dfc Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame 2013-11-25 13:59:56 +09:00
Benoit Girard
5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Benoit Jacob
98bafb9609 Bug 937204 - 1/3. Simplify the D3D9_LAYERS gfxinfo check and only run it on Windows - r=jrmuizel 2013-11-15 11:28:40 -05:00
Nicholas Cameron
69478b80a7 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Jaroslav Kopecký
be4abc046a Bug 936196 - Explicitly include unistd.h for getpid() on XP_UNIX. r=BenWa 2013-11-08 09:04:30 -05:00
Andreas Gal
fed880adef Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Peter Chang
b9df3af067 Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280 2013-11-07 09:20:58 -05:00
Benoit Girard
1dffedf3df Bug 935701 - Fix bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : b7586d185b814dcaa63a50a7ca932abb9759baea
2013-11-06 22:18:23 -05:00
Benoit Girard
5788c09304 Bug 935701 - Get drawing recording working on b2g. r=bas
--HG--
extra : rebase_source : 783627519f291d187552b464689315ce2697df95
2013-11-06 18:11:18 -05:00
Matt Woodrow
cb73971347 Bug 934533 - Remove the azure content enabled pref since we require it to be enabled for all platforms now. r=nrc
--HG--
extra : rebase_source : f5152dd3c088009c80cda2844589967ed047e888
2013-11-06 08:54:12 +13:00
Chris Lord
f500d6a735 Bug 932278 - Remove the long-defunct gfxPlatform::UseReusableTileStore. r=BenWa 2013-10-31 15:53:51 +00:00
James Willcox
f44cfbba54 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Robert O'Callahan
d862803ca5 Bug 924679. Part 1: Band-aid robustness fix. r=mattwoodrow
--HG--
extra : rebase_source : fee33a1412e123adb2fbd91221684c1ece8d8b86
2013-10-25 23:25:39 +02:00
Jonathan Watt
0ea41b656f Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas 2013-10-24 17:50:26 +02:00
Ed Morley
0d194ca5ae Backed out changeset 9cd10d6fb0de (bug 930516) 2013-10-24 18:44:55 +01:00
Jonathan Watt
eda1cc23be Bug 930516 - Add a gfxPlatform::ScreenReferenceDrawTarget() static method. r=Bas 2013-10-24 17:50:26 +02:00
Matt Woodrow
b721789ba1 Bug 844819 - Don't create DrawTargets for invalid cairo surfaces. r=Bas 2013-10-24 16:35:29 +02:00
George Wright
ecae0e66b7 Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
Ehsan Akhgari
eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
f1a11dfd16 Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Nicholas Cameron
abd5b28be1 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E)
d53de97263 Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa 2013-08-14 16:31:05 +12:00
Matt Woodrow
10d608653c Bug 914984 - Enable Azure content for b2g. r=nrc 2013-08-15 10:49:45 +12:00