Home
last modified time | relevance | path

Searched refs:combineRGB (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES11RenderEngine.cpp118 GLenum combineRGB; in setupLayerBlending() local
126 combineRGB = premultipliedAlpha ? GL_MODULATE : GL_REPLACE; in setupLayerBlending()
133 combineRGB = GL_REPLACE; in setupLayerBlending()
140 glTexEnvi(GL_TEXTURE_ENV, GL_COMBINE_RGB, combineRGB); in setupLayerBlending()
143 if (combineRGB == GL_MODULATE) { in setupLayerBlending()
154 if (combineRGB == GL_MODULATE || src0Alpha == GL_CONSTANT) { in setupLayerBlending()