Commit Graph

368 Commits

Author SHA1 Message Date
Markus Stange
30aeb02de9 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron
055bf4fa39 Bug 942819. Check the return value of GetD3D9DeviceManager. r=mattwoodrow 2013-11-26 10:54:13 +13:00
Nicholas Cameron
446f79a12d No bug. Add a missing include to fix bustage in the previous patches. r=me 2013-11-22 11:07:58 +13:00
Nicholas Cameron
9b7f4ecea0 Bug 900248. Handle the add/remove monitor case. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
3dce33b8c6 Bug 900248. An extra safety check in TextureD3D9 plus some refactoring around it. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
621f0723d9 Bug 900248. Move logic for device checking to Ready() and check it at the start of transactions. r=Bas 2013-11-22 11:07:57 +13: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
375333e147 Bug 900248. Remove managed pool d3d9 texture use. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
a44334c0fc Bug 900248. Reinstate some removed code and don't composite immediately after resetting the device. 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
b7fa55c34a Bug 900248. Don't return a d3d9 device from device() if we can't composite. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
d3441a90be Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
e9665e5538 Bug 900248. ReleaseTextureResources. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
aea4f9337a Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
David Anderson
54fffb1db4 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicolas Silva
82f4a75c95 Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
Nicolas Silva
c2dbc23f36 Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00
Benoit Jacob
4f433f901d Bug 938970 - 3/5. Some d3d tweaks needed to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:23 -05:00
Benoit Girard
5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Matt Woodrow
9f29749647 Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
374a9070c7 Bug 935380 - Part 4: Make the Compositors use the RenderTarget's origin instead of aOffset. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
88de3c4def Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
51611f31d6 Bug 935380 - Part 2: Pass the actual rect that the RenderTarget represents as the first parameter to CreateRenderTarget. r=nrc 2013-11-07 22:53:07 +13:00
Matt Woodrow
43199694b8 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Ed Morley
2153b816b9 Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE 2013-11-01 15:51:32 +00:00
Andreas Gal
6be862a938 Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical 2013-11-01 09:29:20 -04:00
Daniel Holbert
c87cf7ee4d Bug 925142: Remove unnecessary includes from ContainerLayerD3D9.cpp and ContainerLayerD3D10.cpp. r=nical 2013-10-10 09:17:08 -07:00
Nicolas Silva
e422a66147 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Ehsan Akhgari
b155782d0a Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
009454da8e Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -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
Nicholas Cameron
6b9eb7d024 Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron
f9ecccbcc4 Bug 912766. Use the DIB texture client/host. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron
d6482934be Bug 912766. DIB texture client/host. r=mattwoodrow,jrmuizel 2013-09-24 13:14:11 +12:00
Nicholas Cameron
645b178212 Bug 912766. Refactor DataToTexture. r=mattwoodrow 2013-09-24 13:14:11 +12:00
Jeff Muizelaar
21df65f091 Bug 914195. Improve type safety in cairo_win32_surface_create_with_d3dsurface9. r=benwa
This avoids a crash by writing to d3d9surface member on surfaces
that are not win32

--HG--
extra : rebase_source : 0aa7a67151c8d30f0b57e50a1f8570abd18081ca
2013-09-13 13:39:38 -04:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Benoit Jacob
29823d2d34 Bug 912042 - Remove the last occurences of #include "GLContext.h" in remaining headers - r=jrmuizel 2013-09-06 22:11:41 -04:00
Benoit Girard
f488d3c533 Bug 907544 - Pass the D3DSurface9 down into Cairo for LockRect. r=jrmuizel
--HG--
extra : rebase_source : 71c0f776360435d242987ffd3e2cbab8a3535c67
2013-09-04 16:53:54 -04:00
Nicholas Cameron
31ac189fe3 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Jeff Muizelaar
499c58c707 Bug 910908 - Remove obsolete optimus blocking in d3d9. r=bas
This was added when we only had a d3d9 layer manager and needed
to interoperate between d2d and d3d9. We don't have that anymore.

--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
rename : mfbt/Maybe.h => mfbt/Util.h
rename : toolkit/components/social/FrameWorkerContent.js => toolkit/components/social/FrameWorker.jsm
rename : webapprt/content/mochitest-shared.js => webapprt/content/mochitest.js
rename : widget/gonk/HwcUtils.cpp => widget/gonk/HwcComposer2D.cpp
extra : rebase_source : 91711ea886a20d74b68dbaf4dd571deb10df606f
2013-08-29 17:42:54 -04:00
Matt Woodrow
18ef353f5a Bug 907011 - Add support for Azure in ThebesLayerD3D9. r=Bas 2013-08-23 16:51:27 +12:00
Jeff Muizelaar
5bfbf126a7 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Nicholas Cameron
df153198ec Bug 899435. Part 4 - smooth resizing with OMTC. r=roc 2013-08-09 11:32:26 +12:00
Nicholas Cameron
6668fc7c4a Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
3351ebf4f3 Bug 901722. Tweek to d3d9 compositor blend modes. r=bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron
dcdeebdb8d Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +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
dd13ff8363 Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan
--HG--
extra : rebase_source : 6628eb59eef0bb828fbcff03ad967f7fc97c437d
2013-07-20 11:48:55 +03:00