Граф коммитов

2395 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow a1b046b961 Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Sotaro Ikeda 6d4e999a49 Bug 873937 - Extend ThebesLayerBuffer's height to more than 32. r=jmuizelaar 2013-07-18 10:06:46 -04:00
Gabriele Svelto 4af4c99ef2 Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc 2013-07-17 17:04:33 +02:00
Ed Morley 14d2681e74 Merge mozilla-central and inbound 2013-07-18 15:01:47 +01:00
Ryan VanderMeulen 841f54b252 Backed out changeset b86c8fc67f5b (bug 873937) for causing bug 895976. 2013-07-19 21:12:18 -04:00
David Zbarsky 7ee9db63db Bug 895116: Use an ImageSurface in CanvasClient2DUpdate r=mattwoodrow 2013-07-17 23:54:09 -07:00
Markus Stange d4e021d74c Bug 894925 - Hold a strong ref to the ImageContainer between DispatchImageClientUpdate and UpdateImageClientNow. r=nical 2013-07-18 08:33:28 +02:00
Matt Woodrow d488853456 Bug 888048 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc 2013-07-17 23:24:15 -04:00
Matt Woodrow f181e9a218 Bug 875232 - Add a BGRX shader program that reads from GL_TEXTURE_RECTANGLE. r=jrmuziel 2013-07-17 23:24:15 -04:00
Matt Woodrow 9653ce195e Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow 588f5a77ec Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Chris Lord dbafdacc87 Bug 869696 - Disable gralloc surfaces on the Geeksphone Peak. r=jrmuizel
Geeksphone distribute a known bad driver that has issues when using
gralloc-backed surfaces. Performance is much better just falling back to
shared memory.
2013-07-17 15:34:52 +01:00
Brian O'Keefe f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Ryan VanderMeulen ae807eef57 Merge m-c to birch. 2013-07-12 13:31:17 -04:00
Oleg Romashin 6c145e7043 Bug 889241 - ASSERTION: Invalid (negative) scale factor: 'sy >= 0.0'. r=ncameron 2013-07-12 09:24:23 -04:00
Benoit Girard be559fe75a Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Phil Ringnalda 881e670d5e Back out cb34d80e6fc8 (bug 889515) for 10.6 assertions
CLOSED TREE
2013-07-11 21:24:20 -07:00
Matt Woodrow a3c1d8b765 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Peter Chang 5ec44ef3f6 Bug 885345 - HwcComposer2D doesn't render Camera or Video frames. r=nrc
Correct the buffer validation inside GetRenderState() to pass gralloc
buffer to composer module
2013-07-12 09:06:26 -04:00
Ed Morley a945e4355b Backed out changeset 512a1fd86008 (bug 892285) for failures in invalidation/test-animated-image-layers.html 2013-07-12 10:10:48 +01:00
Michael Wu a089db32c4 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-07-12 01:52:37 -04:00
Botond Ballo 910920e31e Bug 891544 - Remove unneeded FromUnknownPoint and FromUnknownRect calls. r=kats 2013-07-11 10:43:35 -04:00
Botond Ballo e1a8133ba6 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-11 10:43:35 -04:00
Jeff Muizelaar 1e6e84f8d1 Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -04:00
Ryan VanderMeulen 03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders 63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen 037efde64c Backed out changeset 3265d1e6ed10 (bug 890938) for Werror bustage. 2013-07-10 10:46:31 -04:00
Botond Ballo b840654f10 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-10 10:04:20 -04:00
Ryan VanderMeulen d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Wes Kocher e2c5c07610 Backout b61b7f2e0d0b for potentially causing leaks 2013-07-09 18:12:23 -07:00
Matt Woodrow c1727d7810 Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Anthony Jones 0d86c0c984 Bug 864447 - Move timing tracking out of APZC; r=BenWa 2013-07-10 11:26:08 +12:00
Andreas Gal ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E) a24aaaa555 Bug 888562 - Recycle MemoryImage surfaces when possible. r=mattwoodrow,jrmuizel 2013-07-09 17:52:31 -04:00
Andreas Gal 17fdd35ffd Bug 888530 - Remove unnecessary memset in ISurfaceAllocator::AllocSurfaceDescriptor. r=mattwoodrow,jrmuizel 2013-07-09 17:52:30 -04:00
Matt Woodrow 4cfda893e7 Bug 888530 - Simplify the code for updating a TextureClientShmem from an Image. r=jrmuizel 2013-07-09 17:52:30 -04:00
Benoit Girard f152264ea8 Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats 2013-07-02 11:16:05 -04:00
Matt Woodrow 577c983863 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Ms2ger f8554f1603 Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
Nicolas Silva 7d5b0a7879 Bug 858914 - Make the basic compositor backend use the same design pattern as the other backends. r=mattwoodrow 2013-07-08 19:02:05 +02:00
Milan Sreckovic 4e0b98b1bd Bug 890929 - Add asserts for the surface format. r=BenWa 2013-07-08 10:26:02 -04:00
Emanuel Hoogeveen e32590ca0d Bug 890714 - Fix mixed line endings. r=joe, r=jesup 2013-07-08 16:33:15 -04:00
Kartikaya Gupta cfb85cffaf Backout 59a4e09dd5ce (diagnostic patch from bug 881018) since it didn't help. r=me 2013-07-08 13:11:04 -04:00
David Zbarsky db1c02da4a Bug 885804: Renaming in gfx r=nical 2013-07-08 11:48:39 -04:00
Benoit Girard 0cad7b2d27 Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -04:00
Nicholas Cameron 5d32824206 Bug 874721. Unify mask type enums; r=bas 2013-07-05 09:48:33 +12:00
Nicholas Cameron 8bdc76e167 Bug 756606. Fix an assert in the d3d11 compositor. r=bas 2013-07-05 09:46:34 +12:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E) 4c463d2865 Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Kartikaya Gupta 99fb32edc1 Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe 2013-07-04 09:13:52 -04:00
Benoit Girard a210b5dede Bug 775459 - Implement hit testing on layer tree + tests. r=kats
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard 83a15c3414 Bug 775459 - Make APZC attachable only to container layers. r=kats
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Matt Woodrow 9f9ea758b2 Bug 865104 - Follow-up to fix build 2013-07-03 16:51:55 -04:00
Matt Woodrow 931b937052 Bug 865104 - Support YCbCr images with BasicCompositor instead of doing the conversion on the main thread. r=nrc,nical 2013-07-03 16:35:51 -04:00
Matt Woodrow 2de21281eb Bug 865104 - Use double buffering for BasicCompositor. r=nrc 2013-07-03 16:35:51 -04:00
Mike Shal d5df6bb361 Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Ryan VanderMeulen f23d636f4e Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow aaba06e7d1 Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Matt Woodrow 57402f402c Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Nicolas Silva 4b3fbac3da Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Ed Morley 258bb235ff Backed out changeset e6430ac52054 (bug 864447) for OS X make check crashes 2013-07-09 08:41:49 +01:00
Anthony Jones a63939d1dc Bug 864447 - Move timing tracking out of APZC; r=BenWa 2013-07-09 17:53:16 +12:00
Markus Stange b474b910a6 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Markus Stange 68c124a82c Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Kartikaya Gupta c547676bd1 Bug 866265 - Fix up some comments in FrameMetrics.h. r=kentuckyfriedtakahe 2013-07-03 09:04:10 -04:00
Markus Stange 0f3ad46845 Bug 888289 - Reland the part from bug 822115 that was accidentally backed out in the layers refactoring. r=mattwoodrow 2013-07-03 14:00:40 +02:00
Matt Woodrow f5a46f0d03 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Benoit Girard 9270c725b9 Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
David Zbarsky 0d9e8dfecc Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc 2013-06-29 11:53:49 -07:00
Jeff Muizelaar f9fe932a36 Bug 886845. Paint component alpha layer borders in blue. r=nical
More information is more better.
2013-06-29 11:34:03 -04:00
Justin Lebar 3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar 051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Shal 156426771a Bug 875013 - Eliminate VPATH usage (part 1 - EXPORTS); r=joey 2013-06-26 14:51:06 -04:00
Phil Ringnalda 9b08363794 Back out 37c7fcfdb186 (bug 885580) on suspicion of causing linux32 Cipc timeouts 2013-06-26 23:21:15 -07:00
Matt Woodrow 8baed26d9b Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Kartikaya Gupta eaff5d20cf Bug 881018 - Crash earlier when setting a bad resolution in the tiled layer buffer code. r=Cwiiis 2013-06-26 13:20:10 -04:00
Kartikaya Gupta e00fd765eb Bug 885030 - Move CalculateCompositedRectInCssPixels from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:49 -04:00
Kartikaya Gupta 3445b06407 Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:54:14 -04:00
Kartikaya Gupta 75b7aa0a24 Bug 885030 - Move CalculateIntrinsicScale to FrameMetrics. r=kentuckyfriedtakahe 2013-06-26 09:53:51 -04:00
Ehsan Akhgari 688d6881b1 Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal 4b4d3d8e70 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Benoit Girard 05cdcb0787 Bug 864441 - Add APZC tests. r=kats 2013-06-24 15:24:42 -04:00
Matt Woodrow 58a83c3cf9 Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical 2013-06-24 17:28:22 +12:00
Kartikaya Gupta 5df2bbd5fd Bug 883646 - Initialize transform variables for non-Fennec codepaths. r=kentuckyfriedtakahe 2013-06-21 17:03:57 -04:00
Kartikaya Gupta 469268e52f Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-21 17:03:57 -04:00
Kartikaya Gupta 1ec7f38b9a Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-21 17:03:57 -04:00
Kartikaya Gupta 1de2b15435 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta 17a2c46f83 Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe 2013-06-21 17:03:56 -04:00
Kartikaya Gupta 716ff653f1 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Kartikaya Gupta 38b709e375 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-21 17:03:55 -04:00
Kyle Machulis 4e0cbd87b6 Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru 2013-06-21 12:33:12 -07:00
Bill McCloskey 84d2edefb9 Bug 885100 - Need to call ReleaseTexture from CompositorOGL (r=nrc) 2013-06-20 18:04:53 -07:00
Ryan VanderMeulen d2b6c8631b Backed out 7 changesets (bug 883646) for reftest-ipc failures.
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta 668f4f5058 Bug 883646 - Scale the critical displayport by the widget scale as well. r=Cwiiis 2013-06-20 16:10:59 -04:00
Kartikaya Gupta 2b579f7d23 Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa 2013-06-20 16:10:58 -04:00
Kartikaya Gupta 603cf626d1 Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe 2013-06-20 16:10:58 -04:00
Kartikaya Gupta dbc8ab025e Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Kartikaya Gupta 59806913c0 Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Kartikaya Gupta 7f7a209a09 Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe 2013-06-20 16:10:57 -04:00
Markus Stange 68b100868a Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow 2013-06-20 15:01:20 +02:00
Peter Chang 2873f7a1dd Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc 2013-06-11 18:14:33 +08:00
Kan-Ru Chen (陳侃如) 488a090746 Bug 783451 - Remove outdated FIXME comment. r=nrc,bent DONTBUILD
--HG--
extra : rebase_source : 374ea9d0259081dc532c1c64f168fbf95f6fe9eb
2013-06-19 17:11:25 +08:00
Matt Woodrow 7b9d5b3e53 Bug 873944 - When we have OMTC, don't invalidate and wait for the widget paint event, just call DidPaint immediately. If we do get a widget paint event (from an OS initiated resize or similar), then block until the compositor has drawn the frame. r=roc 2013-06-18 19:59:29 +12:00
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