Граф коммитов

859 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 18192455ba Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Phil Ringnalda 75a31b49d8 Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Jonathan Watt 8e4c4665a0 Bug 982884 - Make DrawTargetD2D::GetBitmapForSurface correctly handle fractional source rect for data surfaces. r=Bas 2014-03-13 09:58:22 +00:00
Jonathan Watt 92007f303d Bug 984263 - Add methods to Moz2D Matrix to help with translation and rotation matrices. r=Bas 2014-03-18 13:04:47 +08:00
Matt Woodrow 52f31b5fb2 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Jacek Caban 06a0248478 Bug 981607 - Ensure that Log may handle both long and long long. r=botond 2014-03-14 14:05:47 +01:00
Jonathan Watt 534c6469a6 Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel 2014-03-11 07:24:43 +00:00
George Wright b81189a43e Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow 2014-03-06 16:33:39 -05:00
Ehsan Akhgari 276e2d1e15 Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Jonathan Watt dfa404843f Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas CLOSED TREE to fix orange 2014-03-07 14:55:16 +00:00
Jonathan Watt 943ca63f3b Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas 2014-03-07 13:24:47 +00:00
Jonathan Watt 7fa77ee22d Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal 2014-03-07 13:24:42 +00:00
Jonathan Watt 75e6be1cb4 Bug 980428 - Add a DEBUG-only DataSourceSurface dtor to assert that the surface has not been left mapped. r=Bas 2014-03-07 13:21:46 +00:00
Jonathan Watt b698826726 Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
--HG--
extra : rebase_source : c11c7ead8897255b3012495cc66beed27142275a
2014-03-06 23:31:33 +00:00
Jonathan Watt d0a02625d2 Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
--HG--
extra : rebase_source : 12e05d7d6b80669e38b959d3fe9986a179f60cb6
2014-03-06 23:31:22 +00:00
Jonathan Watt 0d571066b7 Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas
--HG--
extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
2014-03-06 23:29:57 +00:00
James Willcox dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
Markus Stange bbba5bf0c3 Bug 960178 - Fix lighting filter PowCache. r=Bas 2014-03-05 18:41:38 +01:00
Markus Stange 7943eaee0d Bug 963086 - Detect filter rect XMost()/YMost() overflow and protect against out-of-range data acess. f=dholbert, r=Bas 2014-03-05 18:41:19 +01:00
Ehsan Akhgari 667b4bc049 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Ehsan Akhgari 333c57cfd9 Fix the merge conflict of bug 958596 and bug 978776 2014-03-03 18:24:04 -05:00
Ryan VanderMeulen 47f9e25a13 Merge m-c to inbound. 2014-03-03 17:23:35 -05:00
Ehsan Akhgari 4e89716e1a Bug 978776 - Stop exporting moz2d symbols from xul.dll; r=jrmuizel 2014-03-03 14:38:33 -05:00
Ehsan Akhgari 9f44a4933c Bug 977279 - Add a missing initguid.h include to DrawTargetD2D.cpp 2014-02-28 10:42:23 -05:00
Horia Iosif Olaru 8a23829dd1 Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Benjamin Bouvier 460c4df9b5 Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Botond Ballo e2ac4d85b6 Bug 958596 - Allow gfx logging of long long. r=Bas 2014-01-22 18:38:31 -05:00
Botond Ballo f04e527185 Bug 958596 - Allow TreeLog logging to be conditioned on a pref. r=Bas 2014-01-22 15:19:01 -05:00
Botond Ballo ecd9186cdc Bug 958596 - Add support a tree logging utility. r=Bas 2014-01-21 20:14:47 -05:00
Botond Ballo 7412571303 Bug 958596 - Allow writing a log statement that does not end in a newline. r=Bas 2014-01-21 18:59:17 -05:00
Botond Ballo fb245221ef Bug 958596 - Allow gfx logging of any rect, size, and point. r=Bas 2014-01-21 18:38:34 -05:00
Botond Ballo af90204ad9 Bug 958596 - Add gfx logging support for 'char'. r=Bas 2014-01-21 20:26:00 -05:00
Botond Ballo c021a65b4f Bug 958596 - Add support for gfx logging on android and b2g. r=Bas 2014-01-21 20:11:52 -05:00
Botond Ballo f6d0d6ba20 Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas 2014-02-18 21:59:34 -05:00
Ehsan Akhgari 9c823473c2 Bug 935778 - Part 0.7: Emit the correct type name from FilterNodeLightingSoftware; r=jrmuizel, parts r=dbaron 2014-02-26 10:13:48 -05:00
Wes Kocher 6ff0104d95 Backed out 12 changesets (bug 958596) for several Android permafails to fix a CLOSED TREE
Backed out changeset e4c0e3d3a768 (bug 958596)
Backed out changeset 7bc4f48d6b05 (bug 958596)
Backed out changeset 89cd12e3db45 (bug 958596)
Backed out changeset 283411053340 (bug 958596)
Backed out changeset 5329fa8c8847 (bug 958596)
Backed out changeset 0d1d26d588e3 (bug 958596)
Backed out changeset 715fe9eb5dfd (bug 958596)
Backed out changeset 66dde9d67ffa (bug 958596)
Backed out changeset 79e589f75065 (bug 958596)
Backed out changeset 1ed4c880ab70 (bug 958596)
Backed out changeset 1d40b0b8036d (bug 958596)
Backed out changeset ad35d51d9781 (bug 958596)
2014-02-25 18:34:47 -08:00
Botond Ballo 77771303be Bug 958596 - Allow gfx logging of long long. r=Bas 2014-01-22 18:38:31 -05:00
Botond Ballo 1333bc0a0f Bug 958596 - Allow TreeLog logging to be conditioned on a pref. r=Bas 2014-01-22 15:19:01 -05:00
Botond Ballo ebb2a1fe6f Bug 958596 - Add support a tree logging utility. r=Bas 2014-01-21 20:14:47 -05:00
Botond Ballo 33e9c22890 Bug 958596 - Allow writing a log statement that does not end in a newline. r=Bas 2014-01-21 18:59:17 -05:00
Botond Ballo dbbea6b59d Bug 958596 - Allow gfx logging of any rect, size, and point. r=Bas 2014-01-21 18:38:34 -05:00
Botond Ballo 9cbf8f1c30 Bug 958596 - Add gfx logging support for 'char'. r=Bas 2014-01-21 20:26:00 -05:00
Botond Ballo 7bf5ae6295 Bug 958596 - Add support for gfx logging on android and b2g. r=Bas 2014-01-21 20:11:52 -05:00
Botond Ballo 3cd546cc30 Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas 2014-02-18 21:59:34 -05:00
Ehsan Akhgari 54e12e450a Bug 976392 - Move moz2d to libxul; r=jrmuizel 2014-02-25 15:42:23 -05:00
Ed Morley 4debeeb3cb Backed out changeset 07f3cfaa7900 (bug 958596) for build failures on Windows 2014-02-25 17:17:47 +00:00
Ed Morley 7f5fb11b90 Backed out changeset dfadc8e2c38e (bug 958596) 2014-02-25 17:17:26 +00:00
Ed Morley 2879a524c6 Backed out changeset b190a7268dd4 (bug 958596) 2014-02-25 17:17:23 +00:00
Ed Morley 9cc46c13ce Backed out changeset b228fa36e700 (bug 958596) 2014-02-25 17:17:19 +00:00
Ed Morley 50c5811970 Backed out changeset ff5de50c1333 (bug 958596) 2014-02-25 17:17:16 +00:00
Ed Morley c9d104b0ea Backed out changeset eb4286cfa305 (bug 958596) 2014-02-25 17:17:12 +00:00
Ed Morley 7583c4224e Backed out changeset c88e6d34fe90 (bug 958596) 2014-02-25 17:17:09 +00:00
Ed Morley a7130bf842 Backed out changeset 8e8db64bbaba (bug 958596) 2014-02-25 17:16:55 +00:00
Botond Ballo c3ba42c967 Bug 958596 - Allow gfx logging of long long. r=Bas
--HG--
extra : rebase_source : c65c224a3ce6f09636be594eb68a95cc791841f7
2014-01-22 18:38:31 -05:00
Botond Ballo d2592fde93 Bug 958596 - Allow TreeLog logging to be conditioned on a pref. r=Bas
--HG--
extra : rebase_source : 4390b6b07ec6cf195839f6e8386c769a8b234dd0
2014-01-22 15:19:01 -05:00
Botond Ballo ad7f84f5b3 Bug 958596 - Add support a tree logging utility. r=Bas
--HG--
extra : rebase_source : 1bb9385ea2f9ce653ec0d5acd529edb63a385117
2014-01-21 20:14:47 -05:00
Botond Ballo 2b335299be Bug 958596 - Allow writing a log statement that does not end in a newline. r=Bas
--HG--
extra : rebase_source : a26166451eb22c50b6bb32c2728bd07bdbf6e859
2014-01-21 18:59:17 -05:00
Botond Ballo a72dd0471d Bug 958596 - Allow gfx logging of any rect, size, and point. r=Bas
--HG--
extra : rebase_source : b884b10446f5bc026285e6b16c202c7d9a2c377b
2014-01-21 18:38:34 -05:00
Botond Ballo b3607d2320 Bug 958596 - Add gfx logging support for 'char'. r=Bas
--HG--
extra : rebase_source : 2938fc27a6541fd5dd5ac1cf94f3e69ed3997ecc
2014-01-21 20:26:00 -05:00
Botond Ballo 5742b5c647 Bug 958596 - Add support for gfx logging on android and b2g. r=Bas
--HG--
extra : rebase_source : 8d5a1c0dfc4f5f74e8417531b1f9f39c54e85d49
2014-01-21 20:11:52 -05:00
Botond Ballo 2a2b1be83a Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas
--HG--
extra : rebase_source : 7c99fccae55d8116f12b52ed74e178590c2c7414
2014-02-18 21:59:34 -05:00
Ehsan Akhgari e1b60f2947 Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Ehsan Akhgari e4ed013f53 Bug 935778 - Part 1.1: Re-add the refcount assertions for AddRef(), and make the assertions for Release() use a signed integer 2014-02-22 11:23:03 -05:00
Ehsan Akhgari a8a0206da1 Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj 2014-02-21 14:45:50 -05:00
Ehsan Akhgari 5704b555e2 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Wes Kocher 8d647a6ec0 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox 91032a3dca Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ali Akhtarzada c05ea467e6 Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal 2014-02-19 11:37:26 -05:00
George Wright 5161656935 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
George Wright 309648f662 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright c3a3b1167b Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
Markus Stange 2eebe74598 Bug 973308 - Don't let empty clip rects put infinities into the gradient calculations. r=jrmuizel 2014-02-18 23:18:29 +01:00
Masatoshi Kimura 8ddf7de8a5 Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Jeff Muizelaar 3d43c4a5c0 Bug 821475. Moz2D: Remove flip when drawing gradient. r=mstange
We muck with the matrix before we draw the text. We need to set it back after.

