Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Gabriele Svelto
614882a05a
Bug 1157030 - Prevent visibility changes from affecting the process priority when the screen is off. r=khuey
2015-05-11 23:03:42 +02:00
Henry Chang
c4353072b1
Bug 1138288 - Refactor nsWindow/nsScreen for multiple screen/window case. r=mwu
2015-04-30 14:38:26 +08:00
JerryShih
45a96d6940
Bug 1160102 - use VsyncDisplay interface to turn on/off vsync. r=kats
...
--HG--
extra : rebase_source : ada01762d1c57fae42c5d53e57024ab994794480
2015-05-04 03:33:00 +02:00
Henry Chang
223dec8c91
Bug 1154648 - Rename static gonk nsWindow::DispatchInputEvent. r=mwu
2015-04-15 17:45:18 +08:00
Sotaro Ikeda
ed293afca5
Bug 1157874
- Remove screen related global variables from nsWindow.cpp r=mwu
2015-04-29 20:17:57 -07:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Sotaro Ikeda
053aaa45c3
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-17 09:28:41 -07:00
Carsten "Tomcat" Book
eba45dcee4
Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure
2015-04-17 12:04:55 +02:00
Sotaro Ikeda
7078be3faa
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-16 18:15:26 -07:00
Sotaro Ikeda
1d09feb925
Bug 1154313 - Move sUsingHwc to gfxPrefs r=mwu,nical
2015-04-15 06:39:44 -07:00
Kartikaya Gupta
5cf2d407fd
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Sotaro Ikeda
a3181c2cc5
Backed out changeset 29d01ad10d0b (bug 1152135)
2015-04-13 12:28:06 -07:00
Sotaro Ikeda
1a785adc42
Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert
2015-04-12 11:23:46 -07:00
David Anderson
274c9d4c17
Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
...
--HG--
extra : rebase_source : ce0beebda151fdf5adf69e998465c684b193db75
2015-03-26 14:23:02 -07:00
Maksim Lebedev
9e2e275653
Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats
2015-03-25 12:20:20 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta
617f629233
Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug
2015-03-16 12:32:17 -04:00
Gabriele Svelto
ab940fcb6e
Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey
2015-03-09 16:33:33 +01:00
Milan Sreckovic
76dd5cd892
Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange
2015-03-09 15:48:20 -04:00
dvander@alliedmods.net
bbb91f19dc
Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats)
2015-03-06 14:26:59 -08:00
David Anderson
8b68b8e3e8
Add weak reference support to nsBaseWidget. (bug 1133150, r=roc)
2015-02-17 22:27:53 -08:00
Botond Ballo
d269100f16
Bug 1127066 - Add weak reference support to the gonk nsWindow type. r=kats
...
--HG--
extra : source : 2c81ee3e4c61c82770fad9f3eac9c64abb6ab4ec
2015-02-09 13:50:51 -05:00
Kartikaya Gupta
ddc075e4eb
Bug 930939 - Switch the B2G controller thread from the main thread to the compositor thread. r=botond,mwu
2015-02-10 08:24:23 -05:00
Robert O'Callahan
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan
282e59cd87
Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
...
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Botond Ballo
0d36926e53
Bug 950934 - Do not generate mouse events from touch events at the gonk widget layer. r=kats
2015-01-14 18:05:46 -05:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
Kartikaya Gupta
990f1807e9
Bug 1121353 - Implement SynthesizeNativeTouchPoint in the gonk widget to allow injecting touch events into APZ. r=mwu
2015-01-20 00:38:00 +01:00
JerryShih
837bd03db3
Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang
2015-01-20 08:21:00 -05:00
Kartikaya Gupta
846e3755ae
Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug
2015-01-15 10:37:54 -05:00
Kartikaya Gupta
cdac1b867f
Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me
2015-01-13 21:16:51 -05:00
Kartikaya Gupta
e2d152069e
Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug
2015-01-10 13:54:24 -05:00
Kartikaya Gupta
e10f70887c
Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander
2015-01-09 13:41:23 -05:00
Mason Chang
2166723055
Bug 1113725
. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats
2014-12-19 12:52:42 -08:00
Mason Chang
3027d1493e
Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats
2014-12-18 08:30:06 -08:00
David Anderson
aa0028e4da
Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats)
2014-12-15 01:47:15 -08:00
Vladimir Vukicevic
54548bfc2b
Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt
2014-07-09 12:29:28 -07:00
Chris Jones
a9fddd1ed2
Bug 1087943 - Have nsWindow pose as a "normal" window manager when using BasicCompositor. r=mwu
2014-11-06 11:39:48 -08:00
Chris Jones
40a9d8eba4
Bug 1082890 - Make BasicCompositor work for gonk widgets, again. r=mwu
2014-10-16 13:57:10 -07:00
Sotaro Ikeda
30f7cc274a
Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu
2014-09-24 06:50:45 -07:00
Boris Chiou
683937c974
Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
...
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00
Michael Wu
5742c17bb8
Bug 1042947 - Remove Framebuffer.cpp, r=sotaro
2014-07-22 16:46:27 -04:00
Mike Conley
5f892c8286
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley
64b781e2f3
Backed out bdf72cebcd85 to fix a CLOSED TREE.
...
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley
78e56ed33a
Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
...
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Jonathan Watt
c97839b951
Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis
2014-07-11 08:06:38 +01:00
Jonathan Watt
571e646eea
Add missing includes to widget/gonk/nsWindow.cpp so that it continues to compile after my upcoming commits. r=mstange on IRC, no bug
2014-07-05 19:19:12 +01:00