Commit Graph

6127 Commits

Author SHA1 Message Date
Timothy Nikkel
7afb4241f1 Bug 1179298. ClientTiledPaintedLayer should allow empty transactions to succeed if it doesn't need to draw anything. r=mattwoodrow
ClientTiledPaintedLayer::RenderLayer was returning false immediately if there was no callback. It should check if it actually has to draw anything first, and then if it needs to paint it can return false if there is no callback.
2015-07-02 12:50:15 -05:00
Markus Stange
c7e2ac0dc2 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 17:32:19 -04:00
David Anderson
b1bf38d87f Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson
a3ffcf73bf Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Ted Mielczarek
ee856c1875 bug 1174705 - add GLContext::GetDefaultFramebuffer. r=jgilbert 2015-05-11 15:10:06 -04:00
Nicolas Silva
2cc9649c13 Bug 1170189 - fix a comment in the tiling code. r=BenWa 2015-07-01 13:51:07 +02:00
Nicolas Silva
a8a592d46a Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa 2015-07-01 13:51:03 +02:00
Nicolas Silva
82ab77a632 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Markus Stange
26c466292e Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
Markus Stange
1ff20a74cb Bug 1148582 - Don't capture refcounted LayerManager in the lambda; capture the compositor instead. 2015-07-01 01:01:50 -04:00
Markus Stange
c0d1e334f1 Bug 1148582 - Support multiple mask layers per layer in LayerManagerComposite. 2015-07-01 00:52:09 -04:00
David Anderson
5cff589f5b Bug 1148582 - Apply async transforms to (ancestor) mask layers correctly. r=botond 2015-06-30 21:07:09 -04:00
David Anderson
48bab4c4b7 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
Nathan Froyd
46d6f38e68 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Lee Salzman
d6a4a84005 Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow 2015-06-26 18:13:50 -04:00
Matt Woodrow
859eb23c8e Bug 1176570 - Make sure all shared texture handles are opened correctly before attempting to use them. r=jrmuizel 2015-06-26 14:07:57 -07:00
Matt Woodrow
adebc80a26 Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas 2015-06-26 14:06:49 -07:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Botond Ballo
903b53d9b0 Bug 1176402 - Obtain the DOMWindowUtils object consistently in the APZ testing native event helpers. r=kats 2015-06-24 03:04:35 -04:00
Botond Ballo
fd97143b7b Bug 1176402 - Have synthesizeNativeWheel() and synthesizeNativeMouseMove() accept coordinates relative to the element's bounding rect. r=kats 2015-06-25 04:05:44 -04:00
Botond Ballo
701965c242 Bug 1176402 - Update a call to a function that has since been renamed. r=kats 2015-06-24 02:56:48 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Mason Chang
a3cc5110cb Bug 1176446 - TextureClientD3D11 should take into account the layer backend when allocating a surface. r=bas 2015-06-25 08:07:42 -07:00
Andrew Comminos
6b8dfd4079 Bug 1177233 - Convert to native scroll units for APZ testing on GTK. r=kats 2015-06-24 16:38:00 +02:00
Kartikaya Gupta
2a2a1bfc91 Bug 1177023 - Log the IsRootContent flag when dumping framemetrics. r=botond 2015-06-24 15:45:46 -07:00
Paul Rouget
bb91afb8ae Bug 1175564 - don't lock y-axis if pan displacement is 0. r=kats 2015-06-19 08:37:00 +02:00
Jeff Muizelaar
e65b494176 Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548 2015-06-21 23:16:13 -04:00
Markus Stange
0528311764 Bug 1165185 - Try to avoid invalidations when scrolling transformed elements. r=roc 2015-06-15 19:20:59 -04:00
Kartikaya Gupta
7f0178f0d8 Bug 1153841 - Remove the 'it must be 2D' restriction for transforms on fixed-pos layers. r=BenWa,mattwoodrow 2015-06-19 22:57:37 -04:00
Kartikaya Gupta
a054adb558 Bug 1139155 - Add a basic sanity test to exercise touch-based scrolling on B2G. r=botond 2015-06-19 22:52:07 -04:00
Kartikaya Gupta
0e89355f25 Bug 1139155 - Add a mechanism to know when the APZ is done processing. r=botond 2015-06-19 22:51:35 -04:00
Wes Kocher
f466a03d88 Backed out 2 changesets (bug 1175585) for test_wheel_transactions.html failures CLOSED TREE
Backed out changeset 5b56c3d0e379 (bug 1175585)
Backed out changeset 89b4c0b06ff3 (bug 1175585)
2015-06-19 18:03:05 -07:00
Botond Ballo
1c2c088e76 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats,a=kwierso 2015-06-17 19:12:52 -04:00
Botond Ballo
36b20fdd64 Bug 1175585 - Generalize scrollWheelOver() so it's usable by other APZ tests. r=kats 2015-06-17 19:11:25 -04:00
Kartikaya Gupta
66035b2086 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Milan Sreckovic
1a5ac95fa7 Bug 1145143 - When we fail to UpdateRenderTarget, report the size as well. r=bas 2015-06-18 12:20:00 +02:00
Bas Schouten
c25ed65bfe Bug 1172014: Correctly use TextureClientShmemDIB. r=jrmuizel 2015-06-19 01:59:30 +02:00
Bas Schouten
e2610662a9 Bug 1167235 - Part 6: Fix up HasInternalBuffer return value on TextureHostDirectUpload. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
222949d6fb Bug 1167235 - Part 5: Make CanvasLayerComposite ImageHost type agnostic. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
a0f8cebef4 Bug 1167235 - Part 4: Remove DrawTarget as a possible means of initializing Canvas layers. r=nical 2015-06-19 01:07:22 +02:00
Bas Schouten
e2b3274f64 Bug 1167235 - Part 3: Switch CanvasRenderingContext2D to use the new BufferProvider API. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten
369f921871 Bug 1167235 - Part 2: Add support for the basic buffer provider to CanvasLayer. r=nical 2015-06-19 01:07:21 +02:00
Bas Schouten
774ff16a5d Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical 2015-06-19 01:07:21 +02:00
Kartikaya Gupta
52a8668ac6 Bug 1176001 - Turn unconditional log into a manually-enabled log. r=botond 2015-06-18 16:25:00 -04:00
Daosheng Mu
550fe4082d Bug 987498 - Part 1 - Layers support OverlayImage. r=roc 2015-05-28 01:35:00 +02:00
Jim Mathies
62fdfc2313 Bug 1152109 - Don't clear plugin data cache in ShadowLayers code, we need to resend this during repaints that do not involve reflow. r=roc 2015-06-18 06:22:34 -05:00
Jim Mathies
c7f5082f8e Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Milan Sreckovic
e75d563da7 Bug 1175521 - Posting to a dead loop. r=nical 2015-06-17 10:33:00 -04:00
Andrew Comminos
7a10d4c5be Bug 1175530 - Log using gfxDebugOnce when enabling vsync compositor. r=mchang 2015-06-17 08:48:00 -04:00
Kartikaya Gupta
f4c7f40d56 Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00