Commit Graph

14223 Commits

Author SHA1 Message Date
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
stefanh@inbox.com
b05e11aed1 Bug 889085 - Make sheets styled with '-moz-appearance: dialog;' vibrant/semi-transparent. r=mstange, roc. 2015-05-26 19:55:08 +02:00
David Major
5c3adfc908 Backed out changeset 4914871dbd96 (bug 1163740) now that the diagnostic patch has served its purpose 2015-05-26 13:07:26 -04:00
David Major
3f5cdcdee9 Backed out changeset a620a422367f (bug 1163740) now that the diagnostic patch has served its purpose 2015-05-26 13:06:34 -04:00
Jonathan Watt
708e1d7afe Bug 1168427 - Add a PostScale method to Moz2D's Matrix class. r=Bas 2015-05-14 16:47:20 +01:00
Jeremy Chen
c125f890a2 Bug 1155495 - Part 2: Remove unnecessary class inheritance and casting. r=nical, r=sotaro 2015-05-20 01:43:00 -04:00
Jeremy Chen
c14a65944b Bug 1155495 - Part 1: Remove TextureHostOGL and integrate the platform specific API into TextureHost. r=nical, r=sotaro 2015-05-22 02:25:00 -04:00
Nicholas Nethercote
602fa6d559 Bug 1164735 - Move gPrefLangToLangGroups[] inside a function to avoid a static constructor. r=jdaggett 2015-05-13 18:23:46 -07:00
CJKu
5a5855a922 Bug 1163908 - Export GL draw data to layerscope for drawing heat-map view. r=:djg 2015-05-22 11:36:00 +02:00
Carsten "Tomcat" Book
812e81198d Backed out changeset af2af798ad8f (bug 1165710) for OS X 10.6 crashes 2015-05-26 09:00:19 +02:00
Carsten "Tomcat" Book
62b555d465 Backed out changeset 45998275f423 (bug 857895) 2015-05-26 08:59:47 +02:00
Matt Woodrow
e377b5714e Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Matt Woodrow
39c7059712 Bug 1165710 - Make DrawTargetSkia own its snapshot instead of the other way around. r=gw280 2015-05-26 15:10:25 +12:00
Matt Woodrow
fea95147dc Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas 2015-05-13 23:42:32 +12:00
Phil Ringnalda
f3d4dd7e09 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
9a8e8b29e8 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Kartikaya Gupta
4463c794e3 Bug 1167721 - Ensure we trigger a repaint when dropping velocity to zero in CancelAnimation. r=botond 2015-05-25 15:32:20 -04:00
Ryan VanderMeulen
5d21775961 Backed out changesets 4b6aa5c0a1bf and fdf38a41d92b (bug 1150549) for Mulet crashes.
CLOSED TREE
2015-05-25 14:05:05 -04:00
Nicolas Silva
7696876034 Bug 1150549 - Remove debugging code accidentally left in the previous patch 2015-05-25 18:59:22 +02:00
Nicolas Silva
c3d731247c Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Heiher
c961df76a1 Bug 1157065- GFX: 2D: Implement AlphaBoxBlur in LS3 MMI. r=jrmuizel
* AlphaBoxBlur::BoxBlur
2015-04-21 19:08:00 -04:00
Heiher
419d14ab68 Bug 1157065 - GFX: 2D: Implement skia::Convolve in LS3 MMI. r=jrmuizel
* skia::ConvolveVertically
* skia:ConvolveHorizontally
* skia:ConvolveHorizontally4
2015-04-21 19:07:00 -04:00
Heiher
462b509fa8 Bug 1157065 - GFX: 2D: Add Loongson3 MMI helpers. r=jrmuizel 2015-04-21 18:36:00 -04:00
Jeff Muizelaar
ae6471ea81 Bug 1166879. Avoid uninitialized read in FlattenBezier. r=mstange
We only want to read from t2 if count is equal to 2.
Reordering this condition makes that true.
2015-05-20 16:01:23 -04:00
Nicholas Nethercote
16479c9560 Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.

- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
  need their return value checked.

- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
  differ only in case, so the callers of that function don't need to do the
  same check.

- nsStaticCaseInsensitiveNameTable::Init() never returns false because
  moz_xmalloc() is infallible. (Its callers never check the return value
  anyway.) So it can be merged into the constructor. And
  ~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.

- PLDHashTable now has an initializing constructor and destructor, so these can
  be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
  PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Kartikaya Gupta
