Home
last modified time | relevance | path

Searched refs:combinedBufferSize (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp381 UINT64 combinedBufferSize; in onCreateCompressedTexture() local
387 numRows.get(), rowSizeInBytes.get(), &combinedBufferSize); in onCreateCompressedTexture()
388 SkASSERT(combinedBufferSize); in onCreateCompressedTexture()
391 combinedBufferSize, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT); in onCreateCompressedTexture()
724 UINT64 combinedBufferSize; in uploadToTexture() local
730 nullptr, nullptr, &combinedBufferSize); in uploadToTexture()
732 SkASSERT(combinedBufferSize); in uploadToTexture()
735 combinedBufferSize, D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT); in uploadToTexture()
1424 UINT64 combinedBufferSize; in onClearBackendTexture() local
1433 &combinedBufferSize); in onClearBackendTexture()
[all …]
/third_party/skia/src/gpu/
DGrDataUtils.cpp348 size_t combinedBufferSize = baseDimensions.width() * bytesPerPixel * baseDimensions.height(); in GrComputeTightCombinedBufferSize() local
362 const size_t alignmentDiff = combinedBufferSize % desiredAlignment; in GrComputeTightCombinedBufferSize()
364 combinedBufferSize += desiredAlignment - alignmentDiff; in GrComputeTightCombinedBufferSize()
366 SkASSERT((0 == combinedBufferSize % 4) && (0 == combinedBufferSize % bytesPerPixel)); in GrComputeTightCombinedBufferSize()
368 individualMipOffsets->push_back(combinedBufferSize); in GrComputeTightCombinedBufferSize()
369 combinedBufferSize += trimmedSize; in GrComputeTightCombinedBufferSize()
373 return combinedBufferSize; in GrComputeTightCombinedBufferSize()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm350 size_t combinedBufferSize = GrComputeTightCombinedBufferSize(bpp,
354 SkASSERT(combinedBufferSize);
360 combinedBufferSize, alignment);
407 [mtlBuffer->mtlBuffer() didModifyRange: NSMakeRange(slice.fOffset, combinedBufferSize)];
434 size_t combinedBufferSize = 0;
447 const size_t alignmentDiff = combinedBufferSize & alignmentMask;
449 combinedBufferSize += alignmentMask - alignmentDiff + 1;
451 individualMipOffsets.push_back(combinedBufferSize);
452 combinedBufferSize += trimmedSize;
457 SkASSERT(combinedBufferSize > 0 && !individualMipOffsets.empty());
[all …]
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp891 size_t combinedBufferSize; in uploadTexDataOptimal() local
893 combinedBufferSize = GrComputeTightCombinedBufferSize(bpp, in uploadTexDataOptimal()
899 combinedBufferSize = rect.width()*rect.height()*bpp; in uploadTexDataOptimal()
902 SkASSERT(combinedBufferSize); in uploadTexDataOptimal()
913 fStagingBufferManager.allocateStagingBufferSlice(combinedBufferSize, alignment); in uploadTexDataOptimal()
999 SkDEBUGCODE(size_t combinedBufferSize =) fill_in_compressed_regions(&fStagingBufferManager, in uploadTexDataCompressed()
1010 SkASSERT(dataSize == combinedBufferSize); in uploadTexDataCompressed()