Commit Graph

310 Commits

Author SHA1 Message Date
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
David Anderson
da020904ab Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
--HG--
extra : rebase_source : 5fdf05418fd70e4a13f17afcf8ca8cc43c5d61d9
2015-04-19 16:12:14 -04: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
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
Bas Schouten
4631908ab5 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01: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
Dave Townsend
699c63e7d4 Bug 1144900: Fix windows gfx out of memory assertion. r=Bas
--HG--
extra : rebase_source : 1158df9324b3a1f30f7a446d7713ca17ad26a5fb
2015-03-19 10:42:27 -07: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
Bas Schouten
45eb4195cb Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
JerryShih
07da2f6d6d Bug 1129686 - fix friend class declaration. r=jrmuizel 2015-02-12 22:26:00 +01: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
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
Wes Kocher
f37df5625b Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Matt Woodrow
e0f2ca34db Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas
--HG--
extra : rebase_source : 782dc73a9f284c7a0d98061f2fe2dfb87e3bb149
2015-01-26 13:34:28 +13:00
Bas Schouten
11de23359f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Mason Chang
4b9c7c9fe3 Bug 1102631 - Create a software vsync timer. r=kats 2015-01-08 15:12:47 -08:00
Markus Stange
9f8bb48452 Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Mason Chang
5119b7e4eb Bug 1101974. Part 3 - Create VsyncSource / Display framework. r=kats 2014-12-18 08:30:06 -08: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
Jeff Muizelaar
ad91c2690e Bug 1088414. Backout "Use a single synchronized texture for d3d11"
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05: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
Matt Woodrow
3a89ba9be0 Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.

I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.

This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.

--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13: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
Kartikaya Gupta
e230d54989 Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa 2014-11-07 14:17:14 -05: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
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
Jonathan Kew
87cc3a2642 Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc 2014-09-30 07:27:55 +01:00
Bas Schouten
983d188140 Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow 2014-09-24 17:12:10 +00:00
Milan Sreckovic
b689675056 Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow 2014-09-17 13:55:23 -04:00
Seth Fowler
7d3ef1ca8c Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow 2014-09-14 15:22:44 -07:00
Sotaro Ikeda
5cb1b77a4e Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07: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
Matt Woodrow
7c3d1c2e1a Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Phil Ringnalda
e63feb3849 Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
f9ac204f27 Bug 982338 - Enable tiling for OSX 10.8. r=Bas
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Carsten "Tomcat" Book
1e05505fc7 Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE 2014-09-01 09:58:39 +02:00
Matt Woodrow
14ca0ef931 Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12: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
Benoit Girard
193a66a800 Bug 864829 - Add graphics performance warning feature. r=bjacob
--HG--
extra : rebase_source : 11585fb913c4a10c9293787fa6e86f2f76bdcdb4
2014-05-07 18:09:41 -04:00
Jonathan Watt
c97839b951 Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis 2014-07-11 08:06:38 +01:00
Jonathan Watt
98e3e25338 Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas 2014-07-10 10:58:09 +01:00
Masatoshi Kimura
e6e3ddadf9 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09: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
John Daggett
8259cc74f5 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09: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
Bas Schouten
88b9643ff7 Bug 1011367: Add Direct3D 11 Gfx feature. r=bjacob 2014-05-16 18:16:21 +02: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
David Zbarsky
02a20c5e41 Bug 991142 - Remove CreateThebesSurfaceAliasForDrawTarget_hack r=benwa 2014-04-06 19:21:27 -04:00
Ryan VanderMeulen
0d5b7940ce Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Sotaro Ikeda
bff4759a2e Bug 990305 - Move IsInEmulator() from GrallocImage to gfxPlatform r=nical 2014-04-01 06:33:49 -07:00
Nicolas Silva
8151128bb6 Bug 982413 - Remove the deprecated textures pref. r=mattwoodrow 2014-04-01 14:28:36 +08: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
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
Nicolas Silva
2592474737 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01: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
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
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
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
Ryan VanderMeulen
0cdf10592f Backed out changesets a6831c02d8cf, 5ab4f97a3220, 2784838dbc94, and 6364146ddb19 (bug 973892) for B2G bustage.
CLOSED TREE
2014-02-19 14:28:05 -05:00
Nicolas Silva
59eca69a5d Bug 973892 - Part 1) Choose the backend in ImageDataSerializer::GetAsDrawTarget. r=mattwoodrow 2014-02-19 18:17:40 +01: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
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
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
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
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
Benoit Jacob
f447d87c57 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
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
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
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
Ehsan Akhgari
e004ec8ac0 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -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
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