Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
skqp
/
9fa60daad4d5f54c0dbe3dbcc7608a8f6d721187
/
src
/
effects
/
gradients
/
SkRadialGradient.cpp
9fa60da
Simplify flattening to just write enough to call the factory/public-constructor for the class. We want to *not* rely on private constructors, and not rely on calling through the inheritance hierarchy for either flattening or unflattening(CreateProc).
by reed
· 10 years ago
addf2ed
add localMatrix to gradient Descriptor
by reed
· 10 years ago
63e99f7
Allow GrGLEffects to produce variable length keys.
by bsalomon
· 10 years ago
848faf0
This moves us towards variable length effect keys. The overall program key now allows for it. After the header it stores an array of offsets to effect keys. This allows us to grab the effect keys to pass to effects when they generate code. It also ensures that we can't get a collision by sets of keys that are different lengths but are the same when appended together.
by bsalomon
· 10 years ago
83d081a
Goodbye GrEffectRef.
by bsalomon
· 10 years ago
55fad7a
Remove GrEffect::CreateEffectRef and GrEffect::AutoEffectRef.
by bsalomon
· 10 years ago
97b9ab7
Make GrDrawState and GrPaint take GrEffect* instead of GrEffectRef*.
by bsalomon
· 10 years ago
969842a
Revert of Make GrDrawState and GrPaint take GrEffect* instead of GrEffectRef*. (https://codereview.chromium.org/377503004/)
by reed
· 10 years ago
2011fe9
Make GrDrawState and GrPaint take GrEffect* instead of GrEffectRef*.
by bsalomon
· 10 years ago
9de5b51
SkShader::asNewEffect Refactoring
by dandov
· 10 years ago
eaa6749
add localmatrix param to asNewEffect
by reed@google.com
· 11 years ago
96fb748
add localmatrix parameter to shader's asNewEffect
by commit-bot@chromium.org
· 11 years ago
ce56d96
Remove SkShader virtual method validContext
by commit-bot@chromium.org
· 11 years ago
e901b6d
create struct to hold all the params passed around for shader::context
by commit-bot@chromium.org
· 11 years ago
9c9005a
Move SkShader::fLocalMatrix into SkShader constructor.
by commit-bot@chromium.org
· 11 years ago
87fcd95
Revert of Revert of Extract most of the mutable state of SkShader into a separate Context object. (https://codereview.chromium.org/249643002/)
by commit-bot@chromium.org
· 11 years ago
6e5671d
Revert of Extract most of the mutable state of SkShader into a separate Context object. (https://codereview.chromium.org/207683004/)
by commit-bot@chromium.org
· 11 years ago
bc2f1dc
Extract most of the mutable state of SkShader into a separate Context object.
by commit-bot@chromium.org
· 11 years ago
53783b0
Revert of Extract most of the mutable state of SkShader into a separate Context object. (https://codereview.chromium.org/207683004/)
by commit-bot@chromium.org
· 11 years ago
001f4ed
Extract most of the mutable state of SkShader into a separate Context object.
by commit-bot@chromium.org
· 11 years ago
0f10f7b
Allow toString capability to be toggled independent of developer mode.
by commit-bot@chromium.org
· 11 years ago
8b0e8ac
Refactor read and write buffers.
by commit-bot@chromium.org
· 11 years ago
4ec5c95
fix win build
by reed@google.com
· 11 years ago
34150b4
Clear out SK_SCALAR_IS_FLOAT from SkRadialGradient, and merge the logic for radial_mirror and radial_repeat.
by commit-bot@chromium.org
· 11 years ago
77af680
Make GPU coord transforms automatic
by bsalomon@google.com
· 11 years ago
e0e7cfe
Change old PRG to be SkLCGRandom; change new one to SkRandom
by commit-bot@chromium.org
· 11 years ago
82d1223
Two and three color GPU gradients without textures.
by bsalomon@google.com
· 11 years ago
7ab7ca4
Fix case where GrGLEffectMatrix gives back a dangling ptr for the coords var name.
by commit-bot@chromium.org
· 11 years ago
437d6eb
use Descriptor struct to encapsulate all the common paramaeters between our various gradient types. If we like it, might promote it to the public API.
by reed@google.com
· 11 years ago
c26d94f
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
by bsalomon@google.com
· 12 years ago
c781888
Attempt to reland 8264-5 with warning-as-error fixes.
by bsalomon@google.com
· 12 years ago
67e7cde
revert 8265-8264 (broke build)
by reed@google.com
· 12 years ago
ae81d5c
Adds local coords to GrEffect system.
by bsalomon@google.com
· 12 years ago
e0e385c
Removed unused parameters
by sugoi@google.com
· 12 years ago
73a9694
Use SkMWRandom in GLPrograms test.
by bsalomon@google.com
· 12 years ago
ae97c06
remove vestiges of 32BIT_GRADIENT flag, as we always dither gradients now
by reed@google.com
· 12 years ago
6004029
Go from a 1x2 to a 2x2 dither cell, and change/simplify the logic for how we
by reed@google.com
· 12 years ago
55853db
Move dither toggle logic into common helper functions, to make it easier to
by reed@google.com
· 12 years ago
3c2102c
restore cache-count for gradients to p.o.2. so we can perform fancier dithering
by reed@google.com
· 12 years ago
6340a41
Let them eat GrEffectRef.
by bsalomon@google.com
· 12 years ago
a1ebbe4
Change some function/vars from EffectPtr to EffectRef to reflect GrEffectPtr->GrEffectRef renaming.
by bsalomon@google.com
· 12 years ago
5d2cd20
Fix GPU-less build.
by bsalomon@google.com
· 12 years ago
0ac6af4
Wrap GrEffects in GrEffectPtr.
by bsalomon@google.com
· 12 years ago
ff21c2e
Sanitizing source files in Skia_Periodic_House_Keeping
by skia.committer@gmail.com
· 12 years ago
76f9e93
Added print out of SkShader information to debugger
by robertphillips@google.com
· 12 years ago
84831ac
fix all the false --> NULL issues in the gradient code
by humper@google.com
· 12 years ago
00835cc
Fix debug build after r7153 (removed param referenced in assertion)
by bsalomon@google.com
· 12 years ago
e197cbf
Change signature of SkShader::asNewEffect(), implement for SkBitmapProcShader.
by bsalomon@google.com
· 12 years ago
d8b5fac
Reland r6233 with fix.
by bsalomon@google.com
· 12 years ago
115b06f
Re-revert r6233.
by bsalomon@google.com
· 12 years ago
c3a58f3
Reland r6233 with fix for config conversion texture matrices.
by bsalomon@google.com
· 12 years ago
66e534d
Revert r6233 while investigating bot failures.
by bsalomon@google.com
· 12 years ago
ce49e16
Checkpoint in moving texture matrices out of GrGLProgram and into GrGLEffect.
by bsalomon@google.com
· 12 years ago
f94b3a4
Make SkShader store localM directly rather than as a separate alloc.
by bsalomon@google.com
· 12 years ago
2eaaefd
Pass GrCustomStage to key-generation functions and emitCode().
by bsalomon@google.com
· 12 years ago
f78df33
Make GrGLGradientEffect derive directly from GrGLEffect.
by bsalomon@google.com
· 12 years ago
08283af
Rename GrSamplerState to GrEffectStage.
by bsalomon@google.com
· 12 years ago
0707c29
GrGLGradientStage->GrGLGradientEffect
by bsalomon@google.com
· 12 years ago
46fba0d
Rename StageKey and related stuff.
by bsalomon@google.com
· 12 years ago
396e61f
Rename GrProgramStageFactory to GrBackendEffectFactory.
by bsalomon@google.com
· 12 years ago
422e81a
GrGLProgramStage Renaming Part 3
by bsalomon@google.com
· 12 years ago
021fc73
GrCustomStage Renaming Part 5
by bsalomon@google.com
· 12 years ago
8ea78d8
GrCustomStage Renaming Part 4
by bsalomon@google.com
· 12 years ago
f271cc7
GrCustomStage Renaming Part 3
by bsalomon@google.com
· 12 years ago
6f261be
GrCustomStage Renaming Part 2
by bsalomon@google.com
· 12 years ago
a469c28
CustomStage Renaming Part 1
by bsalomon@google.com
· 12 years ago
dfdb7e5
Reland r5963 with two fixes:
by bsalomon@google.com
· 12 years ago
f6eac8a
Revert r5962 because of failures.
by bsalomon@google.com
· 12 years ago
b022177
Require matrix for custom stage to be set when custom stage is installed.
by bsalomon@google.com
· 12 years ago
1ce49fc
Move GrTextureParams from GrSamplerState to GrTextureAccess
by bsalomon@google.com
· 12 years ago
f06df1b
Introduce GrGLShaderBuilder::TextureSampler
by bsalomon@google.com
· 12 years ago
868a8e7
Recommit r5350 with fix for image failures (which affected GLs that don't support ARB_texture_swizzle).
by bsalomon@google.com
· 12 years ago
a3d707b
Revert 5350 while image changes are diagnosed.
by bsalomon@google.com
· 12 years ago
b41b2bc
Remove fModulate from GrGLShaderBuilder
by bsalomon@google.com
· 12 years ago
34bcb9f
Some GrGLShaderBuilder cleanup
by bsalomon@google.com
· 12 years ago
fbfcd56
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
by rmistry@google.com
· 12 years ago
d472620
Registry-based unit test for custom effects
by bsalomon@google.com
· 12 years ago
a5e65ec
by twiz@google.com
· 12 years ago
cf8fb1f
Create GPU-less build of Skia.
by bsalomon@google.com
· 12 years ago
98e8b6d
Remove old constructors from GrGradientEffect subclasses, and moved their declarations into source files.
by rileya@google.com
· 12 years ago
1c6d64b
Renamed and made public SkGradientShaderBases's 'commonAsAGradient' to 'getGradientTableBitmap', and use that instead of asABitmap in gradient custom stage setup.
by rileya@google.com
· 12 years ago
d7cc651
Move GPU gradients into src/effects/gradients.
by rileya@google.com
· 12 years ago
589708b
Split SkGradientShader into separate files for each gradient subclass.
by rileya@google.com
· 12 years ago