Commit Graph

14377 Commits

Author SHA1 Message Date
Jim Mathies
c7f5082f8e Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Matt Woodrow
244b451f29 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel 2015-06-17 21:09:16 -07:00
Milan Sreckovic
e75d563da7 Bug 1175521 - Posting to a dead loop. r=nical 2015-06-17 10:33:00 -04:00
Andrew Comminos
7a10d4c5be Bug 1175530 - Log using gfxDebugOnce when enabling vsync compositor. r=mchang 2015-06-17 08:48:00 -04:00
Kartikaya Gupta
f4c7f40d56 Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
df17113b89 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Kartikaya Gupta
c6369a1422 Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond 2015-06-17 12:32:41 -04:00
Ryan VanderMeulen
96a8ea6d61 Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein
e0dbed1ec3 Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar 2015-06-15 16:57:00 +02:00
Botond Ballo
5b139f549b Bug 1173580 - Full-stack APZ layerization mochitest. r=kats 2015-06-11 20:15:07 -04:00
Botond Ballo
6154c32cc9 Bug 1173580 - Add utilities for synthesizing mouse move events to apz_test_native_event_utils.js. r=kats 2015-06-15 16:43:56 -04:00
Botond Ballo
6631495263 Bug 1173580 - Make synthesizeNativeWheelAnd*() functions iframe-friendly. r=kats 2015-06-15 16:43:46 -04:00
Jeff Muizelaar
3dc97c0e33 Bug 1175286. Remove unnecessary CGContextSave/Restore pair from ClearRect. 2015-06-16 17:11:42 -04:00
Michael Layzell
39df2dac79 Bug 1168172 - Mark gfxUserFontEntry::mLoader as MOZ_NON_OWNING_REF. r=jtd 2015-05-25 11:30:00 -04:00
Michael Layzell
5a500aadd3 Bug 1168176 - Mark gfxFontShaper::mFont as MOZ_NON_OWNING_REF. r=jtd 2015-05-25 11:32:00 -04:00
Michael Layzell
a085b00030 Bug 1167697 - Mark refs to gfxFontEntry in UserFontCache as MOZ_NON_OWNING_REF. r=jtd 2015-05-22 11:47:00 -04:00
Michael Layzell
b1d4d5baa3 Bug 1167403 - Mark gfxFont::GlyphChangeObserver::mFont as MOZ_NON_OWNING_REF. r=jtd 2015-05-22 08:23:00 -04:00
Jeff Muizelaar
9d12fb02ae Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
We can run these now that we don't split out gkmedias.

