Ryan VanderMeulen
908be1856b
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
Kartikaya Gupta
438bcc477f
Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa
2013-08-21 12:03:02 -04:00
Wes Kocher
2a9e21a70f
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Botond Ballo
fe4f404898
Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats
2013-08-15 11:30:27 -04:00
Nicholas Cameron
b5c77aec19
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
ee4d416a21
Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa
2013-08-22 10:40:44 -04:00
David Zbarsky
826b4c099f
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Matt Woodrow
b58cfaa3e8
Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical
2013-08-20 11:39:56 +12:00
Ryan VanderMeulen
fc58488cf2
Merge m-c to inbound on a CLOSED TREE.
2013-08-19 17:05:12 -04:00
Kartikaya Gupta
19cd81339f
Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
...
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
Chris Lord
ce468943a9
Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
...
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6
Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
...
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Nicholas Cameron
d45b9fe216
Bug 903893. Backend fallback for OMTC. r=mattwoodrow
2013-08-18 18:46:16 +12:00
Jeff Muizelaar
be2cbcb453
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Wes Kocher
26854193d4
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Arnaud Sourioux
de3b6b7cdf
Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame
2013-08-16 09:18:36 -04:00
Botond Ballo
c7e59f7954
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Kartikaya Gupta
b59db3868c
Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa
2013-08-14 10:15:54 -04:00
Nicolas Silva
21b12f43ab
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Kartikaya Gupta
30c87b92e1
Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me
2013-08-12 08:32:11 -04:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
788218a793
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
378f96db6d
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Po-Chun Chang
a3033884fb
Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe
2013-08-09 15:01:56 -04:00
Ed Morley
a428bbb020
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Edwin Flores
6318f92344
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Kartikaya Gupta
24718d2f2e
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
a1195a8c19
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
5cd5511bea
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Kartikaya Gupta
d2aa7640b9
Bug 901339 - Fix the focal point when zooming in and out. r=BenWa
2013-08-07 12:34:16 -04:00
Nicolas Silva
687afe45cd
Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores
2013-08-06 18:47:44 +02:00
Nicolas Silva
8e7aa5738e
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
e490c33d50
Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
...
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
dd58f82344
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
ea28516906
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
f304825fbc
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
e90b2b5bae
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
06a3f097c5
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Ms2ger
f28bde905f
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Nicholas Cameron
f67c88d7e9
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
4cd532521f
Bug 874721; don't OOM with large canvases. r=Bas
2013-08-01 16:52:53 +12:00
Nicholas Cameron
19f4e0a65c
Bug 874721; identify multi-process OMTC and use shmem. r=Bas
2013-08-01 16:52:46 +12:00
Nicholas Cameron
9d09b0b60d
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
068a3c90a4
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Nicholas Cameron
936a43cf50
Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow
2013-08-01 10:20:24 +12:00
Kartikaya Gupta
e56113f533
Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa
2013-07-31 08:53:17 -04:00
Kartikaya Gupta
aa06750a8e
Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
e7eb189cc7
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
02d1dbe0d8
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
5b1bec37f3
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Kartikaya Gupta
40271aeb0c
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
0ab038a3d2
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Kartikaya Gupta
c27169836e
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
288b98292e
Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
ef737ecf30
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
d725e5e6a1
Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
81eb2a5995
Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
047677d3e3
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
3a19367421
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
d87852c133
Bug 866232 - Guard some APZC fields by a lock so they can be nulled out from the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
56b257378e
Bug 866232 - Move around code in APZC to more easily allow creating it on the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
b91095aea2
Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa
2013-07-30 14:03:38 -04:00
Nicolas Silva
2b6a0c31a2
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
10f3eae40e
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d3fdca2e8d
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Michael Wu
5cb1d9f27d
Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats
2013-07-24 21:49:49 -04:00
Ryan VanderMeulen
ece161737c
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Ryan VanderMeulen
0f4f42b485
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Nicolas Silva
e6812e0741
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
6677c99d45
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
3e4aab0b5a
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Bill McCloskey
56463b4279
Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)
2013-07-23 14:53:22 -07:00
Botond Ballo
f79359461b
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Brian R. Bondy
ffa4a02e06
Bug 869940 - Fix scaling issue with high dpi devices. r=kats
2013-07-25 13:15:10 -04:00
Brian R. Bondy
98b679c2f8
Bug 869940 - Implement pan start/end notifications from APZC. r=kats
2013-07-25 13:15:06 -04:00
Botond Ballo
ffdcf14f78
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Birunthan Mohanathas
a6c780dc22
Bug 784739 - Switch from NULL to nullptr in gfx/layers/ipc/; r=ehsan
...
--HG--
extra : rebase_source : 36cb1b9738de269a10cea871242b0b51588d0f3b
2013-07-20 11:48:55 +03:00
Chris Lord
8c0e0a398a
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
5bcdfe829a
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Jed Davis
161ecbbbcb
Bug 895722 - Don't remove elements from mDurations if it's empty. r=BenWa
2013-07-19 21:20:11 -04:00
Matt Woodrow
91e1d99b69
Bug 889515 - Get rid of static sCompositorParent. r=nical
2013-07-11 22:32:09 -04:00
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Gabriele Svelto
6f157c184f
Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc
2013-07-17 17:04:33 +02:00
Botond Ballo
09092fd145
Bug 891544 - Remove unneeded FromUnknownPoint and FromUnknownRect calls. r=kats
2013-07-11 10:43:35 -04:00
Botond Ballo
336bc41be0
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Wes Kocher
7bc084c9d5
Backout b61b7f2e0d0b for potentially causing leaks
2013-07-09 18:12:23 -07:00
Matt Woodrow
146fa01a1e
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Anthony Jones
1da3d21c02
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-10 11:26:08 +12:00
Andreas Gal ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3938a156d0
Bug 888562 - Recycle MemoryImage surfaces when possible. r=mattwoodrow,jrmuizel
2013-07-09 17:52:31 -04:00
Andreas Gal
d51115a06d
Bug 888530 - Remove unnecessary memset in ISurfaceAllocator::AllocSurfaceDescriptor. r=mattwoodrow,jrmuizel
2013-07-09 17:52:30 -04:00
Benoit Girard
fe89091f81
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Matt Woodrow
28c11b7893
Backout a17b6115cdd7 for causing reftest failures
2013-07-09 12:05:04 -04:00
Markus Stange
b70eb2c06d
Bug 894925 - Hold a strong ref to the ImageContainer between DispatchImageClientUpdate and UpdateImageClientNow. r=nical
2013-07-18 08:33:28 +02:00
Chris Lord
9b5401f8fc
Bug 869696 - Disable gralloc surfaces on the Geeksphone Peak. r=jrmuizel
...
Geeksphone distribute a known bad driver that has issues when using
gralloc-backed surfaces. Performance is much better just falling back to
shared memory.
2013-07-17 15:34:52 +01:00
Ms2ger
c143803fda
Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky
2013-07-10 11:53:09 +02:00
David Zbarsky
33b35a2eb2
Bug 885804: Renaming in gfx r=nical
2013-07-08 11:48:39 -04:00
Kartikaya Gupta
75ac2d35d5
Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe
2013-07-04 09:13:52 -04:00
Benoit Girard
38f8cfba6c
Bug 775459 - Implement hit testing on layer tree + tests. r=kats
...
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard
78226b8419
Bug 775459 - Make APZC attachable only to container layers. r=kats
...
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Mike Shal
2f5d43999f
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Matt Woodrow
efcdad9840
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Nicolas Silva
71afc33248
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Ed Morley
12b8b67806
Backed out changeset e6430ac52054 (bug 864447) for OS X make check crashes
2013-07-09 08:41:49 +01:00
Anthony Jones
1970c4cd22
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-09 17:53:16 +12:00
Markus Stange
3dbc97023f
Bug 888288 - Fix some typos in GFX header comments. r=nrc
2013-07-08 21:21:06 -07:00
Benoit Girard
2911c3ef1d
Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
...
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Kartikaya Gupta
dee2df83d6
Bug 885030 - Move CalculateCompositedRectInCssPixels from APZC to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:54:49 -04:00
Kartikaya Gupta
93042f899e
Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:54:14 -04:00
Kartikaya Gupta
d2fdeefefe
Bug 885030 - Move CalculateIntrinsicScale to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:53:51 -04:00
Benoit Girard
64525ebd6f
Bug 864441 - Add APZC tests. r=kats
2013-06-24 15:24:42 -04:00
Matt Woodrow
52772c4736
Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical
2013-06-24 17:28:22 +12:00
Kartikaya Gupta
facd193c59
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
dcd5272bcc
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
cd13a7b464
Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
af58e2fde8
Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Kartikaya Gupta
59ed1b636b
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Kyle Machulis
52937bd495
Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru
2013-06-21 12:33:12 -07:00
Ryan VanderMeulen
5ee79e7c80
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
2b3c7e6dee
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
f4bbce6956
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
17233e8afa
Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Kartikaya Gupta
d50a5eb6ca
Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Kartikaya Gupta
311eecb4d6
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Markus Stange
e7be8e8924
Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow
2013-06-20 15:01:20 +02:00
Kan-Ru Chen (陳侃如)
ca592fecbd
Bug 783451 - Remove outdated FIXME comment. r=nrc,bent DONTBUILD
...
--HG--
extra : rebase_source : 374ea9d0259081dc532c1c64f168fbf95f6fe9eb
2013-06-19 17:11:25 +08:00
Matt Woodrow
139484072b
Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc
2013-06-18 19:58:43 +12:00
Kartikaya Gupta
2b90680712
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
40d8b0bc56
Bug 880676 - Convert WidgetSpaceToCompensatedViewportSpace to the new gfx types. r=kentuckyfriedtakahe
2013-06-14 16:11:32 -04:00
Kartikaya Gupta
972f8b7e26
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
9f1cd0c0ff
Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
f46f570933
Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
8002e884d8
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
e2fabdb5d0
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
82aba42a5a
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Anthony Jones
6407542bff
Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
...
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12:00
Anthony Jones
f8ff1502e7
Bug 880578 - Fix updating of scroll position; r=BenWa
2013-06-14 12:33:13 +12:00
Kartikaya Gupta
ffdfbaa47e
Bug 879011 - Convert AsyncPanZoomController::ScrollBy to use templated gfx classes. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
dbc0077c31
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
6e07b601b1
Bug 879011 - Turn some ints into floats to avoid rounding error. r=kentuckyfriendtakahe
2013-06-11 18:13:11 -04:00
Ryan VanderMeulen
7dc9b824cd
Merge m-c to inbound.
2013-06-11 10:41:06 -04:00
Kartikaya Gupta
c78c6af9f4
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kyle Machulis
64a9a345ae
Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu]
2013-06-05 13:42:00 -07:00
Kartikaya Gupta
3add0c36b5
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
21233ee23c
Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
44de711089
Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
8125a1cac7
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Sotaro Ikeda
2da50de51d
Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad
2013-06-07 12:05:03 -04:00
Michael Wu
3339a9f5d7
Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad
2013-06-06 14:01:30 -04:00
Nicholas Cameron
6ee6b3fdfb
Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
...
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Vladimir Vukicevic
ef8707b5f0
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
David Zbarsky
83c7653da6
Bug 788549 Part 13: Sample animations on shadow layers update in testing mode r=roc
2013-06-04 20:11:56 -07:00
David Zbarsky
f118fa9c91
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Kartikaya Gupta
94f09001ff
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
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
Kartikaya Gupta
83f51d55ac
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Nicholas Cameron
32fc4ce9b4
Bug 876661. Fix function hidden warnings. r=mattwoodrow
...
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
David Zbarsky
fe25f49f81
Bug 788549 Part 10: Fix RecvGetTransform to handle scale animations correctly r=roc
2013-05-31 11:06:57 -07:00
Kartikaya Gupta
09a6269c24
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
David Zbarsky
41a2c77912
Bug 788549 Part 7: Make RecvGetTransform() return the untranslated transform since that is what getComputedStyle returns r=roc
2013-05-30 17:45:17 -07:00
Anthony Jones
d25f900f94
Bug 831237 - Reduce APZC buffer churn; r=BenWa
...
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Chiajung Hung
49f0808fda
Bug 875246 - Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread. r=kchen
...
DispatchImageClientUpdate is a helper function to dispatch IPC message, only dispatch when not in the ImageBridge thread can improve responsibility.
2013-05-30 08:10:02 -04:00
Matt Woodrow
6c5c28dd12
Bug 877034 - Initialize MemoryImage to 0 to match the behaviour of Shmem. r=nical
2013-05-30 14:44:08 +12:00
David Zbarsky
67106717be
Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc
2013-05-29 17:38:27 -07: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
Vladimir Vukicevic
0640a22aff
Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE
2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
158e87ce65
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Chris Lord
0cd5f226a3
Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats
2013-05-24 15:53:58 +01:00
Nicolas Silva
2d17ddf2e3
Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Matt Woodrow
ac9b0734ab
Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas
2013-05-22 15:04:12 +08:00
Matt Woodrow
6e5cd2cba5
Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures.
2013-05-22 13:18:19 +08:00
Matt Woodrow
d20bcb4257
Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas
2013-05-22 11:36:39 +08:00
Matt Woodrow
b4b2c68950
Bug 874370 - Make ContentClientIncremental use a no-swap transaction. r=nical
2013-05-22 11:36:38 +08:00
Ed Morley
6739a9cd44
Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras
2013-05-21 14:03:43 +01:00
David Zbarsky
02b38dd3e3
Fix an incorrect comment, no bug, r=me
2013-05-21 18:22:45 +08:00
David Zbarsky
4a039e4a6e
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Robert O'Callahan
8b339cab63
Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
...
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00
Matt Woodrow
7a56fc7c60
Bug 870211 - Add ContentClientIncremental. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
31c2d65b2f
Bug 870211 - Add new IPC messages to LayersTransaction for doing incremental updates to textures. r=Bas
2013-05-16 15:45:43 +12:00
Matt Woodrow
61ebe2bb02
Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
b5f9287e07
Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc
2013-05-10 09:02:50 +12:00
Bas Schouten
50da3357c5
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00
Kyle Huey
0adceb0fa5
Back out bug 830347.
2013-05-08 12:04:11 -07:00
Bas Schouten
e3373b8d78
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00
Benoit Jacob
b59d90a877
Bug 868556 - We are not using gralloc on b2g anymore - r=vladv
2013-05-03 22:57:18 -04:00
Nicolas Silva
d44f4453e5
Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel
2013-03-21 18:08:01 +01:00
Kartikaya Gupta
9a688d104a
Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones
2013-05-02 09:24:16 -04:00
James Willcox
bf095377f8
Bug 863223 - Make canvas updates asynchronous once again r=nrc
2013-05-01 19:24:27 -04:00
L. David Baron
d459af2323
Bug 929673 Patch 1: Rename mozOrigin to transformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
Kartikaya Gupta
6956cbef05
Bug 867269 - Fix breakage in SyncFrameMetrics override. r=nrc
2013-05-01 10:49:27 -04:00
Matt Woodrow
ace055b629
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Bas Schouten
551f8210c5
Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob
2013-04-30 12:14:21 +02: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
Benoit Jacob
dd0a4affe0
Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc
2013-04-26 23:31:53 -04:00
Jeff Muizelaar
71e8463068
Bug 863392 - Disconnect layer during abnormal shutdown - r=nical
2013-04-26 15:18:16 -04: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
Benjamin Chen
4959c6d286
Bug 862240 - Add null checking and reset the runnable member pointer when entering runnable method. r=drs
2013-04-25 03:58:10 +08:00
Ryan VanderMeulen
9cccb1d7a4
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Nicholas Cameron
3a548cca4d
Bug 861636. Add some null checking to the ensure texture path and make EnsureTextureHost return void. r=nical
2013-04-25 02:32:43 +12: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
Ehsan Akhgari
34e21f4536
Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Ehsan Akhgari
5394b1f9c1
Backed out changeset 86959499a5b8 (bug 856079) because of build bustage
2013-04-22 17:44:12 -04:00
Nicolas Silva
a9c99fbd1c
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-22 18:41:29 -04:00
Nicolas Silva
e4c0f3bbfd
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-22 22:51:11 -04:00
Ryan VanderMeulen
4272b0bfcf
Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1
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-22 18:07:48 -04:00
Matt Woodrow
7fe2ff7276
Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc
2013-04-22 14:40:52 +12:00
Ed Morley
922c71bb84
Backed out changeset faf24511d2c6 (bug 861636) for Android mochitest-2 failures
2013-04-19 11:57:48 +01:00
Nicholas Cameron
5ea08038e0
Bug 861636. Add some null checking to the ensure texture path. r=nical
2013-04-19 19:33:02 +12:00
Kartikaya Gupta
4bbf34e342
Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs
2013-04-18 15:43:17 -04:00
Kartikaya Gupta
97ba87bdf2
Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa
2013-04-17 17:39:13 -04:00
Kartikaya Gupta
76b18fccfa
Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa
2013-04-17 17:39:12 -04:00
Daniel Holbert
287b430a79
Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas
2013-04-17 10:08:39 -07:00
Nicholas Cameron
7e34b182d7
Bug 862106. Use Create*Client directly. r=nical
...
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
35cf82d17b
Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
...
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Chris Lord
1f8698bb32
Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
...
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Chris Lord
a49464c86a
Bug 861246 - Fix async scrolling of fixed layer margins. r=nrc
...
Make sure the fixed margins are sent over IPC to shadow layers.
--HG--
extra : rebase_source : ab26359f1ebf2ea130ee65d37249d43d1fd82aec
2013-04-13 10:41:18 +12:00
Sotaro Ikeda
00e3c7f5b2
Bug 860892 - IPC failure handling in CompositorChild and ShadowLayers. r=jmuizelaar
2013-04-12 16:25:04 -04:00
Nicholas Cameron
a46c367128
Bug 844928, smarten up content client/host texture creation. r=nical
...
--HG--
extra : rebase_source : 2b15c0d233c45fc13b2bdfb155255e480fb3a947
2013-04-12 19:29:08 +12:00
Nicholas Cameron
0318648f5d
Bug 844928, remove PTexture. r=nical
...
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Joshua Cranmer
8be511955c
Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc
2013-04-11 22:20:37 -05:00
Jeff Muizelaar
1db5439ea7
Bug 860442. Delete the gralloc buffer even when we don't have a PBufferParent. r=nical
...
We can allocate surfaces on the child and the parent so we should be able to
delete them both.
--HG--
extra : rebase_source : 6af5316f44905360d83e871a0e0f92c526fed0ec
2013-04-11 19:57:28 -04:00
Nicholas Cameron
72eff27caa
No bug, removed commented code, r=nical, DONTBUILD
...
--HG--
extra : rebase_source : 62b59cd127bec362a9564b2a445006c145a24e2f
2013-04-11 14:33:44 +12: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
Sotaro Ikeda
7a5a9aa203
Bug 851667 - Handle SendPGrallocBufferConstructor() failure. r=jmuizelaar
2013-04-11 07:48:09 -04:00
Chris Lord
07ba1920e8
Bug 858550 - Don't transform fixed layer descendents multiple times. r=nrc
...
Once the transform for async scrolling has been applied to a fixed layer, it
need not be applied to its descendents. Make sure to return after applying
the transform.
2013-04-10 10:54:58 +01: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
Kartikaya Gupta
1334700038
Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe
2013-04-09 22:17:54 -04:00
Kartikaya Gupta
1b919ecf6e
Bug 859935 - Make AsyncPanZoomController not assume the controller thread has a message loop. r=kentuckyfriedtakahe
2013-04-09 22:17:54 -04:00
Ivaylo Dimitrov
88e05a2484
b=854539 - Implement AllocateAndGetNewBuffer for SharedPlanarYCbCrImage. r=nical
2013-04-05 19:24:58 +02:00
Ryan VanderMeulen
8a2621fb4d
Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083.
2013-04-05 07:55:25 -04:00
Ms2ger
d73b4fb2c0
Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange.
2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d
Backout 8a6cacf047a1 (bug 833795) to fix bug 856083
2013-04-05 18:19:08 +13:00
Robert O'Callahan
8addb81404
Bug 852489. Part 3: Add logging to track addition of IPC edits and causes of layer mutation. Also avoid unnecessary mutate in ClearAnimations. r=mattwoodrow
...
--HG--
extra : rebase_source : 65557e5e223ff7b30d5eeccf534e950451d664b9
2013-03-22 15:17:28 +13:00
Sotaro Ikeda
acdad56971
Bug 850566 - Part 1: Add image size to SurfaceDescriptorGralloc. r=nical
2013-03-28 09:59:47 -04:00
Benoit Girard
6ed333dbb5
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
8eca34943b
Bug 851556: Makee GestureEventListener.cpp's "MAX_TAP_TIME" unsigned, so that the comparisons against it won't trigger build warnings. r=drs
2013-03-24 18:23:56 -07:00
James Willcox
c5cc1a2876
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
2013-03-22 15:22:20 -04:00
Ed Morley
260f849645
Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE
2013-03-22 19:10:24 +00:00
James Willcox
7f1add90db
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
...
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Anthony Jones
fe7ee40bd2
Bug 833795 - Use screen relative co-ordinates for gestures; r=drs
2013-03-21 15:08:15 +13:00
Ed Morley
4a0f5f39ca
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
95a5b4c35f
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Benjamin Chen
c62f7d437f
Bug 824920 - Fix zoom ratio and check the zoom offset to prevent over-scroll. r=drs
2013-03-11 18:02:13 +08:00
Chris Lord
b6dedb7d38
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +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
bc3cb980a1
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00: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
Benoit Girard
c2fdef508a
Bug 823236 - Fix the lifetime of SharedPlanarYCbCrImage/SharedRGBImage. r=nical
...
--HG--
extra : rebase_source : f10703d971eef9ce4d9416d03eca0556882cce3b
2013-03-04 11:00:20 -05: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
fa6c4dbff3
Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
...
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00: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
Nicholas Cameron
445321c3bc
Bug 843940; Initialise Transaction::mRotationChanged. r=roc
2013-02-26 18:18:20 +13:00
Kartikaya Gupta
e15294782b
Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones
2013-02-25 15:50:49 -05:00
Tatiana Meshkova
5b69b09056
Bug 824511 - Remove Axis.cpp?mark=76,79,82#73 dead code and make Axis less sensitive to random move events distance. r=drs
2013-02-20 14:59:15 -08:00
Jeff Gilbert
78f00c0f31
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
23a70898de
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
...
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
b891b80fa0
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
2187525c49
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Chris Jones
2bc9fd31dd
Bug 841993: Clean up Transports of |opens| channels. r=bent,kanru,nical a=blocking-b2g
2013-02-19 11:27:49 -08:00
Nicholas Cameron
4dcee2ea37
Bug 828531; fix scaling CSS pixels for animations; r=roc
...
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00
Benoit Girard
b7c72ddf7e
Bug 823236 - ImageContainerParent should not release shmem which is retained by child. r=nical
2013-02-07 11:15:16 -05: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
Benoit Girard
ee4759886e
Backed out changeset 3c4205be7191 (bug 823236) for M2 failures
2013-02-04 14:11:02 -05:00
Benoit Girard
3ce730b206
Bug 823236 - Assert that the image is valid before inserting into the image pool. r=nical
2013-02-01 19:02:42 -05:00
Mounir Lamouri
9f6e4099c4
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in gfx/. r=Ms2ger
2013-01-24 14:05:18 +00:00
Chris Jones
739aae6070
Bug 792966: Don't try to gralloc small buffers. r=kanru
2013-01-28 23:49:38 -08:00
Chris Jones
7fe289fbe6
Bug 834470: Release AsyncPanZoomController and friends. r=roc
2013-01-24 19:59:10 -08:00
Anthony Jones
f506fe3c49
Bug 831973 - Remove extra scroll compensation code; r=roc
2013-01-22 17:04:41 +13:00
samuel.gallacier@innes.fr
2e8dac39d1
Bug 831791: Memory leak with array of TransformFunction : was not deleted. r=dzbarsky a=not-libxul
2013-01-21 17:14:13 +01:00
Oleg Romashin
73d1b0005d
Bug 830926 - AZPC TrackTouch x/y displacement should not be rounded to int. r=ajones,drs
2013-01-19 15:33:09 -08:00
Chris Jones
048d0104e4
Bug 832117: Check that the referent root is nonnull. r=roc a=blocking-b2g
2013-01-17 18:34:44 -08:00
Jeff Muizelaar
9edf8a15f3
Bug 830256. Ensure that scrollable rect is as big as the drawable area. r=cjones,ajones
...
If the scrollable rect is not as at least as big as the drawable area we end up
clamping the displayport to a smaller size than we should be.
2013-01-16 16:53:10 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Sotaro Ikeda
e216905926
Bug 826829 - Change ImageContainerChild::DispatchSetIdle() to synchronous SetIdle(). r=kanru
2013-01-14 20:15:03 -05:00
Sotaro Ikeda
5d6e8f550f
Bug 826829 - Change PImageContainer::Flush() to synchronous to prevent abort. r=kanru
2013-01-14 20:15:03 -05:00
Nicholas Cameron
57c11d132e
Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp
2013-01-14 13:02:41 -08:00
Marco Bonardo
1f5998f297
Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage
2013-01-14 22:53:34 +01:00
Nicholas Cameron
435f9b33ca
Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp
2013-01-14 13:02:41 -08:00