senorblanco@chromium.org
c2e8cef479
Remove use of varargs in SkImageFilter. This is causing a crash in recent
...
builds of clang. (It was also masking the fact that SkMergeImageFilter was
calling the wrong constructor!)
Review URL: https://codereview.appspot.com/6709066
git-svn-id: http://skia.googlecode.com/svn/trunk@6029 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-22 15:07:14 +00:00
bsalomon@google.com
d7bafb700c
Make GrGLShaderBuilder responsible for inserting begining of main() function defition and closing brace.
...
This will allow another change I am working on to insert code at the begining of a shader.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6737058
git-svn-id: http://skia.googlecode.com/svn/trunk@6028 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-22 14:30:50 +00:00
bsalomon@google.com
4285accf5a
Make GrGLProgram be responsible for calling setData on custom stages.
...
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6752044
git-svn-id: http://skia.googlecode.com/svn/trunk@6027 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-22 14:11:24 +00:00
mike@reedtribe.org
50e4c72445
add sample to debug in fatbits mode
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6024 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-22 03:59:34 +00:00
skia.committer@gmail.com
24c29d91ca
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6023 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-20 02:01:23 +00:00
bsalomon@google.com
c6126c1828
Add a GM that tests xfermode-based color filters.
...
Review URL: https://codereview.appspot.com/6736052
git-svn-id: http://skia.googlecode.com/svn/trunk@6022 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 19:26:05 +00:00
robertphillips@google.com
801cee1d4c
Added ability to extract SkBitmaps to filter tool
...
https://codereview.appspot.com/6748043/
git-svn-id: http://skia.googlecode.com/svn/trunk@6021 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 19:06:11 +00:00
caryclark@google.com
185c7c4798
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6020 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 18:26:24 +00:00
robertphillips@google.com
183e34b906
Speculative fix for Chrome bug in SkClipStack::isWideOpen
...
https://codereview.appspot.com/6743048/
git-svn-id: http://skia.googlecode.com/svn/trunk@6019 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 18:19:01 +00:00
caryclark@google.com
fb51afb03e
shape ops work in progress
...
refined line/quad intersection, made more robust
still working on edge cases
git-svn-id: http://skia.googlecode.com/svn/trunk@6017 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 15:54:16 +00:00
edisonn@google.com
9cb9c2057c
Enable gm/aarectmodes with pdf config. Does not crash in mac (nor windows) according to comment. I am working to improve pdf, first step to have all gms export to pdf.
...
Review URL: https://codereview.appspot.com/6713055
git-svn-id: http://skia.googlecode.com/svn/trunk@6016 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 14:17:22 +00:00
robertphillips@google.com
7d1267539f
GPU: add failure checks for the scratch textures used in Gaussian blur.
...
https://codereview.appspot.com/6744047/
On behalf of senorblanco
git-svn-id: http://skia.googlecode.com/svn/trunk@6014 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 12:56:26 +00:00
skia.committer@gmail.com
6a748ad8d8
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6013 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 02:01:19 +00:00
robertphillips@google.com
c7a37c7bb2
Place r5997 (make arcto's convex) behind a compiler flag to delay day of reckoning with Webkit baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6012 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 01:26:18 +00:00
vandebo@chromium.org
a56fedc47a
Add SK_API to SkString for hclam@chromium.org
...
TBR=reed@google.com
Review URL: https://codereview.appspot.com/6737047
git-svn-id: http://skia.googlecode.com/svn/trunk@6008 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 23:26:44 +00:00
reed@google.com
ae7b8f3e7b
add --modulo A B option to gm, so we can only execute 1/B of the tests in a
...
given instance.
Review URL: https://codereview.appspot.com/6739044
git-svn-id: http://skia.googlecode.com/svn/trunk@6007 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 21:30:57 +00:00
edisonn@google.com
db14f8bb35
PDF: Fail fast if in the tree of resources a child references a parent. Ideally I want a crash when the tree of resources became corrupt, not later when we try to finalize the pdf.
...
Review URL: https://codereview.appspot.com/6740047
git-svn-id: http://skia.googlecode.com/svn/trunk@6006 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 21:03:59 +00:00
epoger@google.com
9c875d34ff
add a "most" target, and make it the default
...
split out of https://codereview.appspot.com/6651064/ ('gyp: generate "everything" and "most" targets instead of "all"')
tests: "make most" now works, "make" now calls "make most"
Review URL: https://codereview.appspot.com/6740045
git-svn-id: http://skia.googlecode.com/svn/trunk@5999 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 16:10:56 +00:00
edisonn@google.com
7790912e6e
Update CanvasTest to do elementary tests for PDF too.
...
Review URL: https://codereview.appspot.com/6709053
git-svn-id: http://skia.googlecode.com/svn/trunk@5998 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 15:58:23 +00:00
robertphillips@google.com
b95eaa8d08
Altered arcTo's canonical points to (usually) be convex
...
https://codereview.appspot.com/6709051/
This will require rebaselining of: degeneratesegments, shadertext & shadertext2
git-svn-id: http://skia.googlecode.com/svn/trunk@5997 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 15:26:12 +00:00
robertphillips@google.com
872017694b
Make debugger print more information for paths
...
https://codereview.appspot.com/6727052/
git-svn-id: http://skia.googlecode.com/svn/trunk@5993 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 13:30:18 +00:00
mike@reedtribe.org
a0591698fd
add two more tilemode gms, in advance of experimenting w/ decal
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5990 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 02:01:59 +00:00
skia.committer@gmail.com
989a95ea77
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5989 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 02:01:23 +00:00
robertphillips@google.com
ee0b693532
Attempt to patch GR_STATIC_RECT_VB path
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5988 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 00:17:53 +00:00
reed@google.com
c0e88e0d5d
Munch the incoming inverse to force nearly-no-scale to no-scale, if we think
...
the cheat won't be noticed. This allows us to take a fast case if the caller
gave us a matrix scale of (for instance) 1.0000001 instead of 1.0
drawBitmap already has this logic, it just wasn't ever propogated to bitmapShader before.
Review URL: https://codereview.appspot.com/6720052
git-svn-id: http://skia.googlecode.com/svn/trunk@5987 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-17 21:11:56 +00:00
junov@chromium.org
ce65f385a0
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
2012-10-17 19:36:09 +00:00
reed@google.com
fb2fdcca20
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
2012-10-17 15:49:36 +00:00
robertphillips@google.com
f6fc3fcadd
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
2012-10-17 15:23:21 +00:00
bsalomon@google.com
b2ad101313
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
2012-10-17 15:00:32 +00:00
bsalomon@google.com
67e78c9e47
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
2012-10-17 13:36:14 +00:00
robertphillips@google.com
1947ba6b9e
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
2012-10-17 13:35:24 +00:00
bsalomon@google.com
288d9549b4
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
2012-10-17 12:53:54 +00:00
skia.committer@gmail.com
20c301bd1a
Sanitizing source files in Skia_Periodic_House_Keeping
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5972 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-17 02:01:13 +00:00
reed@google.com
a8d9930771
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
2012-10-16 20:23:25 +00:00
reed@google.com
420f9e93aa
add opaque/alpha variants
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5970 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 19:47:54 +00:00
bsalomon@google.com
1282009256
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
2012-10-16 17:50:48 +00:00
tfarina@chromium.org
3fe1690834
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
2012-10-16 17:30:07 +00:00
scroggo@google.com
a3970ff4be
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
2012-10-16 17:25:36 +00:00
reed@google.com
b8b92ea089
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
2012-10-16 15:57:13 +00:00
bsalomon@google.com
dfdb7e5240
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
2012-10-16 15:19:45 +00:00
bsalomon@google.com
f6eac8af58
Revert r5962 because of failures.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5963 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 14:31:26 +00:00
bsalomon@google.com
b022177777
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
2012-10-16 14:16:11 +00:00
caryclark@google.com
1708eea54d
more pixman work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5961 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 12:32:33 +00:00
caryclark@google.com
90adecd850
pixman experiment work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5960 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 12:31:48 +00:00
caryclark@google.com
c91dfe417a
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5959 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 12:06:27 +00:00
scroggo@google.com
f94dd182e6
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
2012-10-15 18:27:25 +00:00
djsollen@google.com
77465f9c80
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
2012-10-15 16:03:41 +00:00
bungeman@google.com
b3e77940a6
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
2012-10-15 14:31:29 +00:00
bsalomon@google.com
858804dfe6
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
2012-10-15 14:25:50 +00:00
bsalomon@google.com
1e269b5a08
Spell correct some comments.
...
Unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@5951 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-15 14:25:31 +00:00