This also changes a test to avoid MSVC codegening a divide by 0
2015-06-04 14:34:46 -04:00
Jonathan Watt
7d28168721 Bug 1172964 - Fix iteration bug in CopyBGRXSurfaceDataToPackedBGRArray. r=jrmuizel 2015-06-01 17:20:52 +01:00
Markus Stange
241c4ad249 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-15 16:57:30 -04:00
Milan Sreckovic
36f6020745 Bug 1159751 - Use a more explicit order of destruction in gfxWindowsPlatform. r=bas 2015-06-10 11:52:00 -04:00
Kartikaya Gupta
7699230ac7 Bug 1163572 - Modify UpdateSubFrame to automatically figure out the nsIContent from the scrollId. r=botond 2015-06-15 14:39:06 -04:00
Kartikaya Gupta
8cd41536e9 Bug 1163572 - Have ChromeProcessController also handle root-frame repaint requests. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Kartikaya Gupta
e2e33e1957 Bug 1163572 - Modify UpdateRootFrame to automatically compute the nsIContent* and nsIPresShell* from the metrics. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-15 14:39:06 -04:00
Matt Woodrow
6f1ba02031 Bug 1173983 - Use R8 textures for d3d11 alpha textures since it appears to be better supported. r=Bas 2015-06-15 12:30:34 -04:00
Andreas Pehrson
19f710012a Bug 1169126 - Part 1: Make DrawTargetCG::CopySurface able to handle all SourceSurface types. r=gw280 2015-06-11 10:57:29 +08:00
Andrew Comminos
197e06d5ec Bug 1169370 - Mark tree Cairo surface dirty after borrow. r=jrmuizel 2015-06-10 12:16:00 -04:00
Kyle Fung
48a78bfcf9 Bug 1160070 - Used BitmapBrush instead of ImageBrush when no sampling bounds. r=bas 2015-06-12 17:28:25 -04:00
Ted Mielczarek
5fb6610dbb bug 1170988 - Fix skia to build for iOS. r=gw280 2015-02-05 15:10:28 -05:00
Ted Mielczarek
7fecc92e6b bug 1171117 - Fix cairo to build on iOS. r=jrmuizel
Cherry-pick cairo upstream rev 70cc8f250b5669e757b4f044571ba0f71e3dea9e and add CoreText include for iOS
2015-02-11 15:13:24 -05:00
Chris Peterson
519845c722 Bug 1174383 - Fix bogus gfx/2d debug assertions that have side effects. r=Bas 2015-06-12 22:19:54 -07:00
Kartikaya Gupta
2f5acdd312 Bug 1174205 - Make sure to acquire the tree lock before finding the multitouch target. r=botond 2015-06-12 17:45:50 -04:00
Matt Woodrow
673bc802da Bug 1170143 - Disable alpha texture sharing for intel driver version 8.15.10.2086 since it crashes. r=jrmuizel 2015-06-05 16:51:19 +12:00
Jeff Muizelaar
ece959fc6e Bug 1173972. Improve logging in gfxWindowPlatform. r=milan
This will give better about:support info and better crashes
2015-06-11 17:14:32 -04:00
Botond Ballo
56bfcf0071 Bug 1172648 - Full-stack APZ mochitest for bug 1151667. r=kats 2015-06-08 10:55:38 -04:00
David Anderson
1c859963ca Add telemetry for reporting graphics driver startup states. (bug 1168935 part 2, r=vdjeric,mattwoodrow) 2015-06-12 01:01:22 -07:00
David Anderson
3a6ee37e8b Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935, r=mattwoodrow) 2015-06-12 01:01:18 -07:00
Ryan VanderMeulen
4671eba03e Backed out changeset 67527d8c0688 (bug 1169331) for being the most-likely cause of semi-frequent Android debug reftest failures.
CLOSED TREE
2015-06-11 15:39:27 -04:00
Andrew Comminos
aac582aa67 Bug 1168527 - Add support to gfxContext for clip exporting. r=jrmuizel 2015-06-09 13:46:09 -04:00
Andreas Pehrson
937d313731 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas 2015-06-10 19:01:00 +08:00
Andrew Comminos
e5218dd641 Bug 1167356 - Handle return value of DataSourceSurface::Map wherever possible. r=Bas 2015-06-11 13:06:23 -04:00
Lee Salzman
3880e5f18f Bug 1167332 - Pass failures out of SetBufferData. r=jgilbert 2015-06-09 14:41:03 -04:00
Markus Stange
dc7e714724 Bug 1169331 - Always clip rotated buffer quadrant drawing to the fill rect. r=jrmuizel 2015-06-05 13:34:54 -04:00
Carsten "Tomcat" Book
14c19cd11d Backed out changeset 606cb8f08825 (bug 1168935) for test failures in browser_Troubleshoot.js 2015-06-11 10:09:08 +02:00
Carsten "Tomcat" Book
d219f9240f Backed out changeset 45cdca10d5cd (bug 1168935) 2015-06-11 10:08:42 +02:00
Dan Glastonbury
148d029425 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 15:12:16 +10:00
Dan Glastonbury
1cf0e63dd5 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury
4226f9eb5f Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 15:12:09 +10:00
David Anderson
f04386f267 Add telemetry for reporting graphics driver startup states. (bug 1168935 part 2, r=vdjeric,mattwoodrow) 2015-06-10 21:59:05 -07:00
David Anderson
1b1f72a37f Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935 part 1, r=mattwoodrow) 2015-06-10 21:59:03 -07:00
Mason Chang
b22c083400 Bug 1171156. More logging to test vsync timestamps. r=me 2015-06-10 21:36:42 -07:00
Phil Ringnalda
c98d9ec4e0 Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
07e8c59325 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 12:26:31 +10:00
Dan Glastonbury
ba48df27dc Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
This is a special addition for WebGL 2. I've updated webidl to match the
spec.

