Sotaro Ikeda
07a783a7bb
Bug 1187345 - Fix HwcComposer2D::mCompositorParent handling r=mwu
2015-07-24 11:28:28 -07:00
Sotaro Ikeda
7905fa06eb
Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu
2015-07-24 10:56:05 -07:00
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
Botond Ballo
9eadc95b3f
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
...
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de
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
5088734876
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.
--HG--
extra : commitid : HM7e5zfyoAz
extra : rebase_source : de8dd7e5bc6bfcfeb729cfab86fe44b8bb12ab80
2015-06-08 21:27:23 +12:00
Sotaro Ikeda
813272f335
Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical
2015-07-05 11:56:04 -07:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Hamzata Diallo
3f61ec7708
Bug 1178513
- Export libxul symbols needed by ACL. r=mattwoodrow
...
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -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
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Boris Chiou
cfe9c42db4
Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro
2015-06-23 15:06:00 +02:00
Boris Chiou
a92b13f8f5
Bug 1144012 - Part 3: Wrap vsync code. r=sotaro
2015-06-23 15:05:00 +02:00
Boris Chiou
62c2a9cf9c
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
3402b88b06
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
c6f3ac81de
Bug 1174479 - Improve the AnimationPart file reading algorithm, r=ehsan
2015-06-17 12:16:31 +01:00
JerryShih
b31a33ca20
Bug 1165161 - stop bootAnim with "browser-ui-startup-complete" event. r=mwu
...
--HG--
extra : rebase_source : 3dc5523f292d83eefbb9b2afe895f1a12e9e4776
2015-06-05 00:30:00 +02:00
Wes Kocher
b124d4653d
Merge b2ginbound to central, a=merge
2015-06-10 18:36:06 -07:00
Sotaro Ikeda
578a7dc69f
Bug 1171671 - Simplify Boot Animation control r=mwu
2015-06-10 07:55:28 -07: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
Boris Chiou
af54ebf11f
Bug 1172805 - Fix enum comparison warnings in nsAppShell. r=mwu
2015-06-09 00:11:00 -04: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
Sotaro Ikeda
2e1a40399a
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
2b848889f8
Merge inbound to m-c. a=merge
2015-06-03 15:55:09 -04:00
Viral Wang
9cdc0b26ad
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
b05ff05c6a
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
38ffe863a9
Bug 1167531
- Uninitialised value uses relating to GonkDisplayJB::GonkDisplayJB. r=mwu.
2015-05-27 09:41:53 +02:00
Botond Ballo
9ab4d5e2c1
Bug 1119980 - Fix a -Woverloaded-virtual warning in gonk widget code. r=sotaro
...
--HG--
extra : source : 3003d96ab84c83f18304b067fbc40c1337872d3d
2015-02-09 17:32:52 -05:00
Jeremy Chen
dedec71f0f
Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro
2015-05-20 01:43:00 -04:00
Phil Ringnalda
49dd872168
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
24743e2aa6
Bug 1119980 - Fix a -Woverloaded-virtual warning in gonk widget code. r=sotaro
...
--HG--
extra : rebase_source : e89ee6e17423d2db20d856c94d923f44f8f95e0d
2015-02-09 17:32:52 -05:00
Ryan VanderMeulen
8f6f16604c
Merge inbound to m-c. a=merge
2015-05-22 14:02:47 -04:00
Cervantes Yu
55152ad9d9
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
2015-05-19 14:31:25 +08:00
Diego Wilson
819925f4c3
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
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
JerryShih
cffa489f90
Bug 1165200 - Fix GonkDisplay::QueueBuffer() for bootAnim. r=mwu, r=sotaro
...
--HG--
extra : rebase_source : fd34d87081df686443eee34afd3b0cef7aee0aad
2015-05-17 11:30:00 -04:00
Carsten "Tomcat" Book
005c5ce415
Backed out changeset 4d2839eea957 (bug 970307)
2015-05-19 11:44:27 +02:00
Cervantes Yu
a12ce249b1
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
...
--HG--
extra : rebase_source : 829e80228e07440285383316d2c4fea017828529
2015-05-19 14:31:25 +08:00
JerryShih
b90f6b5dcc
Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu
...
--HG--
extra : rebase_source : 6fb3d2c7c1c94fe8bbffb8d1e1e7a87049068738
2015-05-17 18:12:00 +02:00
JerryShih
8f5182d756
Bug 1155797 - P2: show a black solid color frame if we don't have the bootAnim. r=mwu
...
--HG--
extra : rebase_source : 616eac9d34ced7b2a2fef366a96c80c984bd9dea
2015-05-17 18:11:00 +02:00
JerryShih
eade01277e
Bug 1155797 - P1: extract format BPP util function. r=mwu
...
--HG--
extra : rebase_source : b425ea67b80fd71bc2c48c8154a44fa8f1e20594
2015-05-17 18:09:00 +02:00
Ethan Lin
7980550521
Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro
...
--HG--
extra : rebase_source : 06a799fbabfccd00c4baf7b9d98c967b4432bb73
2015-05-13 01:42:00 +02:00
Ethan Lin
cdc345235c
Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro
...
--HG--
extra : rebase_source : cca9aa2fbb07f2c00741fb33ce33d7e2db1ba0f2
2015-05-13 00:37:00 +02: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
Sotaro Ikeda
98078d2a0e
Bug 1163681 - Fix fence handling r=mwu
2015-05-14 10:22:07 -07:00
Carsten "Tomcat" Book
dd3f1a22f8
merge mozilla-inbound to mozilla-central a=merge
2015-05-12 16:10:32 +02:00
Daniel Holbert
7d7c2e5ca3
Bug 1163871: Use DebugOnly to suppress opt build warning in gonk nsAppShell.cpp. r=mwu
2015-05-11 18:27:34 -07:00