Lines Matching refs:m_states
34 m_states = new VertexAttribState[m_nLocations]; in GLClientState()
36 m_states[i].enabled = 0; in GLClientState()
37 m_states[i].enableDirty = false; in GLClientState()
38 m_states[i].data = 0; in GLClientState()
43 m_states[VERTEX_LOCATION].glConst = GL_VERTEX_ARRAY; in GLClientState()
44 m_states[NORMAL_LOCATION].glConst = GL_NORMAL_ARRAY; in GLClientState()
45 m_states[COLOR_LOCATION].glConst = GL_COLOR_ARRAY; in GLClientState()
46 m_states[POINTSIZE_LOCATION].glConst = GL_POINT_SIZE_ARRAY_OES; in GLClientState()
47 m_states[TEXCOORD0_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
48 m_states[TEXCOORD1_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
49 m_states[TEXCOORD2_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
50 m_states[TEXCOORD3_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
51 m_states[TEXCOORD4_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
52 m_states[TEXCOORD5_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
53 m_states[TEXCOORD6_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
54 m_states[TEXCOORD7_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY; in GLClientState()
55 m_states[MATRIXINDEX_LOCATION].glConst = GL_MATRIX_INDEX_ARRAY_OES; in GLClientState()
56 m_states[WEIGHT_LOCATION].glConst = GL_WEIGHT_ARRAY_OES; in GLClientState()
74 delete m_states; in ~GLClientState()
83 m_states[location].enableDirty |= (state != m_states[location].enabled); in enable()
84 m_states[location].enabled = state; in enable()
92 m_states[location].size = size; in setState()
93 m_states[location].type = type; in setState()
94 m_states[location].stride = stride; in setState()
95 m_states[location].data = (void*)data; in setState()
96 m_states[location].bufferObject = m_currentArrayVbo; in setState()
97 m_states[location].elementSize = size ? (glSizeof(type) * size) : 0; in setState()
98 m_states[location].normalized = normalized; in setState()
107 m_states[location].bufferObject = id; in setBufferObject()
115 return & m_states[location]; in getState()
125 *enableChanged = m_states[location].enableDirty; in getStateAndEnableDirty()
128 m_states[location].enableDirty = false; in getStateAndEnableDirty()
129 return & m_states[location]; in getStateAndEnableDirty()