Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp33 void GLClientState::init() { in init()
108 GLClientState::GLClientState() in GLClientState() function in GLClientState
113 GLClientState::GLClientState(int majorVersion, int minorVersion) : in GLClientState() function in GLClientState
119 GLClientState::~GLClientState() in ~GLClientState()
123 void GLClientState::enable(int location, int state) in enable()
129 void GLClientState::setVertexAttribState(int location, int size, GLenum type, GLboolean normalized,… in setVertexAttribState()
150 void GLClientState::setVertexBindingDivisor(int bindingindex, GLuint divisor) { in setVertexBindingDivisor()
154 const GLClientState::BufferBinding& GLClientState::getCurrAttributeBindingInfo(int attribindex) { in getCurrAttributeBindingInfo()
158 void GLClientState::setVertexAttribBinding(int attribindex, int bindingindex) { in setVertexAttribBinding()
162 void GLClientState::setVertexAttribFormat(int location, int size, GLenum type, GLboolean normalized… in setVertexAttribFormat()
[all …]
DGLClientState.h98 class GLClientState {
192 GLClientState();
193 GLClientState(int majorVersion, int minorVersion);
194 ~GLClientState();
621 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter()
627 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter()
633 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter()
639 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter()
645 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter()
651 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter()
[all …]
DMakefile6 CXXFILES = TcpStream.cpp GLClientState.cpp glUtils.cpp
DAndroid.mk7 GLClientState.cpp \
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp75 GLClientState* state = ctx->m_state; in s_glGetIntegerv()
90 *ptr = MIN(*ptr, GLClientState::MAX_TEXTURE_UNITS); in s_glGetIntegerv()
113 GLClientState* state = ctx->m_state; in s_glGetFloatv()
129 *ptr = MIN(*ptr, (GLfloat)GLClientState::MAX_TEXTURE_UNITS); in s_glGetFloatv()
152 GLClientState* state = ctx->m_state; in s_glGetFixedv()
168 *ptr = MIN(*ptr, GLClientState::MAX_TEXTURE_UNITS << 16); in s_glGetFixedv()
191 GLClientState* state = ctx->m_state; in s_glGetBooleanv()
270 …ctx->m_state->setVertexAttribState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data… in s_glVertexPointer()
277 … ctx->m_state->setVertexAttribState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer()
284 …ctx->m_state->setVertexAttribState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer()
[all …]
DGLEncoder.h30 void setClientState(GLClientState *state) { in setClientState()
53 GLClientState *m_state;
/device/generic/goldfish-opengl/system/egl/
DeglContext.h48 GLClientState * getClientState(){ return clientState; } in getClientState()
52 GLClientState * clientState;
Degl.cpp213 clientState = new GLClientState(majorVersion, minorVersion); in EGLContext_t()
1535 GLClientState* contextState = in eglMakeCurrent()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp527 GLClientState* state = ctx->m_state; in s_glGetIntegerv()
557 *ptr = MIN(*ptr, GLClientState::MAX_TEXTURE_UNITS); in s_glGetIntegerv()
650 GLClientState* state = ctx->m_state; in s_glGetFloatv()
675 *ptr = MIN(*ptr, (GLfloat)GLClientState::MAX_TEXTURE_UNITS); in s_glGetFloatv()
698 GLClientState* state = ctx->m_state; in s_glGetBooleanv()
903 const GLClientState::VertexAttribState& state = m_state->getState(i); in getVBOUsage()
905 … const GLClientState::BufferBinding& curr_binding = m_state->getCurrAttributeBindingInfo(i); in getVBOUsage()
925 … const GLClientState::VertexAttribState& state = m_state->getStateAndEnableDirty(i, &enableDirty); in sendVertexAttributes()
932 … const GLClientState::BufferBinding& curr_binding = m_state->getCurrAttributeBindingInfo(i); in sendVertexAttributes()
1528 GLClientState* state = ctx->m_state; in updateHostTexture2DBindingsFromProgramData()
[all …]
DGL2Encoder.h30 void setClientState(GLClientState *state) { in setClientState()
33 void setClientStateMakeCurrent(GLClientState *state, in setClientStateMakeCurrent()
58 const GLClientState *state() { return m_state; } in state()
88 GLClientState *m_state;
128 bool isCompleteFbo(GLenum target, const GLClientState* state, GLenum attachment) const;
129 bool checkFramebufferCompleteness(GLenum target, const GLClientState* state) const;
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
DThreadInfo.h35 GLClientState *clientState;
Degl.cpp461 wctx->clientState = new GLClientState(); in eglCreateContext()