I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10:00
Dan Glastonbury
e415166dbf Bug 1170855 - Part 5: Correctly load glGetInteger64v. r=jgilbert
Correctly detect support for ARB_sync via GLFeature.
2015-06-11 12:26:26 +10:00
Botond Ballo
9444e8f6e7 Bug 1158424 - Undeprecate HasNoParentWithSameLayersId(). r=kats 2015-06-01 19:15:52 -04:00
Botond Ballo
b5f861f867 Bug 1158424 - Fix APZCTreeManager::GetMultitouchTarget(). r=kats 2015-06-10 14:57:24 -04:00
Botond Ballo
711c9d3110 Bug 1158424 - Add APZCTreeManager::FindRootContentApzcForLayersId(). r=kats 2015-06-10 14:48:03 -04:00
Botond Ballo
d9d2910535 Bug 1158424 - Extract a BreadthFirstSearch() helper function. r=kats 2015-06-10 14:47:52 -04:00
Botond Ballo
418eb3b6d5 Bug 1158424 - Clean up uses of HasNoParentWithSameLayersId() in overscroll handoff chain building. r=kats 2015-06-01 18:52:32 -04:00
Botond Ballo
ab1091c140 Bug 1158424 - Clean up uses of HasNoParentWithSameLayersId() related to zoom constraints. r=kats 2015-06-10 14:56:26 -04:00
Botond Ballo
d7264a2f3e Bug 1158424 - Expose IsRootContent() in AsyncPanZoomController. r=kats 2015-06-01 18:46:59 -04:00
Botond Ballo
bc8ac2de35 Bug 1158424 - Remove FrameMetrics::IsRootScrollable() (it just duplicated IsRootContent()). r=kats 2015-05-27 19:40:40 -04:00
Botond Ballo
b9201d6d43 Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats 2015-06-08 16:01:26 -04:00
Eric Rahm
25dbc7043c Bug 1171528 - Remove overflowed nscoord_MAX warnings from nsRect. r=dholbert 2015-06-10 15:14:54 -07:00
Birunthan Mohanathas
8aaa6ae83e Bug 968520 - Add mozilla::fallible to more FallibleTArray calls. r=froydnj
This calls were already fallible due to their type (FallibleTArray). This
commit merely makes that fact visible at the call site.
2015-06-10 14:30:41 -07:00
Nathan Froyd
d710ce680f Bug 1158871 - use new-style __atomic_* primitives in cairo; r=jrmuizel,ted.mielczarek
This patch is derived from upstream commit
5d150ee111c222f09e78f4f88540964476327844, without the build/ parts,
which we don't use.  In lieu of the build/ parts in the original patch,
we set the appropriate configuration bit manually in moz.build.
2015-06-05 11:05:34 -04:00
Nicolas Silva
b40bfed787 Bug 1170189 - Simplify TiledContentHost's render loop. r=BenWa 2015-06-10 17:59:19 +02:00
Nicolas Silva
518e4e75b4 Bug 1170189 - Use TilesPlacement to handle tile coordinates conversion. r=BenWa 2015-06-10 17:56:34 +02:00
Nicolas Silva
1e03461672 Bug 1170189 - Fix tiling crash on Linux. r=jrmuizel 2015-06-10 17:56:23 +02:00
Paul Rouget
53b4a4efab Bug 1172537 - Make the warning: "Tiled PaintedLayer with no scrollable container ancestor" occur only on actual b2g phones. r=nical 2015-06-09 20:33:00 -04:00
Lee Salzman
d82d0cc788 Bug 1171454 - Workaround for Cairo's source operator with alpha handling. r=jrmuizel 2015-06-05 15:30:13 -04:00
Chris Lord
c4cb0978ae Bug 1172541 - Don't skip touch event delivery during smooth scroll. r=kats 2015-06-09 18:13:12 +01:00
Jonathan Kew
dc6ac78da4 Bug 1165693 - patch 2 - Cache family-name lookups in gfxFcPlatformFontList::FindFamily, to avoid repeating expensive calls to FcConfigSubstitute. r=jdaggett 2015-06-10 07:23:45 +01:00
Wes Kocher
a5ade4b835 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
b6e64e7332 Merge b2ginbound to central, a=merge 2015-06-09 19:25:38 -07:00
Ryan VanderMeulen
66d2e31b68 Merge m-c to b2g-inbound. a=merge 2015-06-09 13:27:49 -04:00
JerryShih
a5354e8d05 Bug 1170966 - Check quad's effective region before drawing. r=nical, a=me 2015-06-09 10:53:00 -04:00
Morris Tseng
8c7b2b7172 Bug 1172405 - Fix build error when adding files to dom/workers and gfx/layers. r=nical
CLOSED TREE
2015-06-08 02:28:00 -04:00
Shelly Lin
33cf283e29 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
Mason Chang
a5b1546e15 Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap 2015-06-08 09:53:41 -07:00
Matt Woodrow
7fd5007b44 Bug 1170143 - Disable texture sharing if we've blacklisted direct2d. r=Bas 2015-06-08 12:41:37 -04:00
David Major
51da5504ff Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso 2015-06-09 16:48:59 -04:00
Mason Chang
fd14dd1542 Bug 1171156. Add logging to OS X vsync timestamps. r=mstange 2015-06-05 15:58:40 -07:00
Jeff Muizelaar
7bc9b479e8 Bug 1171094. Disallow D3D11 ANGLE with old DisplayLink drivers. r=Bas 2015-06-05 17:17:30 -04:00
Botond Ballo
c2e7f78131 Bug 1169690 - Gtests. r=kats 2015-06-03 19:38:50 -04:00
Botond Ballo
d39507d6ab Bug 1169690 - Accelerate flings correctly in the presence of overscroll handoff. r=kats 2015-06-03 16:50:59 -04:00
Ryan VanderMeulen
e8f3432b86 Bug 1170143 - Fix Windows bustage to reopen a CLOSED TREE. 2015-06-05 11:31:16 -04:00
Ryan VanderMeulen
33c30f680f Backed out changeset 89807785d4d4 (bug 1170966) for OSX 10.10 reftest failures. 2015-06-05 11:12:09 -04:00
Nicolas Silva
cfff35d01f Bug 1170143 - Build fix. r=me 2015-06-05 16:56:06 +02:00
Nicolas Silva
e24ed591f2 Bug 1170143 - Add some error checks around the creation of dxgi ycbcr video frames. r=Bas 2015-06-05 16:19:11 +02:00
JerryShih
2abdbc9ecf Bug 1170966 - check quad's effective region before drawing. r=nical 2015-06-03 08:04:00 +02:00
Lee Salzman
1454c21f59 Bug 1169609 - Avoid all-zero patterns that would trigger the CAIRO_STATUS_INVALID_DASH error state. r=jmuizelaar 2015-06-01 18:02:10 -04:00
Phil Ringnalda
beeb60688d Back out 0ed1ae70d922 (bug 1171357) for b2g emulator-l warnings-as-errors
CLOSED TREE
2015-06-04 22:25:00 -07:00
John Daggett
5be7886d40 Bug 1171357 - log font matching for textruns. r=m_kato 2015-06-05 12:35:48 +09:00
Jeff Gilbert
c781b7fbde Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 17:15:38 -07:00
Wes Kocher
38f87b1a8c Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange 2015-06-04 16:50:59 -07:00
Mason Chang
ae3bff42b7 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
David Anderson
c2063bdde8 Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey) 2015-06-04 14:19:06 -07:00
Jeff Gilbert
35a56dc6bb Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 14:21:32 -07:00
David Anderson
53244f3c1b Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Seth Fowler
aa61294e7a Bug 1171356 - On B2G, retry image decodes that fail because allocation of the first frame failed. r=tn 2015-06-04 11:08:17 -07:00
Kartikaya Gupta
bded2e2fa6 Bug 1164218 - Enable some guinea pig tests to run in chaos mode. r=botond 2015-06-04 13:44:55 -04:00
Ryan VanderMeulen
88c7d78af2 Backed out changeset 7d0d8d304cd8 (bug 1171357) for bustage. 2015-06-04 10:45:34 -04:00
John Daggett
74d688115b Bug 1171357 - log font matching for textruns. r=m_kato 2015-06-04 23:24:55 +09:00
Eric Rahm
29f00ac208 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
243447023a Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm
f3d0db1203 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Kartikaya Gupta
9d4bb42270 Bug 1169844 - Remove incorrect assertion and properly untransform wheel events for overscroll situations. r=botond 2015-06-03 15:46:40 -04:00
Kartikaya Gupta
23d8529b4f Bug 1169947 - Set the state back to NOTHING after the OnPanEnd is received. r=botond 2015-06-08 14:16:26 -04:00
Jonathan Kew
0890fc1756 Bug 1165693 - Cache the result of calling FcConfigSubstitute for our sentinel font name, to make gfxFcPlatformFontList::FindFamily less expensive. r=jdaggett 2015-06-08 07:14:06 +01:00
Lee Salzman
d1f35d1246 Bug 1167026 - Avoid division by zero when flattening a bezier curve segment with equal control points. r=bas 2015-06-02 10:47:15 -04:00
Milan Sreckovic
a5295afcda 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
Amanda Sambath
c575377dcc Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-06-03 13:45:24 +02:00
Nicholas Nethercote
94baddf190 Bug 1170416 (part 5) - Remove PLDHashTable::IsInitialized(). r=froydnj.
|mOps| is always non-null now, and there's no longer any distinction between
and uninitialized and initialized table. Yay.
2015-05-20 21:23:55 -07:00
Nicholas Nethercote
265569e6b8 Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
David Anderson
689e3a4a98 Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn) 2015-06-02 16:34:46 -07:00
David Anderson
e04fb998df Use the correct scrollframe clips with nested scrollframes in APZ. (bug 1148582 part 6, r=botond) 2015-06-02 16:34:33 -07:00
David Anderson
c7412990b5 Fix PostprocessRetainedLayers to not test occlusion with asynchronous clips. (bug 1148582 part 5, r=tn) 2015-06-02 16:34:28 -07:00
Nicholas Nethercote
4e1577155c Bug 1170069 - Use PLDHashTable2 in FontNameCache. r=froydnj. 2015-05-31 22:14:44 -07:00
Mason Chang
71eb9fc2c6 Bug 1158321. Normalize OS X vsync timestamp if CVDisplayLinkCallback executes early. r=mstange 2015-06-02 13:16:41 -07:00
Nathan Froyd
7941bd83f4 Bug 1170656 - remove tabs from moz.build files; r=me
DONTBUILD because whitespace-only fix.
2015-05-04 08:20:33 -04:00
Nathan Froyd
60794d2007 Bug 1133007 - followup - make CreateServerSocketRunnable's constructor explicit; r=bustage 2015-06-02 12:59:53 -04:00
CJKu
d001f250e3 Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris 2015-06-02 06:21:00 -04:00
Sotaro Ikeda
11cb78e34b Bug 1169200 - Send OpRemoveTextureAsync before actor destroyed r=nical 2015-06-02 07:31:05 -07:00
Carsten "Tomcat" Book
cb1ca7f862 Merge mozilla-central to mozilla-inbound 2015-06-02 13:13:15 +02:00
Carsten "Tomcat" Book
0cfe58cf94 merge mozilla-inbound to mozilla-central a=merge 2015-06-02 13:11:05 +02:00
Carsten "Tomcat" Book
e2f82674b8 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Nicolas Silva
4d045910c3 Bug 1169339 - Fix incorrect tile storage order in TiledContentHost. r=jrmuizel 2015-06-02 12:13:14 +02:00
John Daggett
5adb562d62 Bug 1170421 - return first font suggested by fontconfig as the default font. r=karlt 2015-06-02 17:20:15 +09:00
Wes Kocher
bd796581dc Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
David Anderson
9817e1fb08 Fix a startup crash when attempting to test D3D11 texture sharing. (bug 1170211, r=jmuizelaar, a=KWierso) 2015-06-01 15:45:19 -07:00
Jonathan Kew
bd53c12c26 Bug 964512 - Check for existence of character before trying to get its metrics in gfxGDIFont::Initialize. r=jdaggett 2015-06-01 09:13:29 +01:00
Jonathan Kew
9446e802c1 Bug 1148660 - Correct the handling of glyph positioning offsets in vertical-upright mode. r=jdaggett 2015-06-01 09:12:46 +01:00
Kyle
9c222f8082 Bug 1166585 - Check for CreateFilter() call returning NULL. r=mstange 2015-05-28 14:50:15 -04:00
Eric Rahm
ae32743ed2 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
db180ff7c4 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Kartikaya Gupta
ccdc9f3e5f Bug 1145084 - Ensure that the 300ms content timeout in the APZ code also applies to the touch-action allowed behaviours. r=botond 2015-06-01 17:04:15 -04:00
Markus Stange
cd85247439 Bug 1168889 - ContentClientSingleBuffered needs to upload during the transaction. r=nical 2015-05-29 15:53:57 -04:00
Kartikaya Gupta
7da59c9813 Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
02cfec25b3 Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
d945923ede Bug 1169695 - Store task run-at times in the task queue. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
4bd908745e Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
dd092bcff9 Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
c546d977b5 Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath
9da69d71e0 Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical 2015-05-29 17:01:46 +02:00
Amanda Sambath
89e561e0a6 Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/thebes. r=nical 2015-05-28 15:00:17 +02:00
Amanda Sambath
b9a8240b4c Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical 2015-05-28 11:59:15 +02:00
Amanda Sambath
973c7b4ad7 Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/src/nsSize.h. r=nical 2015-05-29 15:33:34 +02:00
Amanda Sambath
638c6110bd Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/ipc directory part 2. r=nical 2015-05-29 14:39:19 +02:00
Amanda Sambath
38a6dd9a4d Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/gl part 2. r=nical 2015-05-29 13:59:26 +02:00
Amanda Sambath
4e90c703bb Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/ipc. r=nical 2015-05-28 13:58:41 +02:00
Amanda Sambath
44ec9b7625 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical 2015-05-28 13:02:44 +02:00
Amanda Sambath
9fda7c9857 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/gl part 1. r=nical 2015-05-28 11:45:33 +02:00
Amanda Sambath
5f4fdda30e Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/thebes part 1. r=nical 2015-06-01 10:26:19 +02:00
Carsten "Tomcat" Book
e5270e7b6c Backed out changeset 99011d150a1d (bug 1163572) for b2g ics debug bustage on a CLOSED TREE 2015-06-01 13:03:30 +02:00
Kyle
6743a4f5ef Bug 1169039 - Check for NULL in every function that uses CreateEffect(). r=mstange 2015-05-28 15:46:16 -04:00
Danilo Cesar Lemes de Paula
9103641e44 Bug 1163572 - Override ChromeProcessController::RequestContentRepaint to detect root-frame updates. r=botond 2015-05-28 06:54:00 +02:00
Timothy Nikkel
ce67d6c95f Bug 1168630. Part 6. Modify the test for bug 1119497 based on the new assumption of always having a root APZC. r=botond
Part 5 adds an assert that we always return an APZC from GetAPZCAtPoint. The test for bug 1119497 fails this assumption because it does not give it's layer tree a root AZPC. In all non-test code we ensure that there is always a root APZC and many things would break without such. So we modify the test to always have a root APZC more like actual code.

