bsalomon@google.com [Tue, 30 Oct 2012 12:34:25 +0000 (12:34 +0000)]
Expose vertex position to GrGLEffect via GrGLShaderBuilder.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6814054
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6195
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 20:13:42 +0000 (20:13 +0000)]
Rebase gpu_dev up to r5182
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6187
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 20:02:06 +0000 (20:02 +0000)]
Add file accidentally omitted from r6182.
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6186
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 19:51:22 +0000 (19:51 +0000)]
Pass GrCustomStage to key-generation functions and emitCode().
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6819046
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6182
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 29 Oct 2012 19:47:06 +0000 (19:47 +0000)]
Fix alpha computation for specular lighting filter (GPU path).
Change lighting GM background to show blending.
NOTE: This will require new results for the lighting GM.
Review URL: https://codereview.appspot.com/
6812050
git-svn-id: http://skia.googlecode.com/svn/trunk@6181
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 29 Oct 2012 19:24:45 +0000 (19:24 +0000)]
Allow default texture cache limit to be set within gyp.
Review URL: https://codereview.appspot.com/
6818051
git-svn-id: http://skia.googlecode.com/svn/trunk@6177
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 29 Oct 2012 18:59:17 +0000 (18:59 +0000)]
Alphabetize gm options (in usage message and option parser).
Also add long-form option names for all options.
Review URL: https://codereview.appspot.com/
6817050
git-svn-id: http://skia.googlecode.com/svn/trunk@6173
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 29 Oct 2012 18:06:26 +0000 (18:06 +0000)]
First stab at a simple rebaseline script.
Review URL: https://codereview.appspot.com/
6775045
git-svn-id: http://skia.googlecode.com/svn/trunk@6170
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 29 Oct 2012 16:42:11 +0000 (16:42 +0000)]
Add option to gm: write out images into a hierarchy, rather than a flat set of files
BUG=https://code.google.com/p/skia/issues/detail?id=743
Review URL: https://codereview.appspot.com/
6810047
git-svn-id: http://skia.googlecode.com/svn/trunk@6167
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 16:25:04 +0000 (16:25 +0000)]
Make GrEffectStage keep a const ptr (rather than non-const) to GrEffect.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6811045
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6166
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 14:53:53 +0000 (14:53 +0000)]
Make lighting filters directly inherit from GrGLEffect.
Delete GrGLLegacyEffect.
Review URL: https://codereview.appspot.com/
6815050
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6165
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 12:47:51 +0000 (12:47 +0000)]
Make GrGLConvolutionEffect, GrGLMorphologyEffect, and GrGLMagnifierEffect derive directly from GrGLEffect.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6786052
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6164
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 29 Oct 2012 12:43:38 +0000 (12:43 +0000)]
Make GrGLGradientEffect derive directly from GrGLEffect.
Review URL: https://codereview.appspot.com/
6784053
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6163
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 27 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@6161
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 21:14:10 +0000 (21:14 +0000)]
Rebaseline gpu_dev from trunk at r6159.
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6160
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Fri, 26 Oct 2012 21:03:50 +0000 (21:03 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@6159
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 26 Oct 2012 20:48:54 +0000 (20:48 +0000)]
Fix generateMask to properly apply pre-blend.
git-svn-id: http://skia.googlecode.com/svn/trunk@6158
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Fri, 26 Oct 2012 19:37:00 +0000 (19:37 +0000)]
Add a factory Create function for SkColorFilterImageFilter, and move the matrix optimization there. This will allow the Chrome compositor to extract the optimized matrix, and potentially apply the color matrix itself, saving a buffer allocation & draw.
Review URL: https://codereview.appspot.com/
6739057
git-svn-id: http://skia.googlecode.com/svn/trunk@6152
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 26 Oct 2012 19:35:54 +0000 (19:35 +0000)]
Clean up usage of mask gamma.
https://codereview.appspot.com/
6749061/
git-svn-id: http://skia.googlecode.com/svn/trunk@6151
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 19:16:46 +0000 (19:16 +0000)]
Make a bunch of GrGLEffects derive directly from GrGLEffect rather than GrGLLegacyEffect.
Review URL: https://codereview.appspot.com/
6783053
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6150
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 19:14:16 +0000 (19:14 +0000)]
Merging trunk revs up to 6147 into gpu_dev.
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6149
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 19:01:17 +0000 (19:01 +0000)]
Make the orientation of a texture accessible from and known by GrSurface.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6801044
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6148
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 26 Oct 2012 18:56:36 +0000 (18:56 +0000)]
object-ify gmmain.cpp (no functional change) to ease planned changes later
Review URL: https://codereview.appspot.com/
6801043
git-svn-id: http://skia.googlecode.com/svn/trunk@6147
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 26 Oct 2012 18:03:09 +0000 (18:03 +0000)]
Whitespace change to trigger bots
git-svn-id: http://skia.googlecode.com/svn/trunk@6144
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 17:53:18 +0000 (17:53 +0000)]
Make GrGLEffect::setData take GrEffectStage rather than GrEffect.
This allows the coord-change matrix to be communicated to setData(). An accessor for this matrix is also added to GrEffectStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6779057
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6143
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 26 Oct 2012 14:07:13 +0000 (14:07 +0000)]
Refactor gm to minimize wasted passes through picture and pipe code paths.
Testing this CL shows around a 40% time reduction when running gm on a mac debug build.
Review URL: https://codereview.appspot.com/
6791043
git-svn-id: http://skia.googlecode.com/svn/trunk@6140
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 13:44:54 +0000 (13:44 +0000)]
Create a branch for continued GPU development during Chrome branching.
git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6139
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 13:41:59 +0000 (13:41 +0000)]
Update comment in GrDrawState.h to reflect renaming changes and expansion of the scope of effects.
Review URL: https://codereview.appspot.com/
6777059
git-svn-id: http://skia.googlecode.com/svn/trunk@6138
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Fri, 26 Oct 2012 13:26:55 +0000 (13:26 +0000)]
Make output path to render_pictures optional
Review URL: https://codereview.appspot.com/
6779049
git-svn-id: http://skia.googlecode.com/svn/trunk@6136
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 26 Oct 2012 13:01:20 +0000 (13:01 +0000)]
Rename GrSamplerState to GrEffectStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6777053
git-svn-id: http://skia.googlecode.com/svn/trunk@6135
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 26 Oct 2012 02:01:24 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6133
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 21:52:43 +0000 (21:52 +0000)]
Misc stage->effect renaming
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6787043
git-svn-id: http://skia.googlecode.com/svn/trunk@6132
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 21:45:42 +0000 (21:45 +0000)]
GrGLGradientStage->GrGLGradientEffect
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6774046
git-svn-id: http://skia.googlecode.com/svn/trunk@6131
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 21:42:05 +0000 (21:42 +0000)]
Rename StageKey and related stuff.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6785049
git-svn-id: http://skia.googlecode.com/svn/trunk@6130
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 25 Oct 2012 19:57:06 +0000 (19:57 +0000)]
Fix WIN64 break from variable redefinition.
Review URL: https://codereview.appspot.com/
6782047
git-svn-id: http://skia.googlecode.com/svn/trunk@6129
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 19:35:05 +0000 (19:35 +0000)]
Fix self assignment in GrGLShaderVar
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6776048
git-svn-id: http://skia.googlecode.com/svn/trunk@6127
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Thu, 25 Oct 2012 19:12:40 +0000 (19:12 +0000)]
Add a callback to cleanup TLS data on Windows.
Add a test to ensure that it works.
BUG: http://code.google.com/p/skia/issues/detail?id=939
Review URL: https://codereview.appspot.com/
6785045
git-svn-id: http://skia.googlecode.com/svn/trunk@6126
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 19:00:29 +0000 (19:00 +0000)]
Rename GrProgramStageFactory to GrBackendEffectFactory.
Review URL: https://codereview.appspot.com/
6773044
git-svn-id: http://skia.googlecode.com/svn/trunk@6125
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 18:56:10 +0000 (18:56 +0000)]
Files accidentally omitted from r6123.
git-svn-id: http://skia.googlecode.com/svn/trunk@6124
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 18:43:28 +0000 (18:43 +0000)]
Platform/Engine -> Backend
createPlatform -> wrapBackend
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6785044
git-svn-id: http://skia.googlecode.com/svn/trunk@6123
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 25 Oct 2012 17:58:23 +0000 (17:58 +0000)]
don't send % by itself to printf
git-svn-id: http://skia.googlecode.com/svn/trunk@6120
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 25 Oct 2012 17:37:03 +0000 (17:37 +0000)]
use subclasses instead of function-ptrs for hairline specializations.
1. enables easy grouping of procs, e.g. cap -vs- line
2. easy to extend for more shared state (e.g. gamma table, etc.)
git-svn-id: http://skia.googlecode.com/svn/trunk@6119
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 25 Oct 2012 17:32:10 +0000 (17:32 +0000)]
add bench for hairlines
git-svn-id: http://skia.googlecode.com/svn/trunk@6118
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 25 Oct 2012 17:31:39 +0000 (17:31 +0000)]
add MACRO macros to help with concat. Stolen from gpu headers
git-svn-id: http://skia.googlecode.com/svn/trunk@6117
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 25 Oct 2012 16:32:07 +0000 (16:32 +0000)]
gyp: generate "everything" and "most" targets instead of "all"
"make all" at the toplevel now chains to "make everything"
BUG=http://code.google.com/p/skia/issues/detail?id=932
Review URL: https://codereview.appspot.com/
6651064
git-svn-id: http://skia.googlecode.com/svn/trunk@6116
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 25 Oct 2012 16:27:34 +0000 (16:27 +0000)]
clarify code/comments in gmmain.cpp (no functional change)
Review URL: https://codereview.appspot.com/
6749067
git-svn-id: http://skia.googlecode.com/svn/trunk@6115
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 25 Oct 2012 15:48:17 +0000 (15:48 +0000)]
Remove SK_DISABLE_EXTRACTSUBSET_OPAQUE_FIX test since it has been rebaselined.
https://codereview.appspot.com/
6778044/
git-svn-id: http://skia.googlecode.com/svn/trunk@6111
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 14:57:46 +0000 (14:57 +0000)]
Fix decl of gl_FragCoord in GLSL versions <= 1.20.
We we're saying "in" instead of "varying".
Review URL: https://codereview.appspot.com/
6779043
git-svn-id: http://skia.googlecode.com/svn/trunk@6104
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Thu, 25 Oct 2012 14:45:08 +0000 (14:45 +0000)]
Correctly set width & height in filtered SkPictures
https://codereview.appspot.com/
6772047/
git-svn-id: http://skia.googlecode.com/svn/trunk@6103
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 14:11:03 +0000 (14:11 +0000)]
GrGLProgramStage Renaming Part 3
s/GLProgramStage/GLEffect
minor whitespace/spelling fixup
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6767054
git-svn-id: http://skia.googlecode.com/svn/trunk@6095
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Thu, 25 Oct 2012 13:59:14 +0000 (13:59 +0000)]
Whitespace change to trigger bot
git-svn-id: http://skia.googlecode.com/svn/trunk@6092
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 13:29:20 +0000 (13:29 +0000)]
GrGLProgramStage Renaming Part 2
s/GrGLLegacyProgramStage/GrGLLegacyEffect
Review URL: https://codereview.appspot.com/
6761056
git-svn-id: http://skia.googlecode.com/svn/trunk@6091
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 13:22:00 +0000 (13:22 +0000)]
GrGLProgramStage Renaming Part 1.
Renamed cpp and h
s/GrGLProgramStage/GrGLEffect/
Review URL: https://codereview.appspot.com/
6759054
git-svn-id: http://skia.googlecode.com/svn/trunk@6090
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 25 Oct 2012 12:47:42 +0000 (12:47 +0000)]
GrCustomStage Renaming Part 5
Stuff found by searching for "stage".
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6772043
git-svn-id: http://skia.googlecode.com/svn/trunk@6089
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 25 Oct 2012 02:01:20 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6088
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 24 Oct 2012 21:04:04 +0000 (21:04 +0000)]
If a path is known to be nonfinite, don't forget that in our autobounds
helper. "Once a non-finite, always a non-finite".
Inspired by crbug/157157
Review URL: https://codereview.appspot.com/
6764047
git-svn-id: http://skia.googlecode.com/svn/trunk@6087
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Oct 2012 20:11:30 +0000 (20:11 +0000)]
GrCustomStage Renaming Part 4
Rename a bunch of things found by searching for "custom".
Review URL: https://codereview.appspot.com/
6765048
git-svn-id: http://skia.googlecode.com/svn/trunk@6085
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Oct 2012 19:35:13 +0000 (19:35 +0000)]
GrCustomStage Renaming Part 3
Rename all things *CUSTOM_STAGE*, customStage*, and other miscellany
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6769048
git-svn-id: http://skia.googlecode.com/svn/trunk@6081
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 24 Oct 2012 19:30:41 +0000 (19:30 +0000)]
Make filter tool actually filter the read in SkPicture
https://codereview.appspot.com/
6765046/
git-svn-id: http://skia.googlecode.com/svn/trunk@6080
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Oct 2012 19:07:10 +0000 (19:07 +0000)]
GrCustomStage Renaming Part 2
GrSamplerState member rename
GrCustomStageUnitTest rename
some comment updates
Review URL: https://codereview.appspot.com/
6771043
git-svn-id: http://skia.googlecode.com/svn/trunk@6078
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Oct 2012 18:28:34 +0000 (18:28 +0000)]
CustomStage Renaming Part 1
Search and replace:
GrCustomStage->GrEffect
GrCustomStageTestFactory->GrEffectTestFactory
renamed the cpp/h files from customStage->effect
reordered gypi, #includes, forward decls to maintain alphabetical sort.
manually fixed up some whitespace and linewraps
deleted a commented out #include
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6758046
git-svn-id: http://skia.googlecode.com/svn/trunk@6076
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 24 Oct 2012 17:34:46 +0000 (17:34 +0000)]
Pass the GrCustomStage and key to GrGLProgramStage emitCode.
The key computation may encode some analysis that emitCode may be able to skip by examining the key.
Review URL: https://codereview.appspot.com/
6709075
git-svn-id: http://skia.googlecode.com/svn/trunk@6075
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 24 Oct 2012 15:14:26 +0000 (15:14 +0000)]
Protect filter_texture() against render target change.
Fix blend filters when input textures are "sloppy" (approx scratch texture match)
Add a new test case to gm/imagefiltersgraph, and reduce its size.
NOTE: this will require new baselines for the imagefiltersgraph GM.
BUG=950
Review URL: https://codereview.appspot.com/
6769043
git-svn-id: http://skia.googlecode.com/svn/trunk@6073
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 24 Oct 2012 13:24:11 +0000 (13:24 +0000)]
Reset clip in ~SkGpuDevice
https://codereview.appspot.com/
6763044/
git-svn-id: http://skia.googlecode.com/svn/trunk@6070
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 24 Oct 2012 02:01:24 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6067
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Tue, 23 Oct 2012 21:32:39 +0000 (21:32 +0000)]
Catch callers who pass invalid glyph ids and improve SkPdfFont desructor.
git-svn-id: http://skia.googlecode.com/svn/trunk@6066
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Tue, 23 Oct 2012 17:37:30 +0000 (17:37 +0000)]
Enable Android executables (like skia_launcher) to redirect SkDebugf output to stdout as well as the system logs.
Review URL: https://codereview.appspot.com/
6733065
git-svn-id: http://skia.googlecode.com/svn/trunk@6059
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Oct 2012 17:30:45 +0000 (17:30 +0000)]
Combine the emit functions in GrGLProgramStage.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6741064
git-svn-id: http://skia.googlecode.com/svn/trunk@6057
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 23 Oct 2012 16:56:56 +0000 (16:56 +0000)]
Removed degenerate quads from zero radius Chrome-style round rects
https://codereview.appspot.com/
6737059/
git-svn-id: http://skia.googlecode.com/svn/trunk@6053
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Tue, 23 Oct 2012 16:00:02 +0000 (16:00 +0000)]
Remove extra dependencies on json-cpp
Review URL: https://codereview.appspot.com/
6752052
git-svn-id: http://skia.googlecode.com/svn/trunk@6051
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 23 Oct 2012 15:33:41 +0000 (15:33 +0000)]
add label
git-svn-id: http://skia.googlecode.com/svn/trunk@6050
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Oct 2012 14:53:55 +0000 (14:53 +0000)]
Reland r6330 thru r6333 but do without enabling GL_ARB_fragment_coord_conventions on Intel GPUs.
git-svn-id: http://skia.googlecode.com/svn/trunk@6048
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Oct 2012 14:31:30 +0000 (14:31 +0000)]
Add support for GLSL 1.40.
Review URL: https://codereview.appspot.com/
6709070
git-svn-id: http://skia.googlecode.com/svn/trunk@6046
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Oct 2012 14:21:11 +0000 (14:21 +0000)]
Reorder the vertex attributes to be friendlier to android.
Review URL: https://codereview.appspot.com/
6742068
git-svn-id: http://skia.googlecode.com/svn/trunk@6044
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 23 Oct 2012 13:52:43 +0000 (13:52 +0000)]
Add vendor to context info.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/
6741062
git-svn-id: http://skia.googlecode.com/svn/trunk@6043
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 23 Oct 2012 12:13:35 +0000 (12:13 +0000)]
Make Debugger print out more information (mainly w.r.t. SkBitmap)
https://codereview.appspot.com/
6709069/
git-svn-id: http://skia.googlecode.com/svn/trunk@6042
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Tue, 23 Oct 2012 03:10:46 +0000 (03:10 +0000)]
support click-drag translate
git-svn-id: http://skia.googlecode.com/svn/trunk@6041
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 23 Oct 2012 02:01:22 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6040
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 22 Oct 2012 22:10:20 +0000 (22:10 +0000)]
update
git-svn-id: http://skia.googlecode.com/svn/trunk@6039
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 22 Oct 2012 22:00:08 +0000 (22:00 +0000)]
update
git-svn-id: http://skia.googlecode.com/svn/trunk@6038
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Oct 2012 20:36:53 +0000 (20:36 +0000)]
Revert r6330 thru 6333 while we figure out what to do about Intel bots (possible driver bug).
git-svn-id: http://skia.googlecode.com/svn/trunk@6037
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Mon, 22 Oct 2012 20:23:32 +0000 (20:23 +0000)]
Fix slow gm debug builds that are doing large path validation runs.
Add a new compile flag to allow path validation to be selectively
enabled instead of being always on.
Review URL: https://codereview.appspot.com/
6734059
git-svn-id: http://skia.googlecode.com/svn/trunk@6036
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Mon, 22 Oct 2012 20:12:40 +0000 (20:12 +0000)]
[PDF] Fix gradient generation code (remove extra 'dup' in some cases)
Fixes http://crbug.com/157006
Review URL: https://codereview.appspot.com/
6733061
git-svn-id: http://skia.googlecode.com/svn/trunk@6035
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Mon, 22 Oct 2012 20:09:31 +0000 (20:09 +0000)]
[PDF] Fix index calculation for Type1 advance retrieval.
This should fix http://crbug.com/154590
Review URL: https://codereview.appspot.com/
6736064
git-svn-id: http://skia.googlecode.com/svn/trunk@6034
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Oct 2012 18:47:17 +0000 (18:47 +0000)]
Fix name of extension enabled in r6031 (should be plural "conventions").
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@6033
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Oct 2012 18:19:33 +0000 (18:19 +0000)]
Enable extension GL_ARB_fragment_coord_convention in FS. Speculative fix for Intel Win7 buildbots.
Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@6032
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Oct 2012 17:47:22 +0000 (17:47 +0000)]
Remove two params from GrGLProgramStage::setData that are no longer necessary.
R=senorblanco@chromium.org
Review URL: https://codereview.appspot.com/
6744062
git-svn-id: http://skia.googlecode.com/svn/trunk@6031
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 22 Oct 2012 17:40:14 +0000 (17:40 +0000)]
Automatically handle converting gl_FragCoord to Skia's y-down device coords.
NOTE: THIS WILL LIKELY REQUIRE GM REBASELINING.
R=robertphillips@google.com,senorblanco@chromium.org
Review URL: https://codereview.appspot.com/
6744061
git-svn-id: http://skia.googlecode.com/svn/trunk@6030
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 22 Oct 2012 15:07:14 +0000 (15:07 +0000)]
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
bsalomon@google.com [Mon, 22 Oct 2012 14:30:50 +0000 (14:30 +0000)]
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
bsalomon@google.com [Mon, 22 Oct 2012 14:11:24 +0000 (14:11 +0000)]
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
mike@reedtribe.org [Mon, 22 Oct 2012 03:59:34 +0000 (03:59 +0000)]
add sample to debug in fatbits mode
git-svn-id: http://skia.googlecode.com/svn/trunk@6024
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 20 Oct 2012 02:01:23 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6023
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 19 Oct 2012 19:26:05 +0000 (19:26 +0000)]
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
robertphillips@google.com [Fri, 19 Oct 2012 19:06:11 +0000 (19:06 +0000)]
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
caryclark@google.com [Fri, 19 Oct 2012 18:26:24 +0000 (18:26 +0000)]
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@6020
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 19 Oct 2012 18:19:01 +0000 (18:19 +0000)]
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
caryclark@google.com [Fri, 19 Oct 2012 15:54:16 +0000 (15:54 +0000)]
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
edisonn@google.com [Fri, 19 Oct 2012 14:17:22 +0000 (14:17 +0000)]
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
robertphillips@google.com [Fri, 19 Oct 2012 12:56:26 +0000 (12:56 +0000)]
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