Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp63 memset(m_tex.unit, 0, sizeof(m_tex.unit)); in GLClientState()
64 m_tex.activeUnit = &m_tex.unit[0]; in GLClientState()
248 GLuint unit = texture - GL_TEXTURE0; in setActiveTextureUnit() local
249 if (unit >= MAX_TEXTURE_UNITS) { in setActiveTextureUnit()
252 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()
258 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()
408 for (TextureUnit* unit = m_tex.unit; in deleteTextures() local
409 unit != m_tex.unit + MAX_TEXTURE_UNITS; in deleteTextures()
410 unit++) in deleteTextures()
412 if (unit->texture[TEXTURE_2D] == *texture) { in deleteTextures()
[all …]
DGLClientState.h209 TextureUnit unit[MAX_TEXTURE_UNITS]; member
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheel.java133 private int interpColor(int colors[], float unit) { in interpColor() argument
134 if (unit <= 0) { in interpColor()
137 if (unit >= 1) { in interpColor()
141 float p = unit * (colors.length - 1); in interpColor()
206 float unit = angle/(2*PI); in onTouchEvent() local
207 if (unit < 0) { in onTouchEvent()
208 unit += 1; in onTouchEvent()
210 mCenterPaint.setColor(interpColor(mColors, unit)); in onTouchEvent()
/device/lge/mako/
DWCNSS_qcom_cfg.ini53 # Beacon filtering frequency (unit in beacon intervals)
/device/asus/flo/
DWCNSS_qcom_cfg.ini53 # Beacon filtering frequency (unit in beacon intervals)
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp163 …void glTexCoordPointerData(GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint…
1237 void glTexCoordPointerData(GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint … in glTexCoordPointerData() argument
1240 ctx->glTexCoordPointerData(ctx, unit, size, type, stride, data, datalen); in glTexCoordPointerData()
Dgl_enc.cpp2587 void glTexCoordPointerData_enc(void *self , GLint unit, GLint size, GLenum type, GLsizei stride, vo… in glTexCoordPointerData_enc() argument
2600 memcpy(ptr, &unit, 4); ptr += 4; in glTexCoordPointerData_enc()