The test is testing that we don't return the layer below (with an APZC) the topmost child layer (without an APZC). So checking if we hit the root APZC still makes the test test the same thing.
2015-05-31 14:44:41 -05:00
Timothy Nikkel
180da2a807 Bug 1168630. Part 5. If GetAPZCAtPoint hit a layer but did not find an APZC on the ancestor chain with the same layers id then return the root APZC of the same layers id. r=botond
This requires use to search the hit testing tree to find the root APZC (which we require to be there).
2015-05-31 14:44:41 -05:00
Timothy Nikkel
16aadc8571 Bug 1168630. Part 4. Rename AsyncPanZoomController::IsRootForLayersId to HasNoParentWithSameLayersId. r=botond
The function did not tell you if the APZC was the root for the layers id. It just told you if it had no parent. Which are different things.

Since IsRootForLayersId didn't do what it was expected to, the users of HasNoParentWithSameLayersId will be audited and then removed or changed to be correct by bug 1158424.
2015-05-31 14:44:41 -05:00
Timothy Nikkel
95cdac6a23 Bug 1168630. Part 3. Add IsLayersIdRoot to frame metrics. r=botond
This field tells us if this frame metrics should be considered the root APZC for its layers id. Without this there doesn't seem to be a way to compute this from just the layers tree.
2015-05-31 14:44:41 -05:00
Timothy Nikkel
1c3e3c515e Bug 1168630. Part 2. Only return an APZC from GetAPZCAtPoint that has the same layers id as the layer that was hit. r=botond
In a future patch we will look for the root APZC for the same layers id so that this doesn't make us return null.
2015-05-31 14:44:40 -05:00
Timothy Nikkel
f8ab4946ac Bug 1168630. Part 1. Add layers id to hit test node. r=botond
When the ancestors of a hit testing node do not have an APZC we will need the layers id of the layer that was hit in order to find the root APZC for that layers id.
2015-05-31 14:44:40 -05:00
Tom Klein
253194c595 Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar 2015-05-30 16:07:48 +01:00
Botond Ballo
9ef3843c18 Bug 1167882 - Use the display size (includes scrollbar areas) rather than the root composition bounds (excludes scrollbar areas) to calculate the intrinsic scale. r=kats 2015-05-27 16:56:08 -04:00
Kartikaya Gupta
3ec9bf3349 Bug 1169270 - Minor style fixes. r=dvander 2015-05-29 11:04:22 -04:00
Kartikaya Gupta
af8e959c15 Bug 1166871 - Add a test. r=botond 2015-05-29 11:04:22 -04:00
Kartikaya Gupta
2c62c07daa Bug 1166871 - Always force a repaint before handling a wheel event so that we don't untransform it into some other scrollframe. r=botond 2015-05-29 11:04:22 -04:00
Milan Sreckovic
65a88f698f Bug 1161590 - Ignore blocklist preference in nightly and aurora. r=jrmuizelaar 2015-05-28 11:54:07 -04:00
Andrew Comminos
7f6720f7fd Bug 974832 - Implement necessary GL features to provide timer queries. r=dglastonbury 2015-05-28 07:15:00 -04:00
Bas Schouten
b919761dbb Bug 1153609: Push layers for cleartype when trying to draw cleartype glyphs to a transparent layer. r=jrmuizel
This patch lets us repush all layers with their backgrounds copied when drawing subpixel AA'ed text to a transparent surface. This can be wasteful since the last layer that was pushed could already have had its pixels where the glyphs will be drawn made opaque, however we have no way of knowing this so we have to always repush the layers.
2015-05-29 14:49:19 +02:00
Wes Kocher
01fae16e74 Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange 2015-05-28 17:08:53 -07:00
Jeff Gilbert
a7debc6863 Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical 2015-05-28 14:51:39 -07:00
Birunthan Mohanathas
cd748a7266 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
399e0c3be3 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Nick Fitzgerald
ffe154cc52 Bug 1024774 - Part 0: Upgrade the protobuf library. r=mmc,glandium 2015-05-28 07:37:42 -07:00
CJKu
60a84eaf28 Bug 1168015 - Dump source image from graphic buffer directly on B2G. r=kamidphish, r=hshih 2015-05-28 02:30:00 -04:00
Boris Chiou
70d62b1439 Bug 1161372 - Add EventRegions on LayerScope. r=dglastonbury 2015-05-27 03:18:00 +02:00
Milan Sreckovic
89a6af893f Bug 1145143 - Check if buffer size is correct before calling the update. r=nical 2015-06-01 14:30:02 -04:00
Kearwood (Kip) Gilbert
cbfc31a62f Bug 766345 - Part 3 - Implement correct clipping of DEAA edges for quads that cross the w=0 plane (v3 Patch). r=vlad
- Use Matrix4x4::ProjectAndClipRect for accurate calculation of DEAA edge
line coefficients of quads clipped by the view frustum.
2015-05-08 11:21:45 -07:00
Kearwood (Kip) Gilbert
6f8a93c4cc Bug 766345 - Part 2 - Implement Matrix4x4::TransformAndClipRect (v2 Patch). r=vladimir
- Implemented Matrix4x4::TransformAndClipRect, which emulates
the frustum clipping behavior of the GPU.
2015-04-29 14:25:47 -07:00
Kearwood (Kip) Gilbert
b3eb214735 Bug 766345 - Part 1 - Implement DEAA Antialiasing for transformed layers (v5 Patch). r=vladimir, r=djg 2014-12-17 16:28:45 -08:00
Eric Rahm
18bd3de863 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
ef5ac6fa3d Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
dca9287933 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Dan Glastonbury
7d5d523902 Bug 1159117 - Enable support for legacy formats. r=jgilbert
ALPHA, LUMINANCE, and LUMINANCE_ALPHA texture formats are removed in
OpenGL core profiles. Emulate these via RED, RG and texture swizzling.
2015-05-28 12:15:42 +10:00
Mike Hommey
2c863b9fe4 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Kyle Fung
1e1e8aab90 Bug 1167370: Check for Map() call failing. r=bas 2015-05-22 19:12:10 -04:00
Milan Sreckovic
9522fd7efe Bug 1166082: Check if the lock succeeded before using it. r=bschouten 2015-05-20 14:14:49 -04:00
Jeff Muizelaar
f8a6b0ef50 Bug 1160335. Make DrawTargetCG's transform handling better. r=mstange
This let's us avoid depending on Save() and Restore() to have the
right transform at the right time.
2015-04-30 17:53:25 -04:00
Nicolas Silva
0d6d6cd264 Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
John Daggett
d97175f91e Bug 1167281 - sort scalable fonts first when resolving generic families under Linux. r=karlt 2015-05-27 16:19:27 +09:00
John Daggett
9451e667ca Bug 1163491 - map local fontnames to fontconfig patterns. r=karlt 2015-05-27 16:19:19 +09:00
David Major
b84fcdf032 Bug 1168480 - Fix potential leaks in qcms_transform_create. r=seth 2015-05-26 22:18:55 -04:00
Matt Woodrow
d93a75d076 Bug 1156135 - Add live pref for disabling DXVA when it fails to render correctly. r=ajones 2015-05-27 14:05:18 +12:00
Seth Fowler
8256ffd307 Bug 1163740 - Paper over qcms crashes due to NaN values in qcms_transform::matrix. r=dmajor 2015-05-26 17:34:21 -07:00
Botond Ballo
0fe06cffa0 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
David Anderson
d07bf4da02 Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn) 2015-05-26 12:40:24 -07:00