Commit Graph
30 Commits
Author SHA1 Message Date
Sotaro Ikeda 2ad0b5e3af Bug 1238876 - Move StartRemoteDrawing() implementation from nsWindow to nsScreenGonk r=mwu 2016-01-13 20:37:56 -08:00
Wes Kocher 321fc583f3 Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage 2016-01-13 12:57:45 -08:00
JerryShih ccede1e244 Bug 1231042 - clean current composition task and related flag when screen off. r=hshih 2016-01-12 23:15:00 +01:00
Nicholas Nethercote 8da819977a Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond. 2015-11-16 00:35:18 -08:00
Sotaro Ikeda e63c95bbb3 Bug 1229262 - Fix nsScreenGonk's thread safety r=mwu 2015-12-02 22:27:55 -08:00
Nicholas Nethercote f3cb7d3359 Bug 1224482 (part 6) - Change nsScreenGonk::m{Virtual,Natural}Bounds to LayoutDevcieIntRect. r=kats. 2015-11-13 01:37:02 -08:00
Sotaro Ikeda ac25cddd8a Bug 1224445 - Add NS_NATIVE_OPENGL_CONTEXT handling to nsWindow::GetNativeData() r=mwu 2015-11-13 02:18:14 -08:00
Nicholas Nethercote b557cdc655 Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats. 2015-11-12 05:44:43 -08:00
Sotaro Ikeda db49d4bdb7 Bug 1221446 - Add virtual display support to GonkDisplayJB r=mwu 2015-11-12 21:09:58 -08:00
Nicholas Nethercote c3c2a5bf71 Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Bill McCloskey 6e4dd6a29c Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-09 10:21:11 -08:00
Nathan Froyd 4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Sotaro Ikeda 9f783315fd Bug 1210189 - Use nsScreenGonk in nsWindow::StartRemoteDrawing() r=mwu 2015-10-03 17:06:19 -07:00
Mason Chang 05ca517d4c Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
William Chen 8b4785e7f6 Bug 1131470 - Part 2: Update screen configuration HAL to report orientation angle. r=snorp,mwu 2015-08-18 14:55:15 -07:00
William Chen ecf84fcf22 Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
Sotaro Ikeda c37b5ada20 Bug 1192949 - Fix nsScreenGonk::SetMirroringScreen() r=mwu 2015-08-10 16:28:36 -07:00
Sotaro Ikeda f44c65df53 Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow 2015-08-08 13:50:47 -07:00
Sotaro Ikeda 94c1a83c68 Bug 1187048 - Code clean up around nsScreenGonk's EGLSurface handling r=mwu 2015-07-24 10:56:05 -07:00
Botond Ballo d61e3f0a5b Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats 2015-07-13 11:53:10 -04:00
Birunthan Mohanathas a29151dc87 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
JerryShih d1fd5ce740 Bug 1165161 - stop bootAnim with "browser-ui-startup-complete" event. r=mwu 2015-06-05 00:30:00 +02:00
Sotaro Ikeda e74662cb07 Bug 1171671 - Simplify Boot Animation control r=mwu 2015-06-10 07:55:28 -07:00
Shelly Lin ff08c27b91 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
Henry Chang 306fecd604 Bug 1138287 - Part 1: Extract nsScreenGonk/nsScreenManagerGonk implementation to a separate file. r=mwu 2015-05-22 16:40:09 +08:00
Chris Jones f7a72a4438 Bug 714416 - Merge screen manager into nsWindow.cpp, r=mwu 2012-02-06 14:47:11 -08:00
Chris Jones 5e1c7f9903 Bug 672166: Get rid of nsIScreen_MOZILLA_2_0_BRANCH and create nsBaseScreen for shared code. sr=roc 2012-01-04 18:12:48 -08:00
Chris Jones b2f2b057f7 Backed out changeset 64d814cd18b3 2012-01-04 01:17:38 -08:00
Chris Jones 8d6defca48 Bug 714416: Get rid of nsIScreen_MOZILLA_2_0_BRANCH and create nsBaseScreen for shared code. sr=roc 2012-01-03 21:56:05 -08:00
Brian R. Bondy d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00