Commit Graph

73 Commits

Author SHA1 Message Date
Lee Salzman
af66fd5e58 Bug 1159273 - Fix out-dated Cairo usage that may fail to build or work properly when system Cairo is involved. r=jrmuizel 2015-05-13 12:00:30 +09:00
Jim Mathies
0c9782b137 Bug 1132874 - Simplify PPluginWidget protocol handling, and avoid sending async messages from the parent. Addresses a problem with sub protocols that are torn down randomly from either side of the connection. r=aklotz 2015-04-07 08:17:27 -05:00
Milan Sreckovic
a5610e14a3 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Bas Schouten
5056d212a9 Bug 1136487: Destroy the compositors for all windows when any window detects a device reset. r=jrmuizel 2015-02-25 18:04:18 +00:00
Jim Mathies
92971f2518 Bug 1095754 - Provide a way to force an update on a plugin window asyncronously from chrome. Trigger an update when we adjust the widget configurations. r=aklotz 2015-01-29 13:41:56 -06:00
Bas Schouten
4eee07db6d Bug 1097699 - Part 3: Remove usage of LayerManagerD3D10. r=jrmuizel 2015-01-23 03:41:20 +00:00
Bas Schouten
ce304a8dfb Bug 1097699 - Part 1: Remove usage of LayerManagerD3D9. r=jrmuizel 2015-01-23 03:41:20 +00:00
Bas Schouten
ad4c59fcdf Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Jonathan Watt
d7f0560280 Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow 2014-11-20 10:40:04 +00:00
Jim Mathies
d70a74b30e Bug 669200 - Follow up fix for busted non-unified builds, include nsIXULRuntime.h in nsWindowGfx.cpp. r=bustage 2014-11-12 17:23:35 -06:00
Jim Mathies
f08f5fe25d Bug 669200 - Shunt access to PluginInstanceParent in widget/windows/nsWindowGfx, since it is no longer accessible in the chrome process. r=aklotz 2014-11-12 14:59:21 -06:00
Jim Mathies
9a39813c35 Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00
Bas Schouten
50944b80d5 Bug 1093696: Call UpdateRenderMode before drawing a frame with OMTC. r=jrmuizel 2014-11-04 22:00:09 +01:00
Jonathan Watt
80b795c8a4 Bug 1082553 - Remove a few unnecessary nsRenderingContext includes and forward declarations. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
42e0900d15 Bug 1023522 - Get rid of the remaining Thebes backed gfxContexts in the Windows widget code. r=mattwoodrow 2014-06-11 10:38:44 +01:00
Jonathan Watt
72989bc3d4 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Matt Woodrow
938054d37b Bug 988862 - Treat DIRECT2D render mode as GDI when drawing directly to the window through BasicLayers. r=jrmuizel 2014-04-09 14:28:38 +12:00
Jonathan Watt
9e96e76ab8 Bug 993323 - Make nsWindowGfx::CreateIcon() use the new gfxUtils helper for format conversion. r=Bas 2014-04-08 16:12:28 +01:00
Jonathan Watt
cd3785db81 Bug 990082 - Add missing null check to nsWindowGfx::CreateIcon. r=sparky 2014-04-06 15:41:45 +01:00
Jonathan Watt
1685039131 Bug 981020 - Initialize the map before using it in nsWindowGfx::CreateIcon. r=mattwoodrow 2014-03-08 01:23:34 +00:00
Jonathan Watt
13989ea012 Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-06 23:31:22 +00:00
Carsten "Tomcat" Book
4339572884 Backed out changeset 22e34e33e9ee (bug 979853) for win7/win8 debug mochitest bustage on a CLOSED TREE 2014-03-06 13:27:04 +01:00
Jonathan Watt
7457337dde Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-06 11:00:31 +00:00
Bas Schouten
07ac7c771a Bug 806406: Remove some lingering references to gfxD2DSurface. r=jrmuizel 2014-02-13 02:59:12 +01:00
Benoit Jacob
49238a878d Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
aeb3bee922 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
844232d97c Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
23af944896 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
Jonathan Watt
d2e2dae20e Bug 944442 - DeCOMify imgIContainer::GetFrame. r=seth 2013-12-13 08:34:24 +00:00
Nicholas Cameron
7ea831ebf2 Bug 946532. Setup translucent window drawing properly with OMTC. r=dvander, mattwoodrow 2013-12-09 17:44:57 +13:00
Nicolas Silva
6340c340a4 Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
David Anderson
bbb19b39f3 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Birunthan Mohanathas
3d1c72e40f Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan 2013-10-08 14:48:20 -04:00
David Anderson
d2c237dd72 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent). 2013-09-27 18:42:08 -07:00
Benoit Jacob
f6f57bbbb4 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
4780b3bc5f Bug 907926 - Use the ClientArea when initializing the draw target in nsWindowGfx. r=Bas 2013-09-11 17:08:53 +12:00
Vladan Djeric
0eb1ab433b Backed out changeset a8e569516f31 (bug 907926) for TART regressions 2013-09-11 13:30:53 -04:00
Matt Woodrow
502d1a351c Bug 907926 - Use the ClientArea when initializing the draw target in nsWindowGfx. r=Bas 2013-09-11 17:08:53 +12:00
Nicholas Cameron
0b2c66be52 Bug 912352. Do an async composite as soon as we get a WM_PAINT message. r=roc 2013-09-09 09:08:07 +12:00
Nicholas Cameron
6b3bdf1870 Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc 2013-09-02 10:20:45 +12:00
Matt Woodrow
94e359dda6 Bug 907926 - Azure support for windows/nsWindow. r=Bas 2013-08-23 18:13:55 +12:00
Nicholas Cameron
3e82afd81a Bug 874721. OMTC Windows window resizing. r=mattwoodrow 2013-07-23 11:02:22 +12:00
Markus Stange
a2deba9633 Bug 676241 part 8: Remove alternate layer manager handling. r=mattwoodrow 2013-05-23 16:49:18 +02:00
Bas Schouten
2bce266d5a Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Kyle Huey
6c491f13ff Back out bug 830347. 2013-05-08 12:04:11 -07:00
Bas Schouten
820dc00f61 Bug 830347 - Part 3: Integrate new D3D compositor into widget. r=jmathies 2013-05-03 19:34:33 +02:00
Ethan Hugg
2b2ff98bee Bug 730277 - Hold reference until data used in CreateIcon r=joe 2013-03-22 15:57:50 -07:00
Seth Fowler
278fbdd534 Bug 846132 - (Part 2) Update CopyFrame callers to use GetFrame. r=jdm 2013-03-05 15:39:48 -08:00
Robert O'Callahan
2347e5328a Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
dfbd3349d6 Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00