/external/skia/tests/ |
GrGetCoeffBlendKnownComponentsTest.cpp | 40 GrColor outColor; 46 &outColor, &outFlags); 48 if (SkAbs32(GrColorUnpackA(baselineColor) - GrColorUnpackA(outColor)) > 1 || 49 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 || 50 SkAbs32(GrColorUnpackG(baselineColor) - GrColorUnpackG(outColor)) > 1 || 51 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { 52 ERRORF(reporter, "Blended color is 0x%08x, expected 0x%08x", outColor, 55 GrColorIsPMAssert(outColor); 58 GrColor outColor; 63 &outColor, &outFlags) [all...] |
/external/skia/src/gpu/glsl/ |
GrGLSLBlend.h | 19 * variables to the outColor variable. 22 const char* dstColor, const char* outColor, SkXfermode::Mode mode); 25 const char* dstColor, const char* outColor, SkRegion::Op regionOp);
|
GrGLSLXferProcessor.cpp | 94 const char* outColor, 99 fragBuilder->codeAppendf("%s *= %s;", outColor, srcCoverage); 106 outColor, srcCoverage, outColor, srcCoverage, dstColor);
|
GrGLSLXferProcessor.h | 78 const char* outColor, 102 const char* outColor,
|
GrGLSLBlend.cpp | 143 setLumBody.append("vec3 outColor = hueSat + diff;"); 144 setLumBody.appendf("float outLum = %s(outColor);", getFunction.c_str()); 145 setLumBody.append("float minComp = min(min(outColor.r, outColor.g), outColor.b);" 146 "float maxComp = max(max(outColor.r, outColor.g), outColor.b);" 148 "outColor = outLum + ((outColor - vec3(outLum, outLum, outLum)) * outLum) / [all...] |
/development/ndk/platforms/android-18/samples/MoreTeapots/assets/Shaders/ |
ShaderPlainES3.fsh | 10 out vec4 outColor; 20 outColor = colorDiffuse + colorSpecular;
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 182 void GradientCache::splitToBytes(uint32_t inColor, GradientColor& outColor) const { 183 outColor.r = (inColor >> 16) & 0xff; 184 outColor.g = (inColor >> 8) & 0xff; 185 outColor.b = (inColor >> 0) & 0xff; 186 outColor.a = (inColor >> 24) & 0xff; 189 void GradientCache::splitToFloats(uint32_t inColor, GradientColor& outColor) const { 190 outColor.r = ((inColor >> 16) & 0xff) / 255.0f; 191 outColor.g = ((inColor >> 8) & 0xff) / 255.0f; 192 outColor.b = ((inColor >> 0) & 0xff) / 255.0f; 193 outColor.a = ((inColor >> 24) & 0xff) / 255.0f [all...] |
PropertyValuesHolder.cpp | 33 void ColorEvaluator::evaluate(SkColor* outColor, 39 *outColor = SkColorSetARGB(alpha, red, green, blue);
|
GradientCache.h | 162 GradientColor& outColor) const; 164 void splitToBytes(uint32_t inColor, GradientColor& outColor) const; 165 void splitToFloats(uint32_t inColor, GradientColor& outColor) const;
|
PropertyValuesHolder.h | 54 virtual void evaluate(SkColor* outColor, const SkColor& from, const SkColor& to,
|
/external/skia/src/gpu/effects/ |
GrCoverageSetOpXP.cpp | 208 const char* outColor, 214 fragBuilder->codeAppendf("%s = 1.0 - %s;", outColor, srcCoverage); 216 fragBuilder->codeAppendf("%s = %s;", outColor, srcCoverage); 219 GrGLSLBlend::AppendRegionOp(fragBuilder, outColor, dstColor, outColor, xp.regionOp());
|
GrTextureDomain.cpp | 50 const char* outColor, 71 builder->codeAppendf("%s = ", outColor); 82 builder->codeAppendf("%s = ", outColor); 118 builder->codeAppendf("%s = mix(inside, outside, blend);", outColor); 126 outColor); 139 builder->codeAppendf("%s = ", outColor);
|
GrTextureDomain.h | 111 * @param outcolor name of vec4 variable to hold the sampled color. 115 * expression before being written to outColor. 121 const char* outColor,
|
GrCustomXfermode.cpp | 169 const char* outColor, 175 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); 178 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor,
|
GrPorterDuffXferProcessor.cpp | 554 const char* outColor, 559 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.getXfermode()); 562 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor, [all...] |
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
RendererES3.cpp | 45 "out vec4 outColor;\n" 47 " outColor = vColor;\n"
|
/external/skia/src/gpu/ |
GrBlend.cpp | 113 GrColor* outColor, 122 *outColor = output.color();
|
/external/skia/src/effects/ |
SkArithmeticMode_gpu.cpp | 202 const char* outColor, 210 add_arithmetic_code(fragBuilder, srcColor, dstColor, outColor, kUni, fEnforcePMColor); 213 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor,
|
SkPixelXorXfermode.cpp | 279 const char* outColor, 287 add_pixelxor_code(fragBuilder, srcColor, dstColor, outColor, kOpColorUni); 290 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor,
|
SkAvoidXfermode.cpp | 411 const char* outColor, 431 kCoverageName, outColor, dstColor); 432 fragBuilder->codeAppendf("%s = %s;", outColor, srcColor ? srcColor : "vec4(1.0)"); 433 INHERITED::DefaultCoverageModulation(fragBuilder, kCoverageName, dstColor, outColor,
|
/external/skia/tools/debugger/ |
SkOverdrawMode.cpp | 186 const char* outColor, 189 add_overdraw_code(fragBuilder, dstColor, outColor); 192 INHERITED::DefaultCoverageModulation(fragBuilder, srcCoverage, dstColor, outColor,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_fp.c | 973 struct prog_src_register outcolor; local 982 outcolor = src_reg(PROGRAM_OUTPUT, FRAG_RESULT_COLOR); 984 outcolor = src_reg(PROGRAM_OUTPUT, FRAG_RESULT_DATA0 + i); 987 0, outcolor, payload_r0_depth, outdepth);
|
/external/skia/include/gpu/ |
GrBlend.h | 87 GrColor* outColor,
|
/external/deqp/modules/gles31/functional/ |
es31fGeometryShaderTests.cpp | [all...] |