Kartikaya Gupta
d45ced53de
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
David Zbarsky
41dbdc53f7
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00
David Zbarsky
3f06d8126b
Backed out changeset 6c1cf4694a13 for not building on windows and android
2013-05-27 17:14:33 -07:00
David Zbarsky
9c87205101
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00
Nicholas Cameron
15ca66c5f1
Bug 788319. Rename RenderToEGLSurface. r=kats
2013-04-30 15:16:04 +12:00
Nicholas Cameron
efa3ca5eea
Bug 861727. Refactor CompositorParent a bit. r=BenWa
...
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Kartikaya Gupta
082f9b2c93
Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa
2013-04-26 13:26:39 -04:00
Chris Lord
b365c94dfd
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Nicolas Silva
3f8a7bbc88
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Ryan VanderMeulen
9cccb1d7a4
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
e0579b7ab8
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Ryan VanderMeulen
cda9e3facf
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
8e84adc98a
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
b18dc950c7
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Kartikaya Gupta
76b18fccfa
Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa
2013-04-17 17:39:12 -04:00
Nicolas Silva
cb1c471b32
Bug 860463 - Ensure that we propagate Destroy() in the shadow layer tree on CompositorParent::ActorDestroy. r=nrc
2013-04-11 06:14:29 -04:00
Bas Schouten
7d182a2102
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Chris Lord
a20f8323fe
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
8cf664a621
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
695bae5cc3
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Ed Morley
caab8e796b
Backed out changeset cacb9f3ee44d (bug 840693)
2013-03-04 14:37:43 +00:00
Anthony Jones
bce8f8e813
Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones
2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
75acd49b0e
Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE.
2013-03-01 16:09:59 -05:00
Chris Lord
077631a00a
Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
...
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Kartikaya Gupta
6faae5c500
Bug 832508 - When resuming Fennec and re-recreating the surface, force a first-paint notification from the compositor. r=Cwiiis
2013-02-04 15:13:17 -05:00
Anthony Jones
6008b7f562
Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc
2013-01-12 15:24:14 -05:00
Matt Woodrow
31f7da49a1
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
2013-01-10 22:10:20 +13:00
Chris Lord
d0161b544c
Bug 827844 - Fix flickering when layout changes on Firefox/android. r=kats,bgirard
...
Fix flickering that can occur when the surface size changes due to a layout
change (such as the virtual keyboard appearing/disappearing) on Android.
2013-01-10 17:32:43 +00:00
Nicholas Cameron
8662f6daf0
Backout bug 818575
...
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Kartikaya Gupta
ef869e5ac5
Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa
2013-01-10 11:21:10 -05:00
Jeff Muizelaar
63509dd58b
Bug 818575 - Only sync viewport for primary layer. r=cjones
...
--HG--
extra : rebase_source : 3221f8a45c9fce9cc51d5f59a19ee50886ff892f
2013-01-09 16:49:48 +01:00
Matt Woodrow
da205af9e7
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
...
--HG--
extra : rebase_source : 2befc9553af0be20643940e8bf71c0f71d13403e
2013-01-10 22:10:20 +13:00
Ed Morley
9b9d97a54a
Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE
2013-01-10 13:17:12 +00:00
Matt Woodrow
7f172bf755
Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
2013-01-10 22:10:20 +13:00
Anthony Jones
166067157f
Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones
2012-12-23 10:51:39 -05:00
Chiajung Hung
34d6df648e
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Mark Hammond
a2e03cff14
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
9c8179f70a
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Oleg Romashin
5ba7073eb6
Bug 823066 - Provide API for CompositorParent to use custom AsyncPanZoomController. r=drs
...
--HG--
extra : rebase_source : b2bfaa468261d0a270719215c2bf89c361d0145e
2012-12-20 14:37:20 -08:00
Benoit Girard
4203da214f
Bug 805792 - Avoid another extra copie when calling RenderTile. r=Cwiiis
...
* * *
Bug 805907 - Handle memory pressure notification in the TileStore. r=Cwiiis,ehsan
--HG--
extra : rebase_source : 976deda3ab13c2e178f9a6922b7c17c294175fad
2012-10-29 18:10:45 -04:00
Chris Jones
461d5e2250
Bug 780920, part 3: The ultimate compositor has to draw to the readback surface; shadow layers doesn't have access to all the needed rendering state. r=roc
2012-10-04 00:05:24 -07:00
Chris Lord
ab91d060df
Bug 794200 - Progressive draw tiles in the direction of scrolling. r=bgirard
...
When scrolling downwards, make sure to fill in tiles from the top, upwards
from the bottom, left from the right and right from the left.
2012-09-26 21:41:56 +01:00
Matt Woodrow
3bdc8af23e
Bug 779940: Meter layers transactions in addition to composites. r=cjones
2012-08-07 14:41:29 +12:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
fa3cb43e08
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Oleg Romashin
9ca624ac9b
Bug 776550 - Provide API to start Compositor Parent with external thread/messageloop. r=cjones
2012-07-25 12:47:01 -07:00
Chris Jones
bbab5e6e40
Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc
2012-07-24 12:01:09 -07:00
Chris Jones
2cf7adf64a
Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
...
This is a rollup of three separate patches
- Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
- Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
- Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc
--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Chris Jones
62d23842f9
Bug 745148, part 9: Hook up the pieces and enable direct compositor. r=roc
2012-07-17 16:59:45 -07:00
Chris Jones
ab483974f7
Bug 745148, part 8: Implement the little boilerplate-y bits and pieces needed for cross-process compositor. r=ajuma,BenWa
2012-07-17 16:59:45 -07:00