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

1769 Коммитов

Автор SHA1 Сообщение Дата
David Anderson 4b55758fd2 Remove PreferenceAccess. (bug 1280822 part 3, r=milan) 2016-06-26 23:33:18 -07:00
Wes Kocher 1587b12aa9 Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson 75b68d7a82 Remove PreferenceAccess. (bug 1280822 part 3, r=milan)
--HG--
extra : rebase_source : 0326ce94bd482d07fef664a26b2fa0b75706a0e5
2016-06-24 16:16:34 -07:00
Carsten "Tomcat" Book 284c26c669 Bug 1268854 - Break out of loop if no intersecting points on positive side of clipping plane. r=kip 2016-06-23 12:41:04 +02:00
Jeff Muizelaar 6ea6772e53 Bug 1279972. ssse3-scaler: initialize iter.data to NULL
This should avoid calling free with an uninitialized value.
2016-06-22 20:52:31 -04:00
Lee Salzman 5b4d7640b1 Bug 1280635 - use drawBitmap instead of drawBitmapRect for DrawTargetSkia::CopySurface. r=jrmuizel 2016-06-21 16:14:28 -04:00
Jonathan Watt 53c34f0b69 Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
Phil Ringnalda 1cce1f61f8 Back out 2 changesets (bug 1279628) for reftest bustage
CLOSED TREE

Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Jonathan Watt 8b002c52bd Bug 1279628, part 1 - Add the CoreGraphics check from gfxASurface::CheckSurfaceSize to Factory::CheckSurfaceSize. r=mstange
--HG--
extra : rebase_source : 46aba14e2b2e6997672ac690c73def2391df0c4f
2016-06-09 15:31:24 +01:00
Lee Salzman 02da400412 Bug 1275339 - check if creation of cairo surface fails in DrawTargetCairo::DrawSurface. r=jrmuizel 2016-06-10 20:00:47 -04:00
Ralph Giles 5f548c968f Bug 1275744 - Reference MOZ_LOG in graphics comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: HZzskDYsTo9

--HG--
extra : rebase_source : 21d4c4a94d80ad962ef56fceb8d6fbabc017d2ea
2016-05-26 11:41:29 -07:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Tooru Fujisawa e59f1fba71 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Carsten "Tomcat" Book 8ec9dd1719 Backed out changeset 0863ce40d2f7 (bug 382721)
--HG--
extra : rebase_source : ee6aa275c7ee4291d87a051e92e2e28979b83d96
2016-06-10 15:38:37 +02:00
Tooru Fujisawa 72499083d6 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Botond Ballo 8004b3209f Bug 1277814 - Add printing support to BaseMargin. r=kats
MozReview-Commit-ID: 3E36i09xI3Y

--HG--
extra : source : b720fc66767b6cd6f136998dd51cf58e0d59cca8
2016-06-03 17:23:40 -04:00
Sebastian Hengst 55bfbee464 Backed out changeset 6f2840c13fb0 (bug 382721) 2016-06-08 11:07:51 +02:00
Tooru Fujisawa f90b836316 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Nicolas Silva 16fd1cf5ef Bug 1278512 - Fix bezier flattening when the inflection points are on the extremity of the curve. r=Bas 2016-06-07 16:51:44 +02:00
Mason Chang 39d49c1dc0 Bug 1277404. Set font gamma for windows fonts to 1.8 and force skia to use cleartype fonts on non-opaque surfaces. r=lsalzman 2016-06-06 10:00:33 -07:00
Jonathan Watt 0b33916487 Bug 1277862, part 1 - Rename Moz2D's Filter to SamplingFilter in gfx/2d/. r=Bas 2016-05-25 17:01:18 +01:00
Kaku Kuo 55ef3c417c Bug 1141979 - part5 - Add R8G8B8, B8G8R8, HSV, Lab and Depth into gfx::SurfaceFormat; r=jrmuizel
MozReview-Commit-ID: 7ZG5ooejBq9

--HG--
extra : transplant_source : z%24%9C%C2%EB%0A%C7t%9D%DFu%CE%0DKR%D5%11%B2T%24
2016-03-18 18:25:38 +08:00
Nicholas Nethercote 9ec20a644f Bug 1277122 - Add missing null checks for pixman_image_create_bits(). r=seth,lsalzman.
--HG--
extra : rebase_source : dec917d2efd9a262bd06816dcbb541acd3892340
2016-06-01 14:27:30 +10:00
Nicolas Silva 90af12edd2 Bug 1276068 - Correct the path flatness estimation computation. r=Bas 2016-05-31 12:34:17 +02:00
Kearwood (Kip) Gilbert b25f2d6a84 Bug 1276066 - Add Union with "components" member to math classes to enable array access to members. r=bas
- Adding an array member to access the components of vector, size,
  and matrix classes reduces the code needed when passing all of the
  members to functions.

