Searched defs:effect (Results 51 - 75 of 117) sorted by relevance

12345

/external/chromium_org/third_party/skia/src/gpu/gl/builders/
H A DGrGLFragmentShaderBuilder.cpp83 const GrProcessor* effect = fProgramBuilder->fCodeStage.effectStage()->getProcessor(); local
88 if (!static_cast<const GrFragmentProcessor*>(effect)->willReadDstColor()) {
145 const GrProcessor* effect = cs->effectStage()->getProcessor(); local
146 if (!effect->willReadFragmentPosition()) {
H A DGrGLFullProgramBuilder.cpp29 // emit the per-effect code for both color and coverage effects
114 const GrProcessor& effect = *stage.getProcessor(); local
115 SkSTArray<2, GrGLProcessor::TransformedCoords> coords(effect.numTransforms());
116 SkSTArray<4, GrGLProcessor::TextureSampler> samplers(effect.numTextures());
119 this->emitSamplers(effect, &samplers);
141 const GrProcessor* effect = effectStage.getProcessor(); local
142 int numTransforms = effect->numTransforms();
190 kPosition_GrCoordSet == effect->coordTransform(t).sourceCoords() ?
H A DGrGLProgramBuilder.cpp41 // get the initial color and coverage to feed into the first effect in each effect chain
70 // Subclasses drive effect emitting
174 // calls into the subclass to emit the actual effect into the program effect object
213 void GrGLProgramBuilder::emitSamplers(const GrProcessor& effect, argument
217 int numTextures = effect.numTextures();
226 (samplers[t].fUniform, effect.textureAccess(t)));
/external/chromium_org/v8/src/compiler/
H A Dchange-lowering.cc71 Node* effect = graph()->NewNode(common()->ValueEffect(1), value); local
80 jsgraph()->Int32Constant(function->nargs), context, effect, control);
H A Dgraph-builder.cc139 // Create a merge of the effect dependencies of both environments and update
140 // the current environment's effect dependency accordingly.
141 Node* effect = builder_->MergeEffect(this->GetEffectDependency(), local
143 UpdateEffectDependency(effect);
159 Node* effect = builder_->NewEffectPhi(1, GetEffectDependency(), control); local
160 UpdateEffectDependency(effect);
173 // TODO(mstarzinger): Revisit this once we have proper effect states.
H A Dnode-properties-inl.h113 // edges maybe need to be marked as value/effect/control.
159 inline void NodeProperties::ReplaceEffectInput(Node* node, Node* effect, argument
162 return node->ReplaceInput(FirstEffectIndex(node) + index, effect);
176 // Replace value uses of {node} with {value} and effect uses of {node} with
177 // {effect}. If {effect == NULL}, then use the effect input to {node}.
179 Node* effect) {
181 if (effect == NULL && OperatorProperties::HasEffectInput(node->op())) {
182 effect
178 ReplaceWithValue(Node* node, Node* value, Node* effect) argument
[all...]
H A Dverifier.cc103 // Verify all effect inputs actually have an effect.
105 Node* effect = NodeProperties::GetEffectInput(node); local
106 CHECK(OperatorProperties::HasEffectOutput(effect->op()));
107 CHECK(IsDefUseChainLinkPresent(effect, node));
108 CHECK(IsUseDefChainLinkPresent(effect, node));
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-js-context-specialization.cc186 static void CheckEffectInput(Node* effect, Node* use) { argument
187 CHECK_EQ(effect, NodeProperties::GetEffectInput(use));
/external/skia/gm/
H A Dbeziereffects.cpp74 float fKLM[4]; // The last value is ignored. The effect expects a vec4f.
80 // Mult by 3 for each edge effect type
96 SkAutoTUnref<GrEffectRef> effect; variable
104 effect.reset(GrCubicEffect::Create(et, *tt.target()->caps()));
105 if (!effect) {
173 drawState->addCoverageEffect(effect, 1);
232 float fKLM[4]; // The last value is ignored. The effect expects a vec4f.
238 // Mult by 3 for each edge effect type
254 SkAutoTUnref<GrEffectRef> effect; variable
262 effect
443 SkAutoTUnref<GrEffectRef> effect; variable
[all...]
/external/skia/include/gpu/
H A DGrEffect.h27 * GrEffectRef ref count reaches zero the scratch GrResources owned by the effect can be recycled
59 explicit GrEffectRef(GrEffect* effect);
80 memory pool. The ref count of an effect must reach 0 before the thread terminates and the pool
81 is destroyed. To create a static effect use the macro GR_CREATE_STATIC_EFFECT declared below.
91 * indicate whether the input components to this effect in the FS will have known values.
98 /** Will this effect read the source color value? */
118 /** Returns true if this and other effect conservatively draw identically. It can only return
131 /** Human-meaningful string to identify this effect; may be embedded
150 /** Will this effect read the destination pixel value? */
153 /** Will this effect rea
233 CreateEffectRef(GrEffect* effect) argument
242 CreateEffectRef(const GrEffect* effect) argument
247 CreateStaticEffectRef(void* refStorage, GrEffect* effect) argument
266 AutoEffectUnref(GrEffect* effect) argument
342 GrEffectRef(GrEffect* effect) argument
[all...]
H A DGrPaint.h88 * Appends an additional color effect to the color computation.
90 const GrEffectRef* addColorEffect(const GrEffectRef* effect, int attr0 = -1, int attr1 = -1) { argument
91 SkASSERT(NULL != effect);
92 if (!(*effect)->willUseInputColor()) {
95 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrEffectStage, (effect, attr0, attr1));
96 return effect;
100 * Appends an additional coverage effect to the coverage computation.
102 const GrEffectRef* addCoverageEffect(const GrEffectRef* effect, int attr0 = -1, int attr1 = -1) { argument
103 SkASSERT(NULL != effect);
104 if (!(*effect)
[all...]
/external/skia/src/gpu/effects/
H A DGrBicubicEffect.cpp109 const GrBicubicEffect& effect = drawEffect.castEffect<GrBicubicEffect>(); local
110 const GrTexture& texture = *effect.texture(0);
115 uman.setMatrix4f(fCoefficientsUni, effect.coefficients());
116 fDomain.setData(uman, effect.domain(), texture.origin());
208 // When we use the bicubic filtering effect each sample is read from the texture using
H A DGrConfigConversionEffect.cpp20 const GrConfigConversionEffect& effect = drawEffect.castEffect<GrConfigConversionEffect>(); local
21 fSwapRedAndBlue = effect.swapsRedAndBlue();
22 fPMConversion = effect.pmConversion();
47 // Add a compensation(0.001) here to avoid the side effect of the floor operation.
132 AutoEffectUnref effect(SkNEW_ARGS(GrConfigConversionEffect,
137 return CreateEffectRef(effect);
271 AutoEffectUnref effect(SkNEW_ARGS(GrConfigConversionEffect, (texture,
275 return CreateEffectRef(effect);
H A DGrConvexPolyEffect.cpp75 GrEffectRef* effect; local
80 effect = AARectEffect::Create(edgeType, rect);
81 } while (NULL == effect);
82 return effect;
367 GrEffectRef* effect; local
371 effect = GrConvexPolyEffect::Create(edgeType, count, edges);
372 } while (NULL == effect);
373 return effect;
H A DGrTextureDomain.cpp176 const GrTextureDomainEffect& effect = drawEffect.castEffect<GrTextureDomainEffect>(); local
177 const GrTextureDomain& domain = effect.textureDomain();
185 const GrTextureDomainEffect& effect = drawEffect.castEffect<GrTextureDomainEffect>(); local
186 const GrTextureDomain& domain = effect.textureDomain();
187 fGLDomain.setData(uman, domain, effect.texture(0)->origin());
211 AutoEffectUnref effect(SkNEW_ARGS(GrTextureDomainEffect, (texture,
217 return CreateEffectRef(effect);
/external/skia/src/gpu/gl/
H A DGrGLProgramDesc.cpp24 const GrEffectRef& effect = *stage.getEffect(); local
25 const GrBackendEffectFactory& factory = effect->getFactory();
27 if (effect->willReadDstColor()) {
30 if (effect->willReadFragmentPosition()) {
33 if (effect->hasVertexCode()) {
65 const GrEffect* effect = drawState.getColorStage(firstEffectiveColorStage).getEffect()->get(); local
66 inputColorIsUsed = effect->willUseInputColor();
76 const GrEffect* effect = drawState.getCoverageStage(firstEffectiveCoverageStage).getEffect()->get(); local
77 inputCoverageIsUsed = effect->willUseInputColor();
88 // we only need the local coords if we're actually going to generate effect cod
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DCompositorAnimationsTest.cpp106 bool isCandidateForAnimationOnCompositor(const Timing& timing, const AnimationEffect& effect) argument
108 return CompositorAnimations::instance()->isCandidateForAnimationOnCompositor(timing, effect, 1);
110 void getAnimationOnCompositor(Timing& timing, AnimatableValueKeyframeEffectModel& effect, Vector<OwnPtr<WebCompositorAnimation> >& animations) argument
112 return getAnimationOnCompositor(timing, effect, animations, 1);
114 void getAnimationOnCompositor(Timing& timing, AnimatableValueKeyframeEffectModel& effect, Vector<OwnPtr<WebCompositorAnimation> >& animations, double playerPlaybackRate) argument
116 return CompositorAnimationsImpl::getAnimationOnCompositor(timing, std::numeric_limits<double>::quiet_NaN(), 0, effect, animations, playerPlaybackRate);
118 bool getAnimationBounds(FloatBox& boundingBox, const AnimationEffect& effect, double minValue, double maxValue) argument
120 return CompositorAnimations::instance()->getAnimatedBoundingBox(boundingBox, effect, minValue, maxValue);
595 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
633 getAnimationOnCompositor(m_timing, *effect
641 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
689 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
744 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
802 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = AnimatableValueKeyframeEffectModel::create(frames); local
864 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = AnimatableValueKeyframeEffectModel::create(frames); local
915 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
966 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
1015 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
1063 RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> effect = createKeyframeEffectModel( local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/clipboard/
H A DDataTransfer.cpp118 void DataTransfer::setDropEffect(const String &effect) argument
124 if (effect != "none" && effect != "copy" && effect != "link" && effect != "move")
128 // setting the drop effect when this condition is not true.
130 m_dropEffect = effect;
133 void DataTransfer::setEffectAllowed(const String &effect) argument
138 if (convertEffectAllowedToDragOperation(effect) == DragOperationPrivate) {
150 m_effectAllowed = effect;
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawState.h126 * attribute, or a coverage effect) but may not have specified it yet.
192 /// Each stage hosts a GrProcessor. The effect produces an output color or coverage in the
210 const GrFragmentProcessor* addColorProcessor(const GrFragmentProcessor* effect) { argument
211 SkASSERT(effect);
212 SkNEW_APPEND_TO_TARRAY(&fColorStages, GrFragmentStage, (effect));
214 return effect;
217 const GrFragmentProcessor* addCoverageProcessor(const GrFragmentProcessor* effect) { argument
218 SkASSERT(effect);
219 SkNEW_APPEND_TO_TARRAY(&fCoverageStages, GrFragmentStage, (effect));
221 return effect;
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrConvexPolyEffect.cpp111 const GrProcessor& effect)
252 void GrGLConvexPolyEffect::setData(const GrGLProgramDataManager& pdman, const GrProcessor& effect) { argument
253 const GrConvexPolyEffect& cpe = effect.cast<GrConvexPolyEffect>();
110 GLAARectEffect(const GrBackendProcessorFactory& factory, const GrProcessor& effect) argument
H A DGrOvalEffect.cpp300 const GrProcessor& effect)
355 void GLEllipseEffect::GenKey(const GrProcessor& effect, const GrGLCaps&, argument
357 const EllipseEffect& ee = effect.cast<EllipseEffect>();
361 void GLEllipseEffect::setData(const GrGLProgramDataManager& pdman, const GrProcessor& effect) { argument
362 const EllipseEffect& ee = effect.cast<EllipseEffect>();
299 GLEllipseEffect(const GrBackendProcessorFactory& factory, const GrProcessor& effect) argument
H A DGrRRectEffect.cpp495 const GrFragmentProcessor& effect,
514 const GrProcessor& effect)
520 const GrFragmentProcessor& effect,
526 const EllipticalRRectEffect& erre = effect.cast<EllipticalRRectEffect>();
596 void GLEllipticalRRectEffect::GenKey(const GrProcessor& effect, const GrGLCaps&, argument
598 const EllipticalRRectEffect& erre = effect.cast<EllipticalRRectEffect>();
604 const GrProcessor& effect) {
605 const EllipticalRRectEffect& erre = effect.cast<EllipticalRRectEffect>();
724 // had been squashed cornerFlags would be 0.) The elliptical effect doesn't
513 GLEllipticalRRectEffect(const GrBackendProcessorFactory& factory, const GrProcessor& effect) argument
519 emitCode(GrGLProgramBuilder* builder, const GrFragmentProcessor& effect, const GrProcessorKey& key, const char* outputColor, const char* inputColor, const TransformedCoordsArray&, const TextureSamplerArray& samplers) argument
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgramDesc.cpp63 static uint32_t gen_attrib_key(const GrGeometryProcessor* effect) { argument
66 const GrGeometryProcessor::VertexAttribArray& vars = effect->getVertexAttribs();
99 static uint32_t gen_texture_key(const GrProcessor* effect, const GrGLCaps& caps) { argument
101 int numTextures = effect->numTextures();
103 const GrTextureAccess& access = effect->textureAccess(t);
114 * be dependent on properties of the effect that the effect itself doesn't use
116 * every effect using this function. It is also responsible for inserting the effect's class ID
117 * which must be different for every GrProcessor subclass. It can fail if an effect use
148 const GrProcessor& effect = *stage.getProcessor(); local
168 const GrProcessor& effect = *stage.getProcessor(); local
[all...]
/external/chromium_org/v8/src/
H A Deffects.h19 // An effect can either be definite, if the write is known to have taken place,
25 // effect cancels out any previous effect upon sequencing. A possible effect
26 // merges into a previous effect, i.e., type bounds are merged. Alternative
27 // composition always merges bounds. It yields a possible effect if at least
38 // The unknown effect.
90 Effect effect = Lookup(var); local
91 return effect.modality == Effect::DEFINITE
92 ? effect
96 Seq(Var var, Effect effect) argument
110 Alt(Var var, Effect effect) argument
138 Call(Var var, Effect effect) argument
144 Call(Var var, Effect effect) argument
150 Call(Var var, Effect effect) argument
163 Call(Var var, Effect effect) argument
[all...]
/external/skia/src/core/
H A DSkImageFilter.cpp199 GrEffectRef* effect; local
205 this->asNewEffect(&effect, srcTexture, matrix, bounds);
206 SkASSERT(effect);
207 SkAutoUnref effectRef(effect);
209 paint.addColorEffect(effect);

Completed in 3332 milliseconds

12345