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

1716 Коммитов

Автор SHA1 Сообщение Дата
epoger@google.com 5070d79edd Fix build for old versions of freetype without FT_Library_SetLcdFilter
http://codereview.appspot.com/4625071/



git-svn-id: http://skia.googlecode.com/svn/trunk@1764 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 20:43:14 +00:00
reed@google.com cd88d7c233 Don't use the CreateWithData variant: not needed, and isn't available in chrome
git-svn-id: http://skia.googlecode.com/svn/trunk@1763 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 20:12:38 +00:00
bsalomon@google.com 0a09eef790 Change true and false to 1 and 0 in macros that are used to conditionally compile code.
Review URL: http://codereview.appspot.com/4664056/



git-svn-id: http://skia.googlecode.com/svn/trunk@1762 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 19:42:58 +00:00
bsalomon@google.com cb0c5ab54d Fix valgrind reported issue, uninit mem in AutoReleaseGeometry::reset()
Review URL: http://codereview.appspot.com/4667048/




git-svn-id: http://skia.googlecode.com/svn/trunk@1761 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 17:48:17 +00:00
reed@google.com f83ceb9973 extract a new factory when we get a new device
git-svn-id: http://skia.googlecode.com/svn/trunk@1760 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 17:12:47 +00:00
reed@google.com ba861ca594 add rebaselined version, now that we force font smoothing
git-svn-id: http://skia.googlecode.com/svn/trunk@1756 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 15:26:59 +00:00
reed@google.com 7dba74cec3 update now that we force font smoothing for the tests
git-svn-id: http://skia.googlecode.com/svn/trunk@1755 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 15:17:21 +00:00
reed@google.com 4be8adc617 explicitly enable font smoothing, in case your mac is hooked to a monitor
that apple think's can't do it (but it realy can)



git-svn-id: http://skia.googlecode.com/svn/trunk@1754 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 15:11:41 +00:00
epoger@google.com f65817c3c0 remove last vestiges of intentional break
git-svn-id: http://skia.googlecode.com/svn/trunk@1753 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 14:34:52 +00:00
epoger@google.com 33250842da fix intentional break
git-svn-id: http://skia.googlecode.com/svn/trunk@1751 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 14:26:14 +00:00
epoger@google.com 601d1baa75 another intentional break
git-svn-id: http://skia.googlecode.com/svn/trunk@1750 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 14:14:24 +00:00
epoger@google.com 3721a7a053 fix intentional break
git-svn-id: http://skia.googlecode.com/svn/trunk@1749 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 13:55:12 +00:00
epoger@google.com 2278a7809e intentional error to exercise buildbot emails
git-svn-id: http://skia.googlecode.com/svn/trunk@1748 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 13:41:47 +00:00
reed@google.com 37100ec0a5 oops, these are the "correct" initial pdf baselines
git-svn-id: http://skia.googlecode.com/svn/trunk@1747 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 13:27:56 +00:00
reed@google.com 44b6feb928 add initial pdf gm images. These have not be manually checked for correctness.
git-svn-id: http://skia.googlecode.com/svn/trunk@1746 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 13:00:11 +00:00
reed@google.com 46cce91f48 create bitmaps from pdf output for comparison purposes (mac only at the moment)
git-svn-id: http://skia.googlecode.com/svn/trunk@1745 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-29 12:54:46 +00:00
reed@google.com 9c16bc020f fix bitmapinfo
git-svn-id: http://skia.googlecode.com/svn/trunk@1744 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 21:52:34 +00:00
reed@google.com 292ade6625 add mac utility to turn a pdf into a bitmap
git-svn-id: http://skia.googlecode.com/svn/trunk@1743 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 20:54:03 +00:00
senorblanco@chromium.org 78b8253c0a Parse SampleApp command line for a test name. If an argument is passed to
SampleApp on the command line, interpret it as a test name.  If it's a valid
test, open that test at startup.

Review URL:  http://codereview.appspot.com/4661054/



git-svn-id: http://skia.googlecode.com/svn/trunk@1742 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 19:44:03 +00:00
epoger@google.com 4809fc8629 Add base-linux and base-linux-fixed images for lcdtext test in gm
git-svn-id: http://skia.googlecode.com/svn/trunk@1741 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 19:17:28 +00:00
epoger@google.com 63fdcac915 Add baseline images for new lcdtext within gm
git-svn-id: http://skia.googlecode.com/svn/trunk@1740 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 18:56:47 +00:00
epoger@google.com eaacf47005 make toplevel Makefile pass MAKEFLAGS to out/Makefile
http://codereview.appspot.com/4661052



git-svn-id: http://skia.googlecode.com/svn/trunk@1739 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 16:48:56 +00:00
vandebo@chromium.org d9e75020e3 Fix Mac compile - missing comma.
Review URL: http://codereview.appspot.com/4625073

git-svn-id: http://skia.googlecode.com/svn/trunk@1738 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 16:44:00 +00:00
vandebo@chromium.org 98dfb05a85 Fix core text font metrics - scale to em size and convert float to int
Review URL: http://codereview.appspot.com/4654070

git-svn-id: http://skia.googlecode.com/svn/trunk@1737 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 16:33:21 +00:00
epoger@google.com 213c42bb69 Create new lcdtext page within gm
http://codereview.appspot.com/4654071



