Searched defs:textureUnit (Results 1 - 6 of 6) sorted by last modified time

/external/mesa3d/src/mesa/swrast/
H A Ds_texcombine.c87 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); local
88 const struct gl_tex_env_combine_state *combine = textureUnit->_CurrentCombine;
157 GLfloat red = textureUnit->EnvColor[0];
158 GLfloat green = textureUnit->EnvColor[1];
159 GLfloat blue = textureUnit->EnvColor[2];
160 GLfloat alpha = textureUnit->EnvColor[3];
253 GLfloat alpha = textureUnit->EnvColor[3];
321 if (textureUnit->EnvMode == GL_COMBINE4_NV) {
342 if (textureUnit->EnvMode == GL_COMBINE4_NV) {
466 if (textureUnit
[all...]
/external/deqp/modules/glshared/
H A DglsLongStressCase.hpp135 deUint32 textureUnit; member in struct:deqp::gls::TextureSpec
164 , textureUnit (unit)
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_texcombine.c95 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); local
96 const struct gl_tex_env_combine_state *combine = textureUnit->_CurrentCombine;
165 GLfloat red = textureUnit->EnvColor[0];
166 GLfloat green = textureUnit->EnvColor[1];
167 GLfloat blue = textureUnit->EnvColor[2];
168 GLfloat alpha = textureUnit->EnvColor[3];
261 GLfloat alpha = textureUnit->EnvColor[3];
329 if (textureUnit->EnvMode == GL_COMBINE4_NV) {
350 if (textureUnit->EnvMode == GL_COMBINE4_NV) {
474 if (textureUnit
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DContext.cpp562 void Context::bindSampler(GLuint textureUnit, GLuint sampler) argument
564 ASSERT(textureUnit < mCaps.maxCombinedTextureImageUnits);
567 mState.setSamplerBinding(textureUnit, getSampler(sampler));
1400 GLint textureUnit = programBinary->getSamplerMapping(type, i, getCaps()); local
1401 if (textureUnit != -1)
1403 Texture* texture = getSamplerTexture(textureUnit, textureType);
1428 GLint textureUnit = programBinary->getSamplerMapping(shaderType, samplerIndex, getCaps()); local
1429 if (textureUnit != -1)
1432 Texture* texture = getSamplerTexture(textureUnit, textureType);
1435 Sampler *samplerObject = mState.getSampler(textureUnit);
[all...]
H A DState.cpp670 void State::setSamplerBinding(GLuint textureUnit, Sampler *sampler) argument
672 mSamplers[textureUnit].set(sampler);
675 GLuint State::getSamplerId(GLuint textureUnit) const
677 ASSERT(textureUnit < mSamplers.size());
678 return mSamplers[textureUnit].id();
681 Sampler *State::getSampler(GLuint textureUnit) const
683 return mSamplers[textureUnit].get();
692 for (size_t textureUnit = 0; textureUnit < mSamplers.size(); textureUnit
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DDrawingBuffer.h133 void setActiveTextureUnit(GLint textureUnit) { m_activeTextureUnit = textureUnit; } argument

Completed in 198 milliseconds