Searched refs:combinedBufferSize (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/gpu/graphite/ |
D | UploadTask.cpp | 56 size_t combinedBufferSize = SkAlignTo(alignedBytesPerRow * baseDimensions.height(), in compute_combined_buffer_size() local 67 SkASSERT(combinedBufferSize % minTransferBufferAlignment == 0); in compute_combined_buffer_size() 69 levelOffsetsAndRowBytes->push_back({combinedBufferSize, alignedBytesPerRow}); in compute_combined_buffer_size() 70 combinedBufferSize += alignedSize; in compute_combined_buffer_size() 74 SkASSERT(combinedBufferSize % minTransferBufferAlignment == 0); in compute_combined_buffer_size() 75 return {combinedBufferSize, minTransferBufferAlignment}; in compute_combined_buffer_size() 123 auto [combinedBufferSize, minAlignment] = compute_combined_buffer_size( in Make() 125 SkASSERT(combinedBufferSize); in Make() 128 auto [writer, bufferInfo] = bufferMgr->getUploadWriter(combinedBufferSize, minAlignment); in Make()
|
/external/skia/src/gpu/ganesh/d3d/ |
D | GrD3DGpu.cpp | 395 UINT64 combinedBufferSize; in onCreateCompressedTexture() local 401 numRows.get(), rowSizeInBytes.get(), &combinedBufferSize); in onCreateCompressedTexture() 402 SkASSERT(combinedBufferSize); in onCreateCompressedTexture() 405 combinedBufferSize, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT); in onCreateCompressedTexture() 742 UINT64 combinedBufferSize; in uploadToTexture() local 748 nullptr, nullptr, &combinedBufferSize); in uploadToTexture() 750 SkASSERT(combinedBufferSize); in uploadToTexture() 753 combinedBufferSize, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT); in uploadToTexture() 1468 UINT64 combinedBufferSize; in onClearBackendTexture() local 1477 &combinedBufferSize); in onClearBackendTexture() [all …]
|
/external/skia/src/gpu/ganesh/ |
D | GrDataUtils.cpp | 293 size_t combinedBufferSize = baseDimensions.width() * bytesPerPixel * baseDimensions.height(); in GrComputeTightCombinedBufferSize() local 307 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize() 309 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize() 311 SkASSERT((0 == combinedBufferSize % 4) && (0 == combinedBufferSize % bytesPerPixel)); in GrComputeTightCombinedBufferSize() 313 individualMipOffsets->push_back(combinedBufferSize); in GrComputeTightCombinedBufferSize() 314 combinedBufferSize += trimmedSize; in GrComputeTightCombinedBufferSize() 318 return combinedBufferSize; in GrComputeTightCombinedBufferSize()
|
/external/skia/src/gpu/ganesh/mtl/ |
D | GrMtlGpu.mm | 353 size_t combinedBufferSize = GrComputeTightCombinedBufferSize(bpp, 357 SkASSERT(combinedBufferSize); 363 combinedBufferSize, alignment); 410 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, combinedBufferSize)]; 437 size_t combinedBufferSize = 0; 450 const size_t alignmentDiff = combinedBufferSize & alignmentMask; 452 combinedBufferSize += alignmentMask - alignmentDiff + 1; 454 individualMipOffsets.push_back(combinedBufferSize); 455 combinedBufferSize += trimmedSize; 460 SkASSERT(combinedBufferSize > 0 && !individualMipOffsets.empty()); [all …]
|
/external/skia/src/gpu/ganesh/vk/ |
D | GrVkGpu.cpp | 1011 size_t combinedBufferSize; in uploadTexDataOptimal() local 1013 combinedBufferSize = GrComputeTightCombinedBufferSize(bpp, in uploadTexDataOptimal() 1019 combinedBufferSize = rect.width()*rect.height()*bpp; in uploadTexDataOptimal() 1022 SkASSERT(combinedBufferSize); in uploadTexDataOptimal() 1033 fStagingBufferManager.allocateStagingBufferSlice(combinedBufferSize, alignment); in uploadTexDataOptimal() 1119 SkDEBUGCODE(size_t combinedBufferSize =) fill_in_compressed_regions(&fStagingBufferManager, in uploadTexDataCompressed() 1130 SkASSERT(dataSize == combinedBufferSize); in uploadTexDataCompressed()
|