MozReview-Commit-ID: A6XL7y3zwsV

--HG--
extra : rebase_source : 77fb1b9784ae1213530cff7f42563e0afc8859e3
2016-04-18 12:12:36 -07:00
Jeff Muizelaar a5fc6a819f Bug 1266491 - Use an ssse3 scaler for video. r=mstange
This is a separable scaler that improves from performance
from 15-16fps to 21-22fps
2016-05-28 10:12:12 -04:00
Chris Peterson 11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Wes Kocher 881322b8cb Backed out changeset 7985dab6e65e (bug 1283826) for crashtest failures CLOSED TREE 2016-07-18 11:43:15 -07:00
Kartikaya Gupta f006a9f9b3 Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-18 11:15:00 -04:00
Mason Chang bd43ebe418 Bug 1249600. Fallback to arial fonts or draw nothing if typeface is unavailable. r=bas 2016-05-20 09:16:29 -07:00
Heiher ff01ec7e05 Bug 1262066 - GFX: 2D: Use ConvolveHorizontally1_LS3. r=seth
---
 gfx/2d/convolver.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2016-05-23 10:30:39 +08:00
Heiher d11126b662 Bug 1262066 - GFX: 2D: Implement skia::ConvolveHorizontally1 in LS3 MMI. r=huangwenjun06
---
 gfx/2d/convolverLS3.cpp | 88 +++++++++++++++++++++++++++++++++++++++++++++++++
 gfx/2d/convolverLS3.h   |  7 ++++
 2 files changed, 95 insertions(+)
2016-05-23 10:30:38 +08:00
Jeff Muizelaar 1b2a06e879 Bug 1113828: Returning null is an expected property of this function and gfxPlatform::CreateDrawTargetForData() uses this. Removing this message prevents us from printing a bunch of messages during the normal usage of a debug build. r=bschouten 2016-05-19 10:10:55 -04:00
vincentliu 4332e3a00e Bug 1167557 - Log for Null surface in SurfaceCache::Insert. r=milan
---
 gfx/2d/Logging.h       | 1 +
 image/SurfaceCache.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
2016-05-19 13:01:26 +08:00
Mason Chang 19ddb4f17c Bug 1268502 Part 2. Fix memory leak with CGColorSpace. r=lsalzman 2016-05-18 17:09:14 -07:00
Mason Chang 787d48e2aa Bug 1268502 - Use a CGContext around a Skia Canvas to draw subpixel AA text on popup menus. r=mstange 2016-05-17 11:41:38 -07:00
Lee Salzman eda0f910e1 Bug 1266209 - check if a figure is active in PathBuilderD2D before copying glyphs to it. r=bas 2016-05-17 12:47:22 -04:00
Milan Sreckovic 17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
JerryShih cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
JerryShih f54115ac72 Bug 1256572 - setup custom deallocator for SourceSurfaceRawData. r=bas 2016-05-10 20:44:00 +02:00
JerryShih 4e7ff09f94 Bug 1256572 - create DataSourceSurface with current data. r=bas 2016-05-10 20:42:00 +02:00
Mason Chang 1ed5c6b7b4 Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan 2016-05-10 17:59:15 -07:00
Mason Chang e3da2b3d0d Bug 1270640 - Part 1: Always enable normal hinting with skia unless we explicitly have grayscale aa. r=kats
--HG--
extra : rebase_source : 5a96292b0f7a98e60d052b31eb1d2cc35ea636ea
2016-05-09 12:34:00 -04:00
Lee Salzman 8799f3a155 Bug 1266209 - warn if ID2D1Geometry::Simplify fails in TransformedCopyToBuilder. r=bas.schouten 2016-05-09 10:33:33 -04:00
Milan Sreckovic e0f647f55d Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2

--HG--
extra : rebase_source : 146e8b8dc49dce7735f961df3ddfa3c9130fee32
2016-05-06 10:19:31 -04:00
Lee Salzman 493ea699e5 Bug 1265131, part 3 - update Moz2d for Skia m51. r=jrmuizel 2016-04-28 22:55:27 -04:00
Nicholas Nethercote 2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Bas Schouten bb762a5da8 Bug 1265598: Deal with the possibility of a write map failing. r=kaku r=milan
MozReview-Commit-ID: KLrlKf6Silc
2016-04-28 13:22:32 +00:00
Bas Schouten 8287b9b368 Bug 1266430: Support offsets in DrawTargetD2D1::CopySurface when using PartialUploading. r=jrmuizel
MozReview-Commit-ID: LilGG2ySPw7
2016-04-28 13:22:31 +00:00
Milan Sreckovic edf1ba5056 Bug 1267958: Only complain for negative size, not merely zero. r=jrmuizel
MozReview-Commit-ID: JqtcPB292a7

