David Major
eb73e64e7c
Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso
2015-06-09 16:48:59 -04:00
Ryan VanderMeulen
e4040f9e04
Bug 1170143 - Fix Windows bustage to reopen a CLOSED TREE.
2015-06-05 11:31:16 -04:00
Nicolas Silva
e845d9219c
Bug 1170143 - Add some error checks around the creation of dxgi ycbcr video frames. r=Bas
2015-06-05 16:19:11 +02:00
Amanda Sambath
376d6d03c3
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-06-03 13:45:24 +02:00
Milan Sreckovic
3a45f41851
Bug 1145143 - Check if buffer size is correct before calling the update. r=nical
...
--HG--
extra : rebase_source : 8bc66d9a332cb978a1b649f2f79a2501ecbc7bc6
2015-06-01 14:30:02 -04:00
Kearwood (Kip) Gilbert
e25ede39ea
Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg
2014-12-17 16:28:45 -08:00
Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Thibaud Backenstrass
5e604392a5
Bug 1158122 - Remove some occurences of nsIntRect in gfx/layers/. r=nical
2015-05-07 11:07:35 +02:00
Ethan Lin
b6a9cb595a
Bug 1053563 - Use a static create function to replace InitWith for TextureClient. r=nical
2015-04-29 19:34:00 +02:00
Bas Schouten
f80640ea50
Bug 1116812 - Consider DXGI_ERROR_INVALID_CALL a recoverable error for IDXGISwapChain::GetBuffer. r=jrmuizel
2015-04-29 09:19:00 -04:00
Bas Schouten
7f7ef584ca
Bug 1143806
: Tolerate timeouts occurring if a device driver is in the process of resetting. r=jrmuizel
2015-04-24 17:09:42 +02:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04: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
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02: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
Nicolas Silva
e81603747c
Bug 1142516 - Improve assertions and logging on the compositor side. r=Bas
2015-04-07 16:17:15 +02:00
Nicolas Silva
0b1f75bea0
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Vladimir Vukicevic
24157e2002
Bug 1148009; Add support for Cardboard (and other rotation-sensor based VR) in Firefox for Android; r=jrmuizel
2015-04-01 16:02:20 -04:00
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Nicolas Silva
5ea6c11e06
Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro
2015-03-27 11:16:34 +01:00
Nicolas Silva
da6cace77d
Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro
2015-03-27 11:16:18 +01:00
Bas Schouten
64fec42b5d
Bug 1147728: When using WARP, don't try to create a synchronization texture. This will fail on Windows 7. r=jrmuizel
2015-03-27 04:45:54 +01:00
Matt Woodrow
b47f624ddc
Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel
...
--HG--
extra : rebase_source : 468e7af0dc2208962892610c4cf2f8033d39fc60
2015-03-26 13:06:21 +13:00
Matt Woodrow
439798a572
Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical
...
--HG--
extra : rebase_source : 6d8d17dd02bb63a8ea0adcd94de891aad369d6dc
2015-03-26 13:05:25 +13:00
Matt Woodrow
abe801b442
Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar
...
--HG--
extra : rebase_source : e000ff00ef1a25e040572a21775cfbf0efb32485
2015-03-26 12:57:03 +13:00
Matt Woodrow
28fe00ec0c
Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical
...
--HG--
extra : rebase_source : be290c542566bc5650b45bfc2f892c8edf5fd14a
2015-03-23 15:13:56 +13:00
Jeff Muizelaar
33f4dd4b03
Bug 1144136. Remove unneeded Flush() from D3D11 compositor. r=bas
...
I don't think we need this because the Present() call has an implicit flush.
--HG--
extra : rebase_source : f82939a6c4a5ff9e962ec4d312dd1db9211085cd
2015-03-21 15:07:06 -04: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
Nicolas Silva
4609707f8e
Bug 1142143
don't early return in TextureClientD3D11::Unlock if readback fails. r=jrmuizel
2015-03-11 18:35:35 +01:00
Milan Sreckovic
76dd5cd892
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
4e7d60703f
Bug 1131370: Try to ignore transient errors and increase D3D11 timeout as well. r=milan
2015-03-03 14:28:50 +01:00
Bas Schouten
42d9427fd6
Bug 1131370: Give content side more time to finish its copy. r=jrmuizel
2015-02-22 22:52:47 +00:00
Matt Woodrow
5ea802bd9a
Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel
2015-02-18 13:35:30 +13:00
Matt Woodrow
01eb91c854
Bug 1127925 - Lazily open shared handles in DXGITextureHostD3D11 to avoid holding references to textures that might not be used. r=jrmuizel
2015-02-13 14:23:43 +13:00
Bas Schouten
bb55e4e8ab
Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel
2015-02-09 16:35:48 +01:00
Jeff Muizelaar
cba312728d
Bug 1124847. Fix apostrophe typos.
2015-01-30 00:12:01 -05: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
Milan Sreckovic
5c1754eb7a
Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten
2015-01-20 12:47:29 -05:00
Bas Schouten
3b62ac5b76
Bug 1117925
: Make sure to invalidate the entire window when the size changes. r=jrmuizel
2015-01-21 18:00:31 +01:00
Bas Schouten
4983028737
Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel
2015-01-10 04:50:02 +01:00
Bas Schouten
a5ebe274e9
Bug 1107718 - Addendum: Properly address review comments. r=nical
2015-01-08 00:12:29 +00:00
Bas Schouten
9ab9d86962
Bug 1107718: Properly deal with a D3D11 device reset. r=nical
2015-01-08 00:10:49 +00:00
Ryan VanderMeulen
20d7991ef8
Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium
2015-01-07 11:32:07 -05:00
Nicholas Nethercote
b4adaf93a3
Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
...
--HG--
extra : rebase_source : 7df4840fb99dc025ee102d9697097caa4034fa6d
2015-01-05 15:54:51 -08:00
Ethan Lin
945540c527
Bug 1042696 - Set allocator to TextureClient from constructor. r=nical
2014-12-22 03:49:00 -05:00
Milan Sreckovic
8445ba0749
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-17 17:54:04 -05:00
Vladimir Vukicevic
18fcfec1c7
Bug 1036602 - Regenerate D3D11 shaders; r=Bas
...
From 11ab35cf793e6a2a0342b4e1a761a6f4cc394ff5 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11Shaders.h | 282 ++++++------
gfx/layers/d3d11/CompositorD3D11ShadersVR.h | 638 ++++++++++++++++++++++++++++
2 files changed, 786 insertions(+), 134 deletions(-)
create mode 100644 gfx/layers/d3d11/CompositorD3D11ShadersVR.h
2014-07-09 12:28:05 -07:00
Vladimir Vukicevic
8cf3cb0f2d
Bug 1036602 - Fix up D3D11 genshaders.sh script; r=bas
...
From 42aa031e5b36efe5603525c7967557fec7e09ec5 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/genshaders.sh | 74 +++++++++++++++++++++++++-----------------
1 file changed, 45 insertions(+), 29 deletions(-)
2014-07-09 12:27:38 -07:00
Vladimir Vukicevic
883e1dee4c
Bug 1036602 - rename d3d11 .fx files to .hlsl; r=bas
...
From 0117494b71e0b9ea01d8b552523529cf305ab919 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11.fx | 279 --------------------------------
gfx/layers/d3d11/CompositorD3D11.hlsl | 279 ++++++++++++++++++++++++++++++++
gfx/layers/d3d11/CompositorD3D11VR.fx | 71 --------
gfx/layers/d3d11/CompositorD3D11VR.hlsl | 71 ++++++++
gfx/layers/d3d11/genshaders.sh | 28 ++--
5 files changed, 364 insertions(+), 364 deletions(-)
delete mode 100644 gfx/layers/d3d11/CompositorD3D11.fx
create mode 100644 gfx/layers/d3d11/CompositorD3D11.hlsl
delete mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.hlsl
2014-12-17 11:47:06 -05:00
Vladimir Vukicevic
145ebfeec2
Bug 1036602 - add D3D11 support for VR rendering; r=bas
...
From fbb1e2ba9936896a1eb932585218401f4c95e411 Mon Sep 17 00:00:00 2001
---
gfx/layers/d3d11/CompositorD3D11.cpp | 212 +++++++++++++++++++++++++++++++++-
gfx/layers/d3d11/CompositorD3D11.fx | 1 +
gfx/layers/d3d11/CompositorD3D11.h | 9 ++
gfx/layers/d3d11/CompositorD3D11VR.fx | 71 ++++++++++++
4 files changed, 290 insertions(+), 3 deletions(-)
create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
2014-07-09 12:26:51 -07:00
Jacek Caban
01dd5be8c8
Bug 1107297 - Crosscompilation fixup.
2014-12-14 14:36:11 +01:00
Bas Schouten
0618d254cc
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
Wes Kocher
c38e376cd3
Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE
2014-12-12 18:11:59 -08:00
Bas Schouten
b339c72f57
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
Bas Schouten
184e84297b
Bug 1107297: Only recomposite the damaged rect with D3D11. r=jrmuizel
...
This patch makes us behave similarly to when we're using the BasicCompositor, essentially we will clip all drawing to the final display to the area that was labeled as invalid. When DXGI 1.2 is available we will then also report the damaged area to the Present call so that can then be used to minimize the amount of bits that actually need to be blitted to the screen. Since we're no longer recompositing the whole screen this means we should also only clear the damaged area of the window.
2014-12-06 00:02:18 +00:00
Nicolas Silva
09a19cc46c
Bug 1104008 - Make sure the D3D11 swapchain's textures are cleared before resizing. r=Bas.
2014-12-02 14:28:19 +01:00
Nicolas Silva
01dc7cd769
Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel
2014-11-26 21:05:01 +01:00
Benoit Girard
d5c0f44e8b
Bug 1101650 - Fix mClearOnBind logic. r=jmuizel
2014-11-19 15:29:23 -05:00
Milan Sreckovic
d19b0d26a2
Bug 1074952 - Part 6. Fully qualify the appropriate logs in the logging macros, otherwise we can't call these from other namespaces. An example in non-gfx/2d where it would not have worked without this change. r=botond
2014-11-18 10:51:39 -05:00
Jeff Muizelaar
ab7985df99
Bug 1101160. D3D11: Make switch statement better. r=bas
...
This is the order one would expect.
--HG--
extra : rebase_source : 299b3814983d42908c2507028bb1c16c64b0f25f
2014-11-18 15:49:39 -05:00
Benoit Girard
f654866a36
Bug 1087530
- Retain container's intermediate surfaces for up to one frame. r=jmuizelaar
2014-11-03 17:27:32 -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
Carsten "Tomcat" Book
7f42025e12
Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE
2014-11-14 08:14:22 +01:00
Benoit Girard
db4fbee6fb
Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel
2014-11-12 17:39:17 -05:00
Jeff Muizelaar
e6fbe0d1fc
Bug 1089364. Avoid trying to resize the swap chain to a negative size. r=bas
...
This was causing GetBuffer to return DXGI_ERROR_INVALID_CALL
--HG--
extra : rebase_source : 49e62fd5dda1e28268218cffca4ea1ce7af1b6ea
2014-11-13 10:10:48 -05:00
Jacek Caban
1fb284960f
Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce
2014-11-03 10:28:52 +01:00
Bas Schouten
9d622e3111
Bug 1064864. Ensure the copying bounds are sane. r=jrmuizel
...
This prevents things from going really bad on some drivers.
--HG--
extra : rebase_source : c237cf3e6a6174696ebe6d41562a30c8cc0e564d
2014-11-01 14:02:20 -04:00
Nicolas Silva
816b042dd6
Bug 1089364 - Add some missing D3D11 error checks. r=Bas
2014-10-27 13:52:17 +01:00
Jeff Gilbert
f71b4f41d9
Bug 1088417 - Switch from REPEAT to CLAMP for D3D11. - r=nical
2014-10-23 17:10:58 -07:00
Jeff Gilbert
44490638fd
Bug 1088417 - DecomposeIntoNoRepeatRects for D3D11. - r=nical
2014-10-23 17:08:06 -07:00
Nicolas Silva
92db98b094
Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel
2014-10-23 16:22:41 +02:00
Carsten "Tomcat" Book
8e79075d89
Backed out changeset 8a39622aa24a (bug 1087270) for bustage
2014-10-23 13:12:16 +02:00
Nicolas Silva
340b8a427e
Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel
2014-10-23 12:06:14 +02:00
jdashg
9b7291ca7a
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
Nicolas Silva
f26be8e3fa
Bug 1077307
- Merge NewTextureSource and TextureSource. r=sotaro
2014-10-07 15:58:59 +02:00
Nicolas Silva
a735b7135f
Bug 1044975 - Don't crash if mapping D3D11 shader constant buffers fails. r=Bas
2014-10-06 14:53:42 +02:00
Nicolas Silva
1d3f0255c9
Bug 1061713 - Don't crash release builds if a D3D TextureClient is unlocked without being locked. r=Bas
2014-09-29 11:24:54 +02:00
Nicolas Silva
24ab6f3545
Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel
2014-09-26 15:02:35 -04:00
Markus Stange
7d5a3be591
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Nicolas Silva
a318a426b4
Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas
2014-09-23 11:35:39 -04:00
Bas Schouten
8e86fc0d5c
Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE
2014-09-18 00:25:23 +02:00
Nicolas Silva
fbfe674e91
Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas
2014-09-17 23:23:09 +02:00
Nicolas Silva
2d36152b7a
Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas
2014-09-16 14:32:24 +02:00
Bas Schouten
8e9803a615
Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel
2014-09-14 23:51:31 +02:00
Matt Woodrow
b1adcf8934
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
Jeff Muizelaar
34032eed5e
Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
...
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.
Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Jonathan Watt
423fda249a
Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas
2014-09-10 18:29:35 +01:00
Jonathan Watt
62cd61e1b7
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
31ab875e26
Backed out changeset e6b766d8a815 (bug 1065127) for bustage
2014-09-10 14:30:36 +02:00
Jonathan Watt
ee916d4351
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jeff Gilbert
638c79d7ac
Bug 1052234 - Allow RGBA-order D3D11 TextureHosts. - r=bas
2014-08-30 16:27:32 -07:00
Jeff Muizelaar
c7028a4f92
Bug 1057716. d3d11: Properly copy the background. r=bas
...
Previously we were copying an empty box.
2014-08-26 14:33:03 -04:00
Jacek Caban
956b4238da
Bug 1055664 - Use static instead of fiend function for StartTaskThread. r=bas.schouten
2014-08-26 13:50:38 +02:00
Nicolas Silva
a10d917743
Bug 1047765 - Pass the proper allocation flags in TextureClient::CreateSimilar. r=Bas
2014-08-06 14:40:07 +02:00
Ehsan Akhgari
30e3b3975d
Bug 1047614 - Give ReadbackManagerD3D11 a private destructor; r=jrmuizel
2014-08-05 17:57:24 -04: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
Nicolas Silva
37027d1278
Bug 1043929 - Ensure that a locked TextureHost can give access to a valid TextureSource for some of the texture types. r=Bas
2014-07-28 14:58:38 +02:00
Nicolas Silva
afef7c0a5e
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
75420bc281
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
Nicolas Silva
cc62acd996
Bug 1015718 - Keep the client-side D3D11 texture alive longer so that its destruction does not race with its deserialization. r=bas
2014-07-22 17:49:05 +02:00
Matt Woodrow
024807715d
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
2ad53f526f
Bug 1035227: Upload partial surfaces when an upload region is specified. r=nical
2014-07-09 16:21:11 +02:00
Nicolas Silva
cb680575fd
Bug 1035101 - Don't fail when a shared D3D11 texture doesn't have a mutex. r=mattwoodrow
2014-07-09 11:59:45 +02:00
Nicolas Silva
325e361792
Bug 1019000 - Ensure that successfully write-locked D3D TextureClients provide a valid DrawTarget. r=mattwoodrow
2014-07-04 10:26:14 +02:00
Jeff Gilbert
4c1235d464
Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas
2014-07-02 17:48:18 -07:00
Benoit Jacob
bbe96eeda6
Bug 1029673 - Correctly report OMTC compositing in crash reports - r=Bas
2014-06-24 22:09:14 -04:00
Jeff Gilbert
f3d7974f16
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Bas Schouten
482211a863
Bug 1019909: Properly initialize white buffer to white. r=nical
2014-06-18 00:55:31 +02:00
Nicolas Silva
81fe3788ce
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Wes Kocher
40ac0457aa
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
4dfc0e7e48
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Matt Woodrow
0726340c00
Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical
2014-05-28 13:21:32 +12:00
Bas Schouten
1d9d7e65fa
Bug 1003293: Remove the GDI compatible flag from D3D11 Compositor. r=vlad
2014-05-16 18:16:22 +02:00
Bas Schouten
88b9643ff7
Bug 1011367: Add Direct3D 11 Gfx feature. r=bjacob
2014-05-16 18:16:21 +02:00
Sotaro Ikeda
5bb3191d5e
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
Bas Schouten
3d161b8148
Bug 999579: Get the feature level in the D3D11 compositor. r=nical
2014-04-29 22:33:11 +02:00
Benoit Jacob
0aa3e9e8d9
Bug 987311 - Follow-up: Make CompositorD3D11 use EnumeratedArray to fix the build on MSVC 2012 (where typed enums are actually typed) - no review, bustage fix
2014-04-28 10:14:00 -04:00
Benoit Jacob
2cf9a19eef
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
3b123f8333
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
dd9a0850b3
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva
a1eb82d358
Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa
2014-04-28 13:27:25 +02:00
Blair McBride
24b74a2af7
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
dc0b0c8367
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
49dd7d0c3f
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
45875b18ee
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Nicolas Silva
8ab27731dc
Bug 993004 - Fix missing #include on a CLOSED TREE
2014-04-25 14:00:52 +02:00
Nicolas Silva
b2b18ff6c3
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 13:38:17 +02:00
Carsten "Tomcat" Book
700bf7f2ee
Backed out changeset 3d116167774f (bug 993004) for bustage on a CLOSED TREE
2014-04-25 12:19:45 +02:00
Nicolas Silva
66001e57a2
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 11:51:17 +02:00
Jonathan Watt
200e95e9eb
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Nicolas Silva
2f082d5876
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
e135bfb80b
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
8e5bb9bcd2
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Nicolas Silva
fed1ef0995
Bug 993360 - Don't crash when a region is passed to DataTextureSourceD3D*::Update. r=mattwoodrow
2014-04-08 15:17:26 +02:00
Nicolas Silva
aa8364e918
Bug 993360 - Don't try to lock a texture if it failed to allocate. r=mattwoodrow
2014-04-08 14:50:41 +02:00
Nicolas Silva
be16634444
Bug 993360 - Always use DXGI_FORMAT_B8G8R8A8_UNORM with d3d11 OMTC. r=mattwoodrow
2014-04-08 14:50:36 +02:00
Matt Woodrow
4c66e0a0a9
Bug 904890 - Part 5: Add a d3d9 texture host for DXGI surfaces. r=nical
2014-04-07 15:23:06 +12:00
Matt Woodrow
7e5407928d
Bug 904890 - Part 2: Don't crash if our d3d11 texture doesn't have a mutex. r=Bas
2014-04-07 15:09:22 +12:00
Matt Woodrow
29d8737832
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
c213611c51
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
178a48f9d2
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Botond Ballo
2343facec1
Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical
2014-04-02 03:27:42 -04:00
Nicolas Silva
2ba3b44609
Bug 989904 - Remove deprecated d3d textures. r=mattwoodrow
2014-04-01 14:28:14 +08:00
Ryan VanderMeulen
ad5d64b8b9
Backed out changesets 0b596070fe54 and ed6969e4fb6f (bug 957560) for causing bug 990027 on a CLOSED TREE.
2014-03-31 14:31:52 -04:00
Nicolas Silva
4e568f39b1
Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow
2014-03-31 11:07:40 +08:00
Matt Woodrow
230a565a26
Bug 980642 - Implement ClearRect for CompositorD3D11. r=Bas
2014-03-28 16:38:32 +13:00
Nicolas Silva
43cda78fba
Bug 968807 - Add assertions in TextureClient. r=bjacob
2014-03-21 18:03:20 +01:00
Bas Schouten
d301df5d45
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
Milan Sreckovic
710bd9d8f9
Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord
2014-02-26 21:53:27 -05:00
Benoit Jacob
4aaf0bcadc
Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical
2014-02-20 16:04:13 -05:00
Morris Tseng
49eefd64a2
Bug 974189 - Black screen in content area during browser start with OMTC enabled. r=gal
2014-02-19 11:37:25 -05:00
Morris Tseng
d4cdf301e3
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal
2013-11-07 22:22:05 -08:00
Tom Schuster
f9c9b5dccb
Bug 973227 - Add GetBackendType to every Compositor class. r=nical
2014-02-18 01:30:05 +01:00
Bill McCloskey
ac6dae6f29
Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow)
2014-02-13 08:53:50 -08:00
Nicolas Silva
ee220cfb74
Bug 957560 - Fix some issues with CairoTextureClientD3D9 and DataTextureSourceD3D. r=Bas
2014-02-11 17:13:14 +01:00
Benoit Girard
0f3a70b95f
Bug 963821 - Port FPS counter to the Compositor API. r=bas
...
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Nicolas Silva
3779f046a4
Bug 967505 - Fix build bustage on a CLOSED TREE.
2014-02-10 11:50:43 +01:00
Nicolas Silva
9e9d5be4ae
Bug 967505 - Fix a crash with the D2D debug layer. r=Bas
2014-02-10 11:21:11 +01:00
Nicolas Silva
b62ff33388
Bug 968811 - TextureClientD3D11::ImplementsLocking. r=mattwoodrow
2014-02-07 12:28:49 +01:00
Nicolas Silva
b02c28b821
Bug 952507 - Flush the back buffer after syncing with the front buffer in the buffered ContentClient. r=Bas
2014-02-04 21:35:22 +01:00
Nicolas Silva
69c3714770
Bug 964794 - Remove extra Lock and minimize DT creation/destruction in D3D11 TextureClient. r=Bas
2014-01-29 17:26:42 +01:00
David Zbarsky
c3de69e906
Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
Nicolas Silva
30b89fa3e5
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Benoit Jacob
61df69f208
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
aebf0bb92a
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
e5ed95579b
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
Carsten "Tomcat" Book
9fbf4b116f
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
d2a76c0550
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-23 15:27:06 +01:00
Jim Mathies
4a2291060e
Bug 960692 - Avoid crashing in CompositorD3D11::BeginFrame if the ID3D11RenderTargetView is null. r=Bas
2014-01-22 14:12:11 -06:00
Nicolas Silva
6e8ddf9ba0
Bug 957560 - Clear the newly allocated d3d TextureClient if the allocation flags says so. r=nrc
2014-01-20 14:52:12 +01:00
David Zbarsky
3e4ce3885c
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Benoit Jacob
f447d87c57
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - 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:17 -05:00
Benoit Jacob
ccaa35314d
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
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - 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
Daniel Holbert
49abe2cbd2
Bug 957904: Fix signed/unsigned comparison build warnings in CompositorD3D11.cpp. r=nrc
2014-01-09 06:26:20 -08:00
Daniel Holbert
6347529106
Bug 957884: Add return statement to default case in SurfaceFormatToDXGIFormat(), to address build warning. r=nical
2014-01-09 06:26:20 -08:00
Nicolas Silva
e8b4b086ed
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Nicolas Silva
d77e8606a1
Bug 938591 - New D3D11 TextureClient/Host. r=nrc
2014-01-07 17:19:52 +01:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Tor Arvid Lund
4f4dd8bed9
Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
...
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
a9bab1983c
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
75798263f3
Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical
2013-12-20 11:46:30 -05:00
Nicholas Cameron
67f3ec8830
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
704d5f6e5b
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Andreas Pehrson
22bc27eb6f
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01: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
6ef7302e59
Bug 940959 - Use alpha textures for YCbCr planes with D3D11. r=nrc
2013-11-21 17:42:05 +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
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
Nicholas Cameron
80eac24ba3
No bug. Fix windows build bustage on a CLOSED TREE. r=bustage
2013-09-27 13:19:36 +12:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12: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
2b2120bb85
Bug 831086 - Prefer Metro gfx handling when resizing buffers. r=bas
2013-09-17 19:21:30 -04:00
Brian R. Bondy
4202bb63ca
Bug 877225 - Transition from snapped view shows stretched page for a moment. r=bas
2013-09-15 15:30:11 -07:00
Nicholas Cameron
fa21b5c5db
Bug 909607. Check if we are minimised before compositing. r=Bas
2013-09-09 09:07:01 +12:00
Nicholas Cameron
89686c5e44
Bug 906445. Some speculative fixes to guard against dereferencing nullptrs. r=Bas
2013-09-09 09:06:50 +12:00
Nicholas Cameron
51fb5f5934
Bug 904073. Don't crash if we can't get a texture for a render target. r=Bas
2013-09-02 10:19:19 +12:00
Nicholas Cameron
08f7eabb3f
Bug 910054. Remove a printf from CompositorD3D11. r=mattwoodrow
2013-08-28 16:44:03 +12:00
Jim Mathies
085b011856
Bug 904214 - Add missing assert per review comments. r=nrc
2013-08-22 20:54:49 -05:00
Jim Mathies
739307aed0
Bug 904214 - Don't initialize component alpha blend state if its not in use. r=nrc
2013-08-22 19:28:03 -05: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
Jeff Muizelaar
8818ab3b07
Bug 897532. Add support for better filtering in Azure. r=bas
...
This fixes the quality regression on OS X.
--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -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
a36037a10d
Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow
2013-08-09 11:32:25 +12:00
Nicholas Cameron
6668fc7c4a
Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow
2013-08-09 11:32:19 +12:00
Nicholas Cameron
03f19bd8ae
Bug 901722. Part 2 - changes to generated files. r=bas
2013-08-09 11:30:19 +12:00
Nicholas Cameron
70b1e5d486
Bug 901722. Implement component alpha for d3d11 compositor. r=Bas
2013-08-09 11:30:19 +12:00
Nicholas Cameron
a43564a445
Bug 902528. Check we still have a render target in BeginFrame. r=Bas
2013-08-09 11:30:18 +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
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Nicholas Cameron
0dd9fe79b8
Bug 756606. Implement CreateRenderTargetFromSource. r=Bas
2013-07-23 11:07:49 +12:00
Nicholas Cameron
d0dbee1034
Bug 756606. Fix a bug in EnsureAllocated. r=Bas
2013-07-23 11:05:49 +12:00
Nicholas Cameron
118b833718
Bug 756606; formatting nits for the d3d11 compositor. r=Bas
2013-07-23 11:05:04 +12:00
Birunthan Mohanathas
5d4f6c313b
Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d11/; r=ehsan
...
--HG--
extra : rebase_source : 9e5625a5318cfb79370c6e944bc9e651822ddd2c
2013-07-20 11:48:55 +03:00
Nicolas Silva
4b3fbac3da
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Nicholas Cameron
5d32824206
Bug 874721. Unify mask type enums; r=bas
2013-07-05 09:48:33 +12:00
Nicholas Cameron
8bdc76e167
Bug 756606. Fix an assert in the d3d11 compositor. r=bas
2013-07-05 09:46:34 +12:00
Kartikaya Gupta
82a9f4437b
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Nicolas Silva
7fcd49c55c
Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob
2013-05-26 04:43:43 +02:00
Nicolas Silva
9b4532e327
Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Matt Woodrow
977cd1e212
Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas
2013-05-16 15:45:43 +12: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
Jacek Caban
ae698a2c3f
Bug 830347 - Fixed TextureD3D11.h compilation on GCC.
2013-05-08 13:48:56 +02:00
Bas Schouten
a999d47355
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00
Kyle Huey
de21211adf
Back out bug 830347.
2013-05-08 12:04:11 -07:00
Bas Schouten
745964b1cd
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00