Searched defs:premultipliedAlpha (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES10RenderEngine.cpp32 bool premultipliedAlpha, bool opaque, float alpha) {
34 bool premultipliedAlpha, bool opaque, int alpha) {
44 if (premultipliedAlpha) {
52 if (premultipliedAlpha) {
69 glBlendFunc(premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA,
30 setupLayerBlending( bool premultipliedAlpha, bool opaque, float alpha) argument
H A DDescription.cpp50 void Description::setPremultipliedAlpha(bool premultipliedAlpha) { argument
51 if (premultipliedAlpha != mPremultipliedAlpha) {
52 mPremultipliedAlpha = premultipliedAlpha;
H A DGLES11RenderEngine.cpp111 void GLES11RenderEngine::setupLayerBlending(bool premultipliedAlpha, argument
115 bool premultipliedAlpha, bool opaque, int alpha) {
129 combineRGB = premultipliedAlpha ? GL_MODULATE : GL_REPLACE;
174 glBlendFunc(premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA,
H A DGLES20RenderEngine.cpp121 void GLES20RenderEngine::setupLayerBlending(bool premultipliedAlpha, argument
125 bool premultipliedAlpha, bool opaque, int alpha) {
128 mState.setPremultipliedAlpha(premultipliedAlpha);
140 glBlendFunc(premultipliedAlpha ? GL_ONE : GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

Completed in 75 milliseconds