Matt Woodrow
220b14ec00
Bug 877534 - Use a shutdown listener to destroy the compositor from nsBaseWidget. r=roc
...
This prevents a case where the nsBaseWidget isn't destroyed until the cycle collector is shutdown,
and we are too late in the shutdown sequence to process the events that get queued during
Compositor teardown.
2013-06-17 14:50:32 +12:00
Ehsan Akhgari
0cae3ba5bd
Bug 579517 follow-up: Remove NSPR types that crept in
2013-06-12 21:26:59 -04:00
Nicolas Silva
52b7170d0a
Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob
2013-06-12 11:05:06 +02:00
Matt Woodrow
ab44f0173c
Bug 867226 - Don't crash if we can't create a valid framebuffer. r=bjacob
2013-06-11 11:38:03 +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
Nicolas Silva
801ed20893
Bug 875211 - fix windows build on a CLOSED TREE
2013-06-04 21:08:15 +02:00
Nicolas Silva
c9a158b2e5
Bug 875211 - fix build on a CLOSED TREE
2013-06-04 21:02:52 +02:00
Nicolas Silva
11575bb513
Bug 875211 - use one global gl texture per texture unit rather than one per GrallocTextureHostOGL. r=bjacob
2013-06-04 20:44:37 +02:00
Kartikaya Gupta
390f0e432f
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Nicolas Silva
e67255b9a8
Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob
2013-05-07 16:19:15 -04:00
Jeff Gilbert
ea987c7dd2
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Nicolas Silva
d73451b721
Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob
2013-05-26 04:43:43 +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
dfdb68d68a
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Markus Stange
e2c9b54971
Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow
2013-05-27 14:48:15 +02: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
Juan Gomez
62de4f04ce
Bug 873486 - Remove wrong C++11 virt-specifier MOZ_OVERRIDE in method definition. r=mattwoodrow
2013-05-20 16:31:07 +02:00
Chris Lord
1b8faf626f
Bug 869696 - Use an alternative method to unlock gralloc textures on Adreno (TM) 205. r=bjacob
...
Targeting the NULL EGLImage causes slowness on the Geeksphone Peak,
and assumedly, other "Adreno (TM) 205" devices. Achieve the same
effect by deleting the GL texture instead.
2013-05-15 16:45:08 +01:00
Matt Woodrow
614b6071f2
Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas
2013-05-16 15:45:43 +12:00
Matt Woodrow
09f575f155
Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
c6dbea8fc2
Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE
2013-05-10 09:50:33 +12:00
Matt Woodrow
685f8e9501
Bug 756601 - Round texture coords to the nearest texel. r=Bas
2013-05-10 09:02:49 +12:00
Matt Woodrow
088dbe8514
Bug 756601 - Setup our OpenGL surface before compositing. r=mstange
2013-05-10 09:02:49 +12:00
Matt Woodrow
40a4cc142d
Bug 756601 - Use the right texture target when allocating texture in TextureHostOGL. r=Bas
2013-05-10 09:02:48 +12:00
Jeff Muizelaar
c75c330cdb
Bug 863498. Get the SurfaceTexture transform every draw. r=nical
...
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.
This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.
I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.
--HG--
extra : rebase_source : 7520870d8f0f0bb81c4acbb3b2011f8b0056d53f
2013-05-08 18:04:59 -04:00
Michael Wu
6cbfbe29e1
Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375
2013-05-09 13:00:14 -04:00
Joe Drew
0d6621c089
Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
...
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -04:00
Matt Woodrow
6ea227e7a6
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Bas Schouten
79b9b4b638
Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob
2013-04-30 12:14:21 +02:00
Bas Schouten
8c3e270117
Bug 866521: Deal with other PixelFormats for Gralloc buffers. r=bjacob
2013-04-30 12:14:20 +02:00
Nicholas Cameron
ba6fac75fa
Bug 788319. Rename RenderToEGLSurface. r=kats
2013-04-30 15:16:04 +12:00
Nicholas Cameron
8319e74183
Bug 788319, fixups to make EGL work with gtk. r=bjacob
2013-04-30 15:16:04 +12:00
Benoit Jacob
1d641ad5c1
Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc
2013-04-26 23:31:53 -04:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Chris Lord
27ca95544b
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01: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
677c5b5128
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
4852ece00b
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01: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
Nicholas Cameron
a1de9cf6eb
Bug 863968. Don't unbind frame buffer if we didn't composite. r=bjacob
2013-04-23 02:59:50 +12: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