--HG--
extra : rebase_source : 3da95780339576662ea3560050ba3c67b8e0fac5
2016-04-27 12:51:12 -04:00
Mason Chang 3c536bb168 Bug 1267363. Disable hinting on osx fonts only if we have expclity grayscale AA. r=mstange 2016-04-26 13:14:15 -04:00
Lee Salzman b5107c76f2 Bug 1267271 - skip empty surfaces in DrawTargetSkia::DrawSurfaceWithShadow. r=mchang 2016-04-25 15:42:13 -04:00
Edwin Flores 5d094bc8b7 Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical 2016-04-25 13:10:46 +01:00
Lee Salzman 1a2965bce1 Bug 1266209 - log failure reason when PathBuilderD2D::Finish fails. r=bas.schouten 2016-04-23 20:25:29 -04:00
Botond Ballo 0b5440e37a Bug 1257288 - Move IntersectMaybeRects() to gfx/2d/Rect.h. r=kats
MozReview-Commit-ID: C99GwsLN7Zg

--HG--
extra : rebase_source : e12db0995ec0f1ffc30e0f01b8c85081236b405c
2016-04-20 17:16:09 -04:00
Edwin Flores 74950cfa47 Bug 1256678 - Re-add nightly-only crash if ScaledFontWin::GetFontFileData fails to find a matching TrueType collection font - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores cdd3b63026 Bug 1256678 - Fall back to loading GDI fonts from system in DrawTargetRecording - r=bas 2016-04-22 13:23:25 +01:00
Edwin Flores 4a167320a0 Bug 1256678 - Account for truncated font names in ScaledFontWin::GetFontFileData() - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores aab6e566af Bug 1256678 - Backout diagnostic patch rev 39c895b67af2 - r=me 2016-04-22 13:23:25 +01:00
Chris Peterson d95cf073f8 Bug 1266292 - Remove unnecessary compiler checks for MSVS 2010 in gfx/2d/. r=bas 2016-04-18 22:48:31 -07:00
Milan Sreckovic fca0580f8e Bug 1264736: Crash sooner if we can't get a valid command list, at least in nightly/aurora. r=bas
MozReview-Commit-ID: JyUOZrEZ9hT

--HG--
extra : rebase_source : 6c483d23f2ffc4c03641ad76ae3ad2d1c48686dd
2016-04-20 12:11:00 -04:00
Mason Chang 68c6d918e5 Bug 1260454. Disable LCD font smoothing if we have grayscale AA on OS X. r=lsalzman 2016-04-21 08:45:14 -07:00
Kartikaya Gupta 726b05f89b Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Matt Woodrow bd4c2f5dc7 Bug 1263480 - Don't let cairo go into an error state when DrawSurface is called with an empty destination rectangle. r=lsalzman 2016-04-19 11:20:33 +12:00
Markus Stange aa4de9b2d6 Bug 1236043 - Don't inflate empty rects. r=jrmuizel
MozReview-Commit-ID: 1cpQhkugsFJ

--HG--
extra : rebase_source : 037d3727d1ce03e6389b98b3a19f5b1c8536bba7
2016-03-29 13:40:07 -04:00
Lee Salzman 4bda990954 Bug 1257717 - throw InvalidStateError when CreatePattern fails to snapshot source. r=jrmuizel 2016-04-14 16:20:12 -04:00
Lee Salzman c8c0ffc47d Bug 1264246 - verify that SkCanvas::getClipBounds succeeds before using result. r=mchang 2016-04-13 16:34:07 -04:00
Milan Sreckovic e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Tom Klein 7b2edfae77 Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2016-04-12 11:44:23 -05:00
Lee Salzman 7ecefe6c62 Bug 1240177 - fix SourceSurfaceSkia::DrawTargetWillChange deepCopyTo usage. r=mattwoodrow 2016-04-12 01:28:31 -04:00
Lee Salzman 36abf5b9cb bug 1263685 - Check if paint has a shader before modifying local matrix in DrawTargetSkia::MaskSurface. r=mchang 2016-04-11 22:16:57 -04:00
Markus Stange a30d4e5147 Bug 1260885 - Make SurfaceFormat::R5G6B5_UINT16 properly round-trip through SourceSurfaceCairo. r=lsalzman
MozReview-Commit-ID: KvuUzzGQjuQ

