Home | History | Annotate | Download | only in OpenglCodecCommon

Lines Matching refs:m_states

34     m_states = new VertexAttribState[m_nLocations];
36 m_states[i].enabled = 0;
37 m_states[i].enableDirty = false;
42 m_states[VERTEX_LOCATION].glConst = GL_VERTEX_ARRAY;
43 m_states[NORMAL_LOCATION].glConst = GL_NORMAL_ARRAY;
44 m_states[COLOR_LOCATION].glConst = GL_COLOR_ARRAY;
45 m_states[POINTSIZE_LOCATION].glConst = GL_POINT_SIZE_ARRAY_OES;
46 m_states[TEXCOORD0_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
47 m_states[TEXCOORD1_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
48 m_states[TEXCOORD2_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
49 m_states[TEXCOORD3_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
50 m_states[TEXCOORD4_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
51 m_states[TEXCOORD5_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
52 m_states[TEXCOORD6_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
53 m_states[TEXCOORD7_LOCATION].glConst = GL_TEXTURE_COORD_ARRAY;
54 m_states[MATRIXINDEX_LOCATION].glConst = GL_MATRIX_INDEX_ARRAY_OES;
55 m_states[WEIGHT_LOCATION].glConst = GL_WEIGHT_ARRAY_OES;
71 delete m_states;
80 m_states[location].enableDirty |= (state != m_states[location].enabled);
81 m_states[location].enabled = state;
89 m_states[location].size = size;
90 m_states[location].type = type;
91 m_states[location].stride = stride;
92 m_states[location].data = (void*)data;
93 m_states[location].bufferObject = m_currentArrayVbo;
94 m_states[location].elementSize = glSizeof(type) * size;
95 m_states[location].normalized = normalized;
104 m_states[location].bufferObject = id;
112 return & m_states[location];
122 *enableChanged = m_states[location].enableDirty;
125 m_states[location].enableDirty = false;
126 return & m_states[location];