Commit Graph

2243 Commits

Author SHA1 Message Date
Matt Woodrow
6c5bb2cc06 Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc 2013-06-18 19:58:43 +12:00
Matt Woodrow
614a80c1a6 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
Kartikaya Gupta
2a3c35c773 Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe 2013-06-14 16:11:44 -04:00
Kartikaya Gupta
e5cc885ca0 Bug 880676 - Convert WidgetSpaceToCompensatedViewportSpace to the new gfx types. r=kentuckyfriedtakahe 2013-06-14 16:11:32 -04:00
Kartikaya Gupta
cf832e1e8c Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
fbe003e9c9 Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
ddc341ee0a Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta
fc81d59e50 Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa 2013-06-14 16:11:30 -04:00
Kartikaya Gupta
f4dccbf777 Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
62bbfb2e68 Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa 2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa6e557e9e Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe 2013-06-14 16:11:29 -04:00
Anthony Jones
33b41fc292 Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12:00
Anthony Jones
0262c47fe5 Bug 880578 - Fix updating of scroll position; r=BenWa 2013-06-14 12:33:13 +12:00
Nicholas Cameron
560ba2baa6 Bug 866567. Mask layers for client container layers. r=mattwoodrow 2013-06-14 11:34:15 +12:00
Nicholas Cameron
5bab2ff095 Bug 874855. Add some more security to attaching compositors to compositables. r=nical 2013-06-14 08:19:39 +12:00
Ehsan Akhgari
f6ad445a82 Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Benoit Girard
0d44f34246 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Benoit Girard
e740f13665 Bug 775459 - Add layer border for scrollable container. r=joe 2013-06-12 14:25:17 -04:00
Kartikaya Gupta
713f19e922 Bug 879011 - Convert AsyncPanZoomController::ScrollBy to use templated gfx classes. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Kartikaya Gupta
3bec9e603d Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Kartikaya Gupta
72ed97fb7b Bug 879011 - Turn some ints into floats to avoid rounding error. r=kentuckyfriendtakahe 2013-06-11 18:13:11 -04:00
Nicolas Silva
3b55f465b7 Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02:00
Ryan VanderMeulen
5f5bfa8616 Merge m-c to inbound. 2013-06-11 10:41:06 -04:00
Kartikaya Gupta
dc77049db1 Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe 2013-06-11 09:46:51 -04:00
Matt Woodrow
d0931bf110 Bug 867226 - Don't crash if we can't create a valid framebuffer. r=bjacob 2013-06-11 11:38:03 +12:00
Ed Morley
6d3a720fbe Merge mozilla-central and birch 2013-06-11 09:38:18 +01:00
Kyle Machulis
992e1ec338 Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu] 2013-06-05 13:42:00 -07:00
Kartikaya Gupta
e0bc90dd4d Bug 877728 - Use a local variable instead of a ref to store a temporary. r=Ms2ger 2013-06-10 11:37:24 -04:00
Kartikaya Gupta
cf143c6315 Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
6b80984b82 Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe 2013-06-10 09:05:44 -04:00
Kartikaya Gupta
2e046cb0db Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
95a5f9d752 Bug 879004 - Change FrameMetrics.mViewport to be a CSSRect. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
117c0c13f9 Bug 879004 - Move template methods to header file. r=BenWa 2013-06-10 09:05:43 -04:00
Kartikaya Gupta
39f7cc7f7b Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa 2013-06-10 09:05:42 -04:00
Matt Woodrow
1532053c01 Backout Bug 861805 for causing Bug 871729. rs=roc 2013-06-10 12:13:10 +12:00
Ryan VanderMeulen
aeaafd9ad2 Merge m-c to inbound. 2013-06-07 15:28:41 -04:00
Daniel Holbert
3d5dcfd519 Bug 880662 - Remove unused variable from YCbCrImageDataDeserializerBase::IsValid(). r=nical 2013-06-07 15:21:50 -04:00
Sotaro Ikeda
67679f943a Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad 2013-06-07 12:05:03 -04:00
Daniel Holbert
5d896df6af back out ac18c74b3a2c (Bug 874736) since it was independently fixed elsewhere 2013-06-07 08:16:45 -04:00
Ryan VanderMeulen
21dc555a78 Merge m-c to inbound. 2013-06-07 08:01:37 -04:00
Ryan VanderMeulen
89cab4da7e Merge m-c to birch. 2013-06-06 15:20:09 -04:00
Michael Wu
e8cca668a4 Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad 2013-06-06 14:01:30 -04:00
James Willcox
d993fb3d03 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Nicholas Cameron
c8adbd0824 Bug 880441. Fix erroneous assertion with double buffering; r=mattwoodrow 2013-06-07 20:52:23 +12:00
Matt Woodrow
8fb1bb7132 Bug 879149 - Don't attempt to use ContentClientIncremental when not using GL layers. r=nrc 2013-06-07 17:10:31 +12:00
Arnaud Sourioux
6537905f6b Bug 874736 - Annotate "using CompositableHost::EnsureTextureHost;" to fix warnings with -Woverloaded-virtual in gfx/layers/composite. r=nical 2013-06-06 12:42:57 -04:00
Nicholas Cameron
97b2dcf59b 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
020a93e885 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
David Zbarsky
092fea3383 Bug 788549 Part 13: Sample animations on shadow layers update in testing mode r=roc 2013-06-04 20:11:56 -07:00
Jeff Gilbert
6c9255e881 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Nicolas Silva
1f2758228b Bug 875211 - fix windows build on a CLOSED TREE 2013-06-04 21:08:15 +02:00
Nicolas Silva
4f69a21cac Bug 875211 - fix build on a CLOSED TREE 2013-06-04 21:02:52 +02:00
Nicolas Silva
1999386b3c 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
David Zbarsky
01bf8c6778 Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Kartikaya Gupta
82a9f4437b Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa 2013-06-03 10:00:02 -04:00
Kartikaya Gupta
1fa7c9cb13 Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa 2013-06-03 09:58:34 -04:00
Kartikaya Gupta
d78324a85f Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa 2013-06-03 09:58:07 -04:00
Kartikaya Gupta
e39010ba23 Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
46a7789a65 Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Nicholas Cameron
5862fad936 Bug 876661. Fix function hidden warnings. r=mattwoodrow
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
David Zbarsky
96a9e57beb Bug 788549 Part 10: Fix RecvGetTransform to handle scale animations correctly r=roc 2013-05-31 11:06:57 -07:00
Phil Ringnalda
b560a7bab2 Merge m-c to a CLOSED TREE m-i 2013-05-31 07:41:20 -07:00
Phil Ringnalda
4aec020413 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
David Zbarsky
59d3f26cc4 Bug 788549 Part 7: Make RecvGetTransform() return the untranslated transform since that is what getComputedStyle returns r=roc 2013-05-30 17:45:17 -07:00
Anthony Jones
b7c0e66763 Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Nicolas Silva
1c504b203b Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob 2013-05-07 16:19:15 -04:00
Benoit Girard
908b9e495b Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Chiajung Hung
c45c440206 Bug 875246 - Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread. r=kchen
DispatchImageClientUpdate is a helper function to dispatch IPC message, only dispatch when not in the ImageBridge thread can improve responsibility.
2013-05-30 08:10:02 -04:00
Phil Ringnalda
ad4c150cb3 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Robert O'Callahan
6569fc1a08 Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Matt Woodrow
5eae1f66f2 Bug 877034 - Initialize MemoryImage to 0 to match the behaviour of Shmem. r=nical 2013-05-30 14:44:08 +12:00
Benoit Girard
397d220ef5 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
David Zbarsky
43653e7af5 Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Jeff Gilbert
d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Chris Coulson
d18e1ad772 Bug 877110 - Fix format-security errors introduced by bug 867656. r=mattwoodrow 2013-05-29 19:26:41 -04:00
Nicolas Silva
64e53fc053 Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow 2013-05-26 04:44:24 +02:00
Nicolas Silva
7fcd49c55c Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob 2013-05-26 04:43:43 +02:00
Bas Schouten
5ea6ee5f3a Bug 843555 - Part 1: Use a content texture client for Canvas. r=nical 2013-05-28 14:12:01 +02:00
David Zbarsky
3b94c9b291 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
David Zbarsky
426d89524a Backed out changeset 6c1cf4694a13 for not building on windows and android 2013-05-27 17:14:33 -07:00
David Zbarsky
47b801fa22 Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc 2013-05-27 16:47:45 -07:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Markus Stange
6abeb68348 Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow 2013-05-27 14:48:15 +02:00
Chris Lord
742ab29f38 Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats 2013-05-24 15:53:58 +01:00
Anthony Jones
2301455d33 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Nicolas Silva
9b4532e327 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
5f3753297b 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
e32f79e41c 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
153f37adaa Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures. 2013-05-22 13:18:19 +08:00
Matt Woodrow
d840fcc9ca 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
2593e3ff92 Bug 874370 - Make ContentClientIncremental use a no-swap transaction. r=nical 2013-05-22 11:36:38 +08:00
Matt Woodrow
69ba89c3f3 Bug 874367 - Release TextureUpdateRequest memory in the destructor to prevent leaks. r=nical 2013-05-22 11:36:38 +08:00
Ed Morley
fa097e6aaa Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras 2013-05-21 14:03:43 +01:00
David Zbarsky
61aaee48f7 Fix an incorrect comment, no bug, r=me 2013-05-21 18:22:45 +08:00
David Zbarsky
f4fefe3c41 Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron 2013-05-21 18:22:44 +08:00
Juan Gomez
d51e36989b 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
6116886dbc 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
Chris Pearce
f48a90724f Bug 872375 - Specify picture region in D3D9SurfaceImage. r=padenot 2013-05-20 13:14:13 +08:00
David Zbarsky
85e6dd23ef [Bug 873679] Remove bogus assertion in AsyncCompositionManager.cpp r=roc 2013-05-19 19:17:22 -07:00
Gregory Szorc
cda3054fe8 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
995052ce79 Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc
4b45bf9e76 Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Robert O'Callahan
0eaf9dc67a Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00
Matt Woodrow
125967cb7d Bug 870211 - Add ContentClientIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
f0fe705373 Bug 870211 - Add new IPC messages to LayersTransaction for doing incremental updates to textures. r=Bas 2013-05-16 15:45:43 +12:00
Matt Woodrow
3f0104ee7d Bug 870211 - Add ContentHostIncremental. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
977cd1e212 Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas 2013-05-16 15:45:43 +12:00
Matt Woodrow
ced7f215ab Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical 2013-05-16 15:45:43 +12:00
Matt Woodrow
8e23ffcbe5 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
51a9c43eed Bug 871390 - Update WebGL canvases async, not 2D ones r=mattwoodrow 2013-05-14 21:16:07 -04:00
Trevor Saunders
ff816988f1 bug 869284 - fix some gcc warnings for windows widgetish stuff r=roc 2013-05-06 22:04:02 -04:00
Matt Woodrow
d50378ddd9 Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE 2013-05-10 09:50:33 +12:00
Matt Woodrow
4ef57ae4bc Bug 756601 - Fix bugs with OMTC component alpha. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
bf2a751e54 Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
7499469f69 Bug 868259 - Fix BasicCompositor rendering. r=roc 2013-05-10 09:02:50 +12:00
Matt Woodrow
637c9d31ba Bug 756601 - Fix a few small layers refactoring bugs. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
c3ddb34700 Bug 756601 - Setup PaintWillResample correctly. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
dfe7afb99b Bug 756601 - Use CreateThebesSurfaceAliasForDrawTarget_hack in CopyableCanvasLayer. r=roc 2013-05-10 09:02:49 +12:00
Matt Woodrow
b56f232983 Bug 756601 - Round texture coords to the nearest texel. r=Bas 2013-05-10 09:02:49 +12:00
Matt Woodrow
99faba83a1 Bug 756601 - Setup our OpenGL surface before compositing. r=mstange 2013-05-10 09:02:49 +12:00
Matt Woodrow
dcc2ad0a3a Bug 756601 - Use the right texture target when allocating texture in TextureHostOGL. r=Bas 2013-05-10 09:02:48 +12:00
Jeff Muizelaar
04265dd519 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
eca9fedd98 Merge m-c to inbound. 2013-05-09 13:21:14 -04:00
Michael Wu
a78065dba5 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1727e4c18f Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Ed Morley
2607b53564 Backed out changeset a23a23055e13 (bug 863498) for compilation failures on a CLOSED TREE 2013-05-09 17:31:59 +01:00
Jeff Muizelaar
9784131430 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
a8b390f9d9 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
ae698a2c3f Bug 830347 - Fixed TextureD3D11.h compilation on GCC. 2013-05-08 13:48:56 +02:00
Joe Drew
146e468252 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
a999d47355 Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Kyle Huey
19ffa23570 Merge backout of bug 830347. 2013-05-08 12:06:17 -07:00
Kyle Huey
de21211adf Back out bug 830347. 2013-05-08 12:04:11 -07:00
Mark Banner
26ea3b3736 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Bas Schouten
745964b1cd Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel 2013-05-03 19:34:29 +02:00
Jacek Caban
9a7da7c34a Bug 830347 - Fixed TextureD3D11.h compilation on GCC.
--HG--
extra : rebase_source : 150b94d6bab35540e42a9e2bbd75492a2c3a9959
2013-05-08 13:48:56 +02:00
Makoto Kato
eada8e34f0 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Ryan VanderMeulen
e507d01d4b Merge inbound to m-c. 2013-05-07 22:10:19 -04:00
Michael Wu
b65992d857 Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Benoit Jacob
009f164aa1 Bug 868556 - We are not using gralloc on b2g anymore - r=vladv 2013-05-03 22:57:18 -04:00
Chris Pearce
531c91fb5b Bug 847267 - Add new image class to wrap D3D surfaces. r=Bas 2013-05-04 22:12:40 +12:00
Phil Ringnalda
1aef9755fb Merge Birch and m-c 2013-05-03 19:38:56 -07:00
Gregory Szorc
522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Michael Wu
5ac9873f58 Bug 868065 - Move GraphicBuffer.h include out of ImageContainer.h, r=vlad 2013-05-02 12:56:09 -04:00
Kartikaya Gupta
50eb862251 Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones 2013-05-02 09:24:16 -04:00
James Willcox
ff9fc3204f Bug 863223 - Make canvas updates asynchronous once again r=nrc 2013-05-01 19:24:27 -04:00
Nicolas Silva
11c6d3c7eb 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
0a74d31358 Bug 867269 - Fix ifdef condition from ea568a1576e5. r=me DONTBUILD 2013-05-01 16:10:17 -04:00