Benoit Jacob
5a82bddd3a
Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas
2014-11-12 11:48:01 -05:00
Michael Wu
cb9a6592db
Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas
2014-11-12 15:05:14 +00:00
Jonathan Watt
6b10bf2102
Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas
2014-11-10 21:41:40 +00:00
Jeff Muizelaar
2d5dbdb879
Bug 1021265. Fix DisplayLink version expansion code. r=Bas,a=lawrence
...
GFX_DRIVER_VERSION(8,6,..) expands to 8.0006....
but ParseVersion(8.6,...) gives 8.5000...
This was an unfortunate error. Having better static typing
of versions would have helped here.
--HG--
extra : rebase_source : 8eb9fc7d337a017b350e6ef1935f99fd4383114d
2014-11-10 16:11:42 -05:00
Wes Kocher
26ed578115
Backed out changeset dc2e15a7df8d (bug 1096535) for bustage on a CLOSED TREE
2014-11-10 12:53:34 -08:00
Jeff Muizelaar
6020bfbf29
Bug 1096535. Add more DisplayLink logging. r=bas
...
--HG--
extra : rebase_source : 6569641159d6e89abcbf677b38df449333714db3
2014-11-10 15:18:10 -05:00
Benoit Jacob
2844fab51e
Bug 1093863 - Blacklist D3D on dual Intel/AMD not advertised as such in the registry - r=jrmuizel CLOSED TREE
2014-11-05 17:43:33 -05:00
Benoit Jacob
f3eefd4544
Bug 1021265 - Add AppNotes about blacklisting DisplayLink - r=jrmuizel
2014-11-04 18:17:11 -05:00
Benoit Jacob
ac0f0151ea
Bug 1021265 - Fix bustage - no review on a CLOSED TREE
2014-11-04 14:47:15 -05:00
Benoit Jacob
0f37492ba9
Bug 1021265 - regard d3d11 as broken with displaylink on versions <= 8.6.1.36484, and fall back to basic layers - r=jrmuizel
2014-11-03 17:55:00 -05:00
Benoit Jacob
2c679eef1b
Bug 1089413 - Only test resource sharing on d3d feature level >= 10. r=jmuizelaar, a=sledru
2014-10-27 10:36:00 -04:00
Benoit Jacob
8ff28f5932
Bug 1083071
- Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 18:46:09 -04:00
Ryan VanderMeulen
07a4bc9d5e
Backed out changeset 4d4abe4bee7f (bug 1083071
) for bustage.
2014-10-26 18:44:40 -04:00
Benoit Jacob
00c7a6d832
Bug 1083071
- Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 08:01:00 -04:00
Jeff Muizelaar
e465ca9f83
Bug 1083071
- Disable D3D11 and D3D9 layers on broken drivers. r=bjacob
...
This will hopefully prevent black screen problems that people are seeing.
2014-10-23 00:15:22 -04:00
Ryan VanderMeulen
5dca9bcabc
Backed out changeset 2b05d4e71d11 (bug 1083071
) for Win7 mochitest-1 leaks.
2014-10-23 12:53:13 -04:00
Jeff Muizelaar
d09b5b8702
Bug 1083071
. Disable D3D11 and D3D9 layers on broken drivers.
...
This will hopefully prevent black screen problems that people are seeing.
--HG--
extra : rebase_source : 8ba080a4a9a81a1124020cd5ed5395bf262c5d4a
2014-10-22 21:38:18 -04:00
Vladimir Vukicevic
a5902d45bc
Bug 912196. Add support for ANGLE D3D11 path. r=jgilbert
...
There are currently problems with the color format chosen
which breaks MSAA resolution. But we might as well land this
now.
--HG--
extra : rebase_source : 1287e5c059e263d03b0d612ce5cf17e93bc5b033
2014-04-03 13:29:22 +08:00
Jonathan Kew
0d2cfaf334
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
Bas Schouten
20ab143e76
Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel
2014-09-30 17:51:09 +02: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
Robert Longson
5a0cd66f24
Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas
2014-09-17 18:35:00 +01: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
Matt Woodrow
b1adcf8934
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
Bas Schouten
00d3edd7d3
Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow
2014-09-14 23:51:27 +02: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
John Daggett
780497e3ca
Bug 1059691. Cleanup tabs in gfx/thebes source files. r=mkato
2014-08-29 13:18:28 +09:00
Nicholas Nethercote
a7cf4142b4
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Bas Schouten
6624d1aefe
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ed Morley
46d9238c0a
Backed out changeset c4ecea1452e9 (bug 947781)
2014-07-30 14:54:08 +01:00
Bas Schouten
7dae46766a
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ehsan Akhgari
26fcf30ef7
Bug 1040038 - Give GfxD2DSurfaceReporter a private destructor; r=bjacob
...
--HG--
extra : rebase_source : caa4478e14cd1d526978700e3d0cfe28a3af0068
2014-07-17 16:47:19 -04:00
Ehsan Akhgari
52b3213404
Bug 1038156 - Give GPUAdapterReporter a private destructor; r=bjacob
2014-07-15 16:41:50 -04:00
Ehsan Akhgari
035c5837f3
Bug 1038155
- Give GfxD2DVramReporter a private destructor; r=bjacob
2014-07-14 21:49:53 -04: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
Ehsan Akhgari
61c162bda7
Bug 1028944 follow-up: remove the #ifdef altogether
2014-06-23 10:23:30 -07:00
Ehsan Akhgari
bbd358cafc
Bug 1028944 - Use nscore.h SEH wrapper macros in gfxWindowsPlatform.cpp; r=jrmuizel
2014-06-23 09:04:22 -07: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
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07: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
62f18378c7
Bug 1022667, part 4 - Remove some font related functions from gfxWindowsPlatform.cpp. r=jfkthame
2014-06-10 16:42:23 +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 Watt
dd0a3a7c18
Bug 1019690 - Remove gfxPlatform::CreateOffscreenImageSurface(). r=Bas
...
--HG--
extra : rebase_source : 3c79945a1179d7b7bb128278eae0642156460df0
2014-06-05 01:02:44 +01:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Makoto Kato
f2dbe6caa9
Bug 889401 - Part 1. Add Segoe UI Emoji to fallback font list. r=jfkthame
2014-05-26 17:09:55 +09:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:52 +03:00
Vladimir Vukicevic
a24feda1d8
Bug 1003293 - Addition: Properly detect optimus on all different build. r=bas
2014-05-10 12:43:01 -04:00
Hugh Nougher
5970533426
Bug 934783 - Fix GPU memory reporter for win7 and reenable. r=njn
2014-04-26 21:36:00 -04: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
Jonathan Kew
50f3f3bd9e
bug 998777 - use Nirmala UI by default for Devanagari text on Windows. r=smontagu
2014-04-23 13:34:14 +01:00
John Daggett
6a1439fd24
Bug 995056 - update common font fallback list for Windows. r=mkato
2014-04-15 08:45:18 +09:00
Bob Owen
6f677dd29a
Bug 994050 - Only set gfx.direct3d.last_used_feature_level_idx pref from main process. r=mattwoodrow
2014-04-10 09:49:44 +01:00
Jeff Muizelaar
ce89644fdc
Bug 994101. Allow skia content on windows.
...
--HG--
extra : rebase_source : 7afdd908a24e7a9e4757af4dcb15f3dce792aa9c
2014-04-09 10:40:44 -04: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
Masatoshi Kimura
8ddf7de8a5
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Masatoshi Kimura
5767cc440b
Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy
2014-02-12 23:49:06 +09:00
Masatoshi Kimura
8283ea1d4d
Bug 970483 - Part 2: Blackliist pre-RTM Windows 7 again. r=jfkthame
2014-02-12 06:01:30 +09:00
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
Bas Schouten
10e49c16bd
Bug 969580 - Part 2: Discard everything in the surfacecache when Direct2D malfunctions. r=seth
2014-02-08 19:37:39 +00: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
7fb38e9bed
Bug 956967. Don't use direct2d if we forcing d3d9. r=Bas
...
--HG--
extra : rebase_source : 5a4505f9fe043cce965b11a0d1c33815d2b0be3e
2014-01-12 17:02:30 +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
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
Nicholas Nethercote
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9366b60202
Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
...
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Vladimir Vukicevic
4b2820854b
b=929508; implement gfxWindowsPlatform::GetScreenDepth; r=jrmuizel
2013-12-18 13:09:10 -05:00
Jim Mathies
9fda9d68ee
Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy
2013-12-14 14:40:55 -06:00
Jacek Caban
34f795c6b7
Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten
2013-12-11 10:46:41 +01:00
Nicholas Nethercote
8bbe1e2dc1
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Nethercote
b413e441cf
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08: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
Masatoshi Kimura
94e32908ff
Bug 925599 - Replace gfxWindowsPlatform::WindowsOSVersion(). r=Bas
2013-11-22 12:35:40 +09:00
Nicholas Cameron
2832cf7323
Bug 900248. Better handling of device reset and recreation. r=Bas
2013-11-22 11:07:57 +13:00
Nicholas Cameron
f59c4c9f6d
Bug 900248. Only create d3d9 device on the main thread. r=Bas
2013-11-22 11:07:57 +13:00
Nicholas Cameron
d3441a90be
Bug 900248. Rebuild the d3d9 device. r=Bas
2013-11-22 11:07:56 +13:00
Nicholas Nethercote
3eae0dfea5
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
d17979e3e1
Bug 917496 - Disable GPUAdapterReporter because its values are frequently bogus. r=Hughman.
...
--HG--
extra : rebase_source : ae3bbbc142dfcf7101aaac94acc52e67e68e97fd
2013-11-05 14:01:24 -08: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
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
Matt Woodrow
81ca97be57
Bug 907926 - Enable Azure content for windows. r=nrc
2013-09-19 09:32:15 +12:00
Wes Kocher
c83409e3af
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
e7fddb5760
Bug 907926 - Enable Azure content for windows. r=nrc
2013-09-19 09:32:15 +12:00
Vladan Djeric
735ddcd0a2
Backed out changeset 091d82cb377e (bug 907926) for TART regressions
2013-09-11 13:30:24 -04:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Matt Woodrow
f15c628d67
Bug 907926 - Enable azure cairo content for windows. r=nrc
2013-09-11 17:08:53 +12:00
Robert O'Callahan
03e7828db2
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
26ceee4fb5
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
1f32372424
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
b591a7c0f9
Bug 831193 (part 12) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxWindowsPlatform.cpp. r=jmuizelaar.
...
--HG--
extra : rebase_source : 7e7af6f1a59a8df65dcd6c9e16eff605c9b68572
2013-01-17 16:45:11 -08:00
Matt Woodrow
f8b0a1ad88
Bug 908822 - Disable azure content on windows for now. r=nrc
2013-08-26 21:06:37 +12:00
Matt Woodrow
2e4efd70fd
Bug 907011 - Enable Azure content for windows. r=Bas
2013-08-23 16:54:14 +12:00
Nicholas Cameron
f742a26a6e
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Birunthan Mohanathas
c742394e75
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
David Anderson
0686100357
Only use DirectX 11.1 on Windows 8 or higher (bug 893221, r=bas).
...
--HG--
extra : rebase_source : 147493bef3e487c6ab5424c3e4a4fd2fd2440e09
2013-07-24 11:52:54 -04:00
Jim Mathies
0cbcf40108
Bug 870390 - Remove the bit of code that forces the d2d backend on for metrofx. r=bbondy
2013-06-26 19:31:56 -05:00
Milan Sreckovic
8dd14782bb
Bug 876208: only evaluate the preference for gfx.direct2d.* once, and require restart before any further changes to the preferences take effect in the code, r=bas
2013-05-30 16:53:37 -04:00
Aryeh Gregor
8b16f79037
Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger
2013-04-28 14:52:10 +03:00
Bas Schouten
84a5565695
Bug 830347 - Part 1: Initialize D3D11 device when needed. r=jrmuizel
2013-05-01 16:27:09 +02:00
Kyle Huey
de21211adf
Back out bug 830347.
2013-05-08 12:04:11 -07:00
Bas Schouten
34f8ad7af9
Bug 830347 - Part 1: Initialize D3D11 device when needed. r=jrmuizel
2013-05-01 16:27:09 +02:00
Jacek Caban
4bd86ab3ce
Bug 689870 - mingw fix
2013-05-03 15:01:49 +02:00
Hugh Nougher
3917da91d0
Bug 689870 - Add d3dkmtQueryStatistics.h and enable GPU reporter for Win7+. r=jrmuizel
2013-05-02 10:50:51 -04:00
Nicholas Nethercote
1c97315e22
Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
...
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Brian R. Bondy
920b3ea783
Bug 844954 - Add support for DX9.3 feature level for Metro and cleanup CreateDevice code. r=bas
2013-03-22 15:32:56 -04:00
Brian R. Bondy
efbc670344
Backout of 925db0605e39 due to bustage. r=me
2013-03-23 11:10:28 -04:00
Brian R. Bondy
f096efb5b1
Bug 844954 - Add support for DX9.3 feature level for Metro and cleanup CreateDevice code. r=bas
2013-03-23 10:19:42 -04:00
Brian R. Bondy
dcff5c97c5
Bug 845571 - Turn on console debug logging when running in Metro. r=jimm
2013-02-28 16:10:17 -05:00
Brian R. Bondy
6247c94cd0
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
Brian R. Bondy
1f148689cc
Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas
2012-11-08 21:34:44 -05:00
Ryan VanderMeulen
ff740d59ea
Backout c3933841e06e (bug 793013) for possible Win7 reftest failures.
2012-11-06 21:27:09 -05:00
Anthony Jones
0508e2aafe
Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron
2012-11-06 18:23:13 -05:00
Bas Schouten
a1cb82c019
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Robert O'Callahan
c8038f3de8
Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc
2012-09-20 02:10:46 +12:00
Anthony Jones
a84827280d
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Phil Ringnalda
e68bd50029
Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build
2012-09-16 17:59:25 -07:00
Anthony Jones
1e224ae09c
Bug 789367 - Add content preference for GTK platform. r=nrc
2012-09-16 20:20:16 -04:00
Andrew Quartey
c98758a870
Bug 607075 - Fix logic in gfxWindowsPlatform::UpdateRenderMode r=bjacob
2012-09-10 23:35:25 -04:00
Ehsan Akhgari
e368dc9c85
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
ebac508850
Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
...
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
Nicholas Cameron
c45bb4fff0
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 19:57:28 +12:00
Nicholas Cameron
5dd825ba63
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
77df30f28c
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 13:46:05 +12:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Nicholas Cameron
3e80396ca2
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Nicholas Cameron
9c67b116d5
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Nicholas Cameron
9bcaf104d6
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
e5b55a65ac
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
5c8c9441ba
Bug 746883; fix the bustage possibly caused by 746896. r=mattwoodrow
2012-07-26 14:30:20 +12:00
Nicholas Cameron
3843356847
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Nicholas Cameron
d671f23535
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Brian R. Bondy
365c621abf
Bug 747377 - Force D2D on in Metro mode. r=bas
2012-07-17 21:53:12 -04:00
Nicholas Cameron
162bac1537
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
1a825cc2d4
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
00ede18308
Bug 757346 followup, actually compile
2012-06-26 10:15:15 +12:00
Nicholas Cameron
eabed73236
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Bas Schouten
fecc69df4f
Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel
2012-06-20 23:41:16 +02:00
John Daggett
869f32cde3
Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew
2012-06-14 15:31:56 +09:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Bas Schouten
8c640d8015
Bug 759643: Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter. r=roc
2012-05-30 06:55:15 +02:00
Phil Ringnalda
14e63f87fb
Back out 36f327aaffa5 (bug 739804) for WinXP reftest orange
2012-05-27 22:14:25 -07:00
John Daggett
29522af35f
Bug 739804. Avoid using Cambria Math for symbol fallback. r=jkew
2012-05-28 12:30:50 +09:00
Kan-Ru Chen
52fc902deb
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Bas Schouten
cf4dd68f30
Bug 743593: Properly cast gfxFont based on type. r=jfkthame
2012-04-11 16:55:31 +02:00
Matt Woodrow
026484c01a
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Ehsan Akhgari
dc62ac1760
Backed out changeset 690cba3bb817 (bug 719776) because of build failures
2012-04-03 17:49:59 -04:00
Matt Woodrow
4fbdb5afa4
Bug 719776: Kill some external dependencies inside Azure code. r=Bas
2012-03-05 13:12:15 +13:00
Jim Mathies
c2cd566559
Bug 737988 - Disable Win8 memory reportder due to missing headers in the latest consumer preview. r=jmuizelaar DONTBUILD
2012-03-27 08:42:03 -05:00
Bas Schouten
1e44570b66
Bug 736134 - Followup: Put last parameter into an if-block. r=jrmuizel
2012-03-19 19:26:17 +00:00
Bas Schouten
fa035d1125
Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel
2012-03-19 19:20:18 +00:00
Nicholas Nethercote
4583ceebea
Bug 732842 - Add assertions for memory reports. r=jlebar.
2012-03-15 15:16:11 -07:00
Daniel Holbert
2248350fea
merge m-c to m-i, up to m-c revision b9357da14ab8
2012-03-11 15:38:51 -07:00
Bas Schouten
f913ae7360
Bug 734478: Prevent shadowing of adapter1 variable in VerifyD2DDevice. r=jrmuizel
2012-03-11 22:33:22 +00:00
Benoit Jacob
c91d468518
Bug 711656 - Fix bug in D2D blocklisting check - no review
...
Two-fold bug:
- d2dDisabled was set there, only to be overwritten below at line 432
- d2dBlocked was only set there for certain status values, should have been set for any status != NO_INFO.
See https://bugzilla.mozilla.org/show_bug.cgi?id=711656#c85
2012-03-10 13:32:33 -05:00
Nicholas Nethercote
a4e916975c
Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
John Daggett
460915fb42
Bug 705594. Use DirectWrite custom text renderer for fallback on Windows Vista/7. r=bas
2012-03-09 11:05:55 +09:00
John Daggett
1f4d27bf4c
Bug 705594. Implement hard-coded font fallback. r=roc
2012-03-09 11:05:24 +09:00
Benoit Jacob
c5a42c7937
Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
...
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Hugh Nougher
7a9973c59c
Bug 689870 - Add memory reporter for (shared) GPU memory. r=nnethercote,jmuizelaar.
2012-02-08 15:13:50 -08:00
Brian R. Bondy
ed784525f3
Bug 722225 - Improve Firefox startup speed by ~5% (-70ms) on Windows by optimizing D3D10CreateDevice1. r=bas
2012-02-09 13:50:54 -05:00
Bas Schouten
b289758895
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Bas Schouten
0ba547cb7b
Bug 624109: Deal with failing DXGI factory creation due to DLL injections. r=joedrew
2012-01-31 06:15:23 +01:00
George Wright
d95f49e214
Bug 721855 - Honour the gfx.canvas.azure.prefer-skia pref on OS X, r=joe
...
--HG--
extra : rebase_source : 93aba135b44e5e0f944a8bf604b77a5b414185cf
2012-01-27 14:38:00 -08:00
Joe Drew
dd386b3408
Bug 719628 - Fix the formatting and naming of ThebesSurfaceKey. r=mattwoodrow
...
--HG--
extra : rebase_source : 371e80f924bc6f8dd3dbeea02999ebe8fdd7d27e
2012-01-27 13:08:58 -05:00
Jeff Muizelaar
cfe7a9496f
Bug 717921. Only have one thebes surface. r=bas
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
3036b1473f
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Matt Brubeck
4b1bdf5b96
Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error
2012-01-17 10:08:38 -08:00
Jeff Muizelaar
b3fbc23201
Bug 717921. Only have one thebes surface. r=bas
...
--HG--
extra : rebase_source : 731cfa7d20fec10b784118297e7223e2e9279773
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
0ac4c9201a
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
...
--HG--
extra : rebase_source : 94f8c205e16e961b5407396c0d0d3b41067222dc
2012-01-09 13:54:44 -05:00
Ms2ger
7535aaa04a
Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor
2012-01-17 10:48:19 +01:00
Jeff Muizelaar
9d5423718d
Bug 717921. Only have one thebes surface. r=bas
2012-01-13 09:48:29 -05:00
Jeff Muizelaar
ad79c1ab36
Bug 692879. Implement CoreGraphics Azure backend. r=mwoodrow
2012-01-09 13:54:44 -05:00
Jonathan Kew
148f06b7d4
bug 703100 - pt 2.3 - adapt Windows font code to work with gfxShapedWord caches. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
fae89f9ba9
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Matt Woodrow
09555ea57f
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13:00
Marco Castelluccio
2f7388d5b7
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Matt Brubeck
65a5f3ea90
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
d303f502ae
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Jacek Caban
5eb053e904
Bug 670095 - gfxWindowsPlatform.cpp fails to compile on mingw r=cjones
2011-11-08 10:25:33 +01:00
Matt Woodrow
ba3ebc26fb
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Chris Jones
29d310c506
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-08-09 12:38:26 -07:00
Ryan VanderMeulen
7676326719
Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas
2011-06-30 14:35:46 +02:00
Justin Lebar
5daed65b45
Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
...
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Bas Schouten
208c771f07
Bug 651858 - Part 2: Add glue code in gfx for thebes-azure interop. r=jrmuizel
2011-06-24 19:41:18 +02:00