Commit Graph

635 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Sushil Chauhan
1f5c5361a5 Bug 1122850 - Use setPowerMode interface for HWC 1.4 and above. r=dwilson 2015-02-05 12:30:54 -08: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
Carsten "Tomcat" Book
ba2f5fcd61 merge mozilla-inbound to mozilla-central a=merge 2015-02-05 14:47:16 +01:00
Mason Chang
60c719a5b5 Bug 1129210. Always enable vsync when touch events occur. r=kats 2015-02-04 22:10:56 -08:00
Mason Chang
231a1fb35b Bug 1129632. Resample touch events based on the current touch. r=mwu 2015-02-04 17:06:09 -08:00
Mason Chang
424409c421 Bug 1128691. Part 2: Consolidate touch resampilng pref checks. r=kats 2015-02-04 13:08:40 -08:00
David Zbarsky
c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Sushil Chauhan
88116be583 Bug 1127585 - Update HWC_BLIT composition-type value. r=sotaro 2015-02-03 10:38:21 -08: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
Masayuki Nakano
39018f5127 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
7a0cea6729 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
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
Chris Peterson
3de239df52 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
61fabafd0d Bug 1095242. Part 1: Ensure Vsync Is Enabled on b2g. r=mwu 2015-01-20 08:31:10 -08:00
Mason Chang
5ee7bd3f46 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
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
Carsten "Tomcat" Book
830e9e7d40 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09: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
bb68b7de05 Bug 920036 - Move ToWidgetMouseEvent into MultiTouchInput. r=mwu 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
Viral Wang
1c29580ae2 Bug 1107760 - add new keycode mapping for L, r=mwu 2015-01-08 01:14:00 +01:00
Nicholas Nethercote
8c35fccbcd 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
a76e617dd0 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Boris Chiou
761afc5ba0 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
9ac121c9e5 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
fbec25158c 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
82bb82c84a 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
eabfa84986 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
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
Carsten "Tomcat" Book
ae839974ba Merge mozilla-central to mozilla-inbound 2014-12-18 13:54:52 +01:00
Chih-Kai (Patrick) Wang
fcb6d29268 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
Mason Chang
2ceec663c3 bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Michael Wu
d57baeb1f7 Bug 1104661 - Import sha1.c for libui, r=m1 2014-12-16 20:43:41 -05:00
David Anderson
aa0028e4da Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Botond Ballo
edcabbc40b Bug 1073081 - Fix -Woverloaded-virtual warnings in gonk code. r=sotaro
--HG--
extra : source : c1ae176debd74464094cbb6db1254c7fbd55a271
2014-11-24 20:03:27 -05:00
Botond Ballo
870235958c Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
b68f6489dc Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
8bcf931152 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
40dadf0d08 Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Sotaro Ikeda
f062928578 Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical 2014-12-11 07:15:52 -08:00