Nicholas Cameron
e09d3edf71
Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
...
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
04e34b0ee6
Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow
2013-11-27 13:29:45 +13:00
Ryan VanderMeulen
bc4870bf0a
Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE.
2013-11-26 14:58:09 -05:00
Benoit Jacob
7031739d99
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-26 14:00:29 -05:00
Nicholas Cameron
891ad37444
Bug 900248. Only create d3d9 device on the main thread. r=Bas
2013-11-22 11:07:57 +13:00
Nicholas Cameron
a6d524ccf4
Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow
2013-11-22 11:07:55 +13:00
David Anderson
c06bd5c0fb
Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc).
2013-11-21 11:25:16 -08:00
Nicholas Cameron
27a1b501f8
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Benoit Jacob
877d71ca5f
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Girard
87d3e1cc22
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Michael Wu
e00f620c90
Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas
2013-11-15 12:50:00 -05:00
Nicholas Cameron
eb5956cf6d
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE.
2013-11-15 10:54:25 +13:00
Matt Woodrow
9731cb7c16
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Kartikaya Gupta
189805593c
Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
...
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Gregor Wagner
b7612c58f1
Backout Bug 907463 for causing bug 930575
2013-10-25 09:25:17 -07:00
Gregor Wagner
bd74144ebc
Backout Bug 907463
2013-10-25 09:25:11 -07:00
Nicholas Cameron
40a07cfc33
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Nicholas Cameron
acf3112a86
Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
2013-09-18 15:39:34 +12:00
David Anderson
6ccb791a64
Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow).
2013-10-21 13:14:47 -07:00
Benoit Girard
13dc5bcf12
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Ryan VanderMeulen
1ab6618e4f
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
15eddaacf4
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Sotaro Ikeda
1181e71e7f
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Matt Woodrow
f9c1c3c562
Bug 922942 - Update BufferTextureClients using Azure. r=nical
2013-10-16 14:00:30 +13:00
Nicolas Silva
2c83b3fd6e
Bug 919022 - Fix warning by not overloading CreateBufferTextureClient. r=nrc
2013-10-13 17:24:12 -07:00
Benoit Girard
0716f0c2b0
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Nicolas Silva
b1f842a367
Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc
2013-10-09 16:18:29 -07:00
Ehsan Akhgari
b6bef348c1
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
db5d7b4954
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Phil Ringnalda
1308968f13
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Benoit Girard
7d8c972382
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Nicolas Silva
8605f47406
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Wes Kocher
d7b977ae9b
Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage
2013-10-01 14:30:13 -07:00
Nicholas Cameron
0f580ce2b8
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Nicolas Silva
49786e0416
Bug 921512 - Add a bit of documentation to layers. r=bjacob
2013-09-30 14:42:47 +02:00
Ryan VanderMeulen
c15f17992c
Backed out changeset a77f7d610829 (bug 821474) for leaks.
...
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva
96a3ebcd75
Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa
2013-09-27 20:17:15 +02:00
Ed Morley
e86c91e489
Backed out changeset e28ae87bbc03 (bug 907463)
2013-09-27 11:37:03 +01:00
Ed Morley
66291f30cc
Backed out changeset 08d9bbb1044f (bug 907463)
2013-09-27 11:37:00 +01:00
Nicholas Cameron
df88f4aef2
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Nicholas Cameron
5bbb0239b5
Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
2013-09-18 15:39:34 +12:00
Nicolas Silva
642baa4241
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
92664921c0
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Benoit Jacob
6ac61cabdb
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
c1d7f88886
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
c8be45e5ca
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Nicholas Cameron
08e9952e97
No bug. Fixbuild bustage in CanvasClient.cpp. r=bustage
2013-09-24 13:59:59 +12:00
Nicholas Cameron
a3183c442b
Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow
2013-09-24 13:14:12 +12:00
Nicholas Cameron
789ebcc522
Bug 912766. Use the DIB texture client/host. r=mattwoodrow
2013-09-24 13:14:12 +12:00
Nicholas Cameron
612aee6c8d
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Matt Woodrow
c482061b7d
Bug 750434 - Fix space before #include. CLOSED TREE
2013-09-23 15:19:38 +12:00
Matt Woodrow
cf9e20e800
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)
c4ddbf3f59
Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa
2013-08-14 16:31:05 +12:00
Nicholas Cameron
e240d81f2e
Bug 902591. Check for Azure in ContentClientIncremental. r=mattwoodrow
...
--HG--
extra : rebase_source : 134ddc6a2fd891179b7531cea4222188b518f19a
2013-09-18 15:47:23 +12:00
Nicholas Cameron
427925dcb8
Backed out changeset: 0ae388d62a87. r=me
2013-09-18 15:43:26 +12:00
Nicholas Cameron
9fd5d6415b
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
9436c08495
Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow
2013-09-13 14:33:07 +12:00
Nicolas Silva
be66706698
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
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