Markus Stange
61b4f283ad
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
81556ffce5
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
d4494f29a8
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
f1ba51d39d
Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas
2013-05-16 15:45:43 +12:00
Matt Woodrow
61ebe2bb02
Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
9b421cc198
Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE
2013-05-10 09:50:33 +12:00
Matt Woodrow
665739eaea
Bug 756601 - Round texture coords to the nearest texel. r=Bas
2013-05-10 09:02:49 +12:00
Matt Woodrow
e782ac7a86
Bug 756601 - Setup our OpenGL surface before compositing. r=mstange
2013-05-10 09:02:49 +12:00
Matt Woodrow
9c6aaf1b38
Bug 756601 - Use the right texture target when allocating texture in TextureHostOGL. r=Bas
2013-05-10 09:02:48 +12:00
Jeff Muizelaar
d94e90ba9d
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
1ec46fee8a
Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375
2013-05-09 13:00:14 -04:00
Joe Drew
099014057f
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
ace055b629
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Bas Schouten
551f8210c5
Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob
2013-04-30 12:14:21 +02:00
Bas Schouten
19104a6bd2
Bug 866521: Deal with other PixelFormats for Gralloc buffers. r=bjacob
2013-04-30 12:14:20 +02:00
Nicholas Cameron
15ca66c5f1
Bug 788319. Rename RenderToEGLSurface. r=kats
2013-04-30 15:16:04 +12:00
Nicholas Cameron
98fdef5930
Bug 788319, fixups to make EGL work with gtk. r=bjacob
2013-04-30 15:16:04 +12:00
Benoit Jacob
dd0a4affe0
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
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Chris Lord
b365c94dfd
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
3f8a7bbc88
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
9cccb1d7a4
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
e0579b7ab8
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
cda9e3facf
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
8e84adc98a
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
b18dc950c7
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
6e8d3cc036
Bug 863968. Don't unbind frame buffer if we didn't composite. r=bjacob
2013-04-23 02:59:50 +12:00
Ehsan Akhgari
34e21f4536
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
5394b1f9c1
Backed out changeset 86959499a5b8 (bug 856079) because of build bustage
2013-04-22 17:44:12 -04:00
Nicolas Silva
a9c99fbd1c
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-22 18:41:29 -04:00
Nicolas Silva
e4c0f3bbfd
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
4272b0bfcf
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
b00da928b1
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
7fe2ff7276
Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc
2013-04-22 14:40:52 +12:00
Matt Woodrow
546d90da40
Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc
2013-04-22 14:40:51 +12:00
Benoit Jacob
70367196cb
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
bd8e8a6aa7
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
44f85252bd
Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva
2013-04-17 16:56:03 -04:00
Matt Woodrow
6dd001de36
Bug 860615 - Remove MacIOSurfaceImage. r=BenWa
2013-04-17 14:21:07 +12:00
Matt Woodrow
f0f4c96842
Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa
2013-04-17 14:21:06 +12:00
Matt Woodrow
0b2d2c65a4
Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa
2013-04-17 14:21:06 +12:00
Nicholas Cameron
89e6b263d4
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
0318648f5d
Bug 844928, remove PTexture. r=nical
...
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Nicolas Silva
9dcaa414c9
bug 861003 - Always use BasicTextureImage for YCbCr texture uploads. r=bas
2013-04-12 01:08:23 -04:00
Jeff Muizelaar
8607e08ec3
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
459c9eaf5b
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
7d182a2102
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
1a333474ec
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
4d258d24a3
Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc
2013-03-28 09:59:48 -04:00
Diego Wilson
3d04d5956e
Bug 846236 - Verify the buffer descriptor is a shared texture. r=ncameron
2013-03-25 17:22:10 -07:00