Lines Matching refs:translated
273 TranslatedAttribute *translated = &(*translatedAttribs)[attribIndex]; in prepareVertexData() local
277 translated->active = true; in prepareVertexData()
278 translated->attribute = &attrib; in prepareVertexData()
279 translated->binding = &binding; in prepareVertexData()
280 translated->currentValueType = currentValueData.Type; in prepareVertexData()
281 translated->divisor = binding.getDivisor(); in prepareVertexData()
288 ANGLE_TRY(StoreStaticAttrib(context, translated)); in prepareVertexData()
297 StoreDirectAttrib(context, translated); in prepareVertexData()
301 ANGLE_TRY(storeCurrentValue(context, currentValueData, translated, attribIndex)); in prepareVertexData()
350 TranslatedAttribute *translated) in StoreStaticAttrib() argument
352 ASSERT(translated->attribute && translated->binding); in StoreStaticAttrib()
353 const auto &attrib = *translated->attribute; in StoreStaticAttrib()
354 const auto &binding = *translated->binding; in StoreStaticAttrib()
373 translated->storage = nullptr; in StoreStaticAttrib()
375 &translated->stride)); in StoreStaticAttrib()
397 translated->stride; in StoreStaticAttrib()
406 translated->vertexBuffer.set(vertexBuffer); in StoreStaticAttrib()
407 translated->serial = vertexBuffer->getSerial(); in StoreStaticAttrib()
408 translated->baseOffset = streamOffset + firstElementOffset; in StoreStaticAttrib()
411 translated->usesFirstVertexOffset = (binding.getDivisor() == 0); in StoreStaticAttrib()
528 TranslatedAttribute *translated, in storeDynamicAttrib() argument
534 ASSERT(translated->attribute && translated->binding); in storeDynamicAttrib()
535 const auto &attrib = *translated->attribute; in storeDynamicAttrib()
536 const auto &binding = *translated->binding; in storeDynamicAttrib()
565 translated->storage = nullptr; in storeDynamicAttrib()
567 mFactory->getVertexSpaceRequired(context, attrib, binding, 1, 0, 0, &translated->stride)); in storeDynamicAttrib()
573 context, attrib, binding, translated->currentValueType, firstVertexIndex, in storeDynamicAttrib()
578 translated->vertexBuffer.set(vertexBuffer); in storeDynamicAttrib()
579 translated->serial = vertexBuffer->getSerial(); in storeDynamicAttrib()
580 translated->baseOffset = streamOffset; in storeDynamicAttrib()
581 translated->usesFirstVertexOffset = false; in storeDynamicAttrib()
589 TranslatedAttribute *translated, in storeCurrentValue() argument
602 ASSERT(translated->attribute && translated->binding); in storeCurrentValue()
603 const auto &attrib = *translated->attribute; in storeCurrentValue()
604 const auto &binding = *translated->binding; in storeCurrentValue()
620 translated->vertexBuffer.set(buffer.getVertexBuffer()); in storeCurrentValue()
622 translated->storage = nullptr; in storeCurrentValue()
623 translated->serial = buffer.getSerial(); in storeCurrentValue()
624 translated->divisor = 0; in storeCurrentValue()
625 translated->stride = 0; in storeCurrentValue()
626 translated->baseOffset = static_cast<unsigned int>(cachedState->offset); in storeCurrentValue()
627 translated->usesFirstVertexOffset = false; in storeCurrentValue()