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
tomhudson@google.com
317d540409
New benchmark for SkMatrix::computeType().
...
Utility function in SkMatrix to make benchmarking more accurate.
git-svn-id: http://skia.googlecode.com/svn/trunk@1710 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 18:30:49 +00:00
reed@google.com
b80255700e
fix null fFontRef in GetDefaultFont()
...
http://codereview.appspot.com/4662041/
git-svn-id: http://skia.googlecode.com/svn/trunk@1709 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 18:24:59 +00:00
reed@google.com
6f2b44d2ff
add (disabled) tests for common angles
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1708 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 18:13:39 +00:00
yangsu@google.com
6d2a6a400b
Updated the references to iOS util files in the iOSSampleApp project file
...
renamed gpu/src/skia to gpu/ios
git-svn-id: http://skia.googlecode.com/svn/trunk@1707 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 17:26:53 +00:00
yangsu@google.com
1a2b4c1586
Added utility functions and iOS ports of SkWindow, SkOSFile, SkFontHost, and SkImageDecoder
...
the iOSSampleApp in experimental currently includes all the following files but only uses SkOSWindow_iOS and SkOSFile_iOS
http://codereview.appspot.com/4657047/
git-svn-id: http://skia.googlecode.com/svn/trunk@1706 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 17:20:50 +00:00
vandebo@chromium.org
1c18ca3ca2
Add additional source types to xfer mode test.
...
Review URL: http://codereview.appspot.com/4589051
git-svn-id: http://skia.googlecode.com/svn/trunk@1705 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 17:05:17 +00:00
yangsu@google.com
501775e5ac
Added helper methods for changing samples, getting sample titles, and extracting pdf Data
...
http://codereview.appspot.com/4626073/
git-svn-id: http://skia.googlecode.com/svn/trunk@1704 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 16:04:50 +00:00
yangsu@google.com
2eff7e26c0
Sample App ported to an universal iOS app with airprint enabled
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1703 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 15:57:30 +00:00
tomhudson@google.com
d22b6e4351
Remove global curve subdivision tolerance from GrPathUtils.
...
Put in framework for changing curve subdivision tolerance when rendering
offscreen AA tiles; however, comment out actual tolerance changes because
of possible quality issues with simple circles (q.v. Arcs slide of SampleApp).
git-svn-id: http://skia.googlecode.com/svn/trunk@1702 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 15:53:40 +00:00
tomhudson@google.com
fc1539a040
Experimental framework for fast quadratic subdivision density computation code.
...
Lets us test multiple implementations of the code that determines how many
points to divide a quadratic into and guarantee that estimates are within
a factor of two of the conservative computation.
git-svn-id: http://skia.googlecode.com/svn/trunk@1701 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 15:43:24 +00:00
yangsu@google.com
338ee24420
Changed variables to not conflict with variables/properties in Cocao Touch
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1700 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 15:00:28 +00:00
bungeman@google.com
fe5afe5d27
Make images properly depend on utils.
...
http://codereview.appspot.com/4629068/
git-svn-id: http://skia.googlecode.com/svn/trunk@1699 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 13:58:17 +00:00
reed@google.com
3a31ac1cf5
add (replacing SkDataRef)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1698 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 13:11:05 +00:00
reed@google.com
8d0b5770f8
rename public SkDataRef to SkData
...
rename animator's internal SkData to SkDataInput
git-svn-id: http://skia.googlecode.com/svn/trunk@1697 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 13:07:31 +00:00
yangsu@google.com
c134f39401
Added platform specific includes
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1696 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 22:27:30 +00:00
reed@google.com
70442a6cf7
add copyToData() to dyanamicwstream
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1695 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 21:48:04 +00:00
bungeman@google.com
9df621da50
Wrap SkStreams in IStreams instead of copying data around.
...
http://codereview.appspot.com/4630062/
git-svn-id: http://skia.googlecode.com/svn/trunk@1694 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 21:43:52 +00:00
epoger@google.com
8fd48b8bd8
whitespace commit
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1693 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 21:30:35 +00:00
epoger@google.com
f4c94290ab
Added gm/base-MacPro-fixed
...
http://codereview.appspot.com/4631065
git-svn-id: http://skia.googlecode.com/svn/trunk@1691 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 20:52:37 +00:00
reed@google.com
c8e0f9311c
fix mono bittest
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1690 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 19:39:49 +00:00
epoger@google.com
6b9580c2ef
Allow override of skia_scalar gyp variable using GYP_DEFINES
...
http://codereview.appspot.com/4631061/
git-svn-id: http://skia.googlecode.com/svn/trunk@1689 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 19:34:50 +00:00
epoger@google.com
02362945f7
Add "tools" to "make all"
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1688 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 19:24:28 +00:00
reed@google.com
8871a84935
detect when our quadratic is really linear for 2-point radial, and don't
...
divide by zero, but rather just return -c/b
git-svn-id: http://skia.googlecode.com/svn/trunk@1684 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 15:07:04 +00:00
reed@google.com
73824072a9
promote embedded bitmaps for lcd16
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1679 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 13:17:30 +00:00
bungeman@google.com
3c1412f717
Update BenchGpuTimer.cpp to new interface.
...
http://codereview.appspot.com/4645055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1678 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-23 13:14:57 +00:00
bungeman@google.com
242bb89c0d
Add image encoder/decoder for Windows.
...
http://codereview.appspot.com/4634078/
git-svn-id: http://skia.googlecode.com/svn/trunk@1676 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 20:42:34 +00:00
epoger@google.com
5d2e4cc165
add toplevel Makefile that works for Mac and Unix
...
http://codereview.appspot.com/4633063
git-svn-id: http://skia.googlecode.com/svn/trunk@1675 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 19:17:28 +00:00
tomhudson@google.com
6e8d335b45
New benchmark to create many random quadratic paths.
...
Added to try to get a handle on the cost of CPU-side changes to GPU rendering, but probably too noisy to be useful.
git-svn-id: http://skia.googlecode.com/svn/trunk@1674 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 17:16:35 +00:00
Scroggo
d3aed39ab1
Unify handleTouch and handleClick in SampleApp.
...
Allow each sample to handle clicks in Android SampleApp.
Remove SampleWindow::handleTouch.
Allow an SkWindow to have multiple clicks.
Add an owner pointer to SkView::Click.
Reviewed at http://codereview.appspot.com/4643052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1673 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 13:26:56 +00:00
caryclark@google.com
1eeaf0ba23
Add support for 8 bits/component glyphs, to
...
better match the fonts produced by CoreText on OS/X.
M include/config/SkUserConfig.h
M include/core/SkMask.h
M include/core/SkScalerContext.h
M src/core/SkBlitter_ARGB32.cpp
M src/core/SkScalerContext.cpp
M src/core/SkPaint.cpp
M src/gpu/SkGrFontScaler.cpp
M src/ports/SkFontHost_mac_coretext.cpp
M src/ports/SkFontHost_mac.cpp
M gpu/include/GrTypes.h
M gpu/src/GrAtlas.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1672 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 13:19:43 +00:00
vandebo@chromium.org
3c898186c9
Fix more coverity defects - Uninitialized class fields.
...
In SkCanvas, SkBitmapCache::Entry, SkDrawLooper
CID=13440,1366,16236,14393
Review URL: http://codereview.appspot.com/4628055
git-svn-id: http://skia.googlecode.com/svn/trunk@1671 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 05:01:28 +00:00
bsalomon@google.com
d19aa27e03
Fix copy/paste error in GrDrawTarget::AutoStateRestore::set
...
Review URL: http://codereview.appspot.com/4639063/
git-svn-id: http://skia.googlecode.com/svn/trunk@1670 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-22 01:28:17 +00:00
vandebo@chromium.org
e1bc274295
Fix a batch of coverity defects, uninitialized class fields.
...
In SkClipStack::B2FIter::Clip, SkWriter32, SkClipStack::Rec, SkDeque::F2BIter, SkPDFShader::State
CID 15427,15433,15533,15532,16274,16740
Review URL: http://codereview.appspot.com/4630055
git-svn-id: http://skia.googlecode.com/svn/trunk@1669 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-21 22:26:39 +00:00
vandebo@chromium.org
7332207465
Fix some problems detected by coverity.
...
- Uninitialized class member in GSCanonicalEntry and SkPDFDocument.
- Incorrect sign extension in SkPDFFont.
- Dead code in SkPDFUtils.
CID=16262,16272,16273,16275
Review URL: http://codereview.appspot.com/4659041
git-svn-id: http://skia.googlecode.com/svn/trunk@1668 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-21 21:19:41 +00:00
bsalomon@google.com
7359eae7c6
fix to free a plot when purging gr font cache
...
Review URL: http://codereview.appspot.com/4645054/
git-svn-id: http://skia.googlecode.com/svn/trunk@1667 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-21 21:18:25 +00:00
vandebo@chromium.org
e03c652478
Handle possibly NULL deref in comparison
...
Committed on behalf of groby@chromium.org
OCL=http://codereview.appspot.com/4633058/
CID=16790,16789
Review URL: http://codereview.appspot.com/4654049
git-svn-id: http://skia.googlecode.com/svn/trunk@1666 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-21 20:45:51 +00:00