Ryan VanderMeulen
d3e2486217
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
405d81dc18
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Nicolas Silva
8d92d2210c
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
6228032f7b
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
f742a26a6e
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
c297e37460
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
67614e96b8
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
49169f83fb
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
341fd56ab3
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Ms2ger
bf6618a13c
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
1571fe39c1
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Nicholas Cameron
b4b5c9799b
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
d427917d12
Bug 874721; don't OOM with large canvases. r=Bas
2013-08-01 16:52:53 +12:00
Nicholas Cameron
401f8b2e08
Bug 874721; identify multi-process OMTC and use shmem. r=Bas
2013-08-01 16:52:46 +12:00
Nicholas Cameron
e571990a03
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
e86327c405
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Nicholas Cameron
cdae41c345
Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow
2013-08-01 10:20:24 +12:00
Kartikaya Gupta
3c0ed4577b
Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa
2013-07-31 08:53:17 -04:00
Kartikaya Gupta
41d5cda7fd
Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
2e04b7fa14
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
fd758076bd
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
c95487f8eb
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Kartikaya Gupta
215476e2eb
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
6762cc18a8
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
a62d23f5c0
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
c40b9b29dd
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
be119cfa6c
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
eac8d9c0d3
Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
8423701852
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
2c0ffd470e
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
9816363ba9
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
e7c5eaf641
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
8da8ce85f7
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
d8a4ad4023
Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa
2013-07-30 14:03:38 -04:00
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
67334df0d5
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d057bf162a
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ehsan Akhgari
2824b29025
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
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
8670499913
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Michael Wu
e5dc8423b0
Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats
2013-07-24 21:49:49 -04:00
Ryan VanderMeulen
2cd9d5dae5
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Ryan VanderMeulen
93a07bee4f
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Nicolas Silva
19ac9f0ab4
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
ae2b42277d
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
216a92b99c
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Bill McCloskey
54cb4cc404
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
d689c3581c
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Brian R. Bondy
cd27c23ef8
Bug 869940 - Fix scaling issue with high dpi devices. r=kats
2013-07-25 13:15:10 -04:00
Brian R. Bondy
9d6c1c0076
Bug 869940 - Implement pan start/end notifications from APZC. r=kats
2013-07-25 13:15:06 -04:00