Commit Graph

2032 Commits

Author SHA1 Message Date
James Willcox
c38017329f Bug 871390 - Update WebGL canvases async, not 2D ones r=mattwoodrow 2013-05-14 21:16:07 -04:00
Trevor Saunders
181686bf1e bug 869284 - fix some gcc warnings for windows widgetish stuff r=roc 2013-05-06 22:04:02 -04: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
a6bc13035f Bug 756601 - Fix bugs with OMTC component alpha. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
b5f9287e07 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
2c2db73896 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
bf2eebbd4c Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
ee8133a490 Bug 756601 - Setup PaintWillResample correctly. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
bdcfb9acdc Bug 756601 - Use CreateThebesSurfaceAliasForDrawTarget_hack in CopyableCanvasLayer. r=roc 2013-05-10 09:02:49 +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
Ryan VanderMeulen
3a1c7fb6c7 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
f4c0d1ead7 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1ec46fee8a Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Ed Morley
8a04bf8e38 Backed out changeset a23a23055e13 (bug 863498) for compilation failures on a CLOSED TREE 2013-05-09 17:31:59 +01:00
Jeff Muizelaar
3709c7cd90 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.
2013-05-08 18:04:59 -04:00
Jim Mathies
8475194898 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
Jacek Caban
d0b651581b Bug 830347 - Fixed TextureD3D11.h compilation on GCC. 2013-05-08 13:48:56 +02: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
Bas Schouten
50da3357c5 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Kyle Huey
2934511e8c Merge backout of bug 830347. 2013-05-08 12:06:17 -07:00
Kyle Huey
0adceb0fa5 Back out bug 830347. 2013-05-08 12:04:11 -07:00
Mark Banner
e569d3dfb4 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Bas Schouten
e3373b8d78 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Jacek Caban
d240224348 Bug 830347 - Fixed TextureD3D11.h compilation on GCC.
--HG--
extra : rebase_source : 150b94d6bab35540e42a9e2bbd75492a2c3a9959
2013-05-08 13:48:56 +02:00
Makoto Kato
0ec059eb04 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ryan VanderMeulen
f6068dd244 Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Michael Wu
d59dd9ac0f Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Benoit Jacob
b59d90a877 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -04:00
Chris Pearce
fa654ac426 Bug 847267 - Add new image class to wrap D3D surfaces. r=Bas 2013-05-04 22:12:40 +12:00
Phil Ringnalda
5d3aa2950b Merge Birch and m-c 2013-05-03 19:38:56 -07:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Michael Wu
97ade089a6 Bug 868065 - Move GraphicBuffer.h include out of ImageContainer.h, r=vlad 2013-05-02 12:56:09 -04:00
Kartikaya Gupta
9a688d104a Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones 2013-05-02 09:24:16 -04:00
James Willcox
bf095377f8 Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Nicolas Silva
d44f4453e5 Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel 2013-03-21 18:08:01 +01:00
Kartikaya Gupta
d14fe49737 Bug 867269 - Fix ifdef condition from ea568a1576e5. r=me DONTBUILD 2013-05-01 16:10:17 -04:00
Kartikaya Gupta
a9d47b89e9 Bug 866184 - Update SyncViewportInfo and SyncFrameMetrics to take a gfx::Point instead of floats. r=BenWa 2013-05-01 14:12:08 -04:00
Kartikaya Gupta
6956cbef05 Bug 867269 - Fix breakage in SyncFrameMetrics override. r=nrc 2013-05-01 10:49:27 -04:00
Matt Woodrow
f7d12ccdaa Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Matt Woodrow
c727739057 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
ace055b629 Bug 865104 - Implement a BasicCompositor. r=nrc 2013-05-01 12:42:05 +12:00
Daniel Holbert
9ae2c99b12 Bug 867420: Annotate AsyncPanZoomController as MOZ_FINAL to calm GCC Wdelete-non-virtual-dtor build warning. blanket-r=ehsan 2013-04-30 15:32:03 -07: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
bf1eca67ce Bug 864017: Deal with GrallocPlanarYCbCrImage on the client side. r=bjacob 2013-04-30 12:14:20 +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