/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
Splatting.glsllib | 1 void Splatting_Base(in sampler2D baseMap, in vec2 tc, in float scale, out vec3 outColor){
2 outColor = texture2D(baseMap, tc * vec2(scale)).rgb;
5 void Splatting_AlphaDetail(in sampler2D alphaMap, in sampler2D detailMap, in vec2 tc, in float scale, out vec3 outColor){
8 //outColor = mix(outColor, color, alpha);
9 outColor = outColor + color * vec3(alpha);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/shaders/ |
Clear11.hlsl | 2 out float4 outPosition : SV_POSITION, out float4 outColor : COLOR) 5 outColor = inColor; 23 PS_OutputMultiple outColor; 24 outColor.color0 = inColor; 25 outColor.color1 = inColor; 26 outColor.color2 = inColor; 27 outColor.color3 = inColor; 28 outColor.color4 = inColor; 29 outColor.color5 = inColor; 30 outColor.color6 = inColor [all...] |
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/ |
Terrain.frag | 58 vec4 outColor = tex1 * alpha.r; // Red channel
59 outColor = mix( outColor, tex2, alpha.g ); // Green channel
60 outColor = mix( outColor, tex3, alpha.b ); // Blue channel
61 gl_FragColor = outColor;
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 201 void GradientCache::splitToBytes(uint32_t inColor, GradientColor& outColor) const { 202 outColor.r = (inColor >> 16) & 0xff; 203 outColor.g = (inColor >> 8) & 0xff; 204 outColor.b = (inColor >> 0) & 0xff; 205 outColor.a = (inColor >> 24) & 0xff; 208 void GradientCache::splitToFloats(uint32_t inColor, GradientColor& outColor) const { 209 outColor.r = ((inColor >> 16) & 0xff) / 255.0f; 210 outColor.g = ((inColor >> 8) & 0xff) / 255.0f; 211 outColor.b = ((inColor >> 0) & 0xff) / 255.0f; 212 outColor.a = ((inColor >> 24) & 0xff) / 255.0f [all...] |
GradientCache.h | 173 GradientColor& outColor) const; 175 void splitToBytes(uint32_t inColor, GradientColor& outColor) const; 176 void splitToFloats(uint32_t inColor, GradientColor& outColor) const;
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLProgramEffects.h | 139 const char* outColor, 171 const char* outColor, 220 const char* outColor, 264 const char* outColor, 308 const char* outColor,
|
GrGLProgramEffects.cpp | 265 const char* outColor, 288 vertexEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 290 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 463 const char* outColor, 467 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIndex); 475 const char* outColor, 496 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 581 const char* outColor, 585 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIndex);
|
GrGLShaderBuilder.cpp | 522 GrGLSLExpr4 outColor; 543 outColor = outColorName; 548 outColor.c_str(), 552 inColor = outColor; 557 *fsInOutColor = outColor; [all...] |
/external/skia/src/gpu/gl/ |
GrGLProgramEffects.h | 139 const char* outColor, 171 const char* outColor, 220 const char* outColor, 264 const char* outColor, 308 const char* outColor,
|
GrGLProgramEffects.cpp | 265 const char* outColor, 288 vertexEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 290 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 463 const char* outColor, 467 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIndex); 475 const char* outColor, 496 glEffect->emitCode(builder, drawEffect, key, outColor, inColor, coords, samplers); 581 const char* outColor, 585 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIndex);
|
GrGLShaderBuilder.cpp | 522 GrGLSLExpr4 outColor; 543 outColor = outColorName; 548 outColor.c_str(), 552 inColor = outColor; 557 *fsInOutColor = outColor; [all...] |
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
RendererES3.cpp | 45 "out vec4 outColor;\n" 47 " outColor = vColor;\n"
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrTextureDomain.h | 77 * @param outcolor name of vec4 variable to hold the sampled color. 81 * expression before being written to outColor. 85 const char* outColor,
|
GrTextureDomain.cpp | 44 const char* outColor, 52 builder->fsCodeAppendf("\t%s = ", outColor); 74 builder->fsCodeAppendf("\t%s = ", outColor); 100 builder->fsCodeAppendf("\t%s = mix(inside, outside, blend);\n", outColor); 107 builder->fsCodeAppendf("\t%s = any(outside) ? vec4(0.0, 0.0, 0.0, 0.0) : ", outColor);
|
/external/skia/src/gpu/effects/ |
GrTextureDomain.h | 77 * @param outcolor name of vec4 variable to hold the sampled color. 81 * expression before being written to outColor. 85 const char* outColor,
|
GrTextureDomain.cpp | 44 const char* outColor, 52 builder->fsCodeAppendf("\t%s = ", outColor); 74 builder->fsCodeAppendf("\t%s = ", outColor); 100 builder->fsCodeAppendf("\t%s = mix(inside, outside, blend);\n", outColor); 107 builder->fsCodeAppendf("\t%s = any(outside) ? vec4(0.0, 0.0, 0.0, 0.0) : ", outColor);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
Renderer11.cpp | [all...] |
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
RenderDeviceJme.java | 186 private ColorRGBA convertColor(Color inColor, ColorRGBA outColor) {
187 return outColor.set(inColor.getRed(), inColor.getGreen(), inColor.getBlue(), inColor.getAlpha());
|
/external/chromium_org/third_party/skia/src/core/ |
SkXfermode.cpp | [all...] |
/external/skia/src/core/ |
SkXfermode.cpp | [all...] |
/external/chromium_org/third_party/mesa/src/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/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);
|