Home
last modified time | relevance | path

Searched refs:currentMipLevel (Results 1 – 14 of 14) sorted by relevance

/third_party/flutter/skia/src/gpu/mtl/
DGrMtlGpu.mm254 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
255 if (texels[currentMipLevel].fPixels) {
258 const size_t rowBytes = texels[currentMipLevel].fRowBytes;
261 char* dst = buffer + individualMipOffsets[currentMipLevel];
262 const char* src = (const char*)texels[currentMipLevel].fPixels;
266 sourceOffset: bufferOffset + individualMipOffsets[currentMipLevel]
272 destinationLevel: currentMipLevel
316 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
317 if (levelMask & (1 << currentMipLevel)) {
351 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
[all …]
/third_party/flutter/skia/src/gpu/
DGrGpu.cpp107 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; ++currentMipLevel) { in validate_levels() local
108 if (texels[currentMipLevel].fPixels) { in validate_levels()
111 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_levels()
114 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_levels()
118 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_levels()
125 if (currentMipLevel != mipLevelCount - 1) { in validate_levels()
DGrDataUtils.cpp325 for (int currentMipLevel = 1; currentMipLevel < mipLevelCount; ++currentMipLevel) { in GrComputeTightCombinedBufferSize() local
353 for (int currentMipLevel = 0; currentMipLevel < mipLevels; ++currentMipLevel) { in GrFillInData() local
354 size_t offset = individualMipOffsets[currentMipLevel]; in GrFillInData()
/third_party/skia/src/gpu/mtl/
DGrMtlGpu.mm380 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
381 if (texels[currentMipLevel].fPixels) {
384 const size_t rowBytes = texels[currentMipLevel].fRowBytes;
387 char* dst = bufferData + individualMipOffsets[currentMipLevel];
388 const char* src = (const char*)texels[currentMipLevel].fPixels;
392 sourceOffset: slice.fOffset + individualMipOffsets[currentMipLevel]
398 destinationLevel: currentMipLevel
444 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
445 if (levelMask & (1 << currentMipLevel)) {
488 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) {
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DGpu.cpp334 for (int currentMipLevel = 0; currentMipLevel < numMipLevels; currentMipLevel++) { in copy_compressed_data() local
336 char* dst = mapPtr + placedFootprints[currentMipLevel].Offset; in copy_compressed_data()
337 SkRectMemcpy(dst, placedFootprints[currentMipLevel].Footprint.RowPitch, in copy_compressed_data()
338 src, rowSizeInBytes[currentMipLevel], rowSizeInBytes[currentMipLevel], in copy_compressed_data()
339 numRows[currentMipLevel]); in copy_compressed_data()
340 src += numRows[currentMipLevel] * rowSizeInBytes[currentMipLevel]; in copy_compressed_data()
744 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) { in uploadToTexture() local
745 if (texels[currentMipLevel].fPixels) { in uploadToTexture()
748 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes; in uploadToTexture()
750 char* dst = bufferData + placedFootprints[currentMipLevel].Offset; in uploadToTexture()
[all …]
/third_party/skia/src/gpu/
DGrGpu.cpp61 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; ++currentMipLevel) { in validate_texel_levels() local
62 if (texels[currentMipLevel].fPixels) { in validate_texel_levels()
65 if (texels[currentMipLevel].fRowBytes < minRowBytes) { in validate_texel_levels()
68 if (texels[currentMipLevel].fRowBytes % bpp) { in validate_texel_levels()
72 if (texels[currentMipLevel].fRowBytes != minRowBytes) { in validate_texel_levels()
79 if (currentMipLevel != mipLevelCount - 1) { in validate_texel_levels()
DGrDataUtils.cpp301 for (int currentMipLevel = 1; currentMipLevel < mipLevelCount; ++currentMipLevel) { in GrComputeTightCombinedBufferSize() local
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp747 for (int currentMipLevel = 1; currentMipLevel < mipLevelCount; currentMipLevel++) { in uploadTexDataOptimal() local
751 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()
824 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) { in uploadTexDataOptimal() local
825 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()
828 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes; in uploadTexDataOptimal()
831 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
832 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
837 region.bufferOffset = transferBuffer->offset() + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
840 region.imageSubresource = { VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(currentMipLevel), 0, 1 }; in uploadTexDataOptimal()
1734 for (uint32_t currentMipLevel = 0; currentMipLevel < mipLevels; currentMipLevel++) { in createVkImageForBackendSurface() local
[all …]
/third_party/flutter/skia/src/core/
DSkMipMap.cpp393 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build() local
394 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build()
/third_party/flutter/skia/src/gpu/gl/
DGrGLGpu.cpp978 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) { in allocate_and_populate_texture() local
979 const void* currentMipData = texels[currentMipLevel].fPixels; in allocate_and_populate_texture()
986 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_texture()
990 if (texels[currentMipLevel].fPixels) { in allocate_and_populate_texture()
992 const size_t rowBytes = texels[currentMipLevel].fRowBytes; in allocate_and_populate_texture()
1007 currentMipLevel, in allocate_and_populate_texture()
1033 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) { in allocate_and_populate_texture() local
1034 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_texture()
1038 const void* currentMipData = texels[currentMipLevel].fPixels; in allocate_and_populate_texture()
1041 const size_t rowBytes = texels[currentMipLevel].fRowBytes; in allocate_and_populate_texture()
[all …]
/third_party/skia/src/core/
DSkMipmap.cpp557 for (int currentMipLevel = countLevels; currentMipLevel >= 0; currentMipLevel--) { in Build() local
558 SkISize mipSize = ComputeLevelSize(src.width(), src.height(), currentMipLevel); in Build()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp922 for (int currentMipLevel = 0; currentMipLevel < mipLevelCount; currentMipLevel++) { in uploadTexDataOptimal() local
923 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal()
925 const size_t rowBytes = texelsShallowCopy[currentMipLevel].fRowBytes; in uploadTexDataOptimal()
928 char* dst = buffer + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
929 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
934 region.bufferOffset = slice.fOffset + individualMipOffsets[currentMipLevel]; in uploadTexDataOptimal()
937 region.imageSubresource = {VK_IMAGE_ASPECT_COLOR_BIT, SkToU32(currentMipLevel), 0, 1}; in uploadTexDataOptimal()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTextureVk.cpp110 for (GLuint currentMipLevel = firstMipLevel; currentMipLevel <= maxMipLevel; currentMipLevel++) in generateMipmapLevelsWithCPU() local
125 gl::ImageIndex::MakeFromType(mState.getType(), currentMipLevel, layer), mipLevelExtents, in generateMipmapLevelsWithCPU()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DTextureVk.cpp3129 for (gl::LevelIndex currentMipLevel = firstMipLevel; currentMipLevel <= maxMipLevel; in generateMipmapLevelsWithCPU() local
3130 ++currentMipLevel) in generateMipmapLevelsWithCPU()
3148 gl::ImageIndex::MakeFromType(mState.getType(), currentMipLevel.get(), layer), in generateMipmapLevelsWithCPU()