Searched refs:textureUnit (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 114 mState.textureUnit[i].color = {0, 0, 0, 0}; in Context() 115 mState.textureUnit[i].environmentMode = GL_MODULATE; in Context() 116 mState.textureUnit[i].combineRGB = GL_MODULATE; in Context() 117 mState.textureUnit[i].combineAlpha = GL_MODULATE; in Context() 118 mState.textureUnit[i].src0RGB = GL_TEXTURE; in Context() 119 mState.textureUnit[i].src1RGB = GL_PREVIOUS; in Context() 120 mState.textureUnit[i].src2RGB = GL_CONSTANT; in Context() 121 mState.textureUnit[i].src0Alpha = GL_TEXTURE; in Context() 122 mState.textureUnit[i].src1Alpha = GL_PREVIOUS; in Context() 123 mState.textureUnit[i].src2Alpha = GL_CONSTANT; in Context() [all …]
|
D | Context.h | 290 TextureUnit textureUnit[MAX_TEXTURE_UNITS]; member
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texcombine.c | 87 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); in texture_combine() local 88 const struct gl_tex_env_combine_state *combine = textureUnit->_CurrentCombine; in texture_combine() 157 GLfloat red = textureUnit->EnvColor[0]; in texture_combine() 158 GLfloat green = textureUnit->EnvColor[1]; in texture_combine() 159 GLfloat blue = textureUnit->EnvColor[2]; in texture_combine() 160 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine() 253 GLfloat alpha = textureUnit->EnvColor[3]; in texture_combine() 321 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine() 342 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine() 456 if (textureUnit->EnvMode == GL_COMBINE4_NV) { in texture_combine() [all …]
|
/external/deqp/modules/glshared/ |
D | glsLongStressCase.hpp | 135 deUint32 textureUnit; member 164 , textureUnit (unit) in TextureSpec()
|
D | glsLongStressCase.cpp | 1335 …extureNamePrefix + toString(texSpecIndices[i])).toUnit(programContext.textureSpecs[i].textureUnit); in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSRGBDecodeTests.cpp | 312 void setTextureUnit (const deUint32 textureUnit); 379 void SRGBTestSampler::setTextureUnit (const deUint32 textureUnit) in setTextureUnit() argument 381 m_textureUnit = textureUnit; in setTextureUnit() 891 … bindSamplerToTexture (const int samplerIdx, const int textureIdx, const deUint32 textureUnit); 1191 …Case::bindSamplerToTexture (const int samplerIdx, const int textureIdx, const deUint32 textureUnit) in bindSamplerToTexture() argument 1193 deUint32 enumConversion = textureUnit - GL_TEXTURE0; in bindSamplerToTexture()
|
D | es31fFboSRGBWriteControlTests.cpp | 478 void bind (const int textureUnit); 536 void TestTexture2D::bind (const int textureUnit) in bind() argument 538 m_textureUnit = textureUnit; in bind()
|
/external/deqp/scripts/opengl/ |
D | gen_call_log_wrapper.py | 44 def textureUnit (name): function 57 "glActiveTexture": LogSpec({0: textureUnit}),
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3088 …int textureUnit = programObject->getSamplerMapping(samplerType, samplerIndex); // OpenGL texture… in applyTextures() local 3090 if(textureUnit != -1) in applyTextures() 3094 Texture *texture = getSamplerTexture(textureUnit, textureType); in applyTextures() 3095 Sampler *samplerObject = mState.sampler[textureUnit]; in applyTextures() 3961 for(size_t textureUnit = 0; textureUnit < MAX_COMBINED_TEXTURE_IMAGE_UNITS; ++textureUnit) in detachSampler() local 3963 gl::BindingPointer<Sampler> &samplerBinding = mState.sampler[textureUnit]; in detachSampler()
|