Commit Graph

5048 Commits

Author SHA1 Message Date
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