Commit Graph

17183 Commits

Author SHA1 Message Date
Wes Kocher
1b666e0294 Merge inbound to m-c a=merge 2014-11-21 16:35:57 -08:00
Wes Kocher
6b37217a66 Backed out changeset 82e94c16732d (bug 1101974) 2014-11-21 10:52:24 -08:00
Carsten "Tomcat" Book
969509b198 Merge mozilla-central to b2g-inbound 2014-11-21 13:02:49 +01:00
Boris Chiou
0ae1cd5f57 Bug 1100727 - Port LL FrameBufferSurface to gonk. r=mwu
Use the new API, BufferQueue::createBufferQueue() to new the consumer
and the producer on LL.
2014-11-19 23:03:00 +01:00
Markus Stange
21ed419cc4 Bug 1102304 - Fix crash in 32 bit mode on 10.10 by correcting the _addKnownSubview signature. r=smichaud
This just copies the definition for the documented -[NSView addSubview:positioned:relativeTo:] method, which is the exact counterpart of this (undocumented) method. Using "long long" for the positioned: argument was wrong - the real type is NSWindowOrderingMode, which is typedefed to NSInteger, which is pointer-sized and thus doesn't match long long on 32 bit.
2014-11-20 13:23:41 -05:00
Karl Tomlinson
ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Mason Chang
bc4ddfe26e Bug 1101974. Part 1. Move VsyncDispatcher to CompositorParent. r=roc 2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
54548bfc2b Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt 2014-07-09 12:29:28 -07:00
Boris Chiou
fe464f5aa9 Bug 1096139 - Create websocket dynamically after we enable Layerscope. r=dglastonbury
We have to create the websocket if it doesn't exist after enabling
Layerscope. Therefore, we don't have to reboot the device anymore.

1. Remove the Init and DeInit in CreateCompositor and DestroyCompositor
   to prevent some unwanted deInits on the browser. (Our browser often
   calls DestroyCompositor)
2. Initize websocket only when we need it.
2014-11-20 02:00:00 +01:00
Tatiana Meshkova
3234ab1f7d Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3) 2014-11-19 22:02:51 -08:00
Wes Kocher
c86c58697d Merge actual fx-team (previous merge push was a mislabeled inbound merge) to m-c a=merge 2014-11-19 18:49:45 -08:00
Nick Alexander
80c87b9ae3 Bug 1099345 - Use pattern rule to generate multiple outputs in widget/android/bindings. r=gps
This works around a race condition observed with GENERATED_SOURCES.  A
global solution might be to make GENERATED_SOURCES part of the
'export' tier; this is a smaller fix.

--HG--
rename : widget/android/bindings/mediacodec-classes.txt => widget/android/bindings/MediaCodec-classes.txt
rename : widget/android/bindings/surfacetexture-classes.txt => widget/android/bindings/SurfaceTexture-classes.txt
extra : rebase_source : 073dadd8c1b48ea32f975b2232c2bdeafe315ab4
2014-11-19 11:33:05 -08:00
Nick Alexander
3cab90a5de Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson
In certain configurations, in particular when installing the Android SDK
using HomeBrew, one sees a configuration with symlinks like:

    [brian@brian-macbook git]$ ls -l /usr/local/Cellar/android-sdk/23.0.2/
    total 72
    ...
    lrwxr-xr-x   1 brian  admin    38 Nov 14 16:39 platforms -> ../../../var/lib/android-sdk/platforms
    ...
    drwxr-xr-x  26 brian  admin   884 Nov 14 17:43 tools

In this case, we have
ANDROID_SDK=/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21.

It is an anti-pattern to use ANDORID_SDK/.. to find other paths in the
tree.  This pattern is used in at least two places:

1) When we try to find
/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21/../../tools,
we end up in the /usr/local/var/lib subtree.  This patch works around
that by exporting and using ANDROID_TOOLS; ANDROID_TOOLS itself is
extracted using path matching, rather than following .. through the
filesystem.

2) We also need to use ANDROID_SDK_ROOT rather than
ANDROID_SDK/../.. through-out.

--HG--
extra : rebase_source : 5e0323a94f2b80550f17a624e16f338cdeec406d
2014-11-17 11:12:00 -08:00
Jeff Muizelaar
5b9dfb3684 Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
Using this seems to avoid the AMD frame delay bug.