--HG--
extra : rebase_source : 2c704efceb1d41aa348ff7579f6e79b222577eff
2016-04-07 16:40:15 -04:00
Nicolas Silva f0dbe33f5c Bug 1242448 - Ensure the tile pool does not hold textures during shutdown. r=edwin 2016-04-07 14:35:55 +02:00
Mason Chang 7e8b1d4295 Bug 1120485. Log CloseHandle error reason during MessageChannel shutdown failure. r=milan 2016-04-06 09:03:22 -07:00
Edwin Flores 7cb6393ecc Bug 1256678 - Replace DrawTargetCairo::FillGlyphs crashes with other crashes - r=bobowen 2016-04-06 11:07:27 +01:00
Heiher 9ae6539ca5 Bug 1260350 - GFX: 2D: Use ConvolveHorizontally_LS3. r=jrmuizel
---
 gfx/2d/convolver.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-04-05 11:03:32 +08:00
Heiher 57e0bc7abd Bug 1260112 - GFX: 2D: Fix unaligned access in ConvolveVertically/Horizontally_LS3. r=huangwenjun06
---
 gfx/2d/convolverLS3.cpp | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
2016-04-05 11:03:28 +08:00
Lee Salzman 2acc650849 Bug 1255342 - implement DrawTargetCairo::LockBits for Cairo Win32 surfaces. r=sotaro 2016-04-04 10:43:47 -04:00
Bas Schouten c7a2d932b2 Bug 1259785: Do a proper flush when taking a snapshot so our dependent targets and command lists get appropriately cleared. r=jrmuizel
MozReview-Commit-ID: D49eFNRGD2V

--HG--
extra : rebase_source : 79bc34d1822396e87eedb5913ac56ecbf1b65fa3
2016-03-31 21:45:36 +02:00
Bas Schouten 9c327300bf Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB
2016-03-20 19:51:46 +01:00
Kyle Huey 20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Lee Salzman 16d757c28e Bug 1259810 - check that D2D1 device creation succeeds and otherwise fall to software backend. r=bas.schouten 2016-03-28 12:53:42 -04:00
David Anderson 1d196f7f91 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical)
--HG--
extra : rebase_source : 02718e49b49379ced97fbfed3453f4efdd04564b
2016-03-25 01:36:17 -07:00
Lee Salzman 4c1b0ad4f8 Bug 1259621 - use AlphaBoxBlur in DrawTargetSkia::DrawSurfaceWithShadow. r=mchang 2016-03-25 22:14:50 -04:00
Sebastian Hengst a179e34466 Backed out changeset 06a0c49f1206 (bug 1258168) for css-blending reftest failures on Windows 8 x64 opt. r=backout 2016-03-25 21:27:52 +01:00
Bas Schouten 2abefa918b Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB
2016-03-20 19:51:46 +01:00
Ryan VanderMeulen 91ad83db87 Backed out changeset c3c85d59ec72 (bug 1244883) for causing widespread Windows debug e10s crashes/asserts.
--HG--
extra : rebase_source : f47683dc935e327eb1b82609edf3b6642676d12b
2016-03-24 14:54:32 -04:00
Sebastian Hengst fa9288dc66 Backed out changeset 9d33171eb4e9 (bug 1256517) 2016-03-23 18:57:31 +01:00
David Anderson 08db4be559 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical) 2016-03-23 10:32:21 -07:00
Edwin Flores 07e7c983a1 Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical 2016-03-23 15:39:57 +00:00
Lee Salzman ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Markus Stange 04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Sebastian Hengst 96f01a9a2b Backed out changeset f251bbc37cb0 (bug 1258168) for failing Reftest(R) 817019-1.html on Windows 8 x64. r=backout on a CLOSED TREE 2016-03-22 18:57:35 +01:00
Bas Schouten 98ff52deba Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB

--HG--
extra : rebase_source : fc736599b8e44c34e22a78053dfa55ad47963d16
2016-03-20 19:51:46 +01:00
Lee Salzman fc0bd4af21 Bug 1256552 - fix int-to-float conversions in RadialGradientEffectD2D1. r=jrmuizel 2016-03-21 16:17:16 -04:00
Nicolas Silva f06dc39683 Bug 1233743 - Remove the Mutex typedef from gfx/2d. r=vlad 2016-03-21 15:34:50 +01:00
Jacek Caban 5c834c9219 Bug 1251431 - GCC compilation fixup. 2016-03-21 13:16:29 +01:00
Lee Salzman d4eec00ff3 Bug 910138 - clean-up of arc math. r=me 2016-03-19 00:29:13 -04:00
Lee Salzman 7f2b998fc6 Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00