John Daggett
06366cd453
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
...
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
Matt Woodrow
b6b2040427
Bug 1135935 - Part 4: Move IDirect3DTexture9 allocations and ownership into the TextureClient. r=jrmuizel
...
--HG--
extra : rebase_source : 3ef1a94532980c91b850d65047493b208b1b09ce
2015-08-11 10:15:34 -04:00
David Anderson
5953408ea9
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-10 20:27:06 -07:00
Carsten "Tomcat" Book
26f2018b57
Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
...
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson
4e15c1f1eb
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-06 02:42:04 -07:00
David Anderson
a976b3be5c
Don't create a D3D11 compositor device on content processes. (bug 1183910 part 8, r=bas,mattwoodrow)
2015-08-05 02:45:06 -07:00
David Anderson
ac8c6304a9
Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow)
2015-08-02 13:59:33 -07:00
David Anderson
9d8c16c3d7
Factor out D2D initialization checks. (bug 1183910 part 4, r=mattwoodrow)
2015-07-30 00:25:56 -07:00
David Anderson
1155aac2de
Remove D3D11Status flag in favor of FeatureStatus. (bug 1183910 part 3, r=mattwoodrow)
2015-07-30 00:24:56 -07:00
David Anderson
4be0f86cb1
Add a pref to force TDRs for graphics testing. (bug 1183910 part 2, r=mattwoodrow)
2015-07-30 00:23:53 -07:00
David Anderson
b18f329c76
Refactor graphics device initialization on Windows. (bug 1183910 part 1, r=mattwoodrow,bas)
...
This patch addresses a number of inconsistencies in the device initialization process, as well as simplifying it for future use. All device decisions are now explicitly made up-front during startup, rather than implicitly or on-demand. In addition a number of restrictions have been placed on when we can construct devices.
Full change list:
(1) We no longer attempt to use D3D11 if acceleration is disabled or D3D9 is preferred. This is a departure from our previous behavior, where we would construct these devices but then not use them as a compositor backend.
(2) D3D11 startup no longer creates a content device (this is reserved for D2D initialization).
(3) D2D is only attempted if we managed to create a D3D11 compositor device. This is a departure from previous behavior where if D3D11 was not used for compositing, we could still create its machinery to use D2D as a content backend.
(4) D2D 1.1 initialization is now directly responsible for creating a D3D11 content device.
(5) D2D 1.0 and 1.1 logic have been disentangled for clarity.
(6) UpdateRenderMode() has been split up, so we can update backend prefs out of band with device resets.
(7) mUseGDIFonts and mUseDirectWrite have been removed as their state was confusing. Instead, D2D now depends on DWrite initialization succeeding. If later we fail to get a DWrite font list, we revert our decision to use Direct2D.
(8) Device resets now clear a little more state, including the devices set in Moz2D Factory.
(9) We no longer create a DWrite text analyzer as it was unused.
2015-07-28 16:52:54 -07:00
Bas Schouten
1a51d15b0f
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
Ryan VanderMeulen
e107ea6a37
Backed out changeset adbd8a7608e4 (bug 1176363
) for mochitest-gl permacrashes.
2015-07-27 13:54:56 -04:00
Bas Schouten
0bdd67bdd0
Bug 1176363
- Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow
2015-07-27 15:47:29 +00:00
David Anderson
ddaede9c8e
Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow)
2015-07-19 14:50:35 -07:00
Ryan VanderMeulen
734c9eb563
Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes.
2015-07-19 22:39:20 -04:00
David Anderson
28d2dc3e58
Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow)
2015-07-19 14:50:35 -07:00
David Anderson
65475c97d0
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
David Anderson
7885e309cd
Break InitD3D11Devices up into smaller functions. (bug 1179051 part 2, r=bas)
2015-07-15 23:59:39 -07:00
David Anderson
cc8850cffc
Split gfxWindowsPlatform::UpdateRenderMode() into multiple functions. (bug 1179051 part 1, r=bas)
2015-07-15 23:59:04 -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
Lee Salzman
5291e3cfc7
Bug 1180246 - Part 3 - remove usage of cairo_d2d_device. r=bas
...
--HG--
extra : rebase_source : a9521859e5815a4c3ff200639a1c01fe20dbd0d3
2015-07-02 17:44:53 -04: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
Matt Woodrow
072df12846
Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas
2015-06-26 14:06:49 -07: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
Matt Woodrow
648b0834c4
Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas
2015-05-13 23:42:32 +12:00
Phil Ringnalda
d8e6f914f4
Back out 75502ee740e0 (bug 1153123) for w-p-t bustage
...
CLOSED TREE
2015-05-15 20:37:24 -07:00
Matt Woodrow
4ca85adc7e
Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas
2015-05-13 23:42:32 +12:00
Bas Schouten
e0869bb7e2
Bug 1162587 - Part 1: Ensure consistent reporting of device reset until reinitialization. r=jrmuizel
2015-05-08 23:12:32 +02: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
Chris Pearce ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3916a66ac9
Bug 875247 - Add support for DXVA2 via D3D11. r=cpearce,gps,padenot
2015-03-31 18:21:15 +13:00
Matt Woodrow
a5a35423f7
Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical
...
--HG--
extra : rebase_source : 29a7c9e7fb5ab2726cb9a3868b85a5c0292a38b4
2015-03-26 13:04:42 +13: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
Matt Woodrow
67c8f780b6
Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
...
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Bas Schouten
45eb4195cb
Bug 1135408: Report device resets and their reasons through telemetry. r=vladan
2015-02-22 22:53:32 +00:00
Mason Chang
fd8b6dead7
Bug 1127151. Part 2: Create a vsync source on windows. r=kats
2015-02-13 17:17:24 +08:00
Matt Woodrow
523dd220d2
Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel
2015-02-05 16:20:14 +13:00
Jeff Muizelaar
c05b6e84f8
Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
...
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
Jeff Muizelaar
f637b9c41a
Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
...
This will hopefully help us track down large amounts of write-combined
mappings that we see.
try: -b do -p win32,win64 -u all -t none
--HG--
extra : rebase_source : 612223046a34a0e7ba179fca4fef1d4c79e18ee8
2015-01-27 20:09:34 -05:00
Matt Woodrow
0df1801282
Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas
2015-01-21 16:36:01 +13:00
John Daggett
6eb10cad82
Bug 1121793 - trim out unused FindFontFamily/FindFontEntry functions. r=m_kato
2015-01-15 13:22:32 +09:00
John Daggett
49d793eefc
Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato
2015-01-07 14:29:21 +09:00
Jeff Muizelaar
1db153eb6f
Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
...
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.
--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05: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
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
Jonathan Watt
6b10bf2102
Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas
2014-11-10 21:41:40 +00: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
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
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
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
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
Jonathan Watt
98e3e25338
Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas
2014-07-10 10:58:09 +01:00
Jonathan Watt
ff738378ef
Bug 933019, part 5 - Remove code for handling Thebes backed gfxContext from various files under gfx/thebes/. r=Bas
2014-07-10 10:58:07 +01:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07: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
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01: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
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
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
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
d3441a90be
Bug 900248. Rebuild the d3d9 device. r=Bas
2013-11-22 11:07:56 +13: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
Brian R. Bondy
b2b48b0721
Bug 901002 - Add Windows 8.1 to the OS list for gfx driver blacklisting. r=bas
2013-09-13 11:08:05 -07: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
6cd20c1e43
Bug 907011 - Use the window device context for font metrics when using Azure. r=Bas
2013-08-23 16:53:30 +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
Jeff Gilbert
d04e5840f2
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Jim Mathies
aea65f6983
Bug 870724 - Check for a specific D3D type rather than the sdk version when defining D3D11 types in gfxWindowsPlatform.h. r=khuey
2013-05-10 08:26:10 -05:00
Jim Mathies
a8b390f9d9
Bug 830347 - Fixup Windows omtc code so that it builds builds with the 601 sdk. r=bas
2013-05-09 10:32:50 -05: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
Jonathan Kew
0f5958303f
bug 818927 part 2 - refactoring - create a GetDPIScale method in gfxWindowsPlatform, and use this to replace GetDeviceCaps(hdc, LOGPIXELSY) in widget code. r=jimm
2013-04-01 10:10:28 +01: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
Lee Salzman
2d696d5c34
Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel
...
MozReview-Commit-ID: 5K9201eCSv
2017-06-30 14:09:05 -04:00
Sebastian Hengst
522fc18c93
Backed out changeset 24421d72ba08 (bug 1376026)
2017-07-07 21:42:09 +02:00
Lee Salzman
ab6885d706
Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel
...
MozReview-Commit-ID: 5K9201eCSv
2017-06-30 14:09:05 -04:00
Bas Schouten
a1cb82c019
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00: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
Joe Drew
fb6ead6ceb
Bug 706908 - Add a definition for Windows 8 to gfxPlatform. r=bbondy
2012-08-31 12:42:07 -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
afcbca306a
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +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
883ca8cb74
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03: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
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
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
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Bas Schouten
fa035d1125
Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel
2012-03-19 19:20:18 +00:00
John Daggett
1f4d27bf4c
Bug 705594. Implement hard-coded font fallback. r=roc
2012-03-09 11:05:24 +09:00
Masatoshi Kimura
651eabedd7
Bug 699247 - Remove Win2K related code. r=jimm, sr=neil
2012-02-23 08:53:55 -06:00
Hugh Nougher
7a9973c59c
Bug 689870 - Add memory reporter for (shared) GPU memory. r=nnethercote,jmuizelaar.
2012-02-08 15:13:50 -08:00
Ed Morley
91422f00de
Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression
2012-02-08 21:04:21 +00:00
Masatoshi Kimura
b40c031d6c
Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil
2012-02-08 10:00:45 -06: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
Matt Woodrow
09555ea57f
Bug 702517 - Add SupportsAzure function to decide which backend to use. r=jrmuizel
2011-11-18 17:00:38 +13: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
Michael Wu
4259bb9e4b
Bug 690297 - Fix handling of boolean prefs in gfx code after s/PRBool/bool/, r=jfkthame
2011-09-29 03:59:43 -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
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
Ed Morley
5e7764d4ab
Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar
2011-06-18 11:04:30 +02:00
Masayuki Nakano
9b0bdf62e1
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Matheus Kerschbaum
265aca5175
Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel
2011-06-10 18:27:01 +02:00
John Daggett
e9e9f644e7
Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel
2011-05-11 09:30:20 +09:00
Jonathan Kew
b9cfb5f205
bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett
2011-04-21 07:29:50 +01:00
John Daggett
4e1a8c20b8
Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar
2011-04-19 10:11:09 +09:00
joe@drew.ca
712889b510
Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker).
2011-03-01 17:00:33 -08:00
John Daggett
61e41f577f
Bug 630201. Don't use DirectWrite for pre-RTM versions of Windows 7. r=bas, a=joedrew
2011-02-25 10:31:16 +09:00
Jacek Caban
6334d5e4de
Bug 635593 - Compilation failure in gfxWindowsPlatform.h during compilation without DWrite r=jfkthame a=joe
2011-02-21 13:47:32 +00:00
Jonathan Kew
af5cea269f
bug 634762 - Don't call cairo_win32_scaled_font_select_font from SetupCairoFont, but from DCFromContext, and SaveDC/RestoreDC around it; fix usage of DC and font in Uniscribe/GDI shapers. r=roc a=blocking
2011-02-19 20:48:33 +00:00
John Daggett
db93e8fcbe
Bug 629611. Add font cache size info to about:support. r=bas,joedrew a=joedrew
2011-01-31 11:15:12 +09:00
Jacek Caban
6ebb71b13f
Bug 627693 - GfxInfo.cpp fails to compile on mingw after landing bug 590373 r=bjacob a=dbaron
2011-01-28 10:35:40 +00:00
John Daggett
5c42411612
Bug 624970. Display DirectWrite version in about:support. r=joe, a=joe
2011-01-14 21:57:17 +09:00
Jonathan Kew
4d10021c8c
bug 606419 - always return the dwrite factory once one has been created. r=bas a=blocking2.0
2010-12-02 10:37:17 +00:00
Emmanuel Gil Peyrot
e0e2698968
Bug 606990 - Remove CAIRO_HAS_DDRAW_SURFACE/CAIRO_DDRAW_USE_GL dead code. r=vlad,jmuizelaar a=bsmedberg
2010-11-24 11:11:45 +01:00
Jonathan Kew
9cd1f7a88f
bug 594865 - fall back to GDI rendering on dwrite font list failure. r=bas a=blocking2.0
2010-11-08 11:02:27 +00:00
Bas Schouten
ed75b830df
Bug 605368: Fix shared builds by keeping cairo calls in GFX. r=roc a=joedrew
2010-10-21 22:41:06 +02:00
Tom Brinkman
e23595f3c1
Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0
2010-09-16 14:34:53 -07:00
Bas Schouten
219f069673
Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel
2010-09-15 22:16:09 +00:00
Justin Wood
209fbfd5ff
Fix thebes errors in non libXUL and when D3D is not enabled. r+=Bas over irc. a=Bustage Fix
2010-08-26 18:26:47 -04:00