/external/skia/src/gpu/glsl/ |
GrGLSLBlend.h | 18 * Appends GLSL code to fsBuilder that assigns a specified blend of the srcColor and dstColor 21 void AppendMode(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, 24 void AppendRegionOp(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor,
|
GrGLSLBlend.cpp | 240 static void emit_advanced_xfermode_code(GrGLSLFragmentBuilder* fsBuilder, const char* srcColor, 243 SkASSERT(srcColor); 248 outputColor, srcColor, srcColor, dstColor); 253 hard_light(fsBuilder, outputColor, dstColor, srcColor); 259 srcColor, dstColor, srcColor, 260 dstColor, srcColor, dstColor); 266 srcColor, dstColor, srcColor, [all...] |
GrGLSLShaderBuilder.cpp | 119 const char* srcColor, 122 // re-insert the original alpha. The supplied srcColor is likely to be of the form 142 out->appendf("%s(%s, %s)", colorGamutXformFuncName.c_str(), srcColor, 146 void GrGLSLShaderBuilder::appendColorGamutXform(const char* srcColor, 149 this->appendColorGamutXform(&xform, srcColor, colorXformHelper);
|
GrGLSLXferProcessor.h | 102 const char* srcColor,
|
GrGLSLShaderBuilder.h | 60 returns the srcColor transformed into a new gamut (via multiplication by the xform from 63 void appendColorGamutXform(SkString* out, const char* srcColor, 67 void appendColorGamutXform(const char* srcColor, GrGLSLColorSpaceXformHelper* colorXformHelper);
|
/external/skia/src/gpu/ |
GrColorSpaceXform.h | 39 GrColor4f apply(const GrColor4f& srcColor);
|
GrColorSpaceXform.cpp | 121 GrColor4f GrColorSpaceXform::apply(const GrColor4f& srcColor) { 123 fSrcToDst.mapScalars(srcColor.fRGBA, result.fRGBA);
|
GrBlend.cpp | 111 GrColor srcColor, GrColorComponentFlags srcColorFlags, 115 MaskedColor src(srcColor, srcColorFlags);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
PorterDuffColorFilter_Delegate.java | 77 /*package*/ static long native_CreatePorterDuffFilter(int srcColor, int porterDuffMode) { 79 new PorterDuffColorFilter_Delegate(srcColor, porterDuffMode); 86 private PorterDuffColorFilter_Delegate(int srcColor, int mode) { 87 mSrcColor = new java.awt.Color(srcColor, true /* hasAlpha */);
|
/frameworks/base/core/jni/android/graphics/ |
ColorFilter.cpp | 41 static jlong CreatePorterDuffFilter(JNIEnv* env, jobject, jint srcColor, jint modeHandle) { 43 return reinterpret_cast<jlong>(SkColorFilter::MakeModeFilter(srcColor, mode).release());
|
/frameworks/base/graphics/java/android/graphics/ |
PorterDuffColorFilter.java | 132 private static native long native_CreatePorterDuffFilter(int srcColor, int porterDuffMode);
|
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.cpp | 415 const Vec4& srcColor = sample.clampedBlendSrcColor; \ 424 case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB) break; 425 case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB) break; 426 case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB) break; 427 case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) break; 428 case BLENDEQUATION_MAX: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) break; 435 case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA + dstColor.w()*sample.blendDstFactorA) break; 436 case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA - dstColor.w()*sample.blendDstFactorA) break; 437 case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.blendDstFactorA - srcColor.w()*sample.blendSrcFactorA) break; 438 case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w())) break [all...] |
/external/skia/gm/ |
gamma.cpp | 80 auto nextXferRect = [&](SkColor srcColor, SkBlendMode mode, SkColor dstColor) { 83 p.setColor(srcColor); 87 SkString srcText = SkStringPrintf("%08X", srcColor);
|
/external/skia/src/effects/ |
SkLayerDrawLooper.cpp | 68 SkColor srcColor = src.getColor(); 72 if (SkColorGetA(srcColor) == 255) { 73 srcColor = SkColorSetA(srcColor, dst->getAlpha()); 76 dst->setColor(xferColor(srcColor, dst->getColor(), (SkBlendMode)info.fColorMode));
|
/external/skia/src/gpu/effects/ |
GrXfermodeFragmentProcessor.cpp | 151 GrColor4f srcColor = ConstantOutputForConstantInput(this->childProcessor(0), input); 153 SkPM4f src = GrColor4fToSkPM4f(srcColor); 215 SkString srcColor("xfer_src"); 216 this->emitChild(0, inputColor, &srcColor, args); 225 srcColor.c_str(),
|
GrCustomXfermode.cpp | 152 const char* srcColor, 161 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode());
|
GrPorterDuffXferProcessor.cpp | 547 const char* srcColor, 555 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); [all...] |
/external/skia/src/codec/ |
SkCodecPriv.h | 134 uint32_t srcColor = colorPtr[fillIndex]; 139 srcFormat, &srcColor, 1, alphaType));
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
ClearTile.cpp | 126 float srcColor[4]; 130 srcColor[comp] = pColor[FormatTraits<DstFormat>::swizzle(comp)]; 134 ConvertPixelFromFloat<DstFormat>(dstFormattedColor, srcColor);
|
Convert.h | 397 uint32_t srcColor[4]; // typeless bits 413 srcColor[3] = pPixel->a; 415 srcColor[2] = pPixel->b; 417 srcColor[1] = pPixel->g; 419 srcColor[0] = pPixel->r; 430 uint32_t src = srcColor[comp];
|
LoadTile.h | 66 const float srcColor[4], 83 pSimdTile->SetSwizzledColor(simdOffset, srcColor); 97 pSimdTile->SetSwizzledColor(simdOffset, srcColor); 126 float srcColor[4]; 127 ConvertPixelToFloat<SrcFormat>(srcColor, pSrc); 130 SetSwizzledDstColor(srcColor, rx, ry, pDst);
|
StoreTile.h | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrConversionTests.cpp | [all...] |
/external/skia/src/core/ |
SkBlitter_ARGB32.cpp | 18 const SkIRect& clip, SkPMColor srcColor) { 19 U8CPU alpha = SkGetPackedA32(srcColor);
|
/external/robolectric/v1/lib/main/ |
android.jar | |