--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Mason Chang
de0e409177 bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Mason Chang
0818de546a Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Mason Chang
74c80403e2 bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-18 13:28:42 -08:00
Markus Stange
199abc8ce2 Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud 2014-11-18 11:36:07 -05:00
Jeff Muizelaar
31512f67b3 Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.

--HG--
extra : rebase_source : 289ab867ef63032f7604a6cbe6d0230fd0a9411a
2014-11-10 14:34:06 -05:00
Sid Stamm
55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Milan Sreckovic
e879ad97c7 Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert 2014-11-10 22:15:22 -05:00
David Anderson
e05810e552 Forward Windows scroll events to APZ when async scrolling is enabled. (bug 1086162 part 2, r=jmathies) 2014-11-17 20:59:17 -08:00
David Anderson
028b163679 Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats) 2014-11-17 20:56:18 -08:00
Seth Fowler
a886c715d8 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Jeff Gilbert
ce5cd8ab32 Bug 1096633 - Allow webgl/experimental-webgl aliasing. - r=kamidphish 2014-11-10 15:16:50 -08:00
Martin Stransky
a822f9a7f4 Bug 1097592 - Don't use PR_FindFunctionSymbolAndLibrary to avoid app freeze, r=karlt 2014-11-14 06:32:00 +01:00
Nicolas Silva
ef2ae0a91b Bug 1074378 - Blocklist D3D11 on Windows 7 with intel driver version 8.15.10.1749. r=Bas 2014-11-19 11:25:21 +01:00
Jeff Muizelaar
bb0ca8f88d Bug 1092260. Block D3D11 layers on AMD hardware that delays by a frame. r=bas
It seems that some AMD drivers delay D3D11 output by a frame.
This shows up in other apps like Chrome:
https://code.google.com/p/chromium/issues/detail?id=402134

--HG--
extra : rebase_source : 6c2137edea70a655c0838d5a5b7d71e04cec74b3
2014-11-17 15:54:08 -05:00
Jim Mathies
933c3c2f1a merge 2014-11-17 11:51:55 -06:00
Jim Mathies
f1faa81654 Backout bug 506815 (7c97034feb78), for causing bug 1085027. r=backout 2014-11-17 11:51:09 -06:00
mycoolclub
73c841fc10 Bug 506815 - Replace old MouseTrailer code with TrackMouseEvent api. r=jimm 2014-10-01 02:38:00 +02:00
Wes Kocher
4d9a345155 Merge m-c to inbound a=merge 2014-09-30 17:10:24 -07:00
Wes Kocher
9e83c932d2 Merge b2g-inbound to m-c a=merge 2014-09-30 16:42:03 -07:00
Jim Chen
f6e00ce7f5 Bug 888482 - Send event to set layer client; r=snorp 2014-09-30 18:20:58 -04:00
Jim Chen
fb28ffc373 Bug 888482 - Make new event to set layer client in Gecko; r=snorp 2014-09-30 18:20:58 -04:00
Jeff Muizelaar
ef58f4304f Bug 1066664. Fix screenshot rotation. r=mwoodrow
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04:00
Bas Schouten
ee090394fb Bug 1060736: Disable all acceleration on HD 3000 for driver versions 2321 or lower. r=nical 2014-09-29 17:57:54 +02:00
Markus Stange
66bac03572 Bug 1073570 - Reset the base CTM after native widget drawing. r=smichaud 2014-09-30 13:51:54 +02:00
Chris Jones
c311c93a34 Bug 1069573 - Use the bKGD PNG background color (if present) to fill the background of animation frames. r=mwu 2014-09-25 19:18:21 -07:00
Jim Mathies
af9be8e2a8 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Ryan VanderMeulen
87e1d173f4 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
89dd1bd2d2 Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Mason Chang
4fddbd3845 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Mason Chang
ee275a75dc Bug 552020. Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-14 08:31:04 -08:00
Mason Chang
522eb9c976 Bug 1085512 - Improve touch resampling heuristics. r=mwu 2014-11-11 15:39:00 +01:00
Carsten "Tomcat" Book
4b13350a83 Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
b8a1aced00 Merge m-c to b2g-inbound. a=merge 2014-09-29 16:02:35 -04:00
Michael Wu
3efc9ae2a8 Bug 1073704 - Clear move queue at the end of a gesture, r=kats 2014-09-29 13:45:41 -04:00
mycoolclub
e8eac1554b Bug 943291: Now we use native Windows method to convert strings. r=emk 2014-09-27 08:37:35 +09:00
Ben Turner
d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00