Commit Graph

5258 Commits

Author SHA1 Message Date
Wes Kocher
7c26086f75 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Wes Kocher
90c12f504b Backed out changeset e3fe86623065 (bug 1084607) 2014-10-17 16:32:27 -07:00
Ralph Giles
0a853765e0 Bug 1084607 - Add missing namespace references for GLImages.cpp. r=jgilbert CLOSED TREE
This fixes undeclared type errors on non-unified builds.
2014-10-17 15:03:00 -07:00
James Willcox
ca475bfea2 Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
--HG--
extra : rebase_source : 3580c219b47615d55bfa3d1c672d017dd67ef0a1
extra : histedit_source : 24c932ac4ebabad7d706fa5599d5f32762ce5a02
2014-10-17 10:35:13 -05:00
James Willcox
01348c1f39 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
84e303ee7e Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
2014-10-17 10:35:11 -05:00
James Willcox
a531707288 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
2b46ce84e6 Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.

--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Nicolas Silva
16f5aa1217 Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
54ad5407df Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
66ce852993 Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
David Parks
80cb5375d6 Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Ryan VanderMeulen
f9d39c28db Backed out changeset 96aefa302688 (bug 1065881) for breaking content process leak checking.
CLOSED TREE
2014-10-16 12:23:56 -04:00
Kartikaya Gupta
28010267be Bug 1083398 - Check the entire handoff chain for fast-moving APZCs when disabling tapping during flings. r=botond 2014-10-16 10:14:38 -04:00
Kartikaya Gupta
a796db47c5 Bug 1083398 - Sprinkle some const keywords around. r=botond 2014-10-16 10:14:37 -04:00
Sotaro Ikeda
512b2fabb2 Bug 1082986 - Use RefPtr to hold Compositor r=nical 2014-10-16 06:48:29 -07:00
Chris Jones
1715538fe3 Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow 2014-10-14 18:30:13 -07:00
Kartikaya Gupta
f5cd43f958 Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Watt
f440265515 Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
efe6e3ef6a Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
David Parks
cd0cce18a4 Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread. r=nical
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Jeff Gilbert
4b2b8c5999 Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish 2014-10-10 14:36:17 -07:00
Nicolas Silva
5932850110 Bug 966284 - Fix the shutdown sequence of PLayerTransaction and PTexture. r=sotaro 2014-10-13 10:43:59 +02:00
jdashg
7818d91f9a Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow 2014-10-08 15:18:28 -07:00
jdashg
aca62a5311 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
4edee9ac4c Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
a070a30c6a Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow 2014-10-07 21:15:39 -07:00
jdashg
5fb64748e4 Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
 dom/canvas/WebGLContext.cpp                | 10 +++++--
 gfx/gl/GLContext.cpp                       | 20 --------------
 gfx/gl/GLContext.h                         |  3 --
 gfx/gl/GLReadTexImageHelper.cpp            |  5 +++-
 gfx/gl/GLScreenBuffer.cpp                  | 13 +++++++--
 gfx/gl/GLUploadHelpers.cpp                 | 27 ++++++++++++++++++
 gfx/gl/SharedSurfaceGralloc.cpp            | 14 ++++------
 gfx/gl/SharedSurfaceGralloc.h              | 10 +++++--
 gfx/gl/SurfaceTypes.cpp                    |  2 ++
 gfx/gl/SurfaceTypes.h                      |  1 +
 gfx/layers/client/CanvasClient.cpp         | 44 ++++++++++++++++++------------
 gfx/layers/client/CanvasClient.h           |  8 +++---
 gfx/layers/client/ClientCanvasLayer.cpp    |  6 ++++
 gfx/layers/client/ClientCanvasLayer.h      |  2 +-
 gfx/layers/client/TextureClient.cpp        | 11 ++++----
 gfx/layers/client/TextureClient.h          |  6 ++--
 gfx/layers/composite/TextureHost.cpp       | 15 +++++-----
 gfx/layers/composite/TextureHost.h         | 10 +++----
 gfx/layers/d3d10/CanvasLayerD3D10.cpp      |  9 ++++--
 gfx/layers/d3d9/CanvasLayerD3D9.cpp        |  8 ++++--
 gfx/layers/ipc/LayersSurfaces.ipdlh        |  4 +--
 gfx/layers/moz.build                       |  4 ++-
 gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
 gfx/layers/opengl/GrallocTextureClient.h   |  3 ++
 24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
a8a4d97f00 Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
 gfx/2d/HelpersCairo.h                   |   2 +
 gfx/gl/GLContext.cpp                    |   3 +-
 gfx/gl/GLContext.h                      |   2 -
 gfx/gl/GLReadTexImageHelper.cpp         |  21 +--
 gfx/gl/GLReadTexImageHelper.h           |   6 +
 gfx/gl/GLScreenBuffer.h                 |   6 +-
 gfx/gl/ScopedGLHelpers.cpp              |  40 +++++
 gfx/gl/ScopedGLHelpers.h                |  26 ++-
 gfx/gl/SharedSurface.cpp                |  94 +++++++++++
 gfx/gl/SharedSurface.h                  |  19 +++
 gfx/gl/SharedSurfaceIO.h                |   4 +
 gfx/layers/CopyableCanvasLayer.cpp      |   3 +-
 gfx/layers/client/CanvasClient.cpp      | 276 +++++++++++++++++++++++++++++---
 gfx/layers/client/CanvasClient.h        |  34 ++++
 gfx/layers/client/ClientCanvasLayer.cpp |  21 ++-
 gfx/layers/client/ClientCanvasLayer.h   |   9 +-
 gfx/layers/client/TextureClient.cpp     |  35 ++++
 gfx/layers/client/TextureClient.h       |  85 +++++++++-
 gfx/layers/composite/TextureHost.cpp    | 131 ++++++++++++++-
 gfx/layers/composite/TextureHost.h      |  64 ++++++++
 gfx/layers/d3d10/CanvasLayerD3D10.cpp   |   5 +-
 gfx/layers/ipc/LayersSurfaces.ipdlh     |   5 +
 22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Sotaro Ikeda
ad4f8e7e9c Bug 1075077 - Update buffer's addresses r=nical 2014-10-10 06:21:43 -07:00
Nicolas Silva
06e416819b Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro 2014-10-09 16:00:17 +02:00
Sotaro Ikeda
824294ae69 Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-08 20:47:17 -07:00
Kartikaya Gupta
f6a98016d2 Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn 2014-10-08 22:56:38 -04:00
Sotaro Ikeda
dc54e41224 Bug 1079251 - fix CbCr buffer address r=nical 2014-10-08 13:34:52 -07:00
Jonathan Watt
84e4023207 Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas 2014-10-08 04:43:00 +01:00
Matt Woodrow
85fc18b3b0 Bug 1077842 - Simplify invalid regions for tiled painted layers to avoid complex region operations. r=jrmuizel
--HG--
extra : rebase_source : 13cbe5d47b5c79e576627a67b2a6b61b217f9acf
2014-10-08 13:12:25 +13:00
Sotaro Ikeda
91f068a12c Bug 1076868 - Fix RemoveTextureFromCompositableAsync() call handling r=nical 2014-10-07 11:37:15 -07:00
Markus Stange
e2b955c9fe Bug 1077358 - Clip BasicColorLayer drawing to the layer's bounds. r=Bas 2014-10-07 16:18:01 +02:00
Markus Stange
8306207e4e Bug 1074280 - Use AsContainerLayer() in order to avoid a bad cast. r=roc 2014-10-07 16:18:00 +02:00
Nicolas Silva
d74e31effc Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Nicolas Silva
d0e870527f Bug 1016540 - GrallocTextureSource::DeallocateDeviceData must assert that it has a compositor, rather than a gl context. r=sotaro 2014-10-07 10:45:04 +02:00
Sotaro Ikeda
d1f5d678d4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-06 15:45:03 -07:00
Botond Ballo
06a1e18dda Bug 1073250 - Ignore subsequent touches if an any APZC along the handoff chain of the one targeted by the first touch is overscrolled. r=kats 2014-10-03 20:33:49 -04:00
Nicolas Silva
d804815b14 Bug 1044975 - Don't crash if mapping D3D11 shader constant buffers fails. r=Bas 2014-10-06 14:53:42 +02:00
Nicolas Silva
24d7de5353 Bug 1076825 - Don't crash release builds if allocating the buffer on white failed in RotatedBuffer.cpp. r=Bas 2014-10-06 14:37:57 +02:00
Andrew Osmond
2556a866b4 Bug 1077402 - Lock monitor when accessing overscrolling transform. r=kats 2014-10-03 06:38:00 +02:00
Mason Chang
e655e859d2 Bug 1075096 - Separate LayerTransactions in profiler. r=benwa 2014-10-01 11:38:00 +02:00
Mason Chang
98d9d46202 Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa 2014-10-01 13:01:59 -07:00
Phil Ringnalda
5e348eaecc Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
b5b8786cc4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-05 14:14:33 -07:00
Kartikaya Gupta
4dd414cdfc Bug 1063168 - Fix some incorrect debug printf format specifiers. r=botond 2014-10-03 13:39:38 -04:00
Kartikaya Gupta
3e07d04276 Bug 1063138 - Don't forward move events from the GEL to the APZC when two fingers are down but the pinch hasn't been activated. r=botond 2014-10-03 13:39:37 -04:00
Kartikaya Gupta
67aa9a044a Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond 2014-10-03 13:39:37 -04:00
Nicolas Silva
fdbe68167e Bug 1073113 - make D3D11 image layers double buffered. r=mattwoodrow 2014-10-03 11:25:07 +02:00
Ed Morley
1b548da245 Merge mozilla-central and inbound 2014-10-03 15:14:53 +01:00
Ed Morley
c933f54bad Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-10-03 14:29:24 +01:00
Sushil Chauhan
cbbdf4f1a5 Bug 1074099 - Use GetLocalTransform api in LayerTreeInvalidation class. r=mattwoodrow
--HG--
extra : rebase_source : 80970410b49552e61c0cf76d7953fdd825029bb4
2014-10-01 11:04:19 -07:00
Sotaro Ikeda
93503c5410 Bug 1075136 - backout the commit 2014-10-02 06:45:02 -07:00
Kartikaya Gupta
3b2421c388 Bug 1076915 - Ensure that PostDelayedTask is always called on the controller thread. r=botond 2014-10-03 09:29:49 -04:00
Nick Lebedev
eb08238087 Bug 947892. Add dispatching of the tap event when the tap is followed by multiple touches. r=botond 2014-10-03 09:24:56 -04:00
Kartikaya Gupta
0cfbaa97c5 Bug 1043859 - Fix the code to remove the async transform from scrollbar layers that are descendants of their content. r=botond 2014-10-01 17:49:31 -04:00
Kartikaya Gupta
77e82458f5 Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond 2014-10-01 17:49:31 -04:00
Kartikaya Gupta
e9a17a651f Bug 1068571 - Clear velocity on touch-end even if in the NOTHING state. r=botond 2014-10-01 17:49:30 -04:00
Botond Ballo
01c366bafc Bug 1073618 - When starting a snap-back after a fling, only consider APZCs along the handoff chain from the flinging APZC onwards. r=kats 2014-10-01 13:26:37 -04:00
Kartikaya Gupta
937969f83c Bug 1074944 - Update APZ code to use Matrix4x4::Inverse() where possible. r=nical 2014-10-01 13:13:05 -04:00
Sotaro Ikeda
3777979c62 Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-01 07:16:32 -07:00
Jeff Muizelaar
05d4c288be Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D

--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Wes Kocher
39403ad7cb Merge m-c to inbound a=merge 2014-09-30 17:10:24 -07:00
Wes Kocher
69e56bd2f8 Merge b2g-inbound to m-c a=merge 2014-09-30 16:42:03 -07:00
Jeff Muizelaar
6e8d0fadde Bug 1066664. Fix screenshot rotation. r=mwoodrow
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04:00
Nicolas Silva
04226da85c Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Jeff Muizelaar
a21377d891 Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Jeff Muizelaar
52d76c7560 Bug 1071241. Call ComputeRotation before TransformShadowTree. r=mwoodrow
This is need so that the rotation transform is available at
transform time. Without this rotation is delayed a frame.
2014-09-30 10:07:05 -04:00
Markus Stange
a598fa8ed3 Bug 1073727 - Fix bustage. 2014-09-30 14:08:18 +02:00
Markus Stange
9582f8800c Bug 1073727 - Make OverscrollHandoffState::mPanDistance non-negative during OS X APZ panning. r=botond 2014-09-30 13:51:37 +02:00
Chris Lord
90f77b66fd Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical
--HG--
extra : rebase_source : 24f2d8c50e5c0ddfa6683291040a78574d631678
2014-10-03 13:22:32 +13:00
Carsten "Tomcat" Book
50deec9dbd Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
592c23fb6e Merge m-c to b2g-inbound. a=merge 2014-09-29 16:02:35 -04:00
Kartikaya Gupta
c9ddb533f4 Bug 1070993 - Allow for sub-app-unit rounding error when deciding if an APZ is checkerboarding or not. r=botond 2014-09-29 13:33:15 -04:00
Ed Morley
a6cf46ecc9 Backed out changeset 318fa507832d (bug 1073086) 2014-09-29 17:42:34 +01:00
Jeff Muizelaar
91bc7be99d Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Sotaro Ikeda
982854387c Bug 1073862 - Remove RemoveTextureFromCompositableTracker usage for back buffer removal r=nical 2014-09-29 07:18:25 -07:00
Nicolas Silva
71b5f35d99 Bug 1061713 - Don't crash release builds if a D3D TextureClient is unlocked without being locked. r=Bas 2014-09-29 11:24:54 +02:00
Nicolas Silva
e207fcc8fd Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel 2014-09-26 15:02:35 -04:00
Markus Stange
abdabfe784 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Nicolas Silva
44f409cd2d Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro 2014-09-26 10:32:59 -04:00
Sotaro Ikeda
cef74266f4 Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical 2014-09-26 04:30:11 -07:00
Kartikaya Gupta
8192a0dd8b Bug 973105 - Force flushing of repaint requests before processing touchstart events. r=botond 2014-09-25 13:46:33 -04:00
Jeff Muizelaar
67573bc01e Bug 1073039. Change uniform workaround to use raw gl. r=mstange
Bug 1073036 is changing the way we track shader state. Making
this use raw gl instead of Activate() allows CompositorOGL
to remain ignorant of it.

--HG--
extra : rebase_source : ed7e98b35b3fb7c7ea902ee921e09f9cf620b245
2014-09-24 15:06:09 -04:00
Kartikaya Gupta
6f0e19fa99 Bug 1030181 - Follow-up to fix typo. r=me DONTBUILD 2014-09-24 13:57:44 -04:00
Nicolas Silva
5dc44835f0 Bug 1072411 - Remove useless format convertion code in ImageClient. r=jrmuizel 2014-09-24 13:50:28 -04:00
Bas Schouten
e225e93649 Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow 2014-09-24 17:12:10 +00:00
Sotaro Ikeda
8f29162a26 Bug 1061435 - Set timeout to fClientWaitSync() r=nical 2014-09-24 07:00:19 -07:00
Milan Sreckovic
d7d75e21f2 Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow 2014-09-17 13:55:23 -04:00
Nicolas Silva
053427c423 Bug 1066139 - Put stereo video behind a pref (off by default). r=Bas 2014-09-23 17:57:14 -04:00
Markus Stange
5766e69173 Bug 1050493 - Invalidate ColorLayer bounds changes. r=roc
--HG--
extra : rebase_source : 2196e9cb32a41771b9078ec1e66dbb97ef430b71
2014-09-23 17:47:36 -04:00
Nicolas Silva
77c1fbd792 Bug 1066678 - Show the buffer rect rather than the visible region in thebes layer borders. r=BenWa 2014-09-23 17:48:17 -04:00
Nicolas Silva
d1b829ea88 Bug 1071825 - Remove simple tiling code. r=mattwoodrow 2014-09-23 17:44:48 -04:00
Botond Ballo
ef4b07cd7b Bug 1062483 - Another bustage fix. r=bustage 2014-09-23 15:56:56 -04:00
Botond ballo
78ca441e90 Bug 1062483 - Follow-up to fix bustage on a CLOSED TREE. r=bustage 2014-09-23 15:47:59 -04:00
Botond Ballo
500737115d Bug 1062483 - Make the overscroll effect harder to trigger accidentally. r=kats
--HG--
rename : gfx/layers/apz/src/OverscrollHandoffChain.cpp => gfx/layers/apz/src/OverscrollHandoffState.cpp
rename : gfx/layers/apz/src/OverscrollHandoffChain.h => gfx/layers/apz/src/OverscrollHandoffState.h
extra : rebase_source : 155c68fcd76c5f1e7a4e57818d238908bc8eb3c2
2014-09-23 11:38:05 -04:00
Nicolas Silva
ab23cc4fba Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas 2014-09-23 11:35:39 -04:00
Kartikaya Gupta
13d10fa7ac Bug 1071256 - Fix OS X tiling codepath to deal with low-precision tiles. r=mattwoodrow 2014-09-22 17:52:21 -04:00
Benoit Girard
7ad2ef08e2 Bug 1063046 - Simplify format change for tiled layers. r=mstange
--HG--
extra : rebase_source : 82f26e690987c4c08e918eaf5783111922465194
2014-09-22 14:05:26 -04:00
Kartikaya Gupta
385074ab72 Bug 1023473 - Replace tabs with spaces. r=me and DONTBUILD 2014-09-22 11:52:21 -04:00
Kartikaya Gupta
709ee53472 Bug 1068268 - Remove redundant MOZ_COUNT_[CD]TOR macros in AsyncPanZoomController. r=botond 2014-09-20 22:27:17 -04:00
Kartikaya Gupta
ee087e7822 Bug 1068268 - Properly set the next-sibling pointer of an APZC when it is a child of a multi-layer APZ. r=botond 2014-09-20 22:27:16 -04:00
Kartikaya Gupta
03f5d1a956 Bug 1068802 - Some small logging tweaks. r=botond 2014-09-19 09:33:54 -04:00
Kartikaya Gupta
91c13896ef Bug 1068802 - Clear the callback transform when the scroll update acknowledgement reaches the content side. r=botond 2014-09-19 09:33:53 -04:00
Kartikaya Gupta
fc14316d3d Bug 1056423 - Follow-up to fix build bustage on a CLOSED TREE. r=me 2014-09-18 13:46:47 -04:00
Kartikaya Gupta
c4a696699f Bug 1056423 - Adjust scrollbar clip rect also when accounting for async transform. r=botond 2014-09-18 13:19:20 -04:00
Tom Tromey
8b8e292385 Bug 1069371 - Fix typo in call to PROFILER_LABEL. r=BenWa 2014-09-18 08:05:00 -04:00
Bas Schouten
2e768633ad Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE 2014-09-18 00:25:23 +02:00
Ehsan Akhgari
28bba4a48e Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-17 17:54:13 -04:00
Jonathan Watt
08f4247393 Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas 2014-09-29 18:32:36 +01:00
Milan Sreckovic
2f8e56cd28 Bug 868046 - Fix the wrong assert. r=nical 2014-11-19 10:36:24 -05:00
Nicolas Silva
1d405a8655 Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas 2014-09-17 23:23:09 +02:00
Jeff Gilbert
39ac1c0389 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Wes Kocher
48ee047035 Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Milan Sreckovic
e69d88af19 Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva 2014-09-16 10:13:52 -04:00
Milan Sreckovic
61e6103054 Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva 2014-09-16 10:07:46 -04:00
Carsten "Tomcat" Book
65f0797937 Merge m-c to b2g-inbound 2014-09-16 07:10:24 +02:00
Wes Kocher
6e013e9ba9 Merge m-c to b-i a=merge 2014-09-15 16:47:02 -07:00
Sotaro Ikeda
c42f61231c Bug 1065492 - Fix a stride when using android::ColorConverter r=nical 2014-09-15 06:30:40 -07:00
Botond Ballo
68155808a8 Bug 1066259 - Change Axis to operate in Screen pixels where possible. r=kats
--HG--
extra : rebase_source : c31c5a16e46eb79c64fd6e6d42c1d84f4718c2fe
2014-09-12 17:46:31 -04:00
Bas Schouten
124a96d56c Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel 2014-09-14 23:51:31 +02:00
Bas Schouten
31b49b05ab Bug 1066417: Add Direct2D 1.1 to the list op backends that don't like OP_SOURCE. r=mattwoodrow 2014-09-14 23:51:28 +02:00
Matt Woodrow
b14244ee9a Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
James Willcox
fe19d22a4b Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Botond Ballo
b17bdef021 Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
--HG--
extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
2014-09-11 13:49:38 -04:00
Kartikaya Gupta
25d9a7f6d6 Bug 1053766 - Use the statechange notification blocker to avoid some transient notifications. r=botond 2014-09-12 11:40:21 -04:00
Kartikaya Gupta
e4ff72a0ff Bug 1053766 - Add a StateChange notification blocker to APZC. r=botond 2014-09-12 11:39:56 -04:00
Kartikaya Gupta
3fca49c8e2 Bug 1066421 - Make APZStateChange a regular enum instead of a fake enum class. r=botond 2014-09-12 11:39:32 -04:00
Nicolas Silva
10493eef5e Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob 2014-09-12 12:00:18 +02:00
Jim Mathies
4231d23dd7 Bug 1066242 - Use a 'ui' chromium message loop/pump for the Windows compositor thread so that it can process native windowing events. r=Bas 2014-09-11 17:55:59 -05:00
Kartikaya Gupta
6ff9bb5a5b Bug 1066262 - Add some more thread assertions in AsyncPanZoomController. r=botond 2014-09-11 17:26:14 -04:00
Nicolas Silva
61aef5d8c8 Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas 2014-09-16 14:32:24 +02:00
Milan Sreckovic
ed630c6a86 Bug 1000634 - Only ask for the composer if we have a compositable host, when doing fencing. r=sikeda,nsilva 2014-09-08 14:05:41 -04:00
Kartikaya Gupta
6b0862f4b0 Bug 1013385 - Add the layer bounds to the layers API and use it for checkerboarding. r=mattwoodrow,BenWa 2014-09-15 16:09:52 -04:00
Jeff Muizelaar
876ec2d266 Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Nicolas Silva
8851364126 Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Jonathan Watt
9bc0f0cdf3 Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
fa8c7ec8a5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jan Beich
6d6d609ffd Bug 1065241 - Unbreak build on non-SPS platforms after bug 1049258. r=mchang 2014-09-09 23:41:00 +02:00
Nick Lebedev
5c22d1ab49 Bug 949008 - Rework accessing the treeManager to use private method which ensures that lock isn't held. r=kats 2014-09-10 09:49:00 +02:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
581078dcb7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
d9c5bea4e5 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Markus Stange
a7161bda52 Bug 1061327 - When the scrolled layer is not an ancestor of the scrollbar layer, search the whole layer tree. r=botond 2014-09-10 12:19:53 +02:00
Markus Stange
b3c664a2fa Bug 1061327 - Don't stop searching for scrolled layers when encountering a ScrollInfoLayer. r=botond 2014-09-10 12:19:25 +02:00
Ryan VanderMeulen
70f5c3f2b3 Backed out changeset 96a507248c53 (bug 1059583) for Werror bustage.
CLOSED TREE
2014-09-09 19:57:12 -04:00
Ryan VanderMeulen
9a0967f21f Merge m-c to inbound. a=merge 2014-09-09 19:29:28 -04:00
Ryan VanderMeulen
93bf6bf6a0 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Jeff Gilbert
1911c24347 Bug 1059583 - Add CanvasLayer::MustLayerUpdateBeSynchronous. - r=kamidphish,mattwoodrow 2014-09-09 16:20:08 -07:00
Mason Chang
db9dd016ea Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Kartikaya Gupta
2cc85cf48d Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa 2014-09-09 15:12:14 -04:00
Kartikaya Gupta
63b1d91946 Bug 1064840 - Only display the unused-apz visual warning if the async transform is not applied to any content. r=botond 2014-09-09 12:33:25 -04:00
Ehsan Akhgari
7bfdbee6dc Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-08 20:48:12 -04:00
Botond Ballo
89182d55a5 Bug 1063224 - Use global screen coordinates when working with quantities in inches. r=kats
--HG--
extra : source : 065a1d3bc7f99562b2f41847d76b4c6196825b7b
2014-09-05 18:42:34 -04:00
Botond Ballo
60dc6f5474 Bug 1063224 - Add a PanStart() method to AsyncPanZoomController. r=kats
--HG--
extra : source : c26cacfcd1998dddd2982062c844e10bc5736541
2014-09-05 18:42:03 -04:00
Botond Ballo
1b53050363 Bug 1063224 - Give AsyncPanZoomController a mechanism for converting between local and global screen coordinates. r=kats
--HG--
extra : source : 9e2fe73a1837854b8a024f82d2b6a38eba18ff5e
2014-09-08 17:44:25 -04:00
Botond Ballo
e4716049ab Bug 1063224 - Split APZCTreeManager::GetInputTransforms() into GetScreenToApzcTransform() and GetApzcToGeckoTransform(). r=kats
--HG--
extra : source : e2c2b60db0d0865c81bfadf0100763d35011136f
2014-09-08 18:04:01 -04:00
Botond Ballo
bce125c0de Bug 1063224 - Add a bit more infrastructure to Axis. r=kats
--HG--
extra : source : 42dc115521166059d08e2cb1c7d23105bb54cbee
2014-09-05 18:59:46 -04:00
Botond Ballo
b8e20c7665 Bug 1063224 - Make some more things strongly typed in APZ code. r=kats
--HG--
extra : source : 57467bc253cd033260d086d52fe65069cffbe720
2014-09-08 13:28:13 -04:00
Botond Ballo
49a9d2a1fc Bug 1063224 - Const-correctness improvements in APZ classes. r=kats
--HG--
extra : source : 2d5e9cefe9931c97f544e23e14dc5de44ac352e7
2014-09-05 18:37:51 -04:00
Jeff Muizelaar
046fb41321 Bug 1062492. Only use DIBTextureClient with cairo drawing. r=bas
We don't want DIBTextureClient unless we're going to be using cairo for
drawing.
2014-09-08 17:18:04 -04:00
Botond Ballo
113386e7f7 Bug 1063227 - Make APZ axis locking constants preffable. r=kats
--HG--
extra : source : 83f2d844c5a9833a40b2d0d9021597652e707a1a
2014-09-05 20:07:52 -04:00
Jeff Muizelaar
261f9f93f1 Bug 1049564. Backout unintentionally landed code.
CLOSED TREE
2014-09-08 11:07:48 -04:00
Jeff Muizelaar
013dcc3e2c Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Connor
bd349c5170 Bug 1056367 - Modify AttemptFling and DispatchFling to work iteratively instead of recursively. r=botond
--HG--
extra : amend_source : b1e397de5b947f8fa3d75c9003c9f9652b39c6e8
2014-09-04 01:39:15 -04:00
Benoit Girard
0d4aa8b929 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Jeff Muizelaar
2500b8e5bf Bug 1063692. layers: Document the Prepare() phase better.
--HG--
extra : rebase_source : 5378145a501c45c8091cf316a72b72c42c598447
2014-09-05 14:44:19 -04:00
Ryan VanderMeulen
672fb4d000 Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Wes Kocher
e9463cd732 Merge m-c to fx-team a=merge 2014-09-04 18:58:12 -07:00
Michael Comella
afb484359c Bug 1046017 - Backed out changesets 1c213218173f & 8588817f7f86 (bugs 1017427 & 1006797) 2014-09-04 18:07:59 -07:00
Morris Tseng
8c6bfcdd75 Bug 1062643 - Clear cached resources when ClientLayerManager destroyed. r=nical 2014-09-03 18:55:00 -04:00
Botond Ballo
b6bb51e104 Bug 1062411 - Make FrameMetrics::mContentDescription an nsCString so there is no limit to its length. r=BenWa 2014-09-03 12:54:26 -04:00
Botond Ballo
ae0af80be2 Bug 1062545 - Print APZC info beside each layer associated with the APZC in the tree log. r=BenWa 2014-09-03 16:50:50 -04:00
Botond Ballo
e1449f689d Bug 1061976 - Remove background-drawing for overscrolled layers. r=BenWa 2014-09-02 19:15:52 -04:00
Matt Woodrow
bf7ddd9c43 Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Trevor Saunders
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Matt Woodrow
c570dad38c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : 8413ce440168235196e44f1a166cfff07a4f842f
2014-09-03 09:20:56 +12:00
Benoit Girard
3ac132d301 Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Benoit Girard
abfb34caf2 Bug 1061414 - Fix VisualFrameWarning logic. r=milan
--HG--
extra : rebase_source : 238fd87657e3e82237f84bfe185d3088178b4c6d
2014-09-02 14:37:17 -04:00
Ehsan Akhgari
2e7a1f5631 Bug 1061250 - Fix more bad implicit constructors in graphics; r=roc 2014-09-02 09:47:43 -04:00
Markus Stange
d07acdd93c Bug 1055646 - Allow setting the uniforms of the blur shader on ShaderProgramOGL. r=nical 2014-09-02 14:09:26 +02:00
Markus Stange
703198fcf7 Bug 1055646 - Fix a typo in the blur shader. r=nical 2014-09-02 14:09:21 +02:00
Nicolas Silva
f63936f7f6 Bug 1059793 - Mark the compositor's gl context destroyed before the widget is gone. r=jgilbert 2014-09-02 14:05:00 +02:00
Robert O'Callahan
293fcf9eac Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : 19593cafc17053d450905161fa7d4ce8721c58a0
2014-08-31 15:29:24 +12:00
Robert O'Callahan
08fc3b5784 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b616a0ab2e5bb203a66a5f0b3644bdcbe5f17ce7
2014-08-30 00:23:25 +12:00
Robert O'Callahan
f25942deec Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Jacek Caban
ebad23c206 Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Vincent Liu
438928e59f Bug 1060811 - PlanarYCbCrData contains null for color conversion if the output format of HW decoder is YV12. r=Sotaro 2014-09-01 13:52:03 +08:00
Phil Ringnalda
d75200777a Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
ab08ddbe57 Bug 982338 - Enable tiling for OSX 10.8. r=Bas
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Matt Woodrow
0da1f6255a Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : b25fcc2b2fb298b9654c36a57fc9fa26877bf9ff
2014-09-02 12:35:10 +12:00
Phil Ringnalda
609fe6b9c4 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Carsten "Tomcat" Book
cd08246928 Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE 2014-09-01 09:58:39 +02:00
Phil Ringnalda
91ea7d35b7 Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Robert O'Callahan
2d6bf232ea Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : d30d2af626038cc556fcd3add9a3876be2c58239
2014-08-31 15:29:24 +12:00
Robert O'Callahan
864c99dd28 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d5a2d8ea13369db215e96e721efc3ce0b354a523
2014-08-30 00:23:25 +12:00
Robert O'Callahan
349231bac5 Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
Matt Woodrow
30532d99d0 Bug 1044129 - Don't crash if ContainerLayer temporary surface allocation fails. r=jrmuizel 2014-07-29 17:31:00 +12:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Matt Woodrow
60ee95919c Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
2b8f6be48c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical 2014-09-01 15:22:57 +12:00
Jeff Gilbert
e6b31f9bc4 Bug 1052234 - Allow RGBA-order D3D11 TextureHosts. - r=bas 2014-08-30 16:27:32 -07:00
Kearwood (Kip) Gilbert
a5c8bcd2a0 Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
  of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
  and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
  scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
  on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
  smooth scrolling on the compositor thread.  It will ensure that they
  are cancelled as needed by mousewheel, touchpanel, keyboard, and
  CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
  commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Kartikaya Gupta
bf40c0ed98 Bug 1053992 - Add a red square in the top-right corner of FPS display for unused APZ transforms (i.e. when content is sync-scrolling). r=BenWa 2014-09-04 13:54:54 -04:00
Sotaro Ikeda
5e807d5689 Bug 1062361 - Free cached tiles on memory-pressure r=nical 2014-09-04 08:27:46 -07:00
Bill McCloskey
c7b6916c26 Bug 1060620 - RequestNotifyAfterRemotePaint can send messages to a dead actor on linux. r=smaug 2014-09-04 07:20:45 -05:00
Botond Ballo
0e664e7f0c Bug 1058884 - Update drawing of borders to account for multi-layer-apz. r=kats,BenWa
--HG--
extra : rebase_source : e7ebb3ac4f7e30ce28e49fb27034a6322ea8a085
2014-08-28 18:38:52 -04:00
Botond Ballo
d4d54642ef Bug 1057578 - Re-enable overscrolling during panning. r=kats 2014-08-29 15:03:02 -04:00
Botond Ballo
10776feb20 Bug 1057578 - Make the overscroll transform a uniform stretch. r=kats 2014-08-29 15:28:47 -04:00
Botond Ballo
19ecff8ab5 Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats 2014-08-29 14:41:49 -04:00
Cameron McCormack
75092c001c Bug 1063194 - Bustage fix. (CLOSED TREE) 2014-09-05 13:10:25 +10:00
Botond Ballo
30510e3a47 Bug 1063194 - Make assertions in Axis::OverscrollBy() more informative. r=kats 2014-09-04 19:42:07 -04:00
Ryan VanderMeulen
28146780ed Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Carsten "Tomcat" Book
b838e5c2a9 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
David Zbarsky
5662a359c6 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
David Zbarsky
848b6c007e Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
Matt Woodrow
3b784c5247 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Kartikaya Gupta
4c6b48d9b8 Bug 1058664 - Update the LD transform to go with the changes in bug 1052063. r=botond 2014-08-28 20:11:07 -04:00
Botond Ballo
ce6b54b741 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Botond Ballo
00e33dc16a Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Benoit Girard
c507c01cdf Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Botond Ballo
597bf0c9d5 Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang
--HG--
extra : rebase_source : 73cbb638427eae5987c3b19169ceed1fa47ec190
2014-08-28 16:32:49 -04:00
Jeff Muizelaar
c9e5585926 Bug 1059803. Change FPSCounter to not use ToSecondsSigDigits() part 2
ToSecondsSigDigits() should only really be used for printing values.

--HG--
extra : rebase_source : b5d62b76f95e248f7f14e8559a6ab5a586d26135
2014-08-28 10:25:23 -04:00
Carsten "Tomcat" Book
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
8b0267fcfe Bug 1055760 - Update SetAsyncScrollOffset test API to deal wth multiple FrameMetrics. r=roc 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
c93cfd612d Bug 1055760 - Update frame uniformity code to use the shadow transform. r=BenWa,mchang 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
dd86fa4d26 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
30c7225718 Bug 1055760 - Update AsyncCompositionManager's animation-sampling code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
4a7387ef2d Bug 1055760 - Update AsyncCompositionManager's fixed- and sticky-layer-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
8c4f7273c2 Bug 1055760 - Update AsyncCompositionManager's scrollbar-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
6241d290a7 Bug 1055760 - Update AsyncCompositionManager's async-transform application code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
39794bb5b4 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
c11c63c527 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
065340dd41 Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
5b416e567c Bug 1055760 - Modify Layers API to expose multiple FrameMetrics and APZCs per layer. r=roc,BenWa 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
b278e78810 Bug 1055760 - Don't pass an out-ref for a parameter that doesn't change. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
8d38ec98d1 Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
8b8760b990 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
James Willcox
12fa2997a0 Bug 1055259 - Correctly initialize SharedTextureClientOGL::mIsLocked r=nical
--HG--
extra : rebase_source : a57c1b1a510c9663a49b954fd69d9fbe02953296
2014-08-27 11:12:51 -05:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Nicolas Silva
c0faefef23 Bug 1016538 - Fix unbalanced locking logic in tiling. r=Bas 2014-08-27 16:50:25 +02:00
Boris Chiou
625e45b64c Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00