Nicholas Nethercote
9b0389603b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
2015-09-24 19:24:16 -07:00
David Anderson
be559736b8
Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow)
2015-08-06 17:27:36 -07:00
Carsten "Tomcat" Book
55da5176e9
Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
...
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson
062db27417
Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow)
2015-08-06 02:41:07 -07:00
Lee Salzman
cf7e6f61d8
Bug 1170390 - Use Optimal2DFormatForContent over OptimalFormatForContent to avoid enum conversions. r=jrmuizel
2015-07-06 22:27:19 -04:00
Robert O'Callahan
709fca5d74
Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical
2015-07-03 22:37:03 +12:00
Robert O'Callahan
c4a9604528
Bug 1143575. Factor out AsyncTransactionWaiter from AsyncTransactionTracker so we'll be able to wait for multiple AsyncTransactionTrackers. r=nical,sotaro
2015-05-12 15:36:49 +12:00
Robert O'Callahan
c34fb98abf
Bug 1143575. Remove unused CompositableClient::OnTransaction. r=nical
2015-03-25 21:30:25 +13:00
Lee Salzman
1a85b6afa0
Bug 1180246 - Part 3 - remove usage of cairo_d2d_device. r=bas
2015-07-02 17:44:53 -04:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Markus Stange
6d7433a4af
Bug 1168889 - ContentClientSingleBuffered needs to upload during the transaction. r=nical
2015-05-29 15:53:57 -04:00
Amanda Sambath
86f2768844
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Amanda Sambath
0d488979b7
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-05-28 11:59:15 +02:00
Nathan Froyd
3c715f85db
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Thibaud Backenstrass
0513f5db71
Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/client. r=nical
2015-05-07 11:07:47 +02:00
Benoit Girard
caff1329d4
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
David Anderson
4b58174a83
Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow)
2015-02-03 14:18:44 -08:00
Benoit Girard
fa667565ec
Bug 1119570 - Support dumping textures on windows. r=bas
2015-01-12 16:51:02 -05:00
Benoit Girard
63a5b13dee
Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
2014-12-18 13:32:45 -05:00
Bas Schouten
55948b2feb
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
84deca1a09
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
0ca40e581f
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
Nicolas Silva
36a576bead
Bug 1102917 - Remove the TextureInfo member from client compositables. r=sotaro
2014-11-25 20:19:13 +01:00
Nicolas Silva
957aceddf0
Bug 1102895 - Remove unused TextureFlags. r=sotaro
2014-11-25 20:19:04 +01:00
Ehsan Akhgari
22d38b6803
Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa
2014-10-27 08:57:36 -04:00
Markus Stange
a15e939a69
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
2014-09-26 13:06:08 -04:00
Jonathan Watt
727b0a4e88
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
Bas Schouten
e1fe5e72d5
Bug 947781 - Part 4: Add ReadbackLayer functionality to ClientLayerManager. r=mattwoodrow
2014-07-30 15:38:47 +02:00
Bas Schouten
e78f295e46
Bug 947781 - Part 1: Refactor RotatedBuffer to easily be re-usable for any rotated buffer drawing. r=mattwoodrow
2014-07-30 15:38:46 +02:00
Ed Morley
d1234abfec
Backed out changeset 6bc1a62eb443 (bug 947781) for build failures
2014-07-30 14:54:28 +01:00
Ed Morley
1be21e1760
Backed out changeset 96379f178485 (bug 947781)
2014-07-30 14:54:01 +01:00
Bas Schouten
88d1088a98
Bug 947781 - Part 4: Add ReadbackLayer functionality to ClientLayerManager. r=mattwoodrow
2014-07-30 15:38:47 +02:00
Bas Schouten
90d1337864
Bug 947781 - Part 1: Refactor RotatedBuffer to easily be re-usable for any rotated buffer drawing. r=mattwoodrow
2014-07-30 15:38:46 +02:00
Nicolas Silva
1d8fc4d3aa
Bug 1043389 - Remove TextureFlags::ALLOC_FALLBACK and handle fallback in the creation function directly. r=sotaro
2014-07-29 13:16:57 +02:00
Nicolas Silva
f8d771a884
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
Frederic Plourde
d401c45031
b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
...
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way. This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.
When this buffering will occur, switch to ContentClientSingleBuffered.
2014-07-23 11:02:25 +12:00
Nicolas Silva
985c0c65af
Bug 1027601 - Create and allocate TextureClient in a single step in some of the cases. r=sotaro
2014-07-10 13:45:40 +02:00
Carsten "Tomcat" Book
7bf031036d
Backed out changeset e072a46f0b6a (bug 1027601) for test bustages on a CLOSED TREE
2014-07-09 13:23:08 +02:00
Nicolas Silva
2b5d60e4a8
Bug 1027601 - Create and allocate TextureClients in a single step in some cases. r=sotaro
2014-07-09 11:59:49 +02:00
Sotaro Ikeda
3912807ace
Bug 1022167 - Ensure fence delivery of thebes layer in b2g process r=nical
2014-06-18 12:13:27 -07:00
Bas Schouten
7c209d842b
Bug 1019909: Properly initialize white buffer to white. r=nical
2014-06-18 00:55:31 +02:00
Nicolas Silva
dc075c6966
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Nicolas Silva
2cd0cb79ba
Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow
2014-06-09 17:30:53 -04:00
Sotaro Ikeda
bfb70c0a66
Bug 1019877 - fix deadlock at AsyncTransactionTrackersHolder r=nical
2014-06-05 07:24:05 -07:00
Sotaro Ikeda
658f741914
Bug 1016677 - Add pointer check to ContentClientRemoteBuffer::DestroyBuffers() r=nical
2014-06-04 10:45:00 -07:00
Sotaro Ikeda
9790a685e9
Bug 1019057 - Add pointer check to ContentClientDoubleBuffered::FinalizeFrame() r=nical
2014-06-04 08:21:50 -07:00
Bas Schouten
433110f199
Bug 1015820: Update the back buffer rect when ensuring a back buffer client exists. r=mattwoodrow
2014-05-31 02:16:35 +02:00