Searched defs:effect (Results 76 - 100 of 117) sorted by relevance

12345

/external/skia/src/core/
H A DSkMaskFilter.cpp301 bool SkMaskFilter::asNewEffect(GrEffectRef** effect, GrTexture*, const SkMatrix&) const { argument
/external/skia/src/effects/
H A DSkAlphaThresholdFilter.cpp27 virtual bool asNewEffect(GrEffectRef** effect, GrTexture* texture,
63 AutoEffectUnref effect(SkNEW_ARGS(AlphaThresholdEffect, (texture,
67 return CreateEffectRef(effect);
251 bool SkAlphaThresholdFilterImpl::asNewEffect(GrEffectRef** effect, GrTexture* texture, argument
253 if (effect) {
290 *effect = AlphaThresholdEffect::Create(texture,
H A DSkTableColorFilter.cpp240 AutoEffectUnref effect(SkNEW_ARGS(ColorTableEffect, (texture, flags)));
241 return CreateEffectRef(effect);
360 // If we kept the table in the effect then we could actually run known inputs through the
392 GrEffectRef* effect = NULL; local
394 // passing NULL because this effect does no tiling or filtering.
397 effect = ColorTableEffect::Create(texture, fFlags);
404 return effect;
H A DSkArithmeticMode.cpp37 virtual bool asNewEffect(GrEffectRef** effect, GrTexture* background) const SK_OVERRIDE;
267 AutoEffectUnref effect(SkNEW_ARGS(GrArithmeticEffect, (k1, k2, k3, k4, enforcePMColor,
269 return CreateEffectRef(effect);
432 bool SkArithmeticMode_scalar::asNewEffect(GrEffectRef** effect, GrTexture* background) const { argument
433 if (effect) {
434 *effect = GrArithmeticEffect::Create(SkScalarToFloat(fK[0]),
H A DSkMagnifierImageFilter.cpp35 AutoEffectUnref effect(SkNEW_ARGS(GrMagnifierEffect, (texture,
42 return CreateEffectRef(effect);
199 GrEffectRef* effect = GrMagnifierEffect::Create( local
207 SkASSERT(NULL != effect);
208 return effect;
256 bool SkMagnifierImageFilter::asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkMatrix&, const SkIRect&) const { argument
257 if (effect) {
261 *effect = GrMagnifierEffect::Create(texture,
H A DSkPerlinNoiseShader.cpp535 AutoEffectUnref effect(SkNEW_ARGS(GrPerlinNoiseEffect, (type, baseFrequency, numOctaves,
537 return CreateEffectRef(effect);
637 GrEffectRef* effect; local
638 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
642 return effect;
H A DSkMatrixConvolutionImageFilter.cpp342 AutoEffectUnref effect(SkNEW_ARGS(GrMatrixConvolutionEffect, (texture,
351 return CreateEffectRef(effect);
405 const GrDrawEffect& effect);
663 bool SkMatrixConvolutionImageFilter::asNewEffect(GrEffectRef** effect, argument
668 if (!effect) {
672 *effect = GrMatrixConvolutionEffect::Create(texture,
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp211 AutoEffectUnref effect(SkNEW_ARGS(GrSweepGradient, (ctx, shader, matrix)));
212 return CreateEffectRef(effect);
251 GrEffectRef* effect; local
253 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
254 return effect;
H A DSkLinearGradient.cpp487 AutoEffectUnref effect(SkNEW_ARGS(GrLinearGradient, (ctx, shader, matrix, tm)));
488 return CreateEffectRef(effect);
532 GrEffectRef* effect; local
533 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
534 return effect;
H A DSkRadialGradient.cpp496 AutoEffectUnref effect(SkNEW_ARGS(GrRadialGradient, (ctx, shader, matrix, tm)));
497 return CreateEffectRef(effect);
543 GrEffectRef* effect; local
544 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
545 return effect;
H A DSkTwoPointConicalGradient_gpu.cpp66 AutoEffectUnref effect(SkNEW_ARGS(Edge2PtConicalEffect, (ctx, shader, matrix, tm)));
67 return CreateEffectRef(effect);
206 GrEffectRef* effect; local
208 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
209 return effect;
374 AutoEffectUnref effect(SkNEW_ARGS(FocalOutside2PtConicalEffect, (ctx, shader, matrix, tm, focalX)));
375 return CreateEffectRef(effect);
480 GrEffectRef* effect; local
482 shader->asNewEffect(context, paint, NULL, &grColor, &effect);
483 return effect;
[all...]
/external/skia/src/gpu/effects/
H A DGrRRectEffect.cpp123 GrEffectRef* effect; local
126 effect = GrRRectEffect::Create(et, rrect);
127 } while (NULL == effect);
128 return effect;
475 GrEffectRef* effect; local
478 effect = GrRRectEffect::Create(et, rrect);
479 } while (NULL == effect);
480 return effect;
717 // had been squashed cornerFlags would be 0.) The elliptical effect doesn't
/external/chromium_org/content/renderer/media/webrtc/
H A Dpeer_connection_dependency_factory.cc62 const media::AudioParameters::PlatformEffectsMask effect; member in struct:content::__anon7763
72 // the constraint to false to later disable the software effect.
86 // effect.
87 *effects &= ~kConstraintEffectMap[i].effect;
88 DVLOG(1) << "Disabling platform effect: "
89 << kConstraintEffectMap[i].effect;
90 } else if (*effects & kConstraintEffectMap[i].effect) {
91 // If the constraint is true, leave the platform effect enabled, and
92 // set the constraint to false to later disable the software effect.
102 } else if (kConstraintEffectMap[i].effect
[all...]
/external/chromium_org/skia/ext/
H A Dvector_canvas_unittest.cc733 skia::RefPtr<SkPathEffect> effect = skia::AdoptRef( local
735 paint.setPathEffect(effect.get());
753 skia::RefPtr<SkPathEffect> effect = skia::AdoptRef( local
755 paint.setPathEffect(effect.get());
771 skia::RefPtr<SkPathEffect> effect = skia::AdoptRef( local
773 paint.setPathEffect(effect.get());
787 skia::RefPtr<SkPathEffect> effect = skia::AdoptRef( local
789 paint.setPathEffect(effect.get());
/external/chromium_org/third_party/skia/src/effects/
H A DSkMagnifierImageFilter.cpp176 const GrProcessor& effect) {
177 const GrMagnifierEffect& zoom = effect.cast<GrMagnifierEffect>();
201 GrFragmentProcessor* effect = GrMagnifierEffect::Create( local
209 SkASSERT(effect);
210 return effect;
175 setData(const GrGLProgramDataManager& pdman, const GrProcessor& effect) argument
H A DSkPerlinNoiseShader.cpp651 GrFragmentProcessor* effect; local
652 SkAssertResult(shader->asFragmentProcessor(context, paint, NULL, &paintColor, &effect));
656 return effect;
/external/chromium_org/v8/src/compiler/
H A Djs-typed-lowering.cc23 // Relax the effects of {node} by immediately replacing effect uses of {node}
24 // with the effect input to {node}.
25 // TODO(turbofan): replace the effect input to {node} with {graph->start()}.
42 // JSOperator. This class manages the rewriting of context, control, and effect
84 // Remove all effect and control inputs and outputs to this node and change
92 // Remove the effects from the node, if any, and update its effect usages.
96 // Remove the inputs corresponding to context, effect, and control.
126 Node* effect() { return NodeProperties::GetEffectInput(node_); } function in class:v8::internal::compiler::JSBinopReduction
151 effect(), control());
161 effect(), contro
218 update_effect(Node* effect) argument
[all...]
/external/skia/src/gpu/gl/
H A DGrGLProgramEffects.cpp98 const GrCoordTransform& coordTransform = (*drawEffect.effect())->coordTransform(transformIdx);
118 const GrCoordTransform& coordTransform = (*drawEffect.effect())->coordTransform(transformIdx);
158 int numTransforms = (*drawEffect.effect())->numTransforms();
161 const GrCoordTransform& coordTransform = (*drawEffect.effect())->coordTransform(t);
198 int numTextures = (*drawEffect.effect())->numTextures();
200 const GrTextureAccess& access = (*drawEffect.effect())->textureAccess(t);
217 const GrEffectRef& effect,
220 int numTextures = effect->numTextures();
229 (samplers[t].fUniform, effect->textureAccess(t)));
247 void GrGLProgramEffects::bindTextures(GrGpuGL* gpu, const GrEffectRef& effect, in argument
216 emitSamplers(GrGLShaderBuilder* builder, const GrEffectRef& effect, TextureSamplerArray* outSamplers) argument
269 const GrEffectRef& effect = *stage.getEffect(); local
311 emitTransforms(GrGLFullShaderBuilder* builder, const GrEffectRef& effect, EffectKey effectKey, TransformedCoordsArray* outCoords) argument
479 const GrEffectRef& effect = *stage.getEffect(); local
501 setupPathTexGen(GrGLFragmentOnlyShaderBuilder* builder, const GrEffectRef& effect, EffectKey effectKey, TransformedCoordsArray* outCoords) argument
[all...]
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c792 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
795 UNUSED(effect);
801 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
804 UNUSED(effect);
982 static int in_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
985 UNUSED(effect);
991 static int in_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) argument
994 UNUSED(effect);
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient_gpu.cpp491 GrFragmentProcessor* effect; local
493 SkAssertResult(shader->asFragmentProcessor(context, paint, NULL, &paintColor, &effect));
494 return effect;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.cpp402 const GrProcessor* effect = drawState.getColorStage(s).getProcessor(); local
403 int numTextures = effect->numTextures();
405 GrTexture* texture = effect->texture(t);
410 const GrProcessor* effect = drawState.getCoverageStage(s).getProcessor(); local
411 int numTextures = effect->numTextures();
413 GrTexture* texture = effect->texture(t);
H A DGrOvalRenderer.cpp59 * The output of this effect is a modulation of the input color and coverage for a circle,
173 * The output of this effect is a modulation of the input color and coverage for an axis-aligned
315 * The output of this effect is a modulation of the input color and coverage for an ellipse,
949 GrFragmentProcessor* effect = GrRRectEffect::Create(edgeType, *outer); local
950 if (NULL == effect) {
960 target->drawState()->addCoverageProcessor(effect)->unref();
1027 // The way the effect interpolates the offset-to-ellipse/circle-center attribute only works on
1080 GrGeometryProcessor* effect = CircleEdgeEffect::Create(isStrokeOnly); local
1081 drawState->setGeometryProcessor(effect)->unref();
1183 GrGeometryProcessor* effect local
[all...]
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-js-typed-lowering.cc95 CHECK_EQ(2, node->InputCount()); // should not have context, effect, etc.
100 CHECK_EQ(2, node->InputCount()); // should not have context, effect, etc.
112 // JS binops also require context, effect, and control
117 // JS unops also require context, effect, and control
127 void CheckEffectInput(Node* effect, Node* use) { argument
128 CHECK_EQ(effect, NodeProperties::GetEffectInput(use));
780 // Check effect chain is correct.
1235 // The original node was turned into a ToBoolean, which has an effect.
1240 // effect should have been removed from this node.
/external/skia/src/gpu/
H A DGrAARectRenderer.cpp53 // setup the varying for the Axis aligned rect effect
127 * The output of this effect is a modulation of the input color and coverage
634 GrEffectRef* effect = GrRectEffect::Create(); local
637 drawState->addCoverageEffect(effect, kRectAttrIndex, kWidthIndex)->unref();
684 GrEffectRef* effect = GrAlignedRectEffect::Create(); local
686 drawState->addCoverageEffect(effect, kOffsetIndex)->unref();
H A DGrClipMaskManager.cpp53 // This could be a long-lived effect that is cached with the alpha-mask.
168 SkAutoTUnref<GrEffectRef> effect; local
171 effect.reset(GrConvexPolyEffect::Create(edgeType, iter.get()->getPath(),
177 effect.reset(GrRRectEffect::Create(edgeType, rrect));
183 effect.reset(GrConvexPolyEffect::Create(edgeType, rect));
189 if (effect) {
194 fGpu->drawState()->addCoverageEffect(effect);
858 // mapping depends on whether stencil-clipping is in effect.

Completed in 4573 milliseconds

12345