/external/skia/tests/ |
BlendTest.cpp | 13 // We want a single channel blend, src over dst, assuming src is premultiplied by srcAlpha. 14 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) { 18 SkASSERT(src <= srcAlpha); 19 return double_to_u8(0.5 + src + dst * (255.0 - srcAlpha) / 255.0); 60 static uint8_t blend_double_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { 61 return double_to_u8(src + dst * (255.0 - srcAlpha) / 255.0); 64 static uint8_t blend_float_trunc(uint8_t dst, uint8_t src, uint8_t srcAlpha) { 65 return double_to_u8(src + dst * (255.0f - srcAlpha) / 255.0f); 68 static uint8_t blend_float_round(uint8_t dst, uint8_t src, uint8_t srcAlpha) { [all...] |
/external/deqp/modules/gles2/performance/ |
es2pBlendTests.cpp | 46 BlendCase (Context& context, const char* name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 62 BlendCase::BlendCase (Context& context, const char* name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) 68 , m_srcAlpha (srcAlpha) 85 log << TestLog::Message << "srcAlpha: " << glu::getBlendFactorStr(m_srcAlpha) << TestLog::EndMessage; 141 GLenum srcAlpha; 164 addChild(new BlendCase(m_context, cases[caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].dstRGB, cases[caseNdx].srcAlpha, cases[caseNdx].dstAlpha));
|
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
col32cb16blend_test.c | 66 int srcAlpha = (src>>24); 67 int f = 0x100 - (srcAlpha + (srcAlpha>>7));
|
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/ |
t32cb16blend_test.c | 77 int srcAlpha = (s>>24) & 0xFF; 80 int f = 0x100 - (srcAlpha + ((srcAlpha>>7) & 0x1));
|
/external/deqp/modules/gles3/performance/ |
es3pBlendTests.cpp | 46 BlendCase (Context& context, const char* name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 62 BlendCase::BlendCase (Context& context, const char* name, const char* description, GLenum modeRGB, GLenum modeAlpha, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) 68 , m_srcAlpha (srcAlpha) 85 log << TestLog::Message << "srcAlpha: " << glu::getBlendFactorStr(m_srcAlpha) << TestLog::EndMessage; 144 GLenum srcAlpha; 171 addChild(new BlendCase(m_context, cases[caseNdx].name, "", cases[caseNdx].modeRGB, cases[caseNdx].modeAlpha, cases[caseNdx].srcRGB, cases[caseNdx].dstRGB, cases[caseNdx].srcAlpha, cases[caseNdx].dstAlpha));
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
GLES31Ext.spec | 21 void glBlendFuncSeparateiEXT ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
|
GLES11Ext.spec | 2 void glBlendFuncSeparateOES ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
|
GLES20.spec | 12 void glBlendFuncSeparate ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
|
/external/deqp/framework/opengl/simplereference/ |
sglrContextWrapper.cpp | 334 void ContextWrapper::glBlendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dstAlpha) 336 m_curCtx->blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
|
sglrContext.hpp | 129 virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dstAlpha) = DE_NULL;
|
sglrGLContext.hpp | 141 virtual void blendFuncSeparate (deUint32 srcRGB, deUint32 dstRGB, deUint32 srcAlpha, deUint32 dstAlpha);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
GL11ExtensionPack.java | 137 int srcAlpha,
|
/frameworks/base/core/java/android/widget/ |
DatePickerCalendarDelegate.java | 231 final int srcAlpha = (color >> 24) & 0xFF; 232 final int dstAlpha = (int) (srcAlpha * alphaMod + 0.5f);
|
/system/core/libpixelflinger/include/pixelflinger/ |
pixelflinger.h | 248 GGLenum srcAlpha, GGLenum dstAplha);
|
/frameworks/base/opengl/java/android/opengl/ |
GLES11Ext.java | 151 // C function void glBlendFuncSeparateOES ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) 156 int srcAlpha, [all...] |
GLES31Ext.java | 468 // C function void glBlendFuncSeparateiEXT ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) 474 int srcAlpha, [all...] |
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/5/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/6/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/prebuilts/ndk/6/platforms/android-4/arch-x86/usr/include/GLES/ |
glext.h | 248 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 250 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
|
/system/core/libpixelflinger/ |
pixelflinger.cpp | 317 GGLenum srcAlpha, GGLenum dstAplha) 321 c->state.blend.src_alpha = srcAlpha;
|