• Home
  • Raw
  • Download

Lines Matching refs:attribIndex

503     for (size_t attribIndex : clientAttribs)
505 const gl::VertexAttribute &attrib = attribs[attribIndex];
538 mCurrentArrayBuffers[attribIndex] = nullptr;
539 mCurrentArrayInlineDataPointers[attribIndex] = src;
540 mCurrentArrayInlineDataSizes[attribIndex] = bytesIntendedToUse;
541 mCurrentArrayBufferOffsets[attribIndex] = 0;
542 mCurrentArrayBufferFormats[attribIndex] = &format;
543 mCurrentArrayBufferStrides[attribIndex] = binding.getStride();
559 mCurrentArrayBufferFormats[attribIndex] = &streamFormat;
560 mCurrentArrayBufferStrides[attribIndex] = convertedStride;
567 mConvertedClientSmallArrays[attribIndex];
577 mCurrentArrayBuffers[attribIndex] = nullptr;
578 mCurrentArrayInlineDataPointers[attribIndex] = convertedClientArray.data();
579 mCurrentArrayInlineDataSizes[attribIndex] = bytesToAllocate;
580 mCurrentArrayBufferOffsets[attribIndex] = 0;
591 &mConvertedArrayBufferHolders[attribIndex],
592 &mCurrentArrayBufferOffsets[attribIndex]));
594 mCurrentArrayBuffers[attribIndex] = &mConvertedArrayBufferHolders[attribIndex];
607 size_t attribIndex)
610 ASSERT(mtl::kMaxVertexAttribs > attribIndex);
629 ANGLE_TRY(convertVertexBuffer(glContext, bufferMtl, binding, attribIndex, format));
633 mCurrentArrayBuffers[attribIndex] = bufferMtl;
634 mCurrentArrayBufferOffsets[attribIndex] = binding.getOffset();
635 mCurrentArrayBufferStrides[attribIndex] = binding.getStride();
637 mCurrentArrayBufferFormats[attribIndex] = &format;
648 mCurrentArrayBuffers[attribIndex] = nullptr;
649 mCurrentArrayBufferOffsets[attribIndex] = 0;
650 mCurrentArrayBufferStrides[attribIndex] = 0;
651 mCurrentArrayBufferFormats[attribIndex] =
813 size_t attribIndex,
823 mCurrentArrayBuffers[attribIndex] = srcBuffer;
824 mCurrentArrayBufferFormats[attribIndex] = &srcVertexFormat;
825 mCurrentArrayBufferOffsets[attribIndex] = 0;
826 mCurrentArrayBufferStrides[attribIndex] = 16;
843 mConvertedArrayBufferHolders[attribIndex].set(conversion->convertedBuffer);
844 mCurrentArrayBufferOffsets[attribIndex] = conversion->convertedOffset;
846 mCurrentArrayBuffers[attribIndex] = &mConvertedArrayBufferHolders[attribIndex];
847 mCurrentArrayBufferFormats[attribIndex] = &convertedFormat;
848 mCurrentArrayBufferStrides[attribIndex] = stride;
871 ANGLE_TRY(convertVertexBufferGPU(glContext, srcBuffer, binding, attribIndex,
877 ANGLE_TRY(convertVertexBufferCPU(contextMtl, srcBuffer, binding, attribIndex,
881 mCurrentArrayBuffers[attribIndex] = &mConvertedArrayBufferHolders[attribIndex];
882 mCurrentArrayBufferFormats[attribIndex] = &convertedFormat;
883 mCurrentArrayBufferStrides[attribIndex] = stride;
887 conversion->convertedBuffer = mConvertedArrayBufferHolders[attribIndex].getCurrentBuffer();
888 conversion->convertedOffset = mCurrentArrayBufferOffsets[attribIndex];
896 mConvertedArrayBufferHolders[attribIndex].getCurrentBuffer()->get().label =
908 size_t attribIndex,
923 &mConvertedArrayBufferHolders[attribIndex], &mCurrentArrayBufferOffsets[attribIndex]));
931 size_t attribIndex,
997 mConvertedArrayBufferHolders[attribIndex].set(newBuffer);
998 mCurrentArrayBufferOffsets[attribIndex] = newBufferOffset;