Commit Graph

66 Commits

Author SHA1 Message Date
Kartikaya Gupta
a0ad18d035 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Matt Woodrow
84c916ae97 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
a4fa815cab Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
David Zbarsky
42e6fcdddb Bug 952977: More gfx::Matrix cleanups r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
8e34aceaaa Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical 2014-08-01 08:31:48 -04:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
26605d5924 Bug 952977: More gfx::Matrix cleanups r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky
84cf94ad42 Bug 952977: More gfx::Matrix cleanup in TiledContentClient r=nical 2014-07-29 19:18:50 -04:00
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Sotaro Ikeda
24ef28834a Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
8ddcd2a26d Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
b7cddab42f Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
273ec53f14 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
7af2d14a42 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Botond Ballo
96c5d39c51 Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Kartikaya Gupta
161e23eb39 Bug 1035801 - Switch the tiling logging code from NSPR logging to printf_stderr. r=Cwiiis 2014-07-08 12:38:49 -04:00
Kartikaya Gupta
6350cec6be Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Kartikaya Gupta
d7c405117e Bug 1021085 - Miscellaneous cleanup. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
f5cf0ffe04 Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis 2014-06-23 08:42:48 -04:00
Kartikaya Gupta
03566ace86 Bug 1021085 - Fix up the transform used for the compositor side composition bounds. r=Cwiiis 2014-06-23 08:42:01 -04:00
Kartikaya Gupta
72cfca8a60 Bug 1021085 - Refactor code to ensure we use the same scrolling ancestor layer everywhere. r=Cwiiis 2014-06-23 08:41:09 -04:00
Kartikaya Gupta
e5c59ed0a1 Bug 1025562 - Remove improper use of viewport in tiling calculations. r=Cwiiis 2014-06-17 12:44:12 -04:00
Kartikaya Gupta
3c9920cebf Bug 1025562 - Add logging to TiledContentClient. r=Cwiiis 2014-06-17 12:43:12 -04:00
Kartikaya Gupta
3b4cd586ea Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
e93f73042e Bug 1023882 - Part 7 - Move down the calculation of the low-precision invalid region so it happens later. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
b4f8a15744 Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
03bb0fd0b1 Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
e5d1682b21 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
ae907a679a Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
59bb779b6e Bug 1023882 - Part 2 - Create a first-transaction block for all the first-transaction code. r=Cwiiis 2014-06-11 12:42:44 -04:00
Kartikaya Gupta
604587a2ad Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Chris Lord
43310b9b82 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Kartikaya Gupta
8234e8745c Bug 1018387 - Fix some calculations that were wrong because of confusion between LayoutDevice and Layer pixel spaces. r=botond 2014-06-09 14:02:40 -04:00
Kartikaya Gupta
a7844bf3d0 Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
45ef935bdf Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
d31969d325 Bug 1017680 - Allow progressing painting for any 2D layer. r=Cwiiis 2014-06-02 17:27:36 -04:00
Kartikaya Gupta
a1b8329b63 Bug 1016558 - Properly account for simple CSS transforms when computing fields for progressive update. r=Cwiiis r=botond 2014-05-29 12:47:42 -04:00
Kartikaya Gupta
1b60887ef8 Bug 1016558 - Rename some variables to be more meaningful, and update some comments. r=botond r=Cwiiis
Renames:
  displayPortParent -> displayPortAncestor
  scrollParent -> scrollAncestor
  parent -> ancestor
  displayPortParentParent -> displayPortAncestorGrandParent
  layoutDeviceToScrollParentLayer -> layoutDeviceToDisplayPort
  mTransformParentLayerToLayoutDevice -> mTransformDisplayPortToLayoutDevice
  aTransformParentLayerToLayoutDevice -> aTransformDisplayPortToLayoutDevice
2014-05-29 12:47:41 -04:00
Kartikaya Gupta
0a15196a06 Bug 1009184 - Explicitly clear the valid region instead of attempting to paint an empty region. r=BenWa 2014-05-13 14:36:33 -04:00
Kartikaya Gupta
0b32f92022 Bug 993554 - Prevent clipping sync-scrollable subframes to the critical displayport on Fennec. r=BenWa,botond 2014-04-23 09:27:58 -04:00
Chris Lord
39c1e80d93 Bug 988370 - Don't use progressive/low precision rendering on fixed layers. r=mattwoodrow
Fixed layers don't async scroll, so it doesn't make sense for them to have
a low precision region or for them to be rendered progressively.
2014-03-31 17:42:32 +01:00
Chris Lord
6d09001341 Bug 983208 - Fix progressive tile update calculations. r=botond
A lot of this code used incorrect coordinate spaces or calculations that only
worked because things were setup in a certain way. Now that the input data is
more consistently correct and things have changed slightly, this code no
longer worked.

This patch reworks things to use what I think are the correct coordinate
spaces and calculations, and should hopefully be less prone to breakage.
2014-03-22 09:17:54 +00:00
Chadd Williams
1035df8afc Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Botond Ballo
81f6add29a Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Bas Schouten
bde06b3dca 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
Milan Sreckovic
5c4cd11666 Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
David Zbarsky
0b4e10c2b0 Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00