junov@chromium.org [Wed, 17 Oct 2012 19:36:09 +0000 (19:36 +0000)]
Fixing refcount leak in SkBitmapHeap caused by collisions in SkFlatDictionary
BUG=http://code.google.com/p/chromium/issues/detail?id=155875
TEST=DeferredCanvas unit test, subtest TestDeferredCanvasBitmapShaderNoLeak
Review URL: https://codereview.appspot.com/
6713048
git-svn-id: http://skia.googlecode.com/svn/trunk@5982
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 17 Oct 2012 15:49:36 +0000 (15:49 +0000)]
wrap check for gLCDSupported w/ a guard, so we don't have to grab the mutex
on every call to FilterRec.
Review URL: https://codereview.appspot.com/
6713052
git-svn-id: http://skia.googlecode.com/svn/trunk@5978
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 17 Oct 2012 15:23:21 +0000 (15:23 +0000)]
Add new bench to exercise SkPath::arcTo (arbroundrect)
https://codereview.appspot.com/
6718053/
git-svn-id: http://skia.googlecode.com/svn/trunk@5977
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 17 Oct 2012 15:00:32 +0000 (15:00 +0000)]
Make table color filter use asNewCustomStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6713051
git-svn-id: http://skia.googlecode.com/svn/trunk@5976
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 17 Oct 2012 13:36:14 +0000 (13:36 +0000)]
Use GrCustomStage to implement color matrix.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6716044
git-svn-id: http://skia.googlecode.com/svn/trunk@5975
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 17 Oct 2012 13:35:24 +0000 (13:35 +0000)]
Make Ganesh's resource cache limits more representative
https://codereview.appspot.com/
6709048/
git-svn-id: http://skia.googlecode.com/svn/trunk@5974
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 17 Oct 2012 12:53:54 +0000 (12:53 +0000)]
Separate out the texture matrix from the coord-system change matrix in GrSamplerState. This is a step towards moving texture matrix to GrCustomStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6721047
git-svn-id: http://skia.googlecode.com/svn/trunk@5973
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 17 Oct 2012 02:01:13 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5972
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 16 Oct 2012 20:23:25 +0000 (20:23 +0000)]
fast case for translate-only repeat bitmapshader, so Tom can be happy
Review URL: https://codereview.appspot.com/
6721045
git-svn-id: http://skia.googlecode.com/svn/trunk@5971
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 16 Oct 2012 19:47:54 +0000 (19:47 +0000)]
add opaque/alpha variants
git-svn-id: http://skia.googlecode.com/svn/trunk@5970
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 16 Oct 2012 17:50:48 +0000 (17:50 +0000)]
Add transparent source bitmap to colormatrix GM.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6727043
git-svn-id: http://skia.googlecode.com/svn/trunk@5969
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Tue, 16 Oct 2012 17:30:07 +0000 (17:30 +0000)]
Delete three class declarations that we don't provide implementations anymore.
This can be removed now that https://codereview.appspot.com/
6650055/ was landed
in r5942.
R=epoger@google.com,reed@google.com
Review URL: https://codereview.appspot.com/
6677044
git-svn-id: http://skia.googlecode.com/svn/trunk@5967
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 16 Oct 2012 17:25:36 +0000 (17:25 +0000)]
Do not git ignore files like /debugger/QT/moc_*.
Prior to r5953, gyp_skia would generate files for QT in
debugger/QT. A line in .gitignore was added so these
files did not show up in git status. Now that the
generated files are in the out directory, the line is no
longer necessary.
Review URL: https://codereview.appspot.com/
6702043
git-svn-id: http://skia.googlecode.com/svn/trunk@5966
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 16 Oct 2012 15:57:13 +0000 (15:57 +0000)]
add DEF_BENCH marco to make it easy to register new benches
extend bitmaprect bench to include drawing with non-opaque alpha
git-svn-id: http://skia.googlecode.com/svn/trunk@5965
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 16 Oct 2012 15:19:45 +0000 (15:19 +0000)]
Reland r5963 with two fixes:
Missing ref in GrSweepGradient::TestCreate.
Must reset() the sampler in setup_drawstate_aaclip() to avoid hitting a (dubious) assert.
git-svn-id: http://skia.googlecode.com/svn/trunk@5964
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 16 Oct 2012 14:31:26 +0000 (14:31 +0000)]
Revert r5962 because of failures.
git-svn-id: http://skia.googlecode.com/svn/trunk@5963
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 16 Oct 2012 14:16:11 +0000 (14:16 +0000)]
Require matrix for custom stage to be set when custom stage is installed.
Review URL: https://codereview.appspot.com/
6696044
git-svn-id: http://skia.googlecode.com/svn/trunk@5962
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 16 Oct 2012 12:32:33 +0000 (12:32 +0000)]
more pixman work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@5961
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 16 Oct 2012 12:31:48 +0000 (12:31 +0000)]
pixman experiment work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@5960
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 16 Oct 2012 12:06:27 +0000 (12:06 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@5959
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 15 Oct 2012 18:27:25 +0000 (18:27 +0000)]
Remove an obsolete comment.
This comment is no longer true as of r5869.
Review URL: https://codereview.appspot.com/
6701043
git-svn-id: http://skia.googlecode.com/svn/trunk@5957
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 15 Oct 2012 16:03:41 +0000 (16:03 +0000)]
Avoid deadlock in SkGetFallbackFamilyNameForChar().
The deaklock happened when SkFontHost::CreateTypefaceFromStream() is called
indirectly from SkGetFallbackFamilyNameForChar().
This commits a change that was submitted for review by...
wangxianzhu1 @ https://codereview.appspot.com/
6654051/
Review URL: https://codereview.appspot.com/
6690044
git-svn-id: http://skia.googlecode.com/svn/trunk@5956
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 15 Oct 2012 14:31:29 +0000 (14:31 +0000)]
Generate debugger mocs into out instead of src.
https://codereview.appspot.com/
6674044/
git-svn-id: http://skia.googlecode.com/svn/trunk@5953
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 15 Oct 2012 14:25:50 +0000 (14:25 +0000)]
Use AutoMatrix in GrTextContext
Review URL: https://codereview.appspot.com/
6691043
git-svn-id: http://skia.googlecode.com/svn/trunk@5952
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 15 Oct 2012 14:25:31 +0000 (14:25 +0000)]
Spell correct some comments.
Unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@5951
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 15 Oct 2012 13:45:40 +0000 (13:45 +0000)]
#define SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX to keep old, slow, non-opaque behavior
in SkBitmap::extractSubset.
This will allow chrome to keep this behavior until we can fix the callers in
PNG and WEBP image decoders, that are incorrectly marking partially-loaded images
as opaque (which they aren't, since they have undecoded pixels, which need to be
transparent).
git-svn-id: http://skia.googlecode.com/svn/trunk@5949
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Sat, 13 Oct 2012 17:13:18 +0000 (17:13 +0000)]
Add SK_API to base classes of classes with SK_API.
https://codereview.appspot.com/
6683044/
This change should unblock rolling Skia DEPS past r5914.
TBR=reed
git-svn-id: http://skia.googlecode.com/svn/trunk@5946
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Sat, 13 Oct 2012 03:21:53 +0000 (03:21 +0000)]
Change FreeType lcd filter to provide better results.
https://codereview.appspot.com/
6652046/
Will require rebaselines on systems using lcd smoothed FreeType.
git-svn-id: http://skia.googlecode.com/svn/trunk@5944
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 13 Oct 2012 02:01:56 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5943
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Fri, 12 Oct 2012 23:29:40 +0000 (23:29 +0000)]
Delete SkWidget.cpp, which has been #ifdef'ed out for 4+ years.
R=epoger@google.com
Review URL: https://codereview.appspot.com/
6650055
git-svn-id: http://skia.googlecode.com/svn/trunk@5942
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 20:50:24 +0000 (20:50 +0000)]
retool fFilterOne[X,Y] to store the translate dx, dy, so we can avoid float
conversions on every scanline.
git-svn-id: http://skia.googlecode.com/svn/trunk@5939
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 12 Oct 2012 19:44:35 +0000 (19:44 +0000)]
Remove support for building skia android apps outside of an APK.
Review URL: https://codereview.appspot.com/
6663043
git-svn-id: http://skia.googlecode.com/svn/trunk@5936
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 12 Oct 2012 19:26:15 +0000 (19:26 +0000)]
Add new GM, shadertext3. It would have revealed a bug in the GPU draw-large-text-as-path code path that was recently fixed.
R=reed@google.com
Review URL: https://codereview.appspot.com/
6638057
git-svn-id: http://skia.googlecode.com/svn/trunk@5932
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 12 Oct 2012 19:14:06 +0000 (19:14 +0000)]
When two or more color matrix image filters are connected together, and the non-leaf matrices do not require clamping, we can concatenate their matrices and apply them together.
Review URL: https://codereview.appspot.com/
6489054
git-svn-id: http://skia.googlecode.com/svn/trunk@5931
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 18:56:18 +0000 (18:56 +0000)]
Add SkShader::asShadeProc to fast-path the caller when the shader is fast
Review URL: https://codereview.appspot.com/
6649055
git-svn-id: http://skia.googlecode.com/svn/trunk@5930
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 12 Oct 2012 18:48:35 +0000 (18:48 +0000)]
Fonts with cubic outlines are rendered without ClearType by GDI.
https://codereview.appspot.com/
6643060/
git-svn-id: http://skia.googlecode.com/svn/trunk@5929
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 18:21:37 +0000 (18:21 +0000)]
reland 5926 w/ fix in middle loop (thank you asserts)
git-svn-id: http://skia.googlecode.com/svn/trunk@5928
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 17:38:40 +0000 (17:38 +0000)]
revert 5926 (debug assert)
git-svn-id: http://skia.googlecode.com/svn/trunk@5927
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 17:30:25 +0000 (17:30 +0000)]
add shaderproc32 for translate+clamp+nofilter.
todo: should be pretty easy to have a variant for repeat tilemode as well
Review URL: https://codereview.appspot.com/
6658053
git-svn-id: http://skia.googlecode.com/svn/trunk@5926
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 12 Oct 2012 15:01:38 +0000 (15:01 +0000)]
Commit SkGpuDevice.h which was omitted from r5918 for some reason.
git-svn-id: http://skia.googlecode.com/svn/trunk@5919
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 12 Oct 2012 14:51:52 +0000 (14:51 +0000)]
Beef up GrContext::AutoMatrix to handle doing GrPaint matrix adjustments.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6656047
git-svn-id: http://skia.googlecode.com/svn/trunk@5918
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 14:43:28 +0000 (14:43 +0000)]
add experimental test for different 8888->565 blends (disabled)
git-svn-id: http://skia.googlecode.com/svn/trunk@5916
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 14:42:38 +0000 (14:42 +0000)]
add bench for drawBitmapRectToRect
git-svn-id: http://skia.googlecode.com/svn/trunk@5915
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Fri, 12 Oct 2012 14:41:39 +0000 (14:41 +0000)]
Export effects classes with SK_API.
So this works in shared_library build in chromium.
This issue was raised up in the following chromium-dev thread:
https://groups.google.com/a/chromium.org/forum/?hl=en&fromgroups=#!topic/chromium-dev/Z6qzEw8MwVY
R=epoger@google.com,tomhudson@google.com
Review URL: https://codereview.appspot.com/
6601065
git-svn-id: http://skia.googlecode.com/svn/trunk@5914
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 12 Oct 2012 14:35:48 +0000 (14:35 +0000)]
Fix matrix type in setRectToRect
Review URL: https://codereview.appspot.com/
6655055
git-svn-id: http://skia.googlecode.com/svn/trunk@5913
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 12 Oct 2012 14:07:09 +0000 (14:07 +0000)]
Whitespace change to trigger rebuild after build master migration
git-svn-id: http://skia.googlecode.com/svn/trunk@5912
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 12 Oct 2012 13:42:36 +0000 (13:42 +0000)]
Revert r3219. r3219 was a revert of r3036. r3036 made extractSubset copy the opaque bit but was reverted because of a partally-loaded jpeg issue in WK which has since been fixed:
https://bugs.webkit.org/show_bug.cgi?id=78239
Related chrome bug: http://code.google.com/p/chromium/issues/detail?id=114107
git-svn-id: http://skia.googlecode.com/svn/trunk@5911
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 12 Oct 2012 11:33:56 +0000 (11:33 +0000)]
Turn on GPU AA clipping
https://codereview.appspot.com/
6638048/
git-svn-id: http://skia.googlecode.com/svn/trunk@5909
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 12 Oct 2012 02:01:15 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5908
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@chromium.org [Thu, 11 Oct 2012 20:19:15 +0000 (20:19 +0000)]
Fixing SkDeferredCanvas to not consider paint as opaque when xfermode source coeff depends
on destination pixel value
TEST=DeferredCanvas unit test
BUG=http://code.google.com/p/chromium/issues/detail?id=154748
git-svn-id: http://skia.googlecode.com/svn/trunk@5907
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 11 Oct 2012 19:39:09 +0000 (19:39 +0000)]
Minimize use of SkDraw's matrix in SkGpuDevice.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6604068
git-svn-id: http://skia.googlecode.com/svn/trunk@5906
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 11 Oct 2012 19:32:32 +0000 (19:32 +0000)]
SkTCopyOnFirstWrite
R=reed@google.com
Review URL: https://codereview.appspot.com/
6650047
git-svn-id: http://skia.googlecode.com/svn/trunk@5905
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 11 Oct 2012 19:23:46 +0000 (19:23 +0000)]
Fix ANGLE build
Removed this in r5889.
Review URL: https://codereview.appspot.com/
6651051
git-svn-id: http://skia.googlecode.com/svn/trunk@5904
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Oct 2012 19:12:03 +0000 (19:12 +0000)]
Turn off some debugging statements.
Review URL: https://codereview.appspot.com/
6646044
git-svn-id: http://skia.googlecode.com/svn/trunk@5903
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 11 Oct 2012 19:10:33 +0000 (19:10 +0000)]
Fix a warning.
Review URL: https://codereview.appspot.com/
6650048
git-svn-id: http://skia.googlecode.com/svn/trunk@5902
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 11 Oct 2012 19:03:12 +0000 (19:03 +0000)]
CreateTypefaceFromFile for GDI.
https://codereview.appspot.com/
6658045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5901
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 11 Oct 2012 15:01:23 +0000 (15:01 +0000)]
Whitespace change to triger rebuild after master restart
Hopefully the madness is over.
git-svn-id: http://skia.googlecode.com/svn/trunk@5897
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 11 Oct 2012 14:33:10 +0000 (14:33 +0000)]
Fix Qt OpenGL lib name on Windows and change the default qt_sdk var value on windows.
Over-the-shoulder review from robertphillips@google.com
git-svn-id: http://skia.googlecode.com/svn/trunk@5894
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Thu, 11 Oct 2012 12:54:23 +0000 (12:54 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@5893
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 11 Oct 2012 02:01:14 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5892
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 10 Oct 2012 20:36:13 +0000 (20:36 +0000)]
This patch implements generalized DAG connectivity for SkImageFilter. SkImageFilter maintains a list of inputs, which can be constructed either from a SkImageFilter** or zero or more SkImageFilter* arguments (varargs).
Existing filters which maintained their own filter connectivity were refactored to use the new constructors and flattening/unflattening code. Modifying the remaining filters which are not yet DAG-friendly is left for future work; they are considered to have zero inputs for now.
Review URL: https://codereview.appspot.com/
6443119
git-svn-id: http://skia.googlecode.com/svn/trunk@5891
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 10 Oct 2012 19:45:51 +0000 (19:45 +0000)]
Build Skia as a static library
- Roll GYP so that we get non-thin archives on Linux
- Add merge_static_libs.py
- Add skia_core_lib target which builds core, ports, opts*, and utils
- Replace dependencies on core/ports/opts/utils with skia_core_libs
- Rename exportable libraries with "skia_"
Review URL: https://codereview.appspot.com/
6619049
git-svn-id: http://skia.googlecode.com/svn/trunk@5889
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Wed, 10 Oct 2012 18:29:31 +0000 (18:29 +0000)]
Disable transitions for the Android SampleApp.
Review URL: https://codereview.appspot.com/
6642063
git-svn-id: http://skia.googlecode.com/svn/trunk@5887
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 10 Oct 2012 16:42:26 +0000 (16:42 +0000)]
Fix build break. a cpp file was not included in the checkin list. will send to code review and check it in too
git-svn-id: http://skia.googlecode.com/svn/trunk@5885
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 10 Oct 2012 16:12:14 +0000 (16:12 +0000)]
Draw hairline text as path.
R=reed@google.com
Review URL: https://codereview.appspot.com/
6632060
git-svn-id: http://skia.googlecode.com/svn/trunk@5884
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 10 Oct 2012 15:25:50 +0000 (15:25 +0000)]
Reland r5861 but leave setMatrixClip virtual on SkDevice (IOW this is a partial revert of r5871 which reverted r5861).
Unreviewed
Review URL: https://codereview.appspot.com/
6631062
git-svn-id: http://skia.googlecode.com/svn/trunk@5881
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 10 Oct 2012 15:20:34 +0000 (15:20 +0000)]
Add an SKP to PDF rendered. test_pdfs.py will be hooked up in buildbot testing later.
Review URL: https://codereview.appspot.com/
6610056
git-svn-id: http://skia.googlecode.com/svn/trunk@5880
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 10 Oct 2012 15:17:24 +0000 (15:17 +0000)]
add ability to skip 565 test in gm (until I can fix an assert in debug build)
git-svn-id: http://skia.googlecode.com/svn/trunk@5879
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Wed, 10 Oct 2012 15:08:12 +0000 (15:08 +0000)]
Refactor test_pictures so we can add test_pdfs without code duplication.
Review URL: https://codereview.appspot.com/
6611050
git-svn-id: http://skia.googlecode.com/svn/trunk@5878
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 10 Oct 2012 13:35:23 +0000 (13:35 +0000)]
Add a new GM: shadertext2.
It tests a bitmap shader with various combinations of matrices and shader matrices. The text is drawn filled and stroked.
Review URL: https://codereview.appspot.com/
6639052
git-svn-id: http://skia.googlecode.com/svn/trunk@5877
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 10 Oct 2012 02:01:30 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5872
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 9 Oct 2012 22:30:18 +0000 (22:30 +0000)]
Reverting r5861 (remove gainfocus and setMatixClip) due to Chrome compilation issues
git-svn-id: http://skia.googlecode.com/svn/trunk@5871
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 9 Oct 2012 20:02:20 +0000 (20:02 +0000)]
Make SkPictures valid regardless of SK_SUPPORT_HINTING_SCALE_FACTOR.
When the build flag is not set, read/write dummy values
so that the creator of an SKP file need not have the same
support/lack of support of the feature as the reader.
Will separately update the checked in skps to the new version when checking in.
BUG=http://code.google.com/p/skia/issues/detail?id=922
Review URL: https://codereview.appspot.com/
6642057
git-svn-id: http://skia.googlecode.com/svn/trunk@5869
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 9 Oct 2012 19:45:59 +0000 (19:45 +0000)]
correctly handle negative values in fixed_clamp()
Review URL: https://codereview.appspot.com/
6633049
git-svn-id: http://skia.googlecode.com/svn/trunk@5867
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 9 Oct 2012 19:26:59 +0000 (19:26 +0000)]
Disable automatic font fallback of SkFontHost_android when building for WebKit
The internal font fallback mechanism prevents WebKit from getting
the properties of the actually used font. Disable the internal fallback
mechanism when building for WebKit and add SkGetFallbackFamilyNameForChar()
to let the upper level know the fallback font for individial characters.
This commits a change that was submitted for review by...
wangxianzhu1 @ https://codereview.appspot.com/
6572059/
BUG=913 (http://code.google.com/p/skia/issues/detail?id=913)
Review URL: https://codereview.appspot.com/
6640048
git-svn-id: http://skia.googlecode.com/svn/trunk@5866
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 9 Oct 2012 17:40:32 +0000 (17:40 +0000)]
Fixed xoom bug introduced in r5830
https://codereview.appspot.com/
6604053/
git-svn-id: http://skia.googlecode.com/svn/trunk@5862
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 9 Oct 2012 14:20:37 +0000 (14:20 +0000)]
Remove gainFocus() and setMatrixClip() virtuals from SkDevice.
R=reed@google.com,robertphillips@google.com
Review URL: https://codereview.appspot.com/
6636050
git-svn-id: http://skia.googlecode.com/svn/trunk@5861
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 9 Oct 2012 14:11:58 +0000 (14:11 +0000)]
checkpoint for shape ops
at minimum, the unit tests in SimplyNew_Test pass
git-svn-id: http://skia.googlecode.com/svn/trunk@5860
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 9 Oct 2012 12:32:37 +0000 (12:32 +0000)]
fix filter for ios
Review URL: https://codereview.appspot.com/
6635047
git-svn-id: http://skia.googlecode.com/svn/trunk@5859
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 9 Oct 2012 02:01:37 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5858
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 8 Oct 2012 20:44:25 +0000 (20:44 +0000)]
Remove external matrix feature.
We haven't been testing this for nearly two years.
R=reed@google.com
Review URL: https://codereview.appspot.com/
6640044
git-svn-id: http://skia.googlecode.com/svn/trunk@5857
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 8 Oct 2012 18:59:39 +0000 (18:59 +0000)]
Make additional code paths go through GrDrawState helper classes for their matrix manipulations.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6615064
git-svn-id: http://skia.googlecode.com/svn/trunk@5856
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 8 Oct 2012 18:42:14 +0000 (18:42 +0000)]
Speculative fix for Chrome bug
https://codereview.appspot.com/
6632045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5855
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 8 Oct 2012 17:15:55 +0000 (17:15 +0000)]
Make GrDrawState::AutoRestoreViewMatrix handle sampler matrices.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6618065
git-svn-id: http://skia.googlecode.com/svn/trunk@5853
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 8 Oct 2012 14:48:36 +0000 (14:48 +0000)]
Remove translate param from GrContext::drawPath (and subsequent calls).
Review URL: https://codereview.appspot.com/
6615062
git-svn-id: http://skia.googlecode.com/svn/trunk@5852
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Mon, 8 Oct 2012 14:41:10 +0000 (14:41 +0000)]
Remove unnecessary function declaration.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6593082
git-svn-id: http://skia.googlecode.com/svn/trunk@5851
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Sun, 7 Oct 2012 22:51:21 +0000 (22:51 +0000)]
Fix typo in SkFontHost_win_dw.cpp.
git-svn-id: http://skia.googlecode.com/svn/trunk@5850
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 6 Oct 2012 02:05:26 +0000 (02:05 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5848
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 5 Oct 2012 20:13:28 +0000 (20:13 +0000)]
Move some auto restore helpers from GrDrawTarget to GrDrawState.
R=robertphillips@google.com
git-svn-id: http://skia.googlecode.com/svn/trunk@5846
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 5 Oct 2012 19:04:13 +0000 (19:04 +0000)]
GrPaint encapsulation.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6624052
git-svn-id: http://skia.googlecode.com/svn/trunk@5838
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 5 Oct 2012 18:43:58 +0000 (18:43 +0000)]
No hinting on Mac should be lower priority than subpixel rendering.
https://codereview.appspot.com/
6612056/
git-svn-id: http://skia.googlecode.com/svn/trunk@5836
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 5 Oct 2012 18:08:27 +0000 (18:08 +0000)]
Fix find/replace missed in #ifdef'ed out code in r5827.
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@5834
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 5 Oct 2012 17:38:00 +0000 (17:38 +0000)]
Change SkLightingImageFilter to derive from SkSingleInputImageFilter, so that it can participate in filter DAGs.
No tests yet.
Review URL: https://codereview.appspot.com/
6620055
git-svn-id: http://skia.googlecode.com/svn/trunk@5832
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 5 Oct 2012 15:37:00 +0000 (15:37 +0000)]
Moved paint color to vertex colors for batched rects
https://codereview.appspot.com/
6620045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5830
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 5 Oct 2012 15:19:27 +0000 (15:19 +0000)]
cleanup coding style for r5825
Review URL: https://codereview.appspot.com/
6621054
git-svn-id: http://skia.googlecode.com/svn/trunk@5829
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 5 Oct 2012 14:54:42 +0000 (14:54 +0000)]
Rename GrPaint fields/enums/members texture->color mask->coverage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6615046
git-svn-id: http://skia.googlecode.com/svn/trunk@5827
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 5 Oct 2012 14:48:32 +0000 (14:48 +0000)]
Reduce Android Log Spam.
The logging of system fonts is now hidden behind a #define
Review URL: https://codereview.appspot.com/
6609048
git-svn-id: http://skia.googlecode.com/svn/trunk@5825
2bbb7eff-a529-9590-31e7-
b0007b416f81
bensong@google.com [Fri, 5 Oct 2012 14:02:33 +0000 (14:02 +0000)]
Adds a script to help analyze bench ranges to add/change in bench/bench_expectations.txt
git-svn-id: http://skia.googlecode.com/svn/trunk@5824
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 5 Oct 2012 13:23:24 +0000 (13:23 +0000)]
Move setPaint from GrContext to GrDrawState.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6624045
git-svn-id: http://skia.googlecode.com/svn/trunk@5823
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 5 Oct 2012 02:01:40 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5821
2bbb7eff-a529-9590-31e7-
b0007b416f81