--HG--
rename : mobile/android/base/FilePicker.java => mobile/android/base/ActivityHandlerHelper.java
extra : rebase_source : 4f937b0b2779ee6c771e030a7ae0894f14a7b211
2014-02-15 18:21:43 -05:00
Ehsan Akhgari 5643b79842 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox ee9a1556e5 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Markus Stange e78fe056a6 Bug 966996 - The computed gradient stops need not cover the origin, so don't start at zero. r=jrmuizel
--HG--
extra : rebase_source : cc8afae8083129aee8765855037fc89ea1280b1c
2014-02-13 12:11:16 +01:00
Markus Stange 74facd2be0 Bug 966996 - Clamp the gradient extents to the current clip extents so that we don't compute unseen gradient stops. r=jrmuizel
--HG--
extra : rebase_source : 5ccf62603305ff2d88c98512e795fed87badc2c8
2014-02-13 12:10:43 +01:00
Markus Stange e3e4acb84f Bug 960017 - Make the surfaces big enough. r=Bas
--HG--
extra : rebase_source : fc7cafcc7f39bd1f05478230292816d874a7b035
2014-02-13 12:09:11 +01:00
Markus Stange 20500e6a35 Bug 960017 - Add some debug-only checks. r=Bas
--HG--
extra : rebase_source : 7618902f2cb1d21e402e6fee251c967af518aaf1
2014-02-13 12:07:35 +01:00
Phil Ringnalda f4adf531a3 Back out bcaadd45b905 (bug 972161) for adding (fatal) warnings on Windows
CLOSED TREE
2014-02-12 23:27:40 -08:00
Bas Schouten 47974ec8fe Bug 972161: Add ability to output font data for freetype fonts. r=jrmuizel 2014-02-13 07:31:51 +01:00
Jacek Caban 3bfaf86a69 Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Jacek Caban 8829c682ee Bug 970364 - Fix conversions between enum classes and ints in gfx/2d/. r=bas.schouten 2014-02-11 13:44:17 +01:00
Nathan Froyd 83099bb5d2 Bug 968942 - make SizeTyped constructors MOZ_CONSTEXPR to avoid static constructors; r=kats 2014-02-06 13:06:08 -05:00
Markus Stange 3e710cd338 Bug 958977. r=Bas 2014-02-07 13:24:54 +01:00
Markus Stange d9e5ef0b89 Bug 950511 - Back out part 1 from bug 941095 (DrawTargetCG::SetPermitSubpixelAA) because it's unnecessary and causes bad text rendering in context menus. 2014-02-04 21:03:12 +01:00
Markus Stange 4314adf885 Bug 965914 - Don't crash when we can't allocate a new surface in CloneAligned. r=Bas 2014-02-04 21:03:12 +01:00
David Zbarsky 76ec000c2f Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
David Zbarsky bab894b2de Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:33 -05:00
David Zbarsky 9288df6e4d Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:18 -05:00
David Zbarsky 7e28db3ce2 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
David Zbarsky b339e3cd5c Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
Benoit Jacob e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Jim Mathies 8bfe285b1c Bug 759749 - Bail if fallback CreateBitmap call in SourceSurfaceD2DTarget::GetBitmap fails. r=Bas 2014-01-22 14:12:08 -06:00
Markus Stange 329d52a172 Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas 2014-01-17 11:06:17 +01:00
Markus Stange 6f759e8727 Bug 951268 - Use MaskSurface when drawing A8 filter results. r=Bas 2014-01-17 11:06:11 +01:00
Bas Schouten c7e5c99255 Bug 960245: Deal with the final possibility for degeneracies in FindInflectionApproximationRange. r=jrmuizel 2014-01-16 21:39:19 +01:00
Ryan VanderMeulen 105102a22c Backed out changeset aa8e746be488 (bug 944579) for bustage. 2014-01-16 11:41:40 -05:00
Markus Stange 6bd71e971f Bug 944579. r=Bas 2014-01-16 11:21:13 -05:00