Commit Graph

845 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
25d1763553 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Nick Robson
7a52465904 Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Sotaro Ikeda
f3eaf62de3 Bug 1187345 - Fix HwcComposer2D::mCompositorParent handling r=mwu 2015-07-24 11:28:28 -07:00
Sotaro Ikeda
8bceeda4bb Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu 2015-07-24 10:56:05 -07:00
David Anderson
966456c514 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow) 2015-07-16 15:18:05 -07:00
Botond Ballo
329ac5fd09 Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
37d1a3a26c Bug 1143575. Avoid including Android's GraphicBuffer.h from LayersTypes.h. r=nical
On some Android versions, GraphicBuffer.h ends up including libui's
hardware.h, which #defines the symbols version_minor and version_major, which
are used as field names in Ogg Theora's th_info struct. Later patches will
require some files to include both Theora headers and LayerTypes.h.
2015-06-08 21:27:23 +12:00
Sotaro Ikeda
4bee224ec8 Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Hamzata Diallo
489a109db4 Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow 2015-07-02 15:19:35 -07:00
Nathan Froyd
8780083336 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
a152303d7e Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Boris Chiou
785d7bcf18 Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro 2015-06-23 15:06:00 +02:00
Boris Chiou
1940eaaf97 Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
fdeeb70b83 Bug 1144012 - Part 2: Use wrapper in HwcComposer2D. r=sotaro
Use UniquePtr to access HwcHAL Object becasue only HwcComposer2D
takes the responsibility of HwcHAL.
2015-06-23 15:03:00 +02:00
Boris Chiou
81b20e341f Bug 1144012 - Part 1: Create HwcDevice wrapper. r=sotaro
Use HwcHALBase as a base class which has two subclasses, HwcICS and HwcHAL.
1. HwcICS for Android ICS
2. HwcHAL for Android JB/KK/L or later.
3. mHwc is wrappd into HwcHAL/HwcICS.
2015-06-23 15:02:00 +02:00
Andrea Marchesini
52e65b4ed2 Bug 1174479 - Improve the AnimationPart file reading algorithm, r=ehsan 2015-06-17 12:16:31 +01:00
JerryShih
60278540c0 Bug 1165161 - stop bootAnim with "browser-ui-startup-complete" event. r=mwu 2015-06-05 00:30:00 +02:00
Wes Kocher
20495632d2 Merge b2ginbound to central, a=merge 2015-06-10 18:36:06 -07:00
Sotaro Ikeda
da2f44c856 Bug 1171671 - Simplify Boot Animation control r=mwu 2015-06-10 07:55:28 -07:00
Xidorn Quan
bb4e2c83ff Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc 2015-06-10 23:13:12 +12:00
Shelly Lin
0c646b32d4 Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow 2015-06-05 11:29:30 +08:00
Boris Chiou
f65da80d2b Bug 1172805 - Fix enum comparison warnings in nsAppShell. r=mwu 2015-06-09 00:11:00 -04:00
Henry Chang
8c9a101347 Bug 1138287 - Part 1: Extract nsScreenGonk/nsScreenManagerGonk implementation to a separate file. r=mwu 2015-05-22 16:40:09 +08:00
Sotaro Ikeda
0de8f22148 Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow 2015-06-04 07:07:36 -07:00
Ryan VanderMeulen
c0902a8fd7 Merge inbound to m-c. a=merge 2015-06-03 15:55:09 -04:00
Viral Wang
c4aab10ba1 Bug 1168730 - Add 'led' for KeyLayoutMap scan code. r=mwu
Most of changes come from: 74bdd2e7ce
and also refer few codes from: 872db4f11e
2015-06-02 21:41:00 -04:00
Milan Sreckovic
28f547eed4 Bug 1131463 - Report AtomicRefCounterWithFinalize doing the wrong thing with AddRef and Release in release build as well. r=sotaro 2015-05-29 16:41:28 -04:00
Julian Seward
f1a43804b3 Bug 1167531 - Uninitialised value uses relating to GonkDisplayJB::GonkDisplayJB. r=mwu. 2015-05-27 09:41:53 +02:00
Botond Ballo
5deff8abc3 Bug 1119980 - Fix a -Woverloaded-virtual warning in gonk widget code. r=sotaro 2015-02-09 17:32:52 -05:00
Jeremy Chen
7b9cbd7caf Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro 2015-05-20 01:43:00 -04:00
Phil Ringnalda
7886a51923 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
8d547713ec Bug 1119980 - Fix a -Woverloaded-virtual warning in gonk widget code. r=sotaro 2015-02-09 17:32:52 -05:00
Ryan VanderMeulen
2177b9797f Merge inbound to m-c. a=merge 2015-05-22 14:02:47 -04:00
Cervantes Yu
863a6aa860 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
Diego Wilson
357bd53c50 Bug 1165048 - Music playback is getting stopped and is not resumed when modem is restarted. r=mwu 2015-05-19 12:40:51 -07:00
Nathan Froyd
bb51644dac 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
JerryShih
0f4cd1f09a Bug 1165200 - Fix GonkDisplay::QueueBuffer() for bootAnim. r=mwu, r=sotaro 2015-05-17 11:30:00 -04:00
Carsten "Tomcat" Book
8613ef472a Backed out changeset 4d2839eea957 (bug 970307) 2015-05-19 11:44:27 +02:00
Cervantes Yu
1d206cc826 Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307). 2015-05-19 14:31:25 +08:00
JerryShih
10216f3583 Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu 2015-05-17 18:12:00 +02:00
JerryShih
a28cad8f9b Bug 1155797 - P2: show a black solid color frame if we don't have the bootAnim. r=mwu 2015-05-17 18:11:00 +02:00
JerryShih
abb1728a8b Bug 1155797 - P1: extract format BPP util function. r=mwu 2015-05-17 18:09:00 +02:00
Ethan Lin
d12cf772e6 Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro 2015-05-13 01:42:00 +02:00
Ethan Lin
7532607ebd Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro 2015-05-13 00:37:00 +02:00
Gabriele Svelto
eedd193867 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
Sotaro Ikeda
34a550e985 Bug 1163681 - Fix fence handling r=mwu 2015-05-14 10:22:07 -07:00
Carsten "Tomcat" Book
debcd176d5 merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
Daniel Holbert
7fe87cb13a Bug 1163871: Use DebugOnly to suppress opt build warning in gonk nsAppShell.cpp. r=mwu 2015-05-11 18:27:34 -07:00
Carsten "Tomcat" Book
a1d18de823 Merge mozilla-central to b2g-inbound on a CLOSED TREE 2015-05-07 16:15:54 +02:00
JerryShih
158ed48ec2 Bug 1160877 - Fix gonkDisplay stop anim condition. r=mwu, a=me 2015-05-05 10:32:00 -04:00
Ryan VanderMeulen
dc99c739fd Backed out changeset c92c76073e9c (bug 1160877) for causing B2G phone startup crashes. 2015-05-07 09:24:35 -04:00
Henry Chang
0e371ab475 Bug 1138288 - Refactor nsWindow/nsScreen for multiple screen/window case. r=mwu 2015-04-30 14:38:26 +08:00
JerryShih
1791010161 Bug 1160877 - fix gonkDisplay stop anim condition. r=mwu 2015-05-05 10:32:00 +02:00
JerryShih
e07f83f600 Bug 1160102 - use VsyncDisplay interface to turn on/off vsync. r=kats 2015-05-04 03:33:00 +02:00
Ryan VanderMeulen
5b6aaf974d Merge m-c to b2g-inbound. a=merge 2015-05-01 12:59:30 -04:00
chiajung hung
af3ea26d4c Bug 1156140 - Choose different code path for boot animation based on device capability. r=mwu 2015-04-26 22:39:00 -04:00
Sotaro Ikeda
d925de4c18 Bug 1156981 - Split CompositorParent's scheduling of composition to CompositorScheduler r=mchang 2015-04-30 11:35:13 -07:00
Henry Chang
e690f90b2f Bug 1154648 - Rename static gonk nsWindow::DispatchInputEvent. r=mwu 2015-04-15 17:45:18 +08:00
Sotaro Ikeda
92f44dd927 Bug 1157874 - Remove screen related global variables from nsWindow.cpp r=mwu 2015-04-29 20:17:57 -07:00
Sotaro Ikeda
671a61286b Bug 1152370 part 3 - Use DisplaySurface r=mwu 2015-04-23 06:49:40 -07:00
Sotaro Ikeda
0a3e847721 Bug 1152370 part 2 - Add DisplaySurface r=mwu 2015-04-23 06:49:22 -07:00
Sotaro Ikeda
a9b98da177 Bug 1152370 part 1 - Add android aosp VirtualDisplaySurface r=mwu 2015-04-23 06:49:12 -07:00
Andrea Marchesini
e95d49e405 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Daniel Holbert
5f98b4b98a Bug 1156398: Pass ProcessOrientation.cpp's unused-by-default bools to mozilla::unused. r=mwu 2015-04-21 10:24:34 -07:00
Nicolas Silva
d93b5d5970 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
69b8f86595 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
cad0f328fa Backed out changeset abe6234be8a3 (bug 1152135) for Android 4 opt/debug perma failure 2015-04-17 12:04:55 +02:00
Sotaro Ikeda
e5e2546701 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-16 18:15:26 -07:00
Neil Deakin
a9e6b1327e Bug 1071562, redirect child process methods to the clipboard proxy, r=fabrice 2015-04-16 15:38:12 -04:00
Sotaro Ikeda
06803cb7d8 Bug 1154313 - Move sUsingHwc to gfxPrefs r=mwu,nical 2015-04-15 06:39:44 -07:00
Ying-Ruei Liang (KK)
803753200f Bug 1143522 - Convert cliprect coordinate in gonk code. r=botond 2015-04-11 22:06:00 -04:00
Kartikaya Gupta
8a87c2918e Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Mason Chang
575d5d8020 Bug 1153395 - Disable Hardware Vsync on Non Kit-Kat devices. r=mwu 2015-04-14 10:31:58 -04:00
Sotaro Ikeda
98a2f8def2 Backed out changeset 29d01ad10d0b (bug 1152135) 2015-04-13 12:28:06 -07:00
Sotaro Ikeda
bdb2160370 Bug 1152135 - Split EGLSurface buffer swap and HWC buffer swap r=mwu,nical,jgilbert 2015-04-12 11:23:46 -07:00
Michael Vines
d002c2caf7 Bug 1152361 - Ensure outbufAcquireFenceFd is initialized during boot animation. r=mwu 2015-04-08 22:17:28 -07:00
Sotaro Ikeda
1f11eaefea Bug 1150518 - Remove glClear() on blit composition r=Sushil 2015-04-02 20:26:47 -07:00
Jonathan Watt
259f184de1 Bug 1147491, part 2 - Disable use of BaseTimeDuration::operator/ with floating point values. r=ehsan 2015-04-02 14:03:40 +01:00
Mason Chang
a37318f044 Bug 1149646 - Delete non-uniform vsync interval warning. r=kats 2015-03-31 14:38:51 -07:00
Kartikaya Gupta
c547a9c097 Bug 1149412 - Remove bad assertion. r=mchang 2015-03-31 11:12:01 -04:00
Kartikaya Gupta
4d5e3d77d4 Bug 1146987 - Deal with cases where we get a batch of interleaved move and non-move events on the libui thread before anything is processed, with resampling disabled. r=mchang 2015-03-30 14:09:26 -04:00
Michael Vines
24f6693bb4 Bug 1144515 - ConsumerListener interface changes. r=mwu,sotaro.ikeda.g
From ae4139a7b5dfb0b0326c84070e52fa58e43a54fe Mon Sep 17 00:00:00 2001
Change-Id: I3a3e4d6f58a42576197356ba4b7301c670298c74
---
 widget/gonk/libdisplay/FramebufferSurface.cpp            |  4 ++++
 widget/gonk/libdisplay/FramebufferSurface.h              |  4 ++++
 .../nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.cpp | 16 ++++++++++++++++
 .../nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.h   |  5 +++++
 .../GonkBufferQueueLL/GonkBufferQueueProducer.cpp        |  9 ++++++++-
 widget/gonk/nativewindow/GonkConsumerBaseLL.cpp          |  4 ++++
 widget/gonk/nativewindow/GonkConsumerBaseLL.h            |  5 +++++
 widget/gonk/nativewindow/GonkNativeWindowLL.cpp          |  5 +++++
 widget/gonk/nativewindow/GonkNativeWindowLL.h            |  4 ++++
 9 files changed, 55 insertions(+), 1 deletion(-)
2015-03-18 15:03:15 -07:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
David Anderson
177f5dab76 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
Maksim Lebedev
24171e69cd Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Ehsan Akhgari
5cccea6f0f 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
74500c29ee Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Gabriele Svelto
556aea293f Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey 2015-03-09 16:33:33 +01:00
Sotaro Ikeda
b02c41ebe3 Bug 1141311 - Add async mode support to GonkNativeWindow on Lollipop Gonk r=pchang 2015-03-10 20:39:23 -07:00
Wes Kocher
665d625c2f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Thomas Zimmermann
64cf62ca34 Bug 1137151: Marked destructor of |nsScreenManagerGonk| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann
d04347f731 Bug 1137151: Marked destructor of |nsWindow| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann
5760edc3b2 Bug 1137151: Marked destructor of |nsClipboard| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann
e25accd729 Bug 1137151: Marked destructor of |GeckoTouchDispatcher| as protected, r=mwu 2015-03-10 13:44:02 +01:00
Thomas Zimmermann
1187c0d857 Bug 1137151: Marked destructor of |MemoryPressureWatcher| as protected, r=dhylands 2015-03-10 13:44:02 +01:00
Milan Sreckovic
ae310469c2 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Kartikaya Gupta
aaff73ff65 Bug 1140578 - Prevent resampling moves across non-move touch events. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
d609f5b8f0 Bug 1140578 - Add a explicit flag to track if we have pending touch moves to process. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
679e930f2b Bug 1140578 - Simplify some code. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
475b1650e8 Bug 1140578 - Remove some redundant code and an unused return value. r=mchang 2015-03-09 12:46:04 -04:00
dvander@alliedmods.net
e72d1f4ac9 Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
Kartikaya Gupta
30942c11d0 Bug 1139541 - Make HWC skip opacity=0 layers. r=sotaro 2015-03-06 16:52:34 -05:00
Mason Chang
5576f33565 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Masayuki Nakano
bde1e8e8cb Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
David Anderson
26e2008114 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Botond Ballo
518b8cff4a Bug 1127066 - Add weak reference support to the gonk nsWindow type. r=kats 2015-02-09 13:50:51 -05:00
Ryan VanderMeulen
256333e4b8 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Sushil Chauhan
e7fc108a8b Bug 1122850 - Use setPowerMode interface for HWC 1.4 and above. r=dwilson 2015-02-05 12:30:54 -08:00
Kartikaya Gupta
bd3209cbbd 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
7464c67b7f Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies 2015-02-05 20:35:25 +13:00
Robert O'Callahan
07e47be213 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies 2015-02-05 18:18:30 +13:00
Carsten "Tomcat" Book
5b4bb77646 merge mozilla-inbound to mozilla-central a=merge 2015-02-05 14:47:16 +01:00
Mason Chang
93e94a2f95 Bug 1129210. Always enable vsync when touch events occur. r=kats 2015-02-04 22:10:56 -08:00
Mason Chang
29b8a3711d Bug 1129632. Resample touch events based on the current touch. r=mwu 2015-02-04 17:06:09 -08:00
Mason Chang
c810dd4052 Bug 1128691. Part 2: Consolidate touch resampilng pref checks. r=kats 2015-02-04 13:08:40 -08:00
David Zbarsky
792f700e75 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Sushil Chauhan
29bdc8d69a Bug 1127585 - Update HWC_BLIT composition-type value. r=sotaro 2015-02-03 10:38:21 -08:00
Botond Ballo
5491bf1c99 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
828d8bca44 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
becb33393a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
Masayuki Nakano
8f4327aeb5 Bug 936313 part.2 Compute DOM key location from code value on Android and Gonk r=smaug+mwu+cpeterson 2015-01-28 22:36:53 +09:00
Masayuki Nakano
e1e81df6c6 Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug 2015-01-28 22:36:53 +09:00
Kartikaya Gupta
7a48d40602 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
9614ef8ceb Bug 1123734 - Notify global VsyncSource in hwc. r=mwu, r=mchang 2015-01-20 08:21:00 -05:00
Chris Peterson
04ea75c382 Bug 1123553 - Fix -Wuninitialized warning in GonkDisplayJB.cpp by removing unnecessary error check. r=mwu 2015-01-19 21:44:27 -08:00
Mason Chang
a4846aeb3c Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu 2015-01-20 08:31:10 -08:00
Mason Chang
faa269223c Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
Kartikaya Gupta
a5370fdb12 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
c313b86c49 Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me 2015-01-13 21:16:51 -05:00
Carsten "Tomcat" Book
7a47f841cb merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Kartikaya Gupta
2cb41a5b7c 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
970730d11e Bug 920036 - Move ToWidgetMouseEvent into MultiTouchInput. r=mwu 2015-01-10 13:54:24 -05:00
Kartikaya Gupta
859cc1a498 Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander 2015-01-09 13:41:23 -05:00
Viral Wang
fcc62fbe18 Bug 1107760 - add new keycode mapping for L, r=mwu 2015-01-08 01:14:00 +01:00
Nicholas Nethercote
6713f15e31 Bug 1117623 - Fix undefined value error in TouchInputMapper::configureSurface(). r=mwu.
--HG--
extra : rebase_source : 6a6fe5eefda60df9b42bcc6212ecdd763f548495
2015-01-06 19:31:03 -08:00
Jeff Gilbert
d5219ab679 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Boris Chiou
55e2553f1c Bug 1098970 - Part 5: Fix link errors casued by symbol visibility. r=sotaro
Use the NO_VISIBILITY_FLAGS flag to fix the hidden symbol visibility and
some warnings.
2014-12-18 18:08:00 +01:00
Boris Chiou
7d0f0dc543 Bug 1098970 - Part 4: Fix naming problems and buffer allocation. r=sotaro
1. Fix class naming by adding "Gonk" prefix, and rename Surface
   & BufferItemConsumer.
2. Revise the buffer allocation
2014-12-21 22:01:00 +01:00
Boris Chiou
4238b32050 Bug 1098970 - Part 3: Add new files for Nativewindow. r=sotaro
1. Copied Surface.* and rename them as GonkNativeWindowClientLL.*
2. Copied BufferItemConsumer.* and rename them as GonkNativeWindowLL.*
3. Add new IGonkGraphicBufferConsumer.h to control the version
4. Fix the file mode for some JB files (remove execute permission)
2014-12-17 22:30:00 +01:00
Boris Chiou
6a77d40f6f Bug 1098970 - Part 2: Rename files. r=sotaro
Add the "Gonk" prefix & "LL" suffix, and collect all BufferQueue
related files on Lollipop in one directory.

--HG--
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferItem.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferItem.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferItem.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferItem.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueConsumer.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueConsumer.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueConsumer.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueConsumer.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueCore.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueCore.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueCore.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueCore.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueDefs.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueDefs.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueue.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueue.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueLL.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueProducer.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueProducer.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferQueueProducer.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferQueueProducer.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferSlot.cpp => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferSlot.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/BufferSlot.h => widget/gonk/nativewindow/GonkBufferQueueLL/GonkBufferSlot.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/ConsumerBase.cpp => widget/gonk/nativewindow/GonkConsumerBaseLL.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/ConsumerBase.h => widget/gonk/nativewindow/GonkConsumerBaseLL.h
rename : widget/gonk/nativewindow/IGonkGraphicBufferConsumer.cpp => widget/gonk/nativewindow/IGonkGraphicBufferConsumerKK.cpp
rename : widget/gonk/nativewindow/IGonkGraphicBufferConsumer.h => widget/gonk/nativewindow/IGonkGraphicBufferConsumerKK.h
rename : widget/gonk/nativewindow/GonkBufferQueueLL/IGraphicBufferConsumer.cpp => widget/gonk/nativewindow/IGonkGraphicBufferConsumerLL.cpp
rename : widget/gonk/nativewindow/GonkBufferQueueLL/IGraphicBufferConsumer.h => widget/gonk/nativewindow/IGonkGraphicBufferConsumerLL.h
2014-12-17 22:29:00 +01:00
Boris Chiou
21700eeba2 Bug 1098970 - Part 1: Add new LL native files. r=sotaro
Copied from aosp/framework/native/gui.
2014-12-17 18:26:00 +01:00
Mason Chang
f61559dfae Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Mason Chang
cabdc8f626 Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
Carsten "Tomcat" Book
ad4a8588eb Merge mozilla-central to mozilla-inbound 2014-12-18 13:54:52 +01:00
Chih-Kai (Patrick) Wang
4ee772690e Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-12-18 17:00:39 +08:00