Botond Ballo
9eadc95b3f
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
...
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Lee Salzman
dfce3fe4ef
Bug 1170390 - Make gfxPlatform::CreateOffscreenSurface use explicit format rather than guess. r=jrmuizel
2015-07-06 21:21:47 -04:00
John Daggett
12d9815c6e
Bug 1163488 - use the preprocessor to keep font lang arrays in sync. r=m_kato
...
--HG--
extra : rebase_source : 23f499da2a3590be32018f27f4f27e2186b4f2bc
2015-07-10 23:49:26 +09:00
Karl Tomlinson
0cf3dc36ec
bug 1180012 remove unused GetPrefFonts() r=jdaggett
...
--HG--
extra : rebase_source : 67f5d30d568d9a5f91a11230c6d51c0a72736bc4
2015-05-19 19:39:51 +12:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Bas Schouten
03d7b7630c
Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical
2015-06-19 01:07:21 +02:00
Matt Woodrow
330af331a0
Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
...
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Jeff Muizelaar
feadb7fa1f
Bug 1171094. Disallow D3D11 ANGLE with old DisplayLink drivers. r=Bas
...
--HG--
extra : rebase_source : 93fbda95aa8b4ec57d6ecfa0859e8bb319135cdf
2015-06-05 17:17:30 -04:00
David Anderson
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
John Daggett
534d59b79b
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-13 14:11:25 +09:00
Carsten "Tomcat" Book
7d0e2a0d83
Backed out changeset c72465a4c424 (bug 1056479)
2015-05-12 12:21:14 +02:00
John Daggett
ad666ceddb
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-12 17:44:13 +09:00
Carsten "Tomcat" Book
1cc8234416
Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
...
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
e87a424836
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-12 14:51:17 +09:00
Thibaud Backenstrass
983ced23c9
Bug 1158122 - Remove all occurences of nsIntRect in gfx/thebes/. r=nical
2015-05-07 11:07:31 +02:00
Nicolas Silva
66177fae1c
Bug 1155649 - XFlush at the end of frames when OMTC is enabled on Linux. r=jrmuizel
2015-05-04 12:35:18 +02: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
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