• Home
  • Raw
  • Download

Lines Matching refs:vertexAttribute

181 	mState.vertexAttribute[sw::Color0].mCurrentValue[0] = 1.0f;  in Context()
182 mState.vertexAttribute[sw::Color0].mCurrentValue[1] = 1.0f; in Context()
183 mState.vertexAttribute[sw::Color0].mCurrentValue[2] = 1.0f; in Context()
184 mState.vertexAttribute[sw::Color0].mCurrentValue[3] = 1.0f; in Context()
185 mState.vertexAttribute[sw::Normal].mCurrentValue[0] = 0.0f; in Context()
186 mState.vertexAttribute[sw::Normal].mCurrentValue[1] = 0.0f; in Context()
187 mState.vertexAttribute[sw::Normal].mCurrentValue[2] = 1.0f; in Context()
188 mState.vertexAttribute[sw::Normal].mCurrentValue[3] = 0.0f; in Context()
189 mState.vertexAttribute[sw::TexCoord0].mCurrentValue[0] = 0.0f; in Context()
190 mState.vertexAttribute[sw::TexCoord0].mCurrentValue[1] = 0.0f; in Context()
191 mState.vertexAttribute[sw::TexCoord0].mCurrentValue[2] = 0.0f; in Context()
192 mState.vertexAttribute[sw::TexCoord0].mCurrentValue[3] = 1.0f; in Context()
193 mState.vertexAttribute[sw::TexCoord1].mCurrentValue[0] = 0.0f; in Context()
194 mState.vertexAttribute[sw::TexCoord1].mCurrentValue[1] = 0.0f; in Context()
195 mState.vertexAttribute[sw::TexCoord1].mCurrentValue[2] = 0.0f; in Context()
196 mState.vertexAttribute[sw::TexCoord1].mCurrentValue[3] = 1.0f; in Context()
241 mState.vertexAttribute[i].mBoundBuffer = nullptr; in ~Context()
729 mState.vertexAttribute[attribNum].mArrayEnabled = enabled; in setVertexAttribArrayEnabled()
734 return mState.vertexAttribute[attribNum]; in getVertexAttribState()
740 mState.vertexAttribute[attribNum].mBoundBuffer = boundBuffer; in setVertexAttribState()
741 mState.vertexAttribute[attribNum].mSize = size; in setVertexAttribState()
742 mState.vertexAttribute[attribNum].mType = type; in setVertexAttribState()
743 mState.vertexAttribute[attribNum].mNormalized = normalized; in setVertexAttribState()
744 mState.vertexAttribute[attribNum].mStride = stride; in setVertexAttribState()
745 mState.vertexAttribute[attribNum].mPointer = pointer; in setVertexAttribState()
750 return mState.vertexAttribute[attribNum].mPointer; in getVertexAttribPointer()
755 return mState.vertexAttribute; in getVertexAttributes()
2644 if(mState.vertexAttribute[attribute].mBoundBuffer.name() == buffer) in detachBuffer()
2646 mState.vertexAttribute[attribute].mBoundBuffer = nullptr; in detachBuffer()
2757 mState.vertexAttribute[index].mCurrentValue[0] = x; in setVertexAttrib()
2758 mState.vertexAttribute[index].mCurrentValue[1] = y; in setVertexAttrib()
2759 mState.vertexAttribute[index].mCurrentValue[2] = z; in setVertexAttrib()
2760 mState.vertexAttribute[index].mCurrentValue[3] = w; in setVertexAttrib()
3359 memcpy(clientAttribute, mState.vertexAttribute, sizeof(mState.vertexAttribute)); in captureAttribs()
3368 GLint size = mState.vertexAttribute[i].mSize; in captureDrawArrays()
3369 GLenum type = mState.vertexAttribute[i].mType; in captureDrawArrays()
3370 GLboolean normalized = mState.vertexAttribute[i].mNormalized; in captureDrawArrays()
3371 GLsizei stride = mState.vertexAttribute[i].mStride; in captureDrawArrays()
3372 const GLvoid *pointer = mState.vertexAttribute[i].mPointer; in captureDrawArrays()
3374 size_t length = count * mState.vertexAttribute[i].stride(); in captureDrawArrays()
3376 if(mState.vertexAttribute[i].mArrayEnabled) in captureDrawArrays()
3394 memcpy(mState.vertexAttribute, clientAttribute, sizeof(mState.vertexAttribute)); in restoreAttribs()
3433 v.C.x = mState.vertexAttribute[sw::Color0].mCurrentValue[0]; in position()
3434 v.C.y = mState.vertexAttribute[sw::Color0].mCurrentValue[1]; in position()
3435 v.C.z = mState.vertexAttribute[sw::Color0].mCurrentValue[2]; in position()
3436 v.C.w = mState.vertexAttribute[sw::Color0].mCurrentValue[3]; in position()
3437 v.N.x = mState.vertexAttribute[sw::Normal].mCurrentValue[0]; in position()
3438 v.N.y = mState.vertexAttribute[sw::Normal].mCurrentValue[1]; in position()
3439 v.N.z = mState.vertexAttribute[sw::Normal].mCurrentValue[2]; in position()
3440 v.N.w = mState.vertexAttribute[sw::Normal].mCurrentValue[3]; in position()
3441 v.T0.x = mState.vertexAttribute[sw::TexCoord0].mCurrentValue[0]; in position()
3442 v.T0.y = mState.vertexAttribute[sw::TexCoord0].mCurrentValue[1]; in position()
3443 v.T0.z = mState.vertexAttribute[sw::TexCoord0].mCurrentValue[2]; in position()
3444 v.T0.w = mState.vertexAttribute[sw::TexCoord0].mCurrentValue[3]; in position()
3445 v.T1.x = mState.vertexAttribute[sw::TexCoord1].mCurrentValue[0]; in position()
3446 v.T1.y = mState.vertexAttribute[sw::TexCoord1].mCurrentValue[1]; in position()
3447 v.T1.z = mState.vertexAttribute[sw::TexCoord1].mCurrentValue[2]; in position()
3448 v.T1.w = mState.vertexAttribute[sw::TexCoord1].mCurrentValue[3]; in position()
3471 mState.vertexAttribute[i].mArrayEnabled = false; in end()
3480 mState.vertexAttribute[sw::Position].mArrayEnabled = true; in end()
3481 mState.vertexAttribute[sw::Normal].mArrayEnabled = true; in end()
3482 mState.vertexAttribute[sw::Color0].mArrayEnabled = true; in end()
3483 mState.vertexAttribute[sw::TexCoord0].mArrayEnabled = true; in end()
3484 mState.vertexAttribute[sw::TexCoord1].mArrayEnabled = true; in end()