Commit Graph

1194 Commits

Author SHA1 Message Date
Robert Longson
3cdd30d6b4 Bug 1122761 - Avoid dividing by zero when calculating turbulence gradients. r=mstange 2015-01-21 13:01:00 +00:00
Brian Smith
8f8c69ff17 Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas 2015-01-08 15:42:38 -08:00
Heiher
70d3809885 Bug 1122383 - Optimize Moz2D's ConvertBGRXToBGRA. r=jwatt
From 4c67bb1f0d9378831559983ccf53f63ad104974e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DataSurfaceHelpers.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
2015-01-20 11:16:08 +00:00
Jonathan Watt
6349ccbe41 Bug 1122578, part 1 - Make DrawTargetCG::StrokeRect stroke from the same corner and in the same direction as older OS X and other Moz2D backends. r=Bas 2015-01-18 11:30:32 +00:00
Seth Fowler
b19344d071 Bug 1120050 - Expose Skia scaler internals for use by downscale-during-decode. r=tn 2015-01-20 03:06:37 -08:00
David Major
421e09c9a8 Bug 1122367: Null check the result of D2DFactory(). r=Bas 2015-01-20 10:56:59 +13:00
Botond Ballo
cfd8d0ff84 Bug 1120609 - Printing support for gfx::Matrix. r=Bas 2015-01-19 11:29:16 -05:00
Nicolas Silva
bc8f416df2 Bug 1122631 - Fix wrong logic in DrawTargetTiled::CopySurface. r=jrmuizel 2015-01-19 12:36:43 +01:00
Milan Sreckovic
865f1b4bbf Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Benoit Girard
86ffb60904 Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
Tejas Srinivasan
8d2706636d Bug 1120060 - Remove the workaround code for the gcc PGO crash in ConvolveHorizontally() now that support for version 4.5 has been removed. r=tn 2015-01-13 08:14:00 -05:00
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Bas Schouten
a237f06e5c Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
801967d579 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Bas Schouten
06cb403dec Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Bas Schouten
b96d7eb9fd Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel 2015-01-08 00:10:48 +00:00
Bas Schouten
fa2263ad42 Bug 1115819: Deal with failure to create a realized bitmap in SourceSurfaceD2D1::DrawTargetWillChange. r=jrmuizel 2015-01-08 00:10:48 +00:00
Bas Schouten
86b068d1fb Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Ryan VanderMeulen
ae94b4cb2a Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ehsan Akhgari
39145c283d Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
Ehsan Akhgari
38ae0bc54f Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
This is in preparation of removing TemporaryRef.  It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Daniel Holbert
7591b3c349 Bug 1068603: Extend FlattenBezier to handle case where full path can be approximated by a linear segment. r=Bas 2015-01-02 14:46:53 -08:00
Milan Sreckovic
cf09c58850 Bug 1095510 - See if ClearRect has weird data. r=jmuizelaar 2014-12-19 16:06:15 -05:00
Nicholas Nethercote
25ea2bc436 Bug 1113037 - Use stack allocation in DrawTargetCG::FillGlyphs() in the common case. r=mattwoodrow.
When viewing about:memory in verbose mode this reduces the number of heap
allocations by over 10%.

--HG--
extra : rebase_source : 954962295dcd90d66d0e02f782998884de879f17
2014-12-18 21:23:30 -08:00
Nicholas Nethercote
ce369b69d7 Bug 1113037 - Use stack allocation in DrawTargetCairo::FillGlyphs() in the common case. r=mattwoodrow.
--HG--
extra : rebase_source : f6270322664121cec3c82a7448c80963df6b0e5f
2014-12-18 21:23:28 -08:00
Milan Sreckovic
cad0a2e786 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-17 17:54:04 -05:00
James Willcox
4ecc038f01 Bug 1049138 - Use the cairo surface format to determine gfx format when able r=jmuizelaar
--HG--
extra : histedit_source : 9027bee76ab792d29a920bffb6443f40e6a35e13
2014-12-17 15:49:57 -06:00
Carsten "Tomcat" Book
6da789ffc5 Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes 2014-12-17 12:56:04 +01:00
Jonathan Watt
4625c6d27b Bug 854296, part 2 - Document Moz2D's JoinStyle::MITER to note that its behavior is backend dependant. r=Bas 2014-12-16 15:40:59 +00:00
Milan Sreckovic
6e9fe80392 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-16 13:22:26 -05:00
Ehsan Akhgari
1a26c5901a Bug 1111227 - Remove the MSVC2005 special casing in gfx/2d/moz.build; r=glandium
--HG--
extra : rebase_source : 0d86c3cff1f3775c0994a9f2f71762f77641ca18
2014-12-16 12:53:13 -05:00
Milan Sreckovic
2c5424419c Bug 946069 - Assert/critical error if the CG contexts are invalid. Also, deal with the empty path when asking for the current point. r=mstange 2014-12-12 15:35:48 -05:00
Benoit Girard
35b9d690a7 Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas 2014-11-28 18:11:03 -05:00
Ehsan Akhgari
fee3111e52 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
John Daggett
1bf6d78331 Bug 1109403 - trim out unused Azure FontOptions struct. r=m_kato 2014-12-10 13:09:30 +09:00
Wes Kocher
81d1ebe224 Backed out 3 changesets (bug 1105834) for non-unified b2g bustage
Backed out changeset 7aca65122115 (bug 1105834)
Backed out changeset 47ba9f1d4762 (bug 1105834)
Backed out changeset f0226c3be051 (bug 1105834)
2014-12-09 17:15:42 -08:00
Benoit Girard
3cd71202c6 Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas
--HG--
extra : rebase_source : 361ea428e03d80c31d9041809afcdab7ae3a32e6
2014-11-28 18:11:03 -05:00
Julian Seward
1e3c776fb2 Bug 1078211 - Uninitialised value use in DoUnpremultiplicationCalculation_SIMD. r=mstange.
--HG--
extra : rebase_source : f6c2050339ff24c2e067f0533fe0e7a1589288e5
2014-12-09 13:12:34 +01:00
Wes Kocher
0a7e7f9972 Backed out 3 changesets (bug 1105834) for non-unified bustage
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
ce58a3ff1a Bug 1105834 - Part 1: Add CreateDataSourceSurfaceByCloning to moz2d. r=mstange,bas 2014-11-28 18:11:03 -05:00
Jonathan Watt
ed562eaf30 Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow 2014-12-05 03:00:24 -08:00
Jeff Muizelaar
ffb53de604 Bug 1105015. Make the UnboundnessFixer more readable. r=milan
--HG--
extra : rebase_source : f584762adbf2afbbdccc563f2a198ac069ef0106
2014-11-25 17:20:33 -05:00
Nicolas Silva
9e3136a18d Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel 2014-11-26 21:05:01 +01:00
Bas Schouten
634ae2545c Bug 1101248: Properly check return values of creation functions in DrawTargetD2D1::Init. r=BenWa 2014-11-24 19:44:48 +00:00
Robert Longson
153b68655c Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt 2014-11-24 14:28:58 +00:00
Jacek Caban
36e032852e Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Neil Rashbrook
4cf9fa3794 Bug 1101130 Followup to add a missing #ifdef r=Bas 2014-11-23 23:53:00 +00:00
Bas Schouten
6bfddfd2df Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Vladimir Vukicevic
aebbac4ddb Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel 2014-07-09 12:24:49 -07:00
Nicolas Silva
789a31aff7 Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas 2014-11-20 15:48:07 +01:00