Kartikaya Gupta
6f37e44194
Bug 1109873 - Extract HitTestResult into a helper header. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
66746c1cfb
Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
...
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.
This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Ryan VanderMeulen
20d7991ef8
Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium
2015-01-07 11:32:07 -05:00
Vladimir Vukicevic
e80e04cd17
Bug 1036602 - Add GL support for VR rendering; r=BenWa
...
From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
gfx/layers/moz.build | 1 +
gfx/layers/opengl/CompositingRenderTargetOGL.h | 4 +
gfx/layers/opengl/CompositorOGL.cpp | 14 ++
gfx/layers/opengl/CompositorOGL.h | 38 +++
gfx/layers/opengl/CompositorOGLVR.cpp | 326 +++++++++++++++++++++++++
5 files changed, 383 insertions(+)
create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
2014-07-09 12:28:27 -07:00
Kartikaya Gupta
d666dd017d
Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander)
2014-12-15 23:28:19 -08:00
Nathan Froyd
ae1fb259fa
Bug 1112426 - stop generating unused PremultiplyTables.h in gfx/layers/; r=jrmuizel
2014-12-16 21:12:52 -05:00
Carsten "Tomcat" Book
eb37bd2ce2
Backed out changeset 2187c2cdeea9 (bug 1109985) for memory leaks
2014-12-16 09:40:01 +01:00
Kartikaya Gupta
828602f217
Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander)
2014-12-15 23:28:19 -08:00
David Anderson
8226f0cd2e
Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats)
2014-12-15 01:49:48 -08:00
Jeff Muizelaar
f2786d3f9f
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
Sotaro Ikeda
3fad6064bb
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
cae555594b
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
c076d14da1
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Ehsan Akhgari
55f0b72a28
Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa
2014-10-27 08:57:36 -04:00
Kartikaya Gupta
541e8f016d
Bug 1083395 - Extract an InputQueue class from the APZC input code. r=botond
2014-10-24 13:29:03 -04:00
James Willcox
85b58e3f27
Bug 1014614
- Fix readback of SurfaceTextureImage r=jgilbert
...
--HG--
extra : rebase_source : 3e2e7f7d993b5561c5d1c2ae50c4a49718a66324
2014-10-21 08:53:02 -05:00
Wes Kocher
36939bc3c8
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
James Willcox
5e54d8daab
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
Kartikaya Gupta
72ea4fdacd
Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond
2014-10-16 09:23:52 -04:00
jdashg
97fbd15434
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
Markus Stange
3efef60534
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04:00
Markus Stange
7d5a3be591
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
f9cc5dcaf9
Bug 1071825 - Remove simple tiling code. r=mattwoodrow
2014-09-23 17:44:48 -04:00
Botond Ballo
ce4474100b
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
Jeff Gilbert
301271b198
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
...
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Matt Woodrow
b1adcf8934
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
James Willcox
688cd17359
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Kartikaya Gupta
4e8832c9dd
Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa
2014-08-27 22:13:41 -04:00
Botond Ballo
6f4fcc90af
Bug 1039992 - Move the overscroll handoff chain into AsyncPanZoomController and have one per touch block or pan gesture. r=kats,bjacob,mstange
...
--HG--
rename : gfx/layers/apz/src/TouchBlockState.h => gfx/layers/apz/src/InputBlockState.h
extra : rebase_source : ee68595aa21b696de1a0fbb8e6c161022a88ba3d
2014-08-18 16:12:11 -04:00
Nathan Froyd
12c76f15f7
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Bas Schouten
6624d1aefe
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ed Morley
46d9238c0a
Backed out changeset c4ecea1452e9 (bug 947781)
2014-07-30 14:54:08 +01:00
Bas Schouten
7dae46766a
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Kearwood (Kip) Gilbert
518693048f
Bug 1026023 - Part 2: Implement Physically Based Movement Model. r=mwoodrow
...
- Implemented the AxisPhysicsModel class, which encapsulates interpolation and
integration of a 1-dimensional physics model in a frame-rate independent
and stable manner.
- Implemented the AxisPhysicsMSDModel class, which models a generic
1-dimensional Mass-Spring-Damper simulation.
- This physical movement simulation code has been implemented separately from
the existing momentum code in Axis.cpp so that it can be utilized by
both the compositor (AsyncPanZoomController) and main thread
(nsGfxScrollFrame).
2014-07-09 10:02:29 -07:00
Boris Chiou
1188a41eb3
Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
...
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.
In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.
By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02:00
Frederic Plourde
ebac609549
b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
...
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way. This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.
When this buffering will occur, switch to ContentClientSingleBuffered.
--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Mike Hommey
bc5d6801bb
Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal
2014-07-23 08:37:51 +09:00
Kartikaya Gupta
e7190ff526
Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond
2014-07-16 08:33:50 -04:00
Bas Schouten
278bcc4c7d
Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical
2014-07-10 23:29:40 +02:00
Boris Chiou
ddb90bc78f
Bug 1035045 - Handle packets by the protocol buffer. r=kamidphish
...
Use google protocol buffer to handle our package in LayerScope.
Note: LayerScopePacket.pb.h and LayerScopePacket.pb.cc were
generated by version 2.4.1.
2014-07-09 23:16:00 -04:00
Benoit Jacob
61671a4f88
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-04 14:04:12 -04:00
Benoit Jacob
15eb88c866
back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes
2014-07-04 21:24:32 -04:00
Benoit Jacob
688107fdd1
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-04 14:04:12 -04:00
Ryan VanderMeulen
6d9424856d
Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
...
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
0ce7e6bc43
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-03 14:53:31 -04:00
Matt Woodrow
8b3992ab79
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Benoit Girard
df3b7c99d5
Bug 1014042 - Add compositor benchmark. r=jrmuizel
2014-05-21 17:29:49 +00:00
Botond Ballo
4756914940
Bug 961289 - Add an initial mochitest (for bug 982141) that exercises the APZ testing framework. r=ehsan,kats,BenWa,ted
...
--HG--
extra : source : 3e395bacbf393aaa022675c9a3f97a3c603bb67d
2014-05-12 12:24:57 -04:00
Botond Ballo
0333901292
Bug 961289 - Expose client- and compositor-side APZ test data from nsIDOMWindowUtils. r=ehsan,kats,bholley
...
--HG--
extra : source : 41f87f2add7d1fafab2749eb08539cd78644fbbe
2014-05-09 17:16:03 -04:00