Commit Graph

43 Commits

Author SHA1 Message Date
Bas Schouten
ee49fe00fe Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Benoit Girard
a50adb60a6 Bug 1087530 - Retain container's intermediate surfaces for up to one frame. r=jmuizelaar 2014-11-03 17:27:32 -05:00
Nicolas Silva
d74e31effc Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Matt Woodrow
b14244ee9a Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Nicolas Silva
6e9b2cde6d Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro 2014-07-25 11:24:46 +02:00
Nicolas Silva
5df70fbd0d Bug 1015718 - Don't crash creating a TextureHost if there is no device or if deserialization failed. fixing test failure on a CLOSED TREE 2014-07-23 20:17:15 +02:00
Matt Woodrow
04dc8a1c71 Bug 1015718 - Deserialize the DXGI handle when constructing the TextureHost rather than when locking it. r=nical 2014-07-16 18:05:58 +12:00
Bas Schouten
907bcc7b65 Bug 1019909: Properly initialize white buffer to white. r=nical 2014-06-18 00:55:31 +02:00
Nicolas Silva
114ff5488a Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Sotaro Ikeda
cb8417b839 Bug 971946 - Remove TextureClientData r=nical 2014-05-14 06:29:52 -07:00
Nicolas Silva
1762a07762 Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
Nicolas Silva
266db399dd Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
f39d10cc48 Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE 2014-04-10 13:15:47 +02:00
Nicolas Silva
f09851069a Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Nicolas Silva
d1a5b2c8bd Bug 989904 - Remove deprecated d3d textures. r=mattwoodrow 2014-04-01 14:28:14 +08:00
Bas Schouten
bde06b3dca Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Nicolas Silva
320150da1a Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas 2014-02-11 17:13:14 +01:00
Nicolas Silva
1d8c9546b3 Bug 968811 - TextureClientD3D11::ImplementsLocking. r=mattwoodrow 2014-02-07 12:28:49 +01:00
Nicolas Silva
298c0624fc Bug 964794 - Remove extra Lock and minimize DT creation/destruction in D3D11 TextureClient. r=Bas 2014-01-29 17:26:42 +01:00
Nicolas Silva
f9d19b4183 Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-24 15:25:04 +01:00
Carsten "Tomcat" Book
9b33885e9c Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE 2014-01-23 15:50:14 +01:00
Nicolas Silva
8ffc85202e Bug 952507 - Fix locking in double buffered ContentClient. r=nrc 2014-01-23 15:27:06 +01:00
Benoit Jacob
2d5774ca0a 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
Nicolas Silva
89a1de2117 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
67f7bdeb1e Bug 938591 - New D3D11 TextureClient/Host. r=nrc 2014-01-07 17:19:52 +01:00
Andreas Pehrson
801b8841c8 Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Benoit Girard
87d3e1cc22 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Matt Woodrow
accb417824 Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc 2013-11-07 22:53:08 +13:00
Benoit Jacob
c1d7f88886 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
Jeff Muizelaar
925e64dd68 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
a008e42aff Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
beb04c20b9 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Nicolas Silva
5ec3fda767 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Nicholas Cameron
910d7fc289 Bug 756606. Implement CreateRenderTargetFromSource. r=Bas 2013-07-23 11:07:49 +12:00
Nicholas Cameron
4a6edeaac3 Bug 756606; formatting nits for the d3d11 compositor. r=Bas 2013-07-23 11:05:04 +12:00
Nicolas Silva
e997aad0fc Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Nicolas Silva
d73451b721 Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Matt Woodrow
614b6071f2 Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas 2013-05-16 15:45:43 +12:00
Jim Mathies
5e27585b2a 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
Jacek Caban
9107359833 Bug 830347 - Fixed TextureD3D11.h compilation on GCC. 2013-05-08 13:48:56 +02:00
Bas Schouten
e8ff51b7d8 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Kyle Huey
dbfcd3a867 Back out bug 830347. 2013-05-08 12:04:11 -07:00
Bas Schouten
bd8a465e28 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00