git-svn-id: http://skia.googlecode.com/svn/trunk@1736 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 16:20:27 +00:00
tomhudson@google.com c10a88825d Guard against 0 tolerance in curve subdivision.
git-svn-id: http://skia.googlecode.com/svn/trunk@1735 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 15:19:32 +00:00
tomhudson@google.com 9ac4a89d35 Change output format of dump() to make VS2008 happy.
codereview.appspot.com/4629071/



git-svn-id: http://skia.googlecode.com/svn/trunk@1734 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 13:53:13 +00:00
reed@google.com 13649ce32f fix sign/unsigned warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@1733 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 12:02:58 +00:00
reed@google.com 33114e0e59 remove unused and untested SkPath::subdivide()
git-svn-id: http://skia.googlecode.com/svn/trunk@1732 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 11:57:12 +00:00
reed@google.com 3aaf6a0c87 fix exceeds_dist: don't double the loop counter (the caller has done that)
git-svn-id: http://skia.googlecode.com/svn/trunk@1731 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 11:54:37 +00:00
junov@google.com d935cfbd79 Adding support for shadows when drawing bitmaps with skia gpu device
Added code to handle this case in SkGpuDevice::drawBitmap
Added test to cover this use case in SampleTextureDomain.cpp

BUG=http://code.google.com/p/chromium/issues/detail?id=83440
REVIEW=http://codereview.appspot.com/4530068/



git-svn-id: http://skia.googlecode.com/svn/trunk@1730 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 20:48:23 +00:00
reed@google.com 21031e9ee8 fix div-by-zero (triggers debugging assert when scalar=fixed) and add master
(raster only) images for degenerate gradient test



git-svn-id: http://skia.googlecode.com/svn/trunk@1729 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 18:38:27 +00:00
vandebo@chromium.org 3e7b280b72 Fix compiler warning triggered by non-understanding of assert.
Review URL: http://codereview.appspot.com/4666043

git-svn-id: http://skia.googlecode.com/svn/trunk@1728 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 18:12:31 +00:00
reed@google.com ac864a945c add test for degenerate 2point gradients (needs pdf and gpu fixes)
git-svn-id: http://skia.googlecode.com/svn/trunk@1727 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 18:11:17 +00:00
reed@google.com 314e9b3ba0 add ptr/len and SkData versions of Deflate()
git-svn-id: http://skia.googlecode.com/svn/trunk@1726 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 17:41:22 +00:00
reed@google.com effc5016f0 remove obsolete text codepaths
git-svn-id: http://skia.googlecode.com/svn/trunk@1725 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 16:44:46 +00:00
reed@google.com 67908f2fae fix warnings (signed/unsigned, initialization order, parens)
git-svn-id: http://skia.googlecode.com/svn/trunk@1724 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 14:47:50 +00:00
reed@google.com 5667afc5cb remove drawShape from canvas api
git-svn-id: http://skia.googlecode.com/svn/trunk@1723 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 14:42:15 +00:00
vandebo@chromium.org 0f1c95cd67 Add a zlib target that the pdf target can depend on.
- make drawTextOnPath (now used by shadertext) a non fatal NOT_IMPLEMENTED on PDF.

Review URL: http://codereview.appspot.com/4631071

git-svn-id: http://skia.googlecode.com/svn/trunk@1722 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 23:13:47 +00:00
yangsu@google.com ae8a2e5cba Modified the iOS pdf data code to use steam.copytoData()
git-svn-id: http://skia.googlecode.com/svn/trunk@1721 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 21:09:39 +00:00
reed@google.com 6ed8249358 update dox
git-svn-id: http://skia.googlecode.com/svn/trunk@1720 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 21:01:17 +00:00
reed@google.com 7453d0e450 use general SkWStream for parameter
git-svn-id: http://skia.googlecode.com/svn/trunk@1719 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 20:45:40 +00:00
reed@google.com 67d0cff9ac move common code into shared helper function
git-svn-id: http://skia.googlecode.com/svn/trunk@1718 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 20:06:36 +00:00
reed@google.com 1ca4f26039 fix warning about SkPoint initialization
git-svn-id: http://skia.googlecode.com/svn/trunk@1717 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:17:37 +00:00
tomhudson@google.com f5f83e1f7e Fix bad merge which broke compiles.
git-svn-id: http://skia.googlecode.com/svn/trunk@1716 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:15:57 +00:00
epoger@google.com 4eed340935 roll back r1705
git-svn-id: http://skia.googlecode.com/svn/trunk@1715 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:14:42 +00:00
reed@google.com 8a85d0c493 replace detach/getStream apis on dynamicwstream with SkData
http://codereview.appspot.com/4657046/



git-svn-id: http://skia.googlecode.com/svn/trunk@1714 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:12:12 +00:00
epoger@google.com dcab3a15c9 Alternate approach to enabling PDF in gm (gyp changes)
http://codereview.appspot.com/4631067



git-svn-id: http://skia.googlecode.com/svn/trunk@1713 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:09:09 +00:00
yangsu@google.com 900d8772e3 Fixed include statements to correctly link mac/ios libraries
git-svn-id: http://skia.googlecode.com/svn/trunk@1712 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 18:56:00 +00:00
yangsu@google.com 57d73d628d Added mutex in GetDefaultFont and added the default font to the FontCache when it's first created
git-svn-id: http://skia.googlecode.com/svn/trunk@1711 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 18:54:08 +00:00