b04762c394 Bug 1151617 - Add async-zooming tests for async scrollbar positioning. r=tn,botond 2015-05-24 16:48:26 -04:00
Timothy Nikkel
71402a0b35 Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron 2015-05-24 16:48:26 -04:00
Phil Ringnalda
ae0515f0a5 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
David Major
00a4062ee2 Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth 2015-05-22 16:49:37 -04:00
Ryan VanderMeulen
4878d81681 Merge m-c to fx-team. a=merge 2015-05-22 14:21:30 -04:00
Ryan VanderMeulen
e635a4926e Backed out 2 changesets (bug 1150549) for OSX asserts.
Backed out changeset ef2faa9a0845 (bug 1150549)
Backed out changeset b35c88257a9c (bug 1150549)

CLOSED TREE
2015-05-22 10:28:52 -04:00
Mathieu Blot
0af9a71dd5 Bug 1157664 - Initialize mozilla::layers::FPSCOUNTER::mIteratorIndex. r=nical 2015-05-19 17:08:48 +02:00
Amanda Sambath
acbf767c84 Bug 1157669 - Assert aGroupTarget is not null in PaintSelfOrChildren method. r=nical 2015-05-20 10:47:29 +02:00
Kyle Fung
9e3032872a Bug 1164970 - Implement failIfMajorPerformanceCaveat. r=jgilbert, r=ehsan 2015-05-21 11:51:49 -04:00
Nicolas Silva
1d7787e953 Bug 1158838 - Add some gfxCriticalError logging. r=milan 2015-05-22 15:47:33 +02:00
Hector Zhao
adb1f2e9b2 Bug 1166161 - Display available font from font.name-list.{family}.{lang} as fallback default font, instead of empty string. 2015-05-19 13:41:48 +08:00
Ryan VanderMeulen
93c5f6157a Merge mozilla-inbound to b2g-inbound. a=merge 2015-05-21 16:33:37 -04:00
Jeff Muizelaar
0454ae0480 Bug 1165732 - Block WARP when using the built-in VGA driver. r=bas
WARP is amazingly slow on the VGA driver on Windows 7. Let's not use it.
2015-05-21 12:42:04 -04:00
Makoto Kato
d2b783bbe8 Bug 1166667 - Remove LangGroupFromUnicodeRange due to unused. r=jfkthame 2015-05-21 16:09:07 +09:00
Lee Salzman
e51eba069d Bug 1166584 - Always export HelpersCairo.h. r=jrmuizel 2015-05-20 12:48:31 -04:00
Kartikaya Gupta
06497300a1 Bug 1166942 - Add logging of color layer bounds. r=nical 2015-05-21 09:26:47 -04:00
Kartikaya Gupta
d217517810 Bug 1166942 - Add logging code for gfx::Matrix. r=nical 2015-05-21 09:26:46 -04:00
Baptiste Emmanuel
aef8ebb51a Bug 1157663 - Init mMap in the constructor to avoid half initialized structures. r=nical 2015-05-19 17:14:45 +02:00
Nicolas Belleville
f5697275ec Bug 948466: Rename gfxPangoFonts to gfxFontconfigFonts. r=nical 2015-05-20 17:44:09 +02:00
Thomas Escalon
08d3359cca Bug 1157677 - Fix uninitialized members warning in ClientTiledLayerBuffer. r=nical 2015-05-21 15:04:09 +02:00
Nicolas Silva
bac1ca9a5d Bug 1150549 - build fix on a CLOSED TREE 2015-05-22 14:11:16 +02:00
Kartikaya Gupta
233ca347d8 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Nicolas Silva
f5cd2ecb2d Bug 1150549 - Simplify TiledContentHost. r=jrmuizel 2015-05-22 13:38:13 +02:00
Kartikaya Gupta
9ec5af61da Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
David Major
37b2d139c9 Bug 1163740: Keep |result| in a register where we can see it in minidumps. r=seth 2015-05-20 20:48:57 -04:00
Ethan Lin
083a328551 Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical 2015-05-20 17:01:34 -04:00
Ryan VanderMeulen
04eb118b4c Backed out changeset bcc398de6eda (bug 1166165) for suspicion of causing test_NuwaProcessCreation.html permatimeouts. 2015-05-20 13:52:23 -04:00
Jonathan Kew
8454f2049f Bug 1164835 - Use vertical presentation forms (where available) in vertical-upright text as fallback if the font does not support the 'vert' feature. r=jdaggett 2015-05-22 08:40:04 +01:00
Nathan Froyd
f61c010661 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
Nathan Froyd
e970b7431b Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel 2015-04-30 15:20:30 -04:00
Eric Rahm
ccf1ec07c6 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Kan-Ru Chen
93b42a9fee Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow 2015-05-22 07:08:20 +08:00
Matt Woodrow
4209398a7d Bug 1164480 - Make sure MacIOSurfaceLib is initialized before we use it. r=jya 2015-05-22 11:00:28 +12:00
Birunthan Mohanathas
dc5b9d0327 Bug 1166840 - Remove document argument from nsIClipboardHelper.copyString{,ToClipboard}. r=ehsan 2015-05-21 21:50:09 +01:00
Bas Schouten
19fa8514e4 Bug 1158575: Support using GDI rendering for opaque surfaces when using cross-process layers. r=jrmuizel 2015-05-22 17:54:24 +02:00
Kartikaya Gupta
76d0709cbe Bug 1164274 - Disable the wheel-scroll test on Mulet for intermittent failures. r=mstange 2015-05-22 12:01:52 -04:00
Carsten "Tomcat" Book
4ac13379e8 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Kan-Ru Chen
207f281b28 Bug 1166649 - Fix GrallocTextureClient.cpp unified build bustage. r=nical 2015-05-20 02:40:00 -04:00
Ethan Lin
8ea56f7f69 Bug 1166165 - Check if the timestamp is null to prevent assertion. r=nical 2015-05-19 00:37:00 -04:00
Milan Sreckovic
912b462a4a Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Geoff Brown
d3a33241c7 Bug 1164088 - Avoid IsFramebuffer assertion on Android emulator; r=jgilbert 2015-05-20 06:37:40 -06:00
Tom Klein
32a0475bae Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01:00
Brian Birtles
66e943ae38 Bug 1164330 - Rename time fraction to (iteration) progress; r=jwatt 2015-05-13 13:57:35 +09:00
Eric Rahm
c5e63515bf Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Jacek Caban
5a1602109d Bug 1161642 - Cross compilation fixup. 2015-05-19 11:12:55 +02:00
John Daggett
faeec37c82 Bug 1165611 - fix font smoothing under Linux. r=karlt 2015-05-19 14:30:55 +09:00
Matt Woodrow
eeabd51fbe Backout e01d80922187 (Bug 857895) for causing crashes 2015-05-19 10:50:41 +12:00
Birunthan Mohanathas
c316215317 Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj 2015-05-18 13:50:35 -07:00
Ryan VanderMeulen
41d95849b2 Merge inbound to m-c. a=merge 2015-05-18 16:32:50 -04:00
Mason Chang
11132ce0a6 Backout bug 1155828 for talos + functional regressions. r=me 2015-05-18 08:30:41 -07:00
Mason Chang
b850cf42ab Backout bug 1162824 to backout bug 1155828. r=me 2015-05-18 08:29:40 -07:00
Jonathan Watt
42079dcb39 Bug 1165900 - Make MaybeSnapToDevicePixels return a boolean to indicate whether snapping occurred. r=Bas 2015-05-06 14:43:56 +01:00
Jonathan Watt
f2f7105cc3 Bug 1165896 - Fix the argument naming of MaybeSnapToDevicePixels to match UserToDevicePixelSnapped. r=Bas 2015-05-06 14:40:26 +01:00
Frédéric Wang
db26a6c69f Bug 598900 - GDI: use typo metrics when USE_TYPO_METRICS is specified. r=karlt 2015-05-15 22:30:29 +02:00
Vincent Liu
5d9aaeb098 Bug 1162395 - [LayerScope]: No need to read and send the texture when the same texture id contains in a frame. r=cku 2015-05-07 15:26:26 +08:00
JerryShih
c0ef76853d Bug 1155797 - P3: turn on vsync for kk, l and up. r=mwu 2015-05-17 18:12:00 +02:00
Ethan Lin
993b617598 Bug 1155498 - Part 4 - Use new FenceHandle to handle the fence in TextureClient. r=sotaro 2015-05-13 01:42:00 +02:00
Ethan Lin
6f33c4cae3 Bug 1155498 - Part 3 - Use new FenceHandle to handle the fence in Compositor. r=sotaro 2015-05-13 00:37:00 +02:00
Ethan Lin
ae7e6e42b0 Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro 2015-05-13 00:36:00 +02:00
Ethan Lin
c53786bc10 Bug 1155498 - Use FdObj to replace FenceHandle's android fence. r=sotaro 2015-05-17 07:21:00 +02:00
Phil Ringnalda
881f3ba8cc Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
580eb72be7 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
93351f8ffa Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
David Anderson
dd781641e4 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Maksim Lebedev
105fbf0346 Bug 1162009 - Add TOUCH_CANCEL sending on e10s. r=kats 2015-05-14 08:16:00 -04:00
Andrew Comminos
b7a8694ac6 Bug 1161642 - Utilize primitive blends where available for faster blending on D2D 1.1. r=bas 2015-05-11 08:47:00 -04:00
Carsten "Tomcat" Book
e9483dd6ba Merge mozilla-central to b2g-inbound 2015-05-18 13:57:18 +02:00
Fabrice Desré
ac84db6cbf Bug 1165766 - Crash in AddFontSetFamilies() r=jtd 2015-05-17 20:33:46 -07:00
Timothy Nikkel
16445fc64d Bug 1165536. Don't include resolution compensation when adjusting the cliprect of ancestors of scrollbars. r=botond
We are trying to adjust for the async transform that gets applied to the scrollable container layer by applying a transform to the scrollbar layer. That means we also need to adjust our clip rect. The resolution compensation is not done for this reason (compensating for a transform on an ancestor layer), hence we don't need to adjust the clip rect for the resolution compensation.
2015-05-17 02:00:10 -05:00
Kartikaya Gupta
b9108493b9 Bug 1151617 - Add some basic reftests for async scrollbar positioning on B2G and Linux w/APZ. r=tn,botond 2015-05-16 09:11:04 -04:00
Kartikaya Gupta
c3928827ef Bug 1165407 - Properly flush the log stream after logging it. r=botond 2015-05-16 09:11:04 -04:00
Phil Ringnalda
8261f2cf53 Back out 75502ee740e0 (bug 1153123) for w-p-t bustage
CLOSED TREE
2015-05-15 20:37:24 -07:00
Phil Ringnalda
aaca0423eb Backed out 2 changesets (bug 1154231) for M-oth crashes
CLOSED TREE

Backed out changeset 5e8145eff457 (bug 1154231)
Backed out changeset 951fb8ed6f25 (bug 1154231)
2015-05-15 20:29:15 -07:00
Nicholas Nethercote
0addd071a9 Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
2015-05-14 21:48:43 -07:00
Botond Ballo
ed212a4d92 Bug 1164557 - Weed out spurious calls to Axis::OverscrollBy() caused by rounding error r=kats 2015-05-13 15:48:50 -04:00
Botond Ballo
2c82fd3112 Bug 1164557 - Use COORDINATE_EPSILON in IsZero(). r=kats 2015-05-13 15:48:21 -04:00
Botond Ballo
2169e50684 Bug 1164557 - Do not start an overscroll animation if one is already running. r=kats 2015-05-13 15:47:24 -04:00
Botond Ballo
f02aa0dc4a Bug 1159985 - Gtest. r=kats 2015-05-11 22:25:34 -04:00
Botond Ballo
54a961f705 Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats 2015-05-11 22:06:03 -04:00
Botond Ballo
1d672f81a4 Bug 1159985 - If only one component of a fling is in overscroll, continue the fling in the other component. r=kats 2015-05-11 22:27:48 -04:00
Botond Ballo
3c8c88ed15 Bug 1163845 - Unify handling of time in APZ gtests. r=kats 2015-05-15 12:45:27 -04:00
Matt Woodrow
c8343ced72 Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas 2015-05-13 23:42:32 +12:00
Timothy Nikkel
51430bf757 Bug 1164767. Modify async scrollbar positioning code to deal with containerless root scrollables. r=botond
The root scrollbars will no longer be a descendant of the layer with their corresponding frame metrics. But scrollbars for root scrollables still need adjustment for the resolution.

We still use the descendant check for the code which needs to be run if the scrollbars are a descendant of the layer with their corresponding frame metrics so that non-containerless root scrolling still works the same way.
2015-05-15 20:01:32 -05:00
Kan-Ru Chen
82d5bac578 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-16 08:43:39 +08:00
Mason Chang
3c178fe9a8 Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange 2015-05-15 10:52:44 -07:00
Ehsan Akhgari
123f153e5a Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Sotaro Ikeda
aae84aa1d5 Bug 1164513 - Add nullptr check r=milan 2015-05-14 12:09:18 -07:00
Eric Rahm
37808e571f Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Mason Chang
8c6561276c Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange 2015-05-13 15:19:27 -04:00
Markus Stange
9d5ef679af Bug 1162726 - Make RoundedToInt() snap the rect properly. r=roc 2015-05-07 14:25:06 -04:00
Markus Stange
84fcaf91ef Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel 2015-05-04 13:23:54 -04:00
Kan-Ru Chen
9388658a40 Backout chanset 9c18f3e4d02a and e784bb7b9f21 because b2g emulator bustage 2015-05-14 15:59:17 +08:00
Kan-Ru Chen
53f6543101 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-14 12:54:56 +08:00
Matt Woodrow
6719119889 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Timothy Nikkel
63839541c5 Bug 1164340. Fix up some scrollbar related comments in AsyncCompositionManager. r=botond 2015-05-13 19:15:39 -05:00
Timothy Nikkel
f9427c5257 Bug 1164340. Convert the scrollbar thumb ratio to a unitless ratio properly for non-zoomable scrollframes. r=botond 2015-05-13 19:15:38 -05:00
Timothy Nikkel
dbcf01fc91 Bug 1162648. When updating layout with the latest async values from the APZC do the scrolling last because it can flush layout. r=botond,kats
If we flush layout after the new scroll position clamping scroll port size but the old resolution then the scrollbars will be placed in the wrong spot.
2015-05-13 15:52:09 -05:00
Daniel Holbert
52e5944b9a Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan 2015-05-12 23:36:47 -07:00
John Daggett
f92095d6ce Bug 1056479 p10 - activate bundled fonts. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
2c5bb4e8f4 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-13 14:11:26 +09:00
John Daggett
35051ffb5c Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-13 14:11:26 +09:00
John Daggett
6a616a6051 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
569255e6c2 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-13 14:11:26 +09:00
John Daggett
d49810fba6 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
65205f109b Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-13 14:11:25 +09:00
John Daggett
efff1e5386 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-13 14:11:25 +09:00
John Daggett
ab4eecad04 Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
6c6d2ffd69 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-13 14:11:25 +09:00
Lee Salzman
425452c4a9 Bug 1159273 - Fix out-dated Cairo usage that may fail to build or work properly when system Cairo is involved. r=jrmuizel 2015-05-13 12:00:30 +09:00
Lee Salzman
2dfbba0503 Bug 1159273 - Update Cairo/Pixman renaming to not leak the symbols we use and silence linker warnings. r=jrmuizel 2015-05-13 11:54:18 +09:00
Lee Salzman
cf9ae0f680 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Nicholas Nethercote
37a9035e51 Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj. 2015-05-12 17:33:26 -07:00
David Major
1b8c4a1820 Bug 1154703: Fix typo in nvdxgiwrap filename. r=jrmuizel 2015-05-12 19:04:46 -04:00
Kartikaya Gupta
ebead6cf18 Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
e8a4761a89 Bug 1022080 - Dump compositable textures as something that we can paste into the URL bar. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
f5b20efc23 Bug 1022080 - Add surface dumping for X11 basic textures. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
03c043742e Bug 1022080 - Make non-HTML dumping of textures work better. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
4557b30b05 Bug 1022080 - Don't force intermediate surfaces when dumping textures, unless explicitly specified. r=nical 2015-05-12 09:16:53 -04:00
Carsten "Tomcat" Book
22cd3fed82 Backed out changeset cff5c0c09e72 (bug 1056479) for widespread destruction on a CLOSED TREE 2015-05-12 12:22:01 +02:00
Carsten "Tomcat" Book
1a688b9aab Backed out changeset 8bd3335d77d2 (bug 1056479) 2015-05-12 12:21:20 +02:00
Carsten "Tomcat" Book
53653e896e Backed out changeset c72465a4c424 (bug 1056479) 2015-05-12 12:21:14 +02:00
Carsten "Tomcat" Book
75c678bdd3 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
92f1f1edb3 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
6f879dbbbf Backed out changeset f630169085c1 (bug 1056479) 2015-05-12 12:20:48 +02:00
Carsten "Tomcat" Book
5f809a915a Backed out changeset f18546e7f271 (bug 1056479) 2015-05-12 12:20:43 +02:00
Carsten "Tomcat" Book
8dbb6a6531 Backed out changeset a8fca346b1ff (bug 1056479) 2015-05-12 12:20:38 +02:00
Carsten "Tomcat" Book
4f6f0ed1e5 Backed out changeset b858d2530520 (bug 1056479) 2015-05-12 12:20:33 +02:00
John Daggett
8dcf1c91a3 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-12 17:44:39 +09:00
John Daggett
805edb5b36 Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 17:44:35 +09:00
John Daggett
52923bfbbf Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 17:44:32 +09:00