Граф коммитов

150 Коммитов

Автор SHA1 Сообщение Дата
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
Botond Ballo fcead72077 Bug 961289 - Introduce a data structure for storing data for APZ testing. r=kats
--HG--
extra : source : b37d73c22eae03fe00c800cb102ae61fbdbcb30a
2014-05-07 20:39:35 -04:00
Matt Woodrow 0dabff9cf3 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Wes Kocher a30e4e7afc Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow c58e00be05 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Mason Chang 34003a0f7c Bug 990835 - Change Compositor FPS to be Histogram based. r=benwa 2014-05-09 09:50:00 -04:00
Sotaro Ikeda e4e2cb245d Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
chiajung hung 098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ed Morley 1ce229a50b Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung 59edff0d8f Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Kartikaya Gupta c1a7eb8c17 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Masayuki Nakano d42c98a423 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Sotaro Ikeda 3f3e2f2bbe Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Ehsan Akhgari f1b87eccd8 Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Bas Schouten 73c060630a Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel 2014-03-12 03:27:30 +01:00
Vladimir Vukicevic b7be770266 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic a9baf91f1d backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic 249bed4fa8 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Bas Schouten d301df5d45 Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Sotaro Ikeda 9b4a9e519a Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
Sotaro Ikeda 597733983b Bug 977393 - Fix build failure on gonk KK r=pchang 2014-02-26 17:46:34 -08:00
Sotaro Ikeda c5c7a00346 Bug 957323 - Handle android's fence on gonk r=nical,doublec,pchang 2014-02-24 20:23:41 -08:00