Граф коммитов

452 Коммитов

Автор SHA1 Сообщение Дата
Bas Schouten 0ba3291163 Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
Carsten "Tomcat" Book eebf5d68a5 Backed out changeset 4adb7586410a (bug 1247775) 2016-02-12 08:49:29 +01:00
Bas Schouten 341a0f43ec Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood

--HG--
extra : rebase_source : fbb8a83f359e31bf77a058e202666df7f244893e
2016-02-12 02:05:35 +01:00
Bas Schouten fe90bf3a21 Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Jonathan Kew 925e9cfb7f Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
Bas Schouten b15000805a Bug 1238028: When D2D 1.0 is not allowed disable D2D completely when not using 1.1. r=jrmuizel
--HG--
extra : rebase_source : 2e49dcd71e2ebb61d201285123f677dd3e09f1d8
2016-01-11 00:41:39 +01:00
Nicholas Nethercote 4b651d870f Bug 1231881 - Remove NativeSurfaceType::CAIRO_SURFACE. r=bas.
We have both NativeSurfaceType::CAIRO_CONTEXT and
NativeSurfaceType::CAIRO_SURFACE. They both refer to DrawTargets with Cairo
backends. The only reason for having both is so you can call GetNativeSurface()
and get either the |cairo_t*| or the underlying |cairo_surface_t*|.

I argue that this convenience confuses things more than it helps. This patch
removes CAIRO_SURFACE, and adds explicit cairo_get_target() calls where
necessary.

--HG--
extra : rebase_source : 6f1701a8131d854c7f623272182029847876754e
2016-01-05 14:24:08 -08:00
Mason Chang 2e3ff601d6 Bug 842894 - Support DirectWrite using the Skia backend. r=bas 2016-01-06 11:35:04 -08:00
Milan Sreckovic ac84b221c9 Bug 1235613 - Make gfxCriticalError/Note strings in gfx/ unique. r=jrmuizel
--HG--
extra : transplant_source : %8F%1DcB%3A%25%94%95G%EF%B4U%CE%B9%10%E1%A3%BC%E2%3D
2015-12-29 14:03:58 -05:00
Bas Schouten 667d7a5517 Bug 1235407 - Part 2: Add ability to force device resets through gfxWindowsPlatform. r=milan 2015-12-30 01:30:47 +01:00
Mason Chang 205a7b8ebb Bug 1233576. Ensure vsync timestamps are monotonic on Windows 10. r=kats 2015-12-18 08:32:21 -08:00
David Anderson 8a7ec78385 Force a repaint after DXGI device resets. (bug 1188019, r=bas) 2015-12-17 11:20:08 -08:00
Kartikaya Gupta 23a4ed497e Bug 1230611 - Make gfxWindowsPlatform::SupportsApzTouchInput use a pref cache to speed it up. r=dvander 2015-12-11 11:51:53 -05:00
David Anderson dc635a03da Create a D3D11 content device even if D2D is blocked. (bug 1217665 part 11, r=jrmuizel)
--HG--
extra : rebase_source : f61be91f3eee43791769b00de1955efe6da36108
2015-12-02 11:31:18 -08:00
David Anderson b48603c10c Implement the direct DXGI drawing model for plugins. (bug 1217665 part 7, r=mattwoodrow)
--HG--
extra : rebase_source : 8e1322c9ea49fc61226a06ab2e2beea525db0ba8
2015-12-02 11:31:17 -08:00
David Anderson 55f75a9936 Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz)
--HG--
extra : rebase_source : e106bcfe1d671bcff1175b08d47bd8fd2768d64e
2015-12-02 11:31:16 -08:00
David Anderson 249352a00c Include vendor and device ids in content process DXGI adapter matching. (bug 1228905, r=jrmuizel)
--HG--
extra : rebase_source : e751c66e50c5d706af08eeb113f18f0137f635bd
2015-11-30 12:46:22 -08:00
David Anderson 85927e2032 Don't assume D3D11CreateDevice() gives back non-null devices. (bug 1209268, r=milan) 2015-11-23 13:07:40 -08:00
John Daggett b788233f65 Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame 2015-11-20 22:01:12 +09:00
David Anderson 6458429618 Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel)
--HG--
extra : rebase_source : 958d320e527c871b927f888598c00b95189faf0d
2015-11-18 12:13:40 -08:00
David Anderson a461be8bed Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3733dd6db625c9f93f34725d246b4efb6b63b191
2015-11-18 12:11:52 -08:00
Wes Kocher f4535ab455 Backed out 2 changesets (bug 1225283) for Windows build bustage CLOSED TREE
Backed out changeset a2dc8e863533 (bug 1225283)
Backed out changeset 5f456b78cccc (bug 1225283)
2015-11-17 14:41:42 -08:00
David Anderson 49d9ee1086 Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel) 2015-11-17 13:40:38 -08:00
David Anderson 91684610bf Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow) 2015-11-17 13:38:12 -08:00
Nathan Froyd 20624ec388 Bug 1222569 - fix -Wformat warning in gfxWindowsPlatform.cpp; r=Bas 2015-11-06 14:42:09 -05:00
Nathan Froyd 2b88ed7158 Bug 1222569 - fix initialization order in gfxWindowsPlatform.cpp; r=Bas 2015-11-06 14:40:48 -05:00
Benoit Girard f592f0fa5b Bug 1221348 - Part 2: Fix texture sharing detection code on Intel. r=jrmuizel
--HG--
extra : commitid : 7OxVAv5q4NJ
2015-11-06 14:48:44 -08:00
Benoit Girard ca56eb47b0 Bug 1221348 - Part 1: Unify crash signatures. r=jrmuizel
--HG--
extra : commitid : JmqLdOjZe0m
2015-11-06 11:54:32 -05:00
Mason Chang 8aa60c20d6 Bug 1221674 - Add telemetry probe in the content process to measure the time between refresh driver ticks. r=kats 2015-11-06 08:20:58 -08:00
Mason Chang 9e9747858c Backout bug 842894 for lack of skia documentation. r=me 2015-10-28 15:17:04 -07:00
Mason Chang f9083bce99 Bug 842894 - Support DirectWrite using the Skia backend. r=bas 2015-10-28 14:54:54 -07:00
Benoit Girard 5b68a8adf7 Bug 1097321 - Add layers.amd-switchable-gfx.enabled pref. r=jrmuizel
--HG--
extra : commitid : 4X1a35Dm5sB
extra : rebase_source : 9d5a51da0f7f4697edb164a23a24698285c9b704
2015-10-20 12:58:11 -07:00
Benoit Girard 683a6134f1 Bug 1097321 - Fix DoesD3D11TextureSharingWorkInternal to handle Intel/AMD configurations. r=Bas
--HG--
extra : commitid : KG1A26LEJqD
extra : rebase_source : 982cc4c8ad3ca75c36d068a33faabe25afb50a3e
2015-10-08 14:20:22 -07:00
Milan Sreckovic dd6aa8383f Bug 1217192 - Use gfxCriticalNote where we're already using the non-default construction parameter. r=mchang 2015-10-21 14:34:00 +02:00
John Daggett f4458274bd Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-19 11:16:43 +09:00
Phil Ringnalda adfbc1f710 Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
Backed out changeset 2d1d8e9b095c (bug 543715)
Backed out changeset bc90276ec090 (bug 543715)
2015-10-18 11:22:22 -07:00
John Daggett 72b6bcd6d6 Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame 2015-10-18 22:17:46 +09:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Mason Chang ced85cbc4f Bug 1210250. Fallback to GDI fonts with a skia backend. r=jwatt 2015-10-12 09:54:15 -07:00
Wes Kocher 0191dbf4b6 Backed out changeset aced11aac8b8 (bug 1210250) for Windows build bustage 2015-10-12 09:23:24 -07:00
Mason Chang 897d53deb1 Bug 1210250. Fallback to GDI fonts with a skia backend. r=jwatt 2015-10-12 08:21:55 -07:00
David Anderson b2ef93be8f Fix layers.acceleration.force-enabled not working. (bug 1212659, r=jrmuizel) 2015-10-08 12:21:59 -07:00
Milan Sreckovic 471eeeeab2 Bug 1207258 - Give back the ability to run direct write without D2D, but only with a *force* preference. r=dvander 2015-10-05 11:40:00 +02:00