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
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