Commit Graph

618 Commits

Author SHA1 Message Date
Nicolas Silva
86d7c1b1ec Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro 2013-09-12 16:50:28 +02:00
Matt Woodrow
a05005ad56 Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Matt Woodrow
7778ef2d54 Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc 2013-09-12 16:53:46 +12:00
Vladan Djeric
a0d56e316d Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Matt Woodrow
97f9d81536 Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Brad Lassey
7990287a5a bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
Matt Woodrow
3f30003af6 Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc 2013-09-09 14:35:20 +12:00
Nicolas Silva
1acd4e13cc Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicolas Silva
ea23ee01ca Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro 2013-09-06 11:04:50 +02:00
Nicolas Silva
390435cfcf Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Benoit Jacob
590564045c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Nicolas Silva
499dd2a99d Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron
822a03291b Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Nicolas Silva
28c91403fd Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva
21124fcd0b Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
Matt Woodrow
23a2b6b7b7 Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
3fb212a624 Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical 2013-08-28 08:16:03 +12:00
Ryan VanderMeulen
382dfb6cc6 Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow
abe69348ee Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
f3b9355043 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Nicolas Silva
d24669554b Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Matt Woodrow
c5fe226ff7 Bug 907926 - Follow-up to make sure we only enable Azure on the platforms we meant to. 2013-08-23 20:12:30 +12:00
Matt Woodrow
1bc37cba83 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Nicholas Cameron
a08f4cb314 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Jan Beich
1ee7a97749 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Wes Kocher
ea15ca7cf7 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Nicholas Cameron
49b9f6f61b Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron
a83a22ab7a Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Nicholas Cameron
8628de1017 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Matt Woodrow
971cc56ca4 Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Matt Woodrow
3775b9315e Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow
a902a114e8 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow
9391d82609 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Chris Lord
6fb6b73907 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord
05dd95a022 Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
5158b05590 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Nicholas Cameron
8bf8c82aff Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Nicholas Cameron
397657b9ca Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Arnaud Sourioux
61cd54d7d7 Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Jonathan Kew
5068038caa Bug 905780 - actually call the function, don't just interpret its address as a boolean. r=nrc 2013-08-15 22:18:54 +01:00
Nicolas Silva
2b57ec93b8 Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Phil Ringnalda
be5f1b23e0 Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
59f7f45c1b Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Ryan VanderMeulen
181107aedd Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce
0f20fe47c3 Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
Nicholas Cameron
8c55f2161b Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow 2013-08-09 11:32:25 +12:00
Nicholas Cameron
a008e42aff Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
ac18777e7e Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron
27e0d267bc Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron
ebeffbbd97 Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow 2013-08-09 11:30:18 +12:00
Milan Sreckovic
86bce198df Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva. 2013-08-06 13:36:35 -04: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
Matt Woodrow
4ba95200f3 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Matt Woodrow
7d3eb6ea35 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-03 13:29:48 -04:00
Matt Woodrow
441ceaa9c3 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-03 13:29:37 -04:00
Matt Woodrow
bb37119f48 Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-03 13:29:28 -04:00
Matt Woodrow
8e348831fe Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical 2013-08-03 13:29:18 -04:00
Wes Kocher
c62360f0a2 Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
dc6d8d865a Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-02 23:00:02 -04:00
Matt Woodrow
525b8e3ed6 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-02 22:59:56 -04:00
Matt Woodrow
7cc3af6d44 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-02 22:59:49 -04:00
Matt Woodrow
8131a7ca09 Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-02 22:59:40 -04:00
Matt Woodrow
c9e97a4c47 Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical 2013-08-02 22:59:26 -04:00
Matt Woodrow
7507ff06bc Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
--HG--
extra : rebase_source : 92be3f39d6e07d1e5f5de0a484a0c94eca93a97c
2013-08-01 21:12:15 -04:00
Ms2ger
5c2b63d2c7 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
ea4299c3b1 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ryan VanderMeulen
9de3c19600 Backed out changeset 9a5f4bbd4fcb (bug 900188) to see if it fixes the OSX crashtest and reftest asserts.
CLOSED TREE
2013-08-02 00:45:09 -04:00
Matt Woodrow
09667de963 Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc 2013-08-01 21:12:15 -04:00
Nicolas Silva
134b1e0673 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Nicholas Cameron
afd732f308 back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
Nicholas Cameron
feedf03d05 Bug 874721; identify multi-process OMTC and use shmem. r=Bas 2013-08-01 16:52:46 +12:00
Nicholas Cameron
6146fb5d56 Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicholas Cameron
158886aea1 Bug 874721. CompositorD3D9, r=Bas 2013-08-01 16:50:52 +12:00
Nicholas Cameron
ad3bd7c048 Bug 897409. Use a temporary surface instead of forcing image surfaces (v2). r=mattwoodrow 2013-08-01 10:17:41 +12:00
Ryan VanderMeulen
25d01011bd Backed out changeset 6846b610be41 (bug 897409) for suspicion of making Win8 mochitest-mc perma-orange. 2013-07-30 22:28:46 -04:00
Nicholas Cameron
ddb4a0b4c4 Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow 2013-07-31 09:45:31 +12:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04: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
a344f7194c Bug 756606. Add LockDrawTarget to shmem texture clients. r=Bas 2013-07-29 10:12:37 +12:00
Peter Chang
416da61282 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Nicolas Silva
5d2089d328 Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD 2013-07-24 18:08:35 +02:00
Nicolas Silva
7a55cdf819 Backed out changeset 9089fe288899 2013-07-24 18:01:39 +02:00
Nicolas Silva
a6bf10f5a6 Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel 2013-07-24 17:43:35 +02:00
Matt Woodrow
1acb6b69b1 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Matt Woodrow
49016db6ea Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
James Willcox
ca9e13ffe2 Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
David Zbarsky
9df04c60e4 Bug 895116: Use an ImageSurface in CanvasClient2DUpdate r=mattwoodrow 2013-07-17 23:54:09 -07:00
Matt Woodrow
c30d4b7957 Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Oleg Romashin
36710b81bc Bug 889241 - ASSERTION: Invalid (negative) scale factor: 'sy >= 0.0'. r=ncameron 2013-07-12 09:24:23 -04:00
Phil Ringnalda
6cf5385d49 Back out cb34d80e6fc8 (bug 889515) for 10.6 assertions
CLOSED TREE
2013-07-11 21:24:20 -07:00
Matt Woodrow
be6f6eea10 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Jeff Muizelaar
9000441a55 Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Matt Woodrow
93da75702f Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Matt Woodrow
cd84427016 Bug 888530 - Simplify the code for updating a TextureClientShmem from an Image. r=jrmuizel 2013-07-09 17:52:30 -04:00
Matt Woodrow
68a23b3791 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Matt Woodrow
c39a74c126 Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Nicolas Silva
e997aad0fc Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Markus Stange
30c87eb8a8 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Markus Stange
5e73252a64 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Matt Woodrow
95f965723c Bug 865104 - Support YCbCr images with BasicCompositor instead of doing the conversion on the main thread. r=nrc,nical 2013-07-03 16:35:51 -04:00
Matt Woodrow
114e113fb1 Bug 865104 - Use double buffering for BasicCompositor. r=nrc 2013-07-03 16:35:51 -04:00
Ryan VanderMeulen
8bf46962c6 Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow
d426585dce Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Phil Ringnalda
c509981eb8 Back out 37c7fcfdb186 (bug 885580) on suspicion of causing linux32 Cipc timeouts 2013-06-26 23:21:15 -07:00
Matt Woodrow
97e1b181e6 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Kartikaya Gupta
024410437b Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-21 17:03:57 -04:00
Kartikaya Gupta
e6d307eeca Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta
19a2597e70 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Ryan VanderMeulen
89cd9674cd Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
c81853a96f Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-20 16:10:59 -04:00
Kartikaya Gupta
bc7a93a250 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta
c2a7c58533 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Markus Stange
fb22daa8da Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow 2013-06-20 15:01:20 +02:00
Matt Woodrow
6d01a3cdf3 Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
Matt Woodrow
c764b148d3 Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc 2013-06-18 19:58:43 +12:00
Kartikaya Gupta
94dd1b2c73 Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa 2013-06-14 16:11:31 -04:00
Nicholas Cameron
f6d032217d Bug 866567. Mask layers for client container layers. r=mattwoodrow 2013-06-14 11:34:15 +12:00
Kartikaya Gupta
8cf123d18d Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow
216f53a34a Bug 879149 - Don't attempt to use ContentClientIncremental when not using GL layers. r=nrc 2013-06-07 17:10:31 +12:00
Nicholas Cameron
e856edd560 Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
d6a23b5cdc Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Kartikaya Gupta
99a4283e34 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Bas Schouten
249badbf42 Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
Vladimir Vukicevic
8f3c6c3bb6 Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE 2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
ae0320d5fe b=843599, followup -- use MOZ_WIDGET_GONK, not MOZ_B2G, to fix desktop b2g builds 2013-05-27 11:21:47 -04:00
Vladimir Vukicevic
dfdb68d68a b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Nicolas Silva
f47be48b4f 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
Markus Stange
67e8c4fec5 Bug 861332 - Ensure that the drawing rect used for DrawWindowOverlay doesn't depend on the window's position on the screen, so that for example the 10.6 window resizer is drawn in the correct place. r=mattwoodrow
--HG--
extra : rebase_source : d47ea3f871a619bfab065dd0eddb74d8c309fed1
2013-05-22 11:42:49 +02:00
Matt Woodrow
bb67ab0a14 Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 15:04:12 +08:00
Matt Woodrow
1134362932 Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Matt Woodrow
ce8fcc565c Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas 2013-05-22 11:36:39 +08:00
Matt Woodrow
1d00cb4c28 Bug 870211 - Add ContentClientIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
321df54209 Bug 870211 - Tidy up ContentClient interface so that it doesn't depend on ThebesLayerBuffer. r=roc 2013-05-16 15:45:42 +12:00
James Willcox
725e374f66 Bug 871390 - Update WebGL canvases async, not 2D ones r=mattwoodrow 2013-05-14 21:16:07 -04:00
Matt Woodrow
1e094458f5 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
5ae991f717 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
de82bbc24f Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +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
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
James Willcox
10837ecea4 Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Matt Woodrow
89f2a66432 Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
--HG--
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/CopyableCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/CopyableCanvasLayer.h
rename : gfx/layers/basic/BasicCanvasLayer.cpp => gfx/layers/client/ClientCanvasLayer.cpp
rename : gfx/layers/basic/BasicCanvasLayer.h => gfx/layers/client/ClientCanvasLayer.h
rename : gfx/layers/basic/BasicColorLayer.cpp => gfx/layers/client/ClientColorLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.cpp => gfx/layers/client/ClientContainerLayer.cpp
rename : gfx/layers/basic/BasicContainerLayer.h => gfx/layers/client/ClientContainerLayer.h
rename : gfx/layers/basic/BasicImageLayer.cpp => gfx/layers/client/ClientImageLayer.cpp
rename : gfx/layers/basic/BasicLayerManager.cpp => gfx/layers/client/ClientLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.h => gfx/layers/client/ClientLayerManager.h
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/client/ClientThebesLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/client/ClientThebesLayer.h
rename : gfx/layers/basic/BasicTiledThebesLayer.cpp => gfx/layers/client/ClientTiledThebesLayer.cpp
rename : gfx/layers/basic/BasicTiledThebesLayer.h => gfx/layers/client/ClientTiledThebesLayer.h
2013-05-01 17:03:25 +12:00
Matt Woodrow
6ea227e7a6 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Bas Schouten
78505b08a3 Bug 864017: Deal with GrallocPlanarYCbCrImage on the client side. r=bjacob 2013-04-30 12:14:20 +02:00
Nicolas Silva
09da7b8c04 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
39bd320f11 Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
b614d323b6 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Nicolas Silva
391cf268bb Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Ehsan Akhgari
8d3203e0f8 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Ehsan Akhgari
59d207fa64 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Nicolas Silva
a3f33bc40f Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Nicolas Silva
ab0ca9312a Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
25f1906153 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
3b0ce69477 Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
f3afacc43a Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow
5e1eb6f49e Bug 809273 - Remove old buffer provider code. r=nrc 2013-04-22 14:40:52 +12:00
Benoit Jacob
b96c4b3714 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob
b6de88b280 Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Nicholas Cameron
30a1afa9de Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
9e65d656fc Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
21610b719e Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00
Frédéric Wang
58689254aa Bug 825928 - Fix a compilation error with old compilers. r=bas 2013-04-12 08:20:31 -04:00
Nicholas Cameron
b3b70b10d6 Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00