Home
last modified time | relevance | path

Searched refs:individualMipOffsets (Results 1 – 9 of 9) sorted by relevance

/external/skia/gm/
Dexoticformats.cpp132 SkTArray<size_t> individualMipOffsets(numberOfMipmapLevels); in load_ktx() local
136 &individualMipOffsets, in load_ktx()
138 SkASSERT(individualMipOffsets.size() == (size_t) numberOfMipmapLevels); in load_ktx()
153 SkASSERT(offset == individualMipOffsets[i]); in load_ktx()
286 SkTArray<size_t> individualMipOffsets(numberOfMipmapLevels); in load_dds() local
290 &individualMipOffsets, in load_dds()
292 SkASSERT(individualMipOffsets.size() == (size_t) numberOfMipmapLevels); in load_dds()
/external/skia/src/core/
DSkCompressedDataUtils.cpp247 SkTArray<size_t>* individualMipOffsets, bool mipMapped) { in SkCompressedDataSize() argument
248 SkASSERT(!individualMipOffsets || !individualMipOffsets->count()); in SkCompressedDataSize()
266 if (individualMipOffsets) { in SkCompressedDataSize()
267 individualMipOffsets->push_back(totalSize); in SkCompressedDataSize()
DSkCompressedDataUtils.h31 SkTArray<size_t>* individualMipOffsets, bool mipMapped);
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm383 SkTArray<size_t> individualMipOffsets(mipLevelCount);
385 bpp, {width, height}, &individualMipOffsets, mipLevelCount);
418 char* dst = bufferData + individualMipOffsets[currentMipLevel];
423 sourceOffset: slice.fOffset + individualMipOffsets[currentMipLevel]
459 SkTArray<size_t> individualMipOffsets(mipLevelCount);
477 individualMipOffsets.push_back(combinedBufferSize);
483 SkASSERT(combinedBufferSize > 0 && !individualMipOffsets.empty());
515 sourceOffset: individualMipOffsets[currentMipLevel]
664 SkTArray<size_t> individualMipOffsets(numMipLevels);
666 &individualMipOffsets,
[all …]
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp640 SkTArray<size_t> individualMipOffsets(mipLevelCount); in uploadTexDataOptimal() local
641 individualMipOffsets.push_back(0); in uploadTexDataOptimal()
663 individualMipOffsets.push_back(combinedBufferSize); in uploadTexDataOptimal()
666 individualMipOffsets.push_back(0); in uploadTexDataOptimal()
743 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
749 region.bufferOffset = transferBuffer->offset() + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
822 SkTArray<size_t> individualMipOffsets(mipLevelCount); in uploadTexDataCompressed() local
823 individualMipOffsets.push_back(0); in uploadTexDataCompressed()
840 individualMipOffsets.push_back(combinedBufferSize); in uploadTexDataCompressed()
878 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexDataCompressed()
[all …]
/external/skia/src/gpu/
DGrDataUtils.cpp282 SkTArray<size_t>* individualMipOffsets, int mipLevelCount) { in GrComputeTightCombinedBufferSize() argument
283 SkASSERT(individualMipOffsets && !individualMipOffsets->count()); in GrComputeTightCombinedBufferSize()
286 individualMipOffsets->push_back(0); in GrComputeTightCombinedBufferSize()
308 individualMipOffsets->push_back(combinedBufferSize); in GrComputeTightCombinedBufferSize()
312 SkASSERT(individualMipOffsets->count() == mipLevelCount); in GrComputeTightCombinedBufferSize()
DGrDataUtils.h34 SkTArray<size_t>* individualMipOffsets, int mipLevelCount);
/external/skia/src/gpu/vk/
DGrVkGpu.cpp788 SkTArray<size_t>* individualMipOffsets, in fill_in_compressed_regions() argument
801 individualMipOffsets->reserve_back(numMipLevels); in fill_in_compressed_regions()
807 individualMipOffsets, in fill_in_compressed_regions()
809 SkASSERT(individualMipOffsets->count() == numMipLevels); in fill_in_compressed_regions()
827 region.bufferOffset = slice->fOffset + (*individualMipOffsets)[i]; in fill_in_compressed_regions()
875 SkTArray<size_t> individualMipOffsets; in uploadTexDataOptimal() local
880 &individualMipOffsets, in uploadTexDataOptimal()
885 individualMipOffsets.push_back(0); in uploadTexDataOptimal()
919 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
925 region.bufferOffset = slice.fOffset + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
[all …]
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1235 SkTArray<size_t> individualMipOffsets(mipLevelCount); in uploadTexData() local
1252 individualMipOffsets.push_back(combinedBufferSize); in uploadTexData()
1258 individualMipOffsets.push_back(0); in uploadTexData()
1303 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexData()
1307 individualMipOffsets[currentMipLevel]; in uploadTexData()