Commit Graph

5035 Commits

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