Граф коммитов

460 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Cameron e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron 0a1164583f Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
David Anderson fc34a69277 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Benoit Girard 282410c103 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Ryan VanderMeulen 41a335c516 Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard b48817b2a7 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Sotaro Ikeda 49db7bff2e Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
Matt Woodrow 8a32a82431 Bug 922942 - Update BufferTextureClients using Azure. r=nical 2013-10-16 14:00:30 +13:00
Nicolas Silva a36c06d0a7 Bug 919022 - Fix warning by not overloading CreateBufferTextureClient. r=nrc 2013-10-13 17:24:12 -07:00
Benoit Girard 3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Nicolas Silva 546040be85 Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc 2013-10-09 16:18:29 -07:00
Ehsan Akhgari eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Nicolas Silva fb7278e4bc Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Phil Ringnalda a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard 43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Nicolas Silva e422a66147 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Wes Kocher 4218f48b71 Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage 2013-10-01 14:30:13 -07:00
Nicholas Cameron a6633f8396 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Nicolas Silva 37cac00b5e Bug 921512 - Add a bit of documentation to layers. r=bjacob 2013-09-30 14:42:47 +02:00
Ryan VanderMeulen a0f5674202 Backed out changeset a77f7d610829 (bug 821474) for leaks.
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva 70bd57c168 Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa 2013-09-27 20:17:15 +02:00
Ed Morley afcd2640f5 Backed out changeset e28ae87bbc03 (bug 907463) 2013-09-27 11:37:03 +01:00
Ed Morley 0e5b0cebbd Backed out changeset 08d9bbb1044f (bug 907463) 2013-09-27 11:37:00 +01:00
Nicholas Cameron 99372e1e41 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron f75e9a84ab Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
Nicolas Silva e3ef6e63f3 Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE 2013-09-26 19:06:12 +02:00
Nicolas Silva bc11135ff0 Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc 2013-09-26 18:00:23 +02:00
Benoit Jacob eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob 55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley f1a11dfd16 Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Nicholas Cameron 5488ca9bd9 No bug. Fixbuild bustage in CanvasClient.cpp. r=bustage 2013-09-24 13:59:59 +12:00
Nicholas Cameron 6b9eb7d024 Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron f9ecccbcc4 Bug 912766. Use the DIB texture client/host. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron abd5b28be1 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Matt Woodrow 13f0eec037 Bug 750434 - Fix space before #include. CLOSED TREE 2013-09-23 15:19:38 +12:00
Matt Woodrow fe4c62f822 Bug 750434 - Followup to fix windows builds. r=bustage CLOSED TREE 2013-09-23 15:15:17 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E) d53de97263 Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa 2013-08-14 16:31:05 +12:00
Nicholas Cameron 7f1d6d1aa2 Bug 902591. Check for Azure in ContentClientIncremental. r=mattwoodrow
--HG--
extra : rebase_source : 134ddc6a2fd891179b7531cea4222188b518f19a
2013-09-18 15:47:23 +12:00
Nicholas Cameron 3ea1b23511 Backed out changeset: 0ae388d62a87. r=me 2013-09-18 15:43:26 +12:00
Nicholas Cameron 803375dcea Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
--HG--
extra : rebase_source : eac66979f88c7801bc19646cf81d7c94a77281c0
2013-09-18 15:39:34 +12:00
Nicholas Cameron a48d09aed2 Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow 2013-09-13 14:33:07 +12:00
Nicolas Silva 1393f32821 Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro 2013-09-12 16:50:35 +02:00
Nicolas Silva f8616ba377 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 39c60b3152 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 fc0b8ab200 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 b6d0b0a524 Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Matt Woodrow 73266c5cdf 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 658df973b5 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 fa8f16578a 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 0b5271b13d 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 afe16b3948 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 e9a40376a2 Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Benoit Jacob 8ec75b058c 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 d322267a1f Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron 31ac189fe3 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Nicolas Silva 3b571e9cc9 Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva a117d896cc Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
Matt Woodrow 709eb0737a Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow 64e549b0dc 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 e46507ad7c Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow d9ca7b40f6 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva a9903a8c29 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Nicolas Silva baaa305040 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Matt Woodrow 112330bfed 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 0b9458a071 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Nicholas Cameron ae52eee957 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 21390e1de4 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Wes Kocher bfece22ab9 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Nicholas Cameron dc0aaf9d43 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 4bdcd5e9c7 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Nicholas Cameron 73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Matt Woodrow 92e3402f7c 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 38ae2bdff7 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow 3b6adb72b1 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 edd0212608 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 b1c2b07b0e 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 46b4d68563 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) 9bdf6932e4 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 9dab8f05ab Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Nicholas Cameron de9fb7e97c Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Arnaud Sourioux 25dd048448 Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Jonathan Kew 787e2ca17f 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 510cee9244 Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Phil Ringnalda d2099e030b Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron 5cd4425728 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Ryan VanderMeulen 97a5f277f4 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce c1ed4d351f 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 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 0d12b9587b Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron dcdeebdb8d Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron bfd24951d3 Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow 2013-08-09 11:30:18 +12:00
Milan Sreckovic 56587a4366 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 f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Woodrow c297e37460 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Matt Woodrow 7629da8ce8 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 1d98457e70 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-03 13:29:37 -04:00
Matt Woodrow c7f6c4749b 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 1c112a09e7 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 67614e96b8 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 49169f83fb Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-02 23:00:02 -04:00
Matt Woodrow b6f49d0ad5 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 75e8427d57 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-02 22:59:49 -04:00
Matt Woodrow 9738905b69 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 855714ea54 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 7cd7d8afbd 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 50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger 9803a2ddf3 Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ryan VanderMeulen ae30fbde10 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 8f500b490c 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 6d7cde1795 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Nicholas Cameron b4b5c9799b back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
Nicholas Cameron 401f8b2e08 Bug 874721; identify multi-process OMTC and use shmem. r=Bas 2013-08-01 16:52:46 +12:00
Nicholas Cameron e571990a03 Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicholas Cameron e86327c405 Bug 874721. CompositorD3D9, r=Bas 2013-08-01 16:50:52 +12:00
Nicholas Cameron 6dc5873cfe Bug 897409. Use a temporary surface instead of forcing image surfaces (v2). r=mattwoodrow 2013-08-01 10:17:41 +12:00
Ryan VanderMeulen 7b6ff12193 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 4c625ffcef Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow 2013-07-31 09:45:31 +12:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04: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 a516df31a4 Bug 756606. Add LockDrawTarget to shmem texture clients. r=Bas 2013-07-29 10:12:37 +12:00
Peter Chang a38cfef9d8 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Nicolas Silva 19ac9f0ab4 Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD 2013-07-24 18:08:35 +02:00
Nicolas Silva ae2b42277d Backed out changeset 9089fe288899 2013-07-24 18:01:39 +02:00
Nicolas Silva 216a92b99c Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel 2013-07-24 17:43:35 +02:00
Matt Woodrow 89f496c44e 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 ddd78fd1a5 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
James Willcox 2fed89ee3a Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
David Zbarsky 7ee9db63db Bug 895116: Use an ImageSurface in CanvasClient2DUpdate r=mattwoodrow 2013-07-17 23:54:09 -07:00
Matt Woodrow 9653ce195e Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Oleg Romashin 6c145e7043 Bug 889241 - ASSERTION: Invalid (negative) scale factor: 'sy >= 0.0'. r=ncameron 2013-07-12 09:24:23 -04:00
Phil Ringnalda 881e670d5e Back out cb34d80e6fc8 (bug 889515) for 10.6 assertions
CLOSED TREE
2013-07-11 21:24:20 -07:00
Matt Woodrow a3c1d8b765 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Jeff Muizelaar 1e6e84f8d1 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 c1727d7810 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 4cfda893e7 Bug 888530 - Simplify the code for updating a TextureClientShmem from an Image. r=jrmuizel 2013-07-09 17:52:30 -04:00
Matt Woodrow 577c983863 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Matt Woodrow 57402f402c 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 4b3fbac3da Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Markus Stange b474b910a6 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Markus Stange 68c124a82c 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 931b937052 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 2de21281eb Bug 865104 - Use double buffering for BasicCompositor. r=nrc 2013-07-03 16:35:51 -04:00
Ryan VanderMeulen f23d636f4e Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow f5a46f0d03 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 3e059c7221 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 051c5b560a 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 9b08363794 Back out 37c7fcfdb186 (bug 885580) on suspicion of causing linux32 Cipc timeouts 2013-06-26 23:21:15 -07:00
Matt Woodrow 8baed26d9b 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 469268e52f Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-21 17:03:57 -04:00
Kartikaya Gupta 1de2b15435 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta 38b709e375 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Ryan VanderMeulen d2b6c8631b 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 668f4f5058 Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-20 16:10:59 -04:00
Kartikaya Gupta 603cf626d1 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta 7f7a209a09 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Markus Stange 68b100868a 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 7b9d5b3e53 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 6c5bb2cc06 Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc 2013-06-18 19:58:43 +12:00
Kartikaya Gupta cf832e1e8c 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 560ba2baa6 Bug 866567. Mask layers for client container layers. r=mattwoodrow 2013-06-14 11:34:15 +12:00
Kartikaya Gupta 39f7cc7f7b Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow 8fb1bb7132 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 97b2dcf59b 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 020a93e885 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert 6c9255e881 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Kartikaya Gupta 1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Bas Schouten 5ea6ee5f3a Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
Vladimir Vukicevic 99cf91d665 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 c7f9362d76 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 8969f99b17 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04: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
Markus Stange 5f3753297b 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 e32f79e41c 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 153f37adaa Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Matt Woodrow d840fcc9ca 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 125967cb7d Bug 870211 - Add ContentClientIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow 8e23ffcbe5 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 51a9c43eed Bug 871390 - Update WebGL canvases async, not 2D ones r=mattwoodrow 2013-05-14 21:16:07 -04:00
Matt Woodrow bf2a751e54 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow 7499469f69 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow 637c9d31ba Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +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
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
James Willcox ff9fc3204f Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Matt Woodrow 99f82e605d 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 b00d0c2090 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Bas Schouten bf3eb8c117 Bug 864017: Deal with GrallocPlanarYCbCrImage on the client side. r=bjacob 2013-04-30 12:14:20 +02:00
Nicolas Silva f2669ce1ed Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-25 18:25:33 -04:00
Ryan VanderMeulen ea8d3fdd0b Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva 5be0bb6011 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-24 15:40:26 -04:00
Nicolas Silva a1ee3bf807 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 93b18e529b 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 d4f13dfcf1 Backed out changeset 86959499a5b8 (bug 856079) because of build bustage 2013-04-22 17:44:12 -04:00
Nicolas Silva 3a758b73a0 Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc 2013-04-22 18:41:29 -04:00
Nicolas Silva faf423d4c4 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 42cef9be70 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 bb0bda95b2 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 fbeb0e7f79 Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc 2013-04-22 14:40:52 +12:00
Matt Woodrow 1b4925d2fb Bug 809273 - Remove old buffer provider code. r=nrc 2013-04-22 14:40:52 +12:00
Benoit Jacob 3919709af4 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob 906276315a Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Nicholas Cameron 9a37c9d3fd Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron ec2b053649 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 7e452fa8da Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00
Frédéric Wang ce9dcf91ea Bug 825928 - Fix a compilation error with old compilers. r=bas 2013-04-12 08:20:31 -04:00
Nicholas Cameron fdc9d01061 Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Bas Schouten 839048be74 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