Home
last modified time | relevance | path

Searched refs:srcColor (Results 1 – 25 of 25) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp240 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, in emit_advanced_xfermode_code() argument
243 SkASSERT(srcColor); in emit_advanced_xfermode_code()
248 outputColor, srcColor, srcColor, dstColor); in emit_advanced_xfermode_code()
253 hard_light(fsBuilder, outputColor, dstColor, srcColor); in emit_advanced_xfermode_code()
259 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
260 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
266 srcColor, dstColor, srcColor, in emit_advanced_xfermode_code()
267 dstColor, srcColor, dstColor); in emit_advanced_xfermode_code()
270 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'r'); in emit_advanced_xfermode_code()
271 color_dodge_component(fsBuilder, outputColor, srcColor, dstColor, 'g'); in emit_advanced_xfermode_code()
[all …]
DGrGLSLBlend.h21 void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
24 void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
DGrGLSLShaderBuilder.cpp122 const char* srcColor, in appendColorGamutXform() argument
145 out->appendf("%s(%s, %s)", colorGamutXformFuncName.c_str(), srcColor, in appendColorGamutXform()
149 void GrGLSLShaderBuilder::appendColorGamutXform(const char* srcColor, in appendColorGamutXform() argument
152 this->appendColorGamutXform(&xform, srcColor, colorXformHelper); in appendColorGamutXform()
DGrGLSLShaderBuilder.h62 void appendColorGamutXform(SkString* out, const char* srcColor,
66 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
DGrGLSLXferProcessor.h103 const char* srcColor, in emitBlendCodeForDstRead() argument
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp415 const Vec4& srcColor = sample.clampedBlendSrcColor; \ in executeBlend()
424 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*samp… in executeBlend()
425 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*s… in executeBlend()
426 …ED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sa… in executeBlend()
427 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2),… in executeBlend()
428 …case BLENDEQUATION_MAX: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2),… in executeBlend()
435 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFa… in executeBlend()
436 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSr… in executeBlend()
437 …_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.blendDstFactorA - srcColor.w()*sample.blendS… in executeBlend()
438 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend()
[all …]
/external/skia/src/core/
DSkBlitter_RGB16.cpp267 uint16_t srcColor = fColor16; in blitH() local
269 SkASSERT(fRawColor16 == srcColor); in blitH()
273 SkTSwap(ditherColor, srcColor); in blitH()
275 sk_dither_memset16(device, srcColor, ditherColor, width); in blitH()
277 sk_memset16(device, srcColor, width); in blitH()
290 uint16_t srcColor = fRawColor16; in blitAntiH() local
296 SkTSwap(ditherColor, srcColor); in blitAntiH()
311 sk_dither_memset16(device, srcColor, in blitAntiH()
314 sk_memset16(device, srcColor, count); in blitAntiH()
334 SkTSwap(ditherColor, srcColor); in blitAntiH()
[all …]
DSkXfermode4f.cpp195 SkPMColor srcColor = store_dst<D>(s4); in src_1() local
200 *dst++ = srcColor; in src_1()
DSkBlitter_ARGB32.cpp18 const SkIRect& clip, SkPMColor srcColor) { in SkARGB32_Blit32() argument
19 U8CPU alpha = SkGetPackedA32(srcColor); in SkARGB32_Blit32()
/external/skia/src/codec/
DSkCodecPriv.h136 uint32_t srcColor = colorPtr[fillIndex]; in get_color_table_fill_value() local
141 srcFormat, &srcColor, 1, alphaType)); in get_color_table_fill_value()
326 static inline bool apply_xform_on_decode(SkColorType dstColorType, SkEncodedInfo::Color srcColor) { in apply_xform_on_decode() argument
328 return SkEncodedInfo::kPalette_Color != srcColor || kRGBA_F16_SkColorType == dstColorType; in apply_xform_on_decode()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp67 SkColor srcColor = src.getColor(); in ApplyInfo() local
71 if (SkColorGetA(srcColor) == 255) { in ApplyInfo()
72 srcColor = SkColorSetA(srcColor, dst->getAlpha()); in ApplyInfo()
75 dst->setColor(xferColor(srcColor, dst->getColor(), (SkBlendMode)info.fColorMode)); in ApplyInfo()
/external/skia/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp141 GrColor4f srcColor = ConstantOutputForConstantInput(this->childProcessor(0), input); in constantOutputForConstantInput() local
143 SkPM4f src = GrColor4fToSkPM4f(srcColor); in constantOutputForConstantInput()
205 SkString srcColor("xfer_src"); in emitCode() local
206 this->emitChild(0, inputColor, &srcColor, args); in emitCode()
215 srcColor.c_str(), in emitCode()
DGrCustomXfermode.cpp155 const char* srcColor, in emitBlendCodeForDstRead() argument
164 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
DGrPorterDuffXferProcessor.cpp513 const char* srcColor, in emitBlendCodeForDstRead() argument
521 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); in emitBlendCodeForDstRead()
/external/skia/src/gpu/
DGrColorSpaceXform.cpp121 GrColor4f GrColorSpaceXform::apply(const GrColor4f& srcColor) { in apply() argument
123 fSrcToDst.mapScalars(srcColor.fRGBA, result.fRGBA); in apply()
DGrBlend.cpp111 GrColor srcColor, GrColorComponentFlags srcColorFlags, in GrGetCoeffBlendKnownComponents() argument
115 MaskedColor src(srcColor, srcColorFlags); in GrGetCoeffBlendKnownComponents()
/external/skia/gm/
Dgamma.cpp80 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { in __anon25727ebf0402() argument
83 p.setColor(srcColor); in __anon25727ebf0402()
87 SkString srcText = SkStringPrintf("%08X", srcColor); in __anon25727ebf0402()
/external/skia/include/gpu/
DGrColorSpaceXform.h39 GrColor4f apply(const GrColor4f& srcColor);
DGrBlend.h83 GrColor srcColor,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...