Home
last modified time | relevance | path

Searched refs:srcRGB (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state.c59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_0() argument
66 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0()
67 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0()
68 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0()
80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument
87 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1()
88 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1()
99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument
106 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_color_0()
107 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_color_0()
[all …]
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pBlendTests.cpp46 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL…
62 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… in BlendCase() argument
66 , m_srcRGB (srcRGB) in BlendCase()
139 GLenum srcRGB; in init() member
164 …me, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].ds… in init()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pBlendTests.cpp46 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL…
62 … name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GL… in BlendCase() argument
66 , m_srcRGB (srcRGB) in BlendCase()
142 GLenum srcRGB; in init() member
171 …me, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].ds… in init()
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_draw_buffers_blend.txt57 void BlendFuncSeparateIndexedAMD(uint buf, enum srcRGB, enum dstRGB,
122 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
130 void BlendFuncSeparateIndexedAMD(uint buf, enum srcRGB,
134 BlendFuncSeparate and BlendFuncSeparateIndexedAMD arguments <srcRGB>
189 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
/third_party/openGLES/extensions/AMD/
DAMD_draw_buffers_blend.txt57 void BlendFuncSeparateIndexedAMD(uint buf, enum srcRGB, enum dstRGB,
122 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
130 void BlendFuncSeparateIndexedAMD(uint buf, enum srcRGB,
134 BlendFuncSeparate and BlendFuncSeparateIndexedAMD arguments <srcRGB>
189 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
/third_party/openGLES/extensions/ARB/
DARB_draw_buffers_blend.txt82 void BlendFuncSeparateiARB(uint buf, enum srcRGB, enum dstRGB,
139 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
146 void BlendFuncSeparateiARB(uint buf, enum srcRGB,
150 BlendFuncSeparate and BlendFuncSeparateiARB arguments <srcRGB> and
224 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_draw_buffers_blend.txt72 void BlendFuncSeparateiARB(uint buf, enum srcRGB, enum dstRGB,
129 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
136 void BlendFuncSeparateiARB(uint buf, enum srcRGB,
140 BlendFuncSeparate and BlendFuncSeparateiARB arguments <srcRGB> and
214 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/glprototypes/
Dblending.h66 (GLenum srcRGB,
/third_party/mesa3d/src/mesa/swrast/
Ds_blend.c904 const GLenum srcRGB = ctx->Color.Blend[0].SrcRGB; in _swrast_choose_blend_func() local
932 else if (srcRGB != srcA || dstRGB != dstA) { in _swrast_choose_blend_func()
935 else if (eq == GL_FUNC_ADD && srcRGB == GL_SRC_ALPHA in _swrast_choose_blend_func()
952 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ONE) { in _swrast_choose_blend_func()
962 && (srcRGB == GL_ZERO && dstRGB == GL_SRC_COLOR)) in _swrast_choose_blend_func()
965 && (srcRGB == GL_DST_COLOR && dstRGB == GL_ZERO))) { in _swrast_choose_blend_func()
974 else if (eq == GL_FUNC_ADD && srcRGB == GL_ZERO && dstRGB == GL_ONE) { in _swrast_choose_blend_func()
977 else if (eq == GL_FUNC_ADD && srcRGB == GL_ONE && dstRGB == GL_ZERO) { in _swrast_choose_blend_func()
Ds_texcombine.c142 const GLenum srcRGB = combine->SourceRGB[term]; in texture_combine() local
145 switch (srcRGB) { in texture_combine()
191 const GLuint srcUnit = srcRGB - GL_TEXTURE0; in texture_combine()
/third_party/openGLES/extensions/EXT/
DEXT_draw_buffers_indexed.txt73 void BlendFuncSeparateiEXT(uint buf, enum srcRGB, enum dstRGB,
109 by the <srcRGB>, <dstRGB>, <srcAlpha>, and <dstAlpha> parameters
194 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
200 void BlendFuncSeparateiEXT(uint buf, enum srcRGB,
204 BlendFuncSeparate and BlendFuncSeparateiEXT arguments <srcRGB> and
324 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
462 commands if mode/modeRGB/modeAlpha/srcRGB/srcAlpha/dstRGB/dstAlpha is
/third_party/openGLES/extensions/OES/
DOES_draw_buffers_indexed.txt89 void BlendFuncSeparateiOES(uint buf, enum srcRGB, enum dstRGB,
125 by the <srcRGB>, <dstRGB>, <srcAlpha>, and <dstAlpha> parameters
210 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
216 void BlendFuncSeparateiOES(uint buf, enum srcRGB,
220 BlendFuncSeparate and BlendFuncSeparateiOES arguments <srcRGB> and
340 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
463 commands if mode/modeRGB/modeAlpha/srcRGB/srcAlpha/dstRGB/dstAlpha is
DOES_blend_func_separate.txt86 void BlendFuncSeparateOES(enum srcRGB, enum dstRGB, enum srcAlpha, enum dstAlpha);
89 BlendFuncSeparate arguments <srcRGB and dstRGB determine the source
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_draw_buffers_indexed.txt74 void BlendFuncSeparateiOES(uint buf, enum srcRGB, enum dstRGB,
110 by the <srcRGB>, <dstRGB>, <srcAlpha>, and <dstAlpha> parameters
195 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
201 void BlendFuncSeparateiOES(uint buf, enum srcRGB,
205 BlendFuncSeparate and BlendFuncSeparateiOES arguments <srcRGB> and
325 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
448 commands if mode/modeRGB/modeAlpha/srcRGB/srcAlpha/dstRGB/dstAlpha is
DOES_blend_func_separate.txt76 void BlendFuncSeparateOES(enum srcRGB, enum dstRGB, enum srcAlpha, enum dstAlpha);
79 BlendFuncSeparate arguments <srcRGB and dstRGB determine the source
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_draw_buffers_indexed.txt73 void BlendFuncSeparateiEXT(uint buf, enum srcRGB, enum dstRGB,
109 by the <srcRGB>, <dstRGB>, <srcAlpha>, and <dstAlpha> parameters
194 void BlendFuncSeparate(enum srcRGB, enum dstRGB,
200 void BlendFuncSeparateiEXT(uint buf, enum srcRGB,
204 BlendFuncSeparate and BlendFuncSeparateiEXT arguments <srcRGB> and
324 if either <srcRGB>, <dstRGB>, <srcAlpha>, or <dstAlpha> is not
462 commands if mode/modeRGB/modeAlpha/srcRGB/srcAlpha/dstRGB/dstAlpha is
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_state.c300 GLuint srcRGB = ctx->Color.Blend[0].SrcRGB; in i915UpdateBlendState() local
306 srcRGB = dstRGB = GL_ONE; in i915UpdateBlendState()
313 lis6 |= SRC_BLND_FACT(intel_translate_blend_factor(srcRGB)); in i915UpdateBlendState()
321 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) in i915UpdateBlendState()
339 i915BlendFuncSeparate(struct gl_context * ctx, GLenum srcRGB, in i915BlendFuncSeparate() argument
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/
Dentry_points_gl_4_0_autogen.cpp107 BlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendFuncSeparatei() argument
112 buf, GLenumToString(GLenumGroup::BlendingFactor, srcRGB), in BlendFuncSeparatei()
123 ValidateBlendFuncSeparatei(context, buf, srcRGB, dstRGB, srcAlpha, dstAlpha)); in BlendFuncSeparatei()
126 context->blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparatei()
128 ANGLE_CAPTURE(BlendFuncSeparatei, isCallValid, context, buf, srcRGB, dstRGB, srcAlpha, in BlendFuncSeparatei()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c156 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local
167 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in i915_create_blend_state()
206 unsigned srcRGB = blend->rt[0].rgb_src_factor; in i915_create_blend_state() local
211 SRC_BLND_FACT(i915_translate_blend_factor(srcRGB)) | in i915_create_blend_state()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES32.cpp78 GLenum srcRGB, in ValidateBlendFuncSeparatei() argument
89 if (!ValidateBlendFuncSeparate(context, entryPoint, srcRGB, dstRGB, srcAlpha, dstAlpha)) in ValidateBlendFuncSeparatei()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DContext_gl_4_0_autogen.h17 void blendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, \
DvalidationGL4.cpp31 GLenum srcRGB, in ValidateBlendFuncSeparatei() argument
/third_party/mesa3d/src/mesa/drivers/dri/i965/
DgenX_state_upload.c2856 GLenum srcRGB = ctx->Color.Blend[i].SrcRGB; local
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
4792 srcRGB = dstRGB = GL_ONE;
4806 srcRGB = brw_fix_xRGB_alpha(srcRGB);
4816 srcRGB = fix_dual_blend_alpha_to_one(srcRGB);
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrContextWrapper.cpp334 void ContextWrapper::glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUi… in glBlendFuncSeparate() argument
336 m_curCtx->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparate()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dcuda-converter.c1218 CUdeviceptr srcRGB = 0; in convert_UNPACK_RGB() local
1223 gpointer unpack_kernel_args[] = { &srcRGB, &dst, in convert_UNPACK_RGB()
1230 srcRGB = src->data; in convert_UNPACK_RGB()
1252 CUstream cuda_stream, CUtexObject srcRGB, CUdeviceptr dstY, gint y_stride, in convert_TO_Y444() argument
1258 gpointer kernel_args[] = { &srcRGB, &dstY, &y_stride, &dstU, &u_stride, &dstV, in convert_TO_Y444()

12345