David Anderson
65475c97d0
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Boris Chiou
b595350fe5
Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
...
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Xidorn Quan
7699870266
Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
...
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Shelly Lin
fba7c0fcc2
Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
...
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Henry Chang
7c705ecfcd
Bug 1138287 - Part 1: Extract nsScreenGonk/nsScreenManagerGonk implementation to a separate file. r=mwu
...
--HG--
extra : histedit_source : 582f469228fa7a8e2699bc6db06031b93bc232b0
2015-05-22 16:40:09 +08:00
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