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
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
6a644b8e27
Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc
2013-04-22 14:40:51 +12:00
Benoit Jacob
7add8f4327
Bug 863397 - Trim ImageLayerOGL from B2G paths (it's no longer used on B2G) - r=Bas
2013-04-20 10:08:18 -04:00
Daniel Holbert
ba839937c0
Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas
2013-04-17 15:34:26 -07:00
Benoit Jacob
b6de88b280
Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva
2013-04-17 16:56:03 -04:00
Matt Woodrow
ad49121adc
Bug 860615 - Remove MacIOSurfaceImage. r=BenWa
2013-04-17 14:21:07 +12:00
Matt Woodrow
76e1645f67
Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa
2013-04-17 14:21:06 +12:00
Matt Woodrow
cadfb117ea
Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa
2013-04-17 14:21:06 +12:00
Nicholas Cameron
b4a36f6da1
Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
...
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Nicholas Cameron
b3b70b10d6
Bug 844928, remove PTexture. r=nical
...
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Nicolas Silva
8f2274ab72
bug 861003 - Always use BasicTextureImage for YCbCr texture uploads. r=bas
2013-04-12 01:08:23 -04:00
Jeff Muizelaar
eaa55a2edc
Bug 860466: Properly deal with SharedTextureHostOGL. r=nical
...
There were a number of issues with the current implementation. It couldn't deal
with NULL mSharedHandles. Additionally it was binding things to the wrong
samplers. Finally it was not properly setting the texture transform (which
defaults to all 0). Finally in a debug build an assert would be hit upon client
shutdown due to it not clearing mDescriptor.
This patch fixes all of those issues which makes flash work again.
--HG--
extra : rebase_source : 733f242d2cd82c145ef6e3af9584f832af3c1f5d
2013-04-11 19:42:26 -04:00
Jeff Muizelaar
e728e1b1c4
Bug 860446: Properly readback from WebGL with B2G. r=bjacob
...
--HG--
extra : rebase_source : ed6f0374cbc5912bcde84680eccfaa2da6c9d1d5
2013-04-11 12:37:07 -04: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
Daniel Holbert
a7356d0abd
Bug 859517: Move LayerManagerOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=BenWa
2013-04-08 15:06:28 -07:00
Sotaro Ikeda
17e4c83d74
Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc
2013-03-28 09:59:48 -04:00