Commit Graph

10137 Commits

Author SHA1 Message Date
Joel Maher
1f706df26c bug 1175005: performance regression. backout_44b74f0b7e1d 2015-07-09 11:48:27 +01:00
Joel Maher
4b3190641d bug 1175005: performance regression. backout_f081c464c1e2 2015-07-09 11:48:06 +01:00
Nicolas Silva
f344efc4c7 Bug 1180688 - Disable the basic compositor backend on Mac. r=mstange 2015-07-09 12:07:51 +02:00
Masayuki Nakano
66bc91dddb Bug 1181714 nsTextStore should store previous focused document manager until new document manager actually gets focus r=m_kato 2015-07-09 17:30:07 +09:00
Makoto Kato
f1701ab7c8 Bug 1179695 - Remove mWasAsync from WidgetQueryContentEvent. r=masayuki,nchen 2015-07-09 15:09:56 +09:00
Xidorn Quan
ef224aefc6 Bug 1181395 - Avoid runtime conversion or copy of names of window classes on Windows. r=jimm 2015-07-09 08:00:33 +10:00
Markus Stange
7548504c6f Bug 1181289 - Specify size: small when drawing small scrollbars with CoreUI. r=smichaud 2015-07-07 16:06:20 -04:00
Ryan VanderMeulen
19b177c473 Backed out changeset 57f4bd1baf13 (bug 1157941) for OSX 10.10 e10s browser_bug427559.js failures.
CLOSED TREE
2015-07-07 12:01:56 -04:00
Dragana Damjanovic
c7fc0a288e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
31c0c961cd Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Andrew Comminos
33c7024ee2 Bug 1180971 - Fix X11 SHM invalidation regions on HiDPI with GTK3. r=karlt 2015-07-06 16:57:00 +02:00
Andrew Comminos
920c49f514 Bug 1180008 - Define gtk_window_get_window_type in mozgtk. r=karlt 2015-07-06 08:26:00 +02:00
Andrew Comminos
497d757b6b Bug 1176109 - Don't attach menu popups to menubars on GTK3. r=karlt 2015-07-06 21:55:00 +02:00
Robert O'Callahan
a40be7876e Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.
2015-06-12 03:20:04 +12:00
Robert O'Callahan
e23366ece4 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
Andrew Comminos
8c3674f12d Bug 983843 - Switch to GtkOffscreenWindow for drag source widget, fixing ghost tabs on some GTK versions. r=karlt 2015-06-17 12:20:00 +02:00
George Wright
468cf983e6 Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn 2015-07-02 15:42:35 -04:00
Bill McCloskey
b162c4e892 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-06 19:58:44 -07:00
James Willcox
8e6305585e Bug 1178365 - Fix DOM fullscreen support on Android r=blassey,xidorn 2015-07-06 10:21:17 -05:00
Karl Tomlinson
450b3a5b12 bug 1180008 don't measure size of decorations for override-redirect windows r=acomminos 2015-04-21 19:52:00 +12:00
Karl Tomlinson
7981f78e4c bug 1180008 use mGdkWindow instead of finding it from gtk_widget_get_window(mShell) r=acomminos
Since https://hg.mozilla.org/mozilla-central/rev/9541dbf6e020#l2.184
there is only one GdkWindow per nsWindow.

The mGdkWindow pointer is cleared in OnContainerUnrealize() before the shell
widget destruction completes:
https://hg.mozilla.org/mozilla-central/annotate/50b95032152c/widget/gtk/nsWindow.cpp#l2480
2015-04-21 19:06:41 +12:00
Karl Tomlinson
5323477bd0 bug 1180008 provide gtk_window_get_window_type for old GTK versions r=glandium 2015-04-21 18:17:24 +12:00
Sotaro Ikeda
0782cc9b9f Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Juan Gomez
21d73728f3 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kevin Wern
b4ac13dd45 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.
2015-07-03 15:06:26 -04:00
Phil Ringnalda
6d43ab4967 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
af77069eb7 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-02 17:18:10 -07:00
Hamzata Diallo
9a79d7372b Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow 2015-07-02 15:19:35 -07:00
Andrew Comminos
a81572ffad Bug 1177171 - Round widget coordinates on GTK3. r=karlt 2015-06-29 11:50:00 -04:00
Carsten "Tomcat" Book
d88eda597d Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-02 15:47:27 +02:00
Carsten "Tomcat" Book
5739e50696 merge mozilla-inbound to mozilla-central a=merge 2015-07-02 15:44:14 +02:00
Nicolas Silva
208fea79bb Bug 1156182 - Ensure nsWindow::Destroy() is called before destroying mPresentLock to avoid a race with the compositor thread. r=Bas 2015-07-02 11:40:53 +02:00
Gijs Kruitbosch
0eeb2dc792 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted 2015-06-16 19:51:29 +01:00
Nathan Froyd
46d6f38e68 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
Ryan VanderMeulen
ac7e955b24 Backed out 3 changesets (bug 1000870) for frequent Linux test failures.
Backed out changeset 7983770003a3 (bug 1000870)
Backed out changeset 80d8e9adb532 (bug 1000870)
Backed out changeset 6a730e15246e (bug 1000870)
2015-06-29 13:42:45 -04:00
Andrew Comminos
172d1e84ee Bug 1175171 - Deallocate GTK's KeymapWrapper on shutdown. r=karlt 2015-06-26 11:28:00 -04:00
Maksim Lebedev
945e761af9 Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Maksim Lebedev
cf0a0e3a53 Bug 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats 2015-06-26 08:45:00 +02:00
Andrew Comminos
3c6940c865 Bug 1131978 - Acknowledge GDK's scale factor in scale calculation. r=karlt 2015-06-26 10:19:00 +02:00
Boris Chiou
b3f4a29820 Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51:00 +02:00
Makoto Kato
57e47cd21c Bug 1176843 - Don't query caret rect on layout change. r=masayuki 2015-06-26 00:08:29 -07:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Masayuki Nakano
91c3d7b18a Bug 1177388 Create ContentCacheInParent and ContentCacheInChild for making their purpose clearer r=m_kato 2015-06-26 08:21:13 +09:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Botond Ballo
ad3bb2aea1 Bug 1177024 - Fix clang warnings-as-errors in GTK3 build. r=karlt 2015-06-21 15:27:07 -04:00
Boris Chiou
e9811a4bff Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro 2015-06-23 15:06:00 +02:00
Boris Chiou
c7566ac8cb Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
fdce3023c6 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
8a82cecf75 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
Chris Peterson
ced822e043 Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh 2015-06-14 00:20:27 -07:00