David Anderson
030eb61be7
Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert)
2015-04-01 23:42:40 -07:00
David Anderson
12106ee544
Move AsyncPanZoomAnimation into its own header. (bug 1139220 part 1, r=kats)
2015-04-01 23:17:08 -07:00
Carsten "Tomcat" Book
73e1211490
Backed out changeset 5b92f3ac380c (bug 1139220) for bustage on a CLOSED TREE
2015-04-02 09:13:53 +02:00
Carsten "Tomcat" Book
909b30ce21
Backed out changeset fce26111e6f0 (bug 1139220)
2015-04-02 09:13:20 +02:00
David Anderson
66922ec7f6
Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert)
2015-04-01 23:42:40 -07:00
David Anderson
5eeb4a740b
Move AsyncPanZoomAnimation into its own header. (bug 1139220 part 1, r=kats)
2015-04-01 23:17:08 -07:00
Matt Woodrow
1fd763f827
Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
2015-03-19 10:17:13 +13:00
Matt Woodrow
b7da7cb76d
Bug 1138967 - Part 2: Create IMFYCbCrImage so that image data copying happens off the decoder thread. r=nical,cpearce
2015-03-19 10:16:23 +13:00
Kartikaya Gupta
3b0ff12503
Bug 1139397
- Add bug component info for APZ code. r=botond
2015-03-05 06:04:03 -05:00
Maksim Lebedev
f389e8e2b3
Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug
2015-02-24 22:20:00 -05:00
Botond Ballo
3990a194be
Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
...
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Kartikaya Gupta
b53fb2a07c
Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond
2015-02-10 08:24:23 -05:00
Bas Schouten
bf7969ed0e
Bug 1097699 - Part 4: Remove LayerManagerD3D10 code. r=jrmuizel
2015-01-23 03:41:21 +00:00
Bas Schouten
dea47282db
Bug 1097699 - Part 2: Remove LayerManagerD3D9 code. r=jrmuizel
2015-01-23 03:41:20 +00:00
Kartikaya Gupta
7e2e809c0e
Bug 1109873 - Extract HitTestResult into a helper header. r=botond
2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7
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
47a9f5c2f5
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
425c9c3916
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
75f2892393
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
d1450b3e0d
Bug 1112426 - stop generating unused PremultiplyTables.h in gfx/layers/; r=jrmuizel
2014-12-16 21:12:52 -05:00
Carsten "Tomcat" Book
ee7fbbf8c8
Backed out changeset 2187c2cdeea9 (bug 1109985) for memory leaks
2014-12-16 09:40:01 +01:00
Kartikaya Gupta
25049161ec
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
d556e1e7b3
Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats)
2014-12-15 01:49:48 -08:00
Jeff Muizelaar
ae06ab96a4
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
4a33624da4
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
289fc4870b
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
34dd2a5f5b
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Ehsan Akhgari
8cfe8bd43c
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
b0073e90ed
Bug 1083395 - Extract an InputQueue class from the APZC input code. r=botond
2014-10-24 13:29:03 -04:00
James Willcox
fad5efcaee
Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
...
--HG--
extra : rebase_source : 3e2e7f7d993b5561c5d1c2ae50c4a49718a66324
2014-10-21 08:53:02 -05:00
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
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
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
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
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
d1b829ea88
Bug 1071825 - Remove simple tiling code. r=mattwoodrow
2014-09-23 17:44:48 -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
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
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
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
Botond Ballo
c987c75938
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
9ea6c585f8
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
2b9855ad33
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
fbefd28529
Backed out changeset c4ecea1452e9 (bug 947781)
2014-07-30 14:54:08 +01:00
Bas Schouten
9a0677f6e4
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
e67da054b9
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
be39891576
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