| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_state.c | 58 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, argument 65 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || 66 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || 67 srcRGB == PIPE_BLENDFACTOR_ZERO) && 79 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, argument 86 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || 87 srcRGB == PIPE_BLENDFACTOR_ZERO) && 98 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, argument 105 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || 106 srcRGB 113 blend_discard_if_src_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 128 blend_discard_if_src_alpha_color_0(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 151 blend_discard_if_src_alpha_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 172 blend_discard_conditionally(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA) argument 271 blend_read_enable(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA,boolean src_alpha_optz) argument 356 const unsigned srcRGB = state->rt[0].rgb_src_factor; local in function:r300_create_blend_state [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_state.c | 59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, argument 66 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || 67 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || 68 srcRGB == PIPE_BLENDFACTOR_ZERO) && 80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, argument 87 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || 88 srcRGB == PIPE_BLENDFACTOR_ZERO) && 99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, argument 106 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || 107 srcRGB 114 blend_discard_if_src_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 129 blend_discard_if_src_alpha_color_0(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 152 blend_discard_if_src_alpha_color_1(unsigned srcRGB,unsigned srcA,unsigned dstRGB,unsigned dstA) argument 173 blend_discard_conditionally(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA) argument 272 blend_read_enable(unsigned eqRGB,unsigned eqA,unsigned dstRGB,unsigned dstA,unsigned srcRGB,unsigned srcA,boolean src_alpha_optz) argument 350 const unsigned srcRGB = state->rt[0].rgb_src_factor; local in function:r300_create_blend_state [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| H A D | i915_state_emit.c | 180 uint srcRGB; local in function:emit_immediate_s6 183 srcRGB = (imm >> S6_CBUF_SRC_BLEND_FACT_SHIFT) & BLENDFACT_MASK; 184 if (srcRGB == BLENDFACT_DST_ALPHA) 185 srcRGB = BLENDFACT_DST_COLR; 186 else if (srcRGB == BLENDFACT_INV_DST_ALPHA) 187 srcRGB = BLENDFACT_INV_DST_COLR; 189 imm |= SRC_BLND_FACT(srcRGB);
|
| H A D | i915_state.c | 108 unsigned srcRGB = blend->rt[0].rgb_src_factor; local in function:i915_create_blend_state 119 if (srcA != srcRGB || 165 unsigned srcRGB = blend->rt[0].rgb_src_factor; local in function:i915_create_blend_state 169 SRC_BLND_FACT(i915_translate_blend_factor(srcRGB)) |
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/ |
| H A D | s_blend.c | 904 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; local in function:_swrast_choose_blend_func 932 else if (srcRGB != srcA || dstRGB != dstA) { 935 else if (eq == GL_FUNC_ADD && srcRGB == GL_SRC_ALPHA 952 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ONE) { 962 && (srcRGB == GL_ZERO && dstRGB == GL_SRC_COLOR)) 965 && (srcRGB == GL_DST_COLOR && dstRGB == GL_ZERO))) { 974 else if (eq == GL_FUNC_ADD && srcRGB == GL_ZERO && dstRGB == GL_ONE) { 977 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ZERO) {
|
| H A D | s_texcombine.c | 142 const GLenum srcRGB = combine->SourceRGB[term]; local in function:texture_combine 145 switch (srcRGB) { 191 const GLuint srcUnit = srcRGB - GL_TEXTURE0;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/swrast/ |
| H A D | s_blend.c | 904 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; local in function:_swrast_choose_blend_func 932 else if (srcRGB != srcA || dstRGB != dstA) { 935 else if (eq == GL_FUNC_ADD && srcRGB == GL_SRC_ALPHA 952 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ONE) { 962 && (srcRGB == GL_ZERO && dstRGB == GL_SRC_COLOR)) 965 && (srcRGB == GL_DST_COLOR && dstRGB == GL_ZERO))) { 974 else if (eq == GL_FUNC_ADD && srcRGB == GL_ZERO && dstRGB == GL_ONE) { 977 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ZERO) {
|
| H A D | s_texcombine.c | 142 const GLenum srcRGB = combine->SourceRGB[term]; local in function:texture_combine 145 switch (srcRGB) { 191 const GLuint srcUnit = srcRGB - GL_TEXTURE0;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_state.c | 300 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; local in function:i915UpdateBlendState 306 srcRGB = dstRGB = GL_ONE; 313 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); 321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) 339 i915BlendFuncSeparate(struct gl_context * ctx, GLenum srcRGB, argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | i915_state.c | 300 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; local in function:i915UpdateBlendState 306 srcRGB = dstRGB = GL_ONE; 313 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); 321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) 339 i915BlendFuncSeparate(struct gl_context * ctx, GLenum srcRGB, argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| H A D | i915_state.c | 156 unsigned srcRGB = blend->rt[0].rgb_src_factor; local in function:i915_create_blend_state 167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { 206 unsigned srcRGB = blend->rt[0].rgb_src_factor; local in function:i915_create_blend_state 211 SRC_BLND_FACT(i915_translate_blend_factor(srcRGB)) |
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_pipeline.c | 712 VkBlendFactor srcRGB = att->srcColorBlendFactor; local in function:radv_pipeline_init_blend_state 730 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) 735 srcRGB = VK_BLEND_FACTOR_ONE; 743 radv_blend_check_commutativity(&blend, eqRGB, srcRGB, dstRGB, 754 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, 767 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); 773 if (si_blend_factor_uses_dst(srcRGB)) 778 if (srcRGB == VK_BLEND_FACTOR_SRC_ALPHA_SATURATE && 795 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); 797 if (srcA != srcRGB || dst [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | genX_state_upload.c | 2957 GLenum srcRGB = ctx->Color.Blend[i].SrcRGB; local in function:set_blend_entry_bits 2963 srcRGB = dstRGB = GL_ONE; 2977 srcRGB = brw_fix_xRGB_alpha(srcRGB); 2990 srcRGB = fix_dual_blend_alpha_to_one(srcRGB); 3017 entry->SourceBlendFactor = blend_factor(srcRGB); 3023 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) 4864 GLenum srcRGB = color->Blend[0].SrcRGB; local in function:genX 4870 srcRGB [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | genX_state_upload.c | 2856 GLenum srcRGB = ctx->Color.Blend[i].SrcRGB; local in function:set_blend_entry_bits 2862 srcRGB = dstRGB = GL_ONE; 2876 srcRGB = brw_fix_xRGB_alpha(srcRGB); 2889 srcRGB = fix_dual_blend_alpha_to_one(srcRGB); 2916 entry->SourceBlendFactor = blend_factor(srcRGB); 2922 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) 4786 GLenum srcRGB = color->Blend[0].SrcRGB; local in function:genX 4792 srcRGB [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 494 unsigned srcRGB = state->rt[j].rgb_src_factor; local in function:si_create_blend_state_mode 539 eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); 549 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, 560 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); 566 if (si_blend_factor_uses_dst(srcRGB)) 571 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE && 589 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); 592 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { 603 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || 605 srcRGB [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_state.c | 494 unsigned srcRGB = state->rt[j].rgb_src_factor; local in function:si_create_blend_state_mode 536 si_blend_check_commutativity(sctx->screen, blend, eqRGB, srcRGB, dstRGB, 0x7 << (4 * i)); 545 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, PIPE_BLENDFACTOR_DST_COLOR, 553 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); 559 if (util_blend_factor_uses_dest(srcRGB, false)) 564 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE && 579 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); 582 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { 596 if (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || dstRGB == PIPE_BLENDFACTOR_SRC_ALPHA || 597 srcRGB [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_pipeline.c | 655 VkBlendFactor srcRGB = att->srcColorBlendFactor; local in function:radv_pipeline_init_blend_state 680 if (is_dual_src(srcRGB) || is_dual_src(dstRGB) || is_dual_src(srcA) || is_dual_src(dstA)) 685 srcRGB = VK_BLEND_FACTOR_ONE; 693 radv_blend_check_commutativity(&blend, eqRGB, srcRGB, dstRGB, 0x7u << (4 * i)); 702 si_blend_remove_dst(&eqRGB, &srcRGB, &dstRGB, VK_BLEND_FACTOR_DST_COLOR, 712 srcRGB_opt = si_translate_blend_opt_factor(srcRGB, false); 718 if (si_blend_factor_uses_dst(srcRGB)) 723 if (srcRGB == VK_BLEND_FACTOR_SRC_ALPHA_SATURATE && 737 blend_cntl |= S_028780_COLOR_SRCBLEND(si_translate_blend_factor(srcRGB)); 739 if (srcA != srcRGB || dst [all...] |
| /xsrc/external/mit/MesaLib.old/dist/include/GLES/ |
| H A D | glext.h | 87 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 89 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
| /xsrc/external/mit/MesaLib/dist/include/GLES/ |
| H A D | glext.h | 91 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 93 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/ |
| H A D | r600_state.c | 290 unsigned srcRGB = state->rt[j].rgb_src_factor; local in function:r600_get_blend_control 302 bc |= S_028804_COLOR_SRCBLEND(r600_translate_blend_factor(srcRGB)); 305 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/ |
| H A D | r600_state.c | 295 unsigned srcRGB = state->rt[j].rgb_src_factor; local in function:r600_get_blend_control 307 bc |= S_028804_COLOR_SRCBLEND(r600_translate_blend_factor(srcRGB)); 310 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
|
| /xsrc/external/mit/MesaLib/src/mapi/glapi/gen/ |
| H A D | marshal_generated3.c | 3275 GLenum srcRGB; member in struct:marshal_cmd_BlendFuncSeparateiARB 3284 GLenum srcRGB = cmd->srcRGB; local in function:_mesa_unmarshal_BlendFuncSeparateiARB 3288 CALL_BlendFuncSeparateiARB(ctx->CurrentServerDispatch, (buf, srcRGB, dstRGB, srcA, dstA)); 3294 _mesa_marshal_BlendFuncSeparateiARB(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA) argument 3301 cmd->srcRGB = srcRGB;
|
| /xsrc/external/mit/MesaLib.old/dist/include/GLES2/ |
| H A D | gl2ext.h | 317 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 326 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1344 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1353 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
| /xsrc/external/mit/MesaLib/dist/include/GLES2/ |
| H A D | gl2ext.h | 333 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 342 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1365 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 1374 GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
| /xsrc/external/mit/MesaLib/src/mapi/es2api/ |
| H A D | glapi_mapi_tmp.h | 39 GLAPI void APIENTRY glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 557 GLAPI void APIENTRY glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) argument 561 ((void (APIENTRY *)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)) _func)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
|