Home
last modified time | relevance | path

Searched refs:blendState (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/pixelflinger2/
Dpixelflinger2.cpp69 ctx->state.blendState.color[0] = MIN2(MAX2(red * 255, 0.0f), 255.0f); in BlendColor()
70 ctx->state.blendState.color[1] = MIN2(MAX2(green * 255, 0.0f), 255.0f); in BlendColor()
71 ctx->state.blendState.color[2] = MIN2(MAX2(blue * 255, 0.0f), 255.0f); in BlendColor()
72 ctx->state.blendState.color[3] = MIN2(MAX2(alpha * 255, 0.0f), 255.0f); in BlendColor()
85 ctx->state.blendState.ce = (GGLBlendState::GGLBlendFunc)(modeRGB - GL_FUNC_ADD); in BlendEquationSeparate()
86 ctx->state.blendState.ae = (GGLBlendState::GGLBlendFunc)(modeAlpha - GL_FUNC_ADD); in BlendEquationSeparate()
138 ctx->state.blendState.scf = GLBlendFactor(srcRGB); in BlendFuncSeparate()
139 ctx->state.blendState.saf = GLBlendFactor(srcAlpha); in BlendFuncSeparate()
140 ctx->state.blendState.dcf = GLBlendFactor(dstRGB); in BlendFuncSeparate()
141 ctx->state.blendState.daf = GLBlendFactor(dstAlpha); in BlendFuncSeparate()
[all …]
Dllvm_scanline.cpp267 if (!gglCtx->blendState.enable) { in GenerateFSBlend()
335 Value * constant = constIntVec(builder,gglCtx->blendState.color[0], in GenerateFSBlend()
336 gglCtx->blendState.color[1], in GenerateFSBlend()
337 gglCtx->blendState.color[2], in GenerateFSBlend()
338 gglCtx->blendState.color[3]); in GenerateFSBlend()
348 Value * sf = BlendFactor(gglCtx->blendState.scf, src, dst, in GenerateFSBlend()
351 if (gglCtx->blendState.scf != gglCtx->blendState.saf) { in GenerateFSBlend()
352 Value * sfA = BlendFactor(gglCtx->blendState.saf, srcA, dstA, in GenerateFSBlend()
359 Value * df = BlendFactor(gglCtx->blendState.dcf, src, dst, in GenerateFSBlend()
362 if (gglCtx->blendState.dcf != gglCtx->blendState.daf) { in GenerateFSBlend()
[all …]
Dscanline.cpp582 if (ctx->state.blendState.enable) in PickScanLine()
587 if (ctx->state.blendState.enable) in PickScanLine()
594 if (ctx->state.blendState.enable) in PickScanLine()
599 if (ctx->state.blendState.enable) in PickScanLine()
Dshader.cpp100 GGLBlendState blendState; member
292 key->scanLineKey.blendState = ctx->blendState; in GetShaderKey()
/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_interface.h158 GGLBlendState_t blendState; // all affect scanline jit member