• Home
  • Raw
  • Download

Lines Matching refs:translated

115 …m VertexDataManager::prepareVertexData(GLint start, GLsizei count, TranslatedAttribute *translated)  in prepareVertexData()  argument
156 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
157 translated[i].offset = start * attribs[i].stride() + attribs[i].mOffset; in prepareVertexData()
158 translated[i].stride = attribs[i].stride(); in prepareVertexData()
169 translated[i].vertexBuffer = mStreamingBuffer->getResource(); in prepareVertexData()
170 translated[i].offset = streamOffset; in prepareVertexData()
171 translated[i].stride = attribs[i].typeSize(); in prepareVertexData()
176 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
177 case GL_UNSIGNED_BYTE: translated[i].type = sw::STREAMTYPE_BYTE; break; in prepareVertexData()
178 case GL_SHORT: translated[i].type = sw::STREAMTYPE_SHORT; break; in prepareVertexData()
179 case GL_UNSIGNED_SHORT: translated[i].type = sw::STREAMTYPE_USHORT; break; in prepareVertexData()
180 case GL_INT: translated[i].type = sw::STREAMTYPE_INT; break; in prepareVertexData()
181 case GL_UNSIGNED_INT: translated[i].type = sw::STREAMTYPE_UINT; break; in prepareVertexData()
182 case GL_FIXED: translated[i].type = sw::STREAMTYPE_FIXED; break; in prepareVertexData()
183 case GL_FLOAT: translated[i].type = sw::STREAMTYPE_FLOAT; break; in prepareVertexData()
184 default: UNREACHABLE(attribs[i].mType); translated[i].type = sw::STREAMTYPE_FLOAT; break; in prepareVertexData()
187 translated[i].count = attribs[i].mSize; in prepareVertexData()
188 translated[i].normalized = attribs[i].mNormalized; in prepareVertexData()
199 translated[i].vertexBuffer = mCurrentValueBuffer[i]->getResource(); in prepareVertexData()
201 translated[i].type = sw::STREAMTYPE_FLOAT; in prepareVertexData()
202 translated[i].count = 4; in prepareVertexData()
203 translated[i].stride = 0; in prepareVertexData()
204 translated[i].offset = 0; in prepareVertexData()