Home
last modified time | relevance | path

Searched refs:srcAlpha (Results 1 – 25 of 55) sorted by relevance

123

/external/chromium_org/third_party/skia/tests/
DBlendTest.cpp14 typedef uint8_t(*Blend)(uint8_t dst, uint8_t src, uint8_t srcAlpha);
17 static uint8_t blend_double_round(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_double_round() argument
18 SkASSERT(src <= srcAlpha); in blend_double_round()
19 return double_to_u8(0.5 + src + dst * (255.0 - srcAlpha) / 255.0); in blend_double_round()
60 static uint8_t blend_double_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_double_trunc() argument
61 return double_to_u8(src + dst * (255.0 - srcAlpha) / 255.0); in blend_double_trunc()
64 static uint8_t blend_float_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_float_trunc() argument
65 return double_to_u8(src + dst * (255.0f - srcAlpha) / 255.0f); in blend_float_trunc()
68 static uint8_t blend_float_round(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_float_round() argument
69 return double_to_u8(0.5f + src + dst * (255.0f - srcAlpha) / 255.0f); in blend_float_round()
[all …]
/external/skia/tests/
DBlendTest.cpp14 typedef uint8_t(*Blend)(uint8_t dst, uint8_t src, uint8_t srcAlpha);
17 static uint8_t blend_double_round(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_double_round() argument
18 SkASSERT(src <= srcAlpha); in blend_double_round()
19 return double_to_u8(0.5 + src + dst * (255.0 - srcAlpha) / 255.0); in blend_double_round()
60 static uint8_t blend_double_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_double_trunc() argument
61 return double_to_u8(src + dst * (255.0 - srcAlpha) / 255.0); in blend_double_trunc()
64 static uint8_t blend_float_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_float_trunc() argument
65 return double_to_u8(src + dst * (255.0f - srcAlpha) / 255.0f); in blend_float_trunc()
68 static uint8_t blend_float_round(uint8_t dst, uint8_t src, uint8_t srcAlpha) { in blend_float_round() argument
69 return double_to_u8(0.5f + src + dst * (255.0f - srcAlpha) / 255.0f); in blend_float_round()
[all …]
/external/deqp/modules/gles2/performance/
Des2pBlendTests.cpp46 … GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
62 …, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendCase() argument
68 , m_srcAlpha (srcAlpha) in BlendCase()
141 GLenum srcAlpha; in init() member
164 …modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].dstRGB, cases[caseNdx].srcAlpha, cases[caseNdx].d… in init()
/external/deqp/modules/gles3/performance/
Des3pBlendTests.cpp46 … GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
62 …, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) in BlendCase() argument
68 , m_srcAlpha (srcAlpha) in BlendCase()
144 GLenum srcAlpha; in init() member
171 …modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].dstRGB, cases[caseNdx].srcAlpha, cases[caseNdx].d… in init()
/external/deqp/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()
DsglrGLContext.hpp141 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint3…
DsglrContext.hpp129 …virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds…
DsglrGLContext.cpp570 void GLContext::blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 ds… in blendFuncSeparate() argument
572 m_wrapper->glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in blendFuncSeparate()
DsglrContextWrapper.hpp59 …void glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dst…
/external/chromium_org/mojo/public/c/gles2/
Dgles2_call_visitor_autogen.h51 (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha),
52 (srcRGB, dstRGB, srcAlpha, dstAlpha))
/external/deqp/modules/gles3/functional/
Des3fFboColorbufferTests.cpp725 …funcRGB, deUint32 funcAlpha, deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dstAlph… in FboBlendCase() argument
732 , m_srcAlpha (srcAlpha) in FboBlendCase()
/external/chromium_org/ppapi/lib/gl/gles2/
Dgles2.c74 GLenum srcAlpha, in glBlendFuncSeparate() argument
77 glGetCurrentContextPPAPI(), srcRGB, dstRGB, srcAlpha, dstAlpha); in glBlendFuncSeparate()
/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_decoder_autogen.h199 GLenum srcAlpha = static_cast<GLenum>(c.srcAlpha); in HandleBlendFuncSeparate() local
209 if (!validators_->src_blend_factor.IsValid(srcAlpha)) { in HandleBlendFuncSeparate()
211 "glBlendFuncSeparate", srcAlpha, "srcAlpha"); in HandleBlendFuncSeparate()
220 state_.blend_source_alpha != srcAlpha || in HandleBlendFuncSeparate()
224 state_.blend_source_alpha = srcAlpha; in HandleBlendFuncSeparate()
226 glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in HandleBlendFuncSeparate()
/external/chromium_org/third_party/mesa/src/include/GLES/
Dglext.h470 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen…
472 …YP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/mesa3d/include/GLES/
Dglext.h470 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLen…
472 …YP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/chromium_org/gpu/command_buffer/client/
Dgles2_implementation_impl_autogen.h126 GLenum srcAlpha, in BlendFuncSeparate() argument
132 << GLES2Util::GetStringSrcBlendFactor(srcAlpha) << ", " in BlendFuncSeparate()
134 helper_->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparate()
Dgles2_trace_implementation_impl_autogen.h80 GLenum srcAlpha, in BlendFuncSeparate() argument
83 gl_->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparate()
Dgles2_c_lib_autogen.h53 GLenum srcAlpha, in GLES2BlendFuncSeparate() argument
55 gles2::GetGLContext()->BlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in GLES2BlendFuncSeparate()
/external/deqp/doc/
DGLES2 Negative API Functions.txt73 o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/
DMockWebGraphicsContext3D.h79 …virtual void blendFuncSeparate(WGC3Denum srcRGB, WGC3Denum dstRGB, WGC3Denum srcAlpha, WGC3Denum d… in blendFuncSeparate() argument
/external/chromium_org/mojo/examples/pepper_container_app/
Dppb_opengles2_thunk.cc117 GLenum srcAlpha, in BlendFuncSeparate() argument
121 glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); in BlendFuncSeparate()
/external/chromium_org/ppapi/c/
Dppb_opengles2.h119 GLenum srcAlpha,
578 GLenum srcAlpha,
/external/chromium_org/webkit/common/gpu/
Dwebgraphicscontext3d_impl.h88 WGC3Denum srcAlpha, in NON_EXPORTED_BASE()
/external/chromium_org/third_party/angle/include/GLES2/
Dgl2.h484 … GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
/external/mesa3d/include/GLES2/
Dgl2.h485 … GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);

123