/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource.c | 86 uint32 numMipLevels; in svga_can_create_resource() local 95 numMipLevels = 1; in svga_can_create_resource() 110 numMipLevels = res->last_level + 1; in svga_can_create_resource() 116 arraySize, numMipLevels, numSamples); in svga_can_create_resource()
|
D | svga_surface.c | 134 unsigned int numMipLevels, in svga_texture_copy_handle_resource() argument 149 for (i = 0; i < numMipLevels; i++) { in svga_texture_copy_handle_resource() 158 unsigned subResource = j * numMipLevels + i; in svga_texture_copy_handle_resource() 208 key->numMipLevels = num_mip; in svga_texture_view_surface() 265 key->numMipLevels, in svga_texture_view_surface() 514 bs->key.numMipLevels, in create_backed_surface_view() 791 unsigned numMipLevels = tex->b.b.last_level + 1; in svga_propagate_surface() local 821 srcSubResource = (s->real_layer + i) * numMipLevels + srcLevel; in svga_propagate_surface() 822 dstSubResource = (layer + i) * numMipLevels + dstLevel; in svga_propagate_surface()
|
D | svga_screen_cache.c | 49 assert(key->numMipLevels > 0); in svga_surface_size() 64 for (i = 0; i < key->numMipLevels; i++) { in svga_surface_size() 499 key->numMipLevels, in svga_screen_surface_create() 558 key->numMipLevels, in svga_screen_surface_create() 582 key->numMipLevels, in svga_screen_surface_create()
|
D | svga_screen_cache.h | 68 uint32_t numMipLevels:6; member
|
D | svga_resource_texture.c | 286 unsigned numMipLevels) in readback_image_vgpu10() argument 290 subResource = slice * numMipLevels + level; in readback_image_vgpu10() 714 unsigned numMipLevels) in update_image_vgpu10() argument 718 subResource = slice * numMipLevels + level; in update_image_vgpu10() 1098 tex->key.numMipLevels = template->last_level + 1; in svga_texture_create() 1465 unsigned numMipLevels; in svga_texture_transfer_unmap_upload() local 1479 numMipLevels = texture->last_level + 1; in svga_texture_transfer_unmap_upload() 1482 subResource = layer * numMipLevels + st->base.level; in svga_texture_transfer_unmap_upload()
|
/external/skia/tests/ |
D | CompressedBackendAllocationTest.cpp | 81 int numMipLevels = 1; in check_compressed_mipmaps() local 83 numMipLevels = SkMipmap::ComputeLevelCount(32, 32)+1; in check_compressed_mipmaps() 86 for (int i = 0, rectSize = 32; i < numMipLevels; ++i, rectSize /= 2) { in check_compressed_mipmaps() 190 int numMipLevels = 1; in make_compressed_data() local 192 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_data() 195 SkTArray<size_t> mipMapOffsets(numMipLevels); in make_compressed_data() 201 for (int level = 0; level < numMipLevels; ++level) { in make_compressed_data()
|
D | BackendAllocationTest.cpp | 386 int numMipLevels = 6; in check_mipmaps() local 400 for (int i = 0, rectSize = 32; i < numMipLevels; ++i, rectSize /= 2) { in check_mipmaps() 446 int numMipLevels = mipmapped == GrMipmapped::kYes ? 6 : 1; in make_pixmaps() local 450 for (int level = 0; level < numMipLevels; ++level) { in make_pixmaps() 462 for (int level = 0; level < numMipLevels; ++level) { in make_pixmaps() 468 return numMipLevels; in make_pixmaps() 494 int numMipLevels = make_pixmaps(skColorType, mipmapped, colors, pixmaps, &memForPixmaps); in test_pixmap_init() local 495 SkASSERT(numMipLevels); in test_pixmap_init() 497 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init() 544 numMipLevels, in test_pixmap_init()
|
/external/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.cpp | 182 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceInfo() 286 if ((localIn.numMipLevels > 1) && (pOut->pMipInfo != NULL)) in ComputeSurfaceInfo() 288 for (UINT_32 i = 0; i < localIn.numMipLevels; i++) in ComputeSurfaceInfo() 355 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceAddrFromCoord() 365 (localIn.mipId >= localIn.numMipLevels) || in ComputeSurfaceAddrFromCoord() 1029 if (pIn->numMipLevels <= 1) in ApplyCustomizedPitchHeight() 1148 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceAddrFromCoordLinear() 1151 if (localIn.numMipLevels <= 1) in ComputeSurfaceAddrFromCoordLinear() 1237 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceCoordFromAddrLinear() 1239 if (localIn.numMipLevels <= 1) in ComputeSurfaceCoordFromAddrLinear() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_svga.c | 183 uint32 numMipLevels, in vmw_svga_winsys_surface_create() argument 224 numMipLevels, in vmw_svga_winsys_surface_create() 256 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create() 277 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create() 309 numMipLevels, sampleCount); in vmw_svga_winsys_surface_create() 334 uint32 numMipLevels, in vmw_svga_winsys_surface_can_create() argument 341 numMipLevels, in vmw_svga_winsys_surface_can_create()
|
D | vmw_screen.h | 144 uint32 numMipLevels, 153 uint32 numMipLevels, 165 uint32_t *numMipLevels,
|
D | vmw_screen_ioctl.c | 143 uint32_t numFaces, uint32_t numMipLevels, in vmw_ioctl_surface_create() argument 164 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_surface_create() 170 req->mip_levels[iFace] = numMipLevels; in vmw_ioctl_surface_create() 171 for (iMipLevel = 0; iMipLevel < numMipLevels; ++iMipLevel) { in vmw_ioctl_surface_create() 206 uint32_t numMipLevels, in vmw_ioctl_gb_surface_create() argument 257 req->base.mip_levels = numMipLevels; in vmw_ioctl_gb_surface_create() 265 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_gb_surface_create() 296 req->mip_levels = numMipLevels; in vmw_ioctl_gb_surface_create() 304 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_gb_surface_create() 411 uint32_t *numMipLevels, in vmw_ioctl_gb_surface_ref() argument [all …]
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 193 UINT_32 widthAmp = (pIn->numMipLevels > 1) ? (totalAmpBits >> 1) : RoundHalf(totalAmpBits); in HwlComputeHtileInfo() 203 ((pIn->numMipLevels > 1) && (metaBlkDimDbg.h == metaBlkDimDbg.w))) in HwlComputeHtileInfo() 219 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, FALSE, pOut->pMipInfo, in HwlComputeHtileInfo() 368 UINT_32 numMipLevels, ///< [in] number of mip levels in GetMetaMipInfo() argument 389 if (numMipLevels > 1) in GetMetaMipInfo() 439 if ((*pMipDim < 3) && (*pOrderDim > orderLimit) && (numMipLevels > 3)) in GetMetaMipInfo() 457 for (UINT_32 mip = 0; mip < numMipLevels; mip++) in GetMetaMipInfo() 461 GetMetaMiptailInfo(&pInfo[mip], mipCoord, numMipLevels - mip, in GetMetaMipInfo() 603 ((pIn->numMipLevels > 1) && (metaBlkDim.h == metaBlkDim.w))) in HwlComputeDccInfo() 631 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, dataThick, pOut->pMipInfo, in HwlComputeDccInfo() [all …]
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 191 if (pIn->numMipLevels > 1) in HwlComputeHtileInfo() 193 ADDR_ASSERT(pIn->firstMipIdInTail <= pIn->numMipLevels); in HwlComputeHtileInfo() 195 UINT_32 offset = (pIn->firstMipIdInTail == pIn->numMipLevels) ? 0 : metaBlkSize; in HwlComputeHtileInfo() 226 for (UINT_32 i = pIn->firstMipIdInTail; i < pIn->numMipLevels; i++) in HwlComputeHtileInfo() 233 if (pIn->firstMipIdInTail != pIn->numMipLevels) in HwlComputeHtileInfo() 302 if (pIn->numMipLevels > 1) in HwlComputeCmaskInfo() 304 ADDR_ASSERT(pIn->firstMipIdInTail <= pIn->numMipLevels); in HwlComputeCmaskInfo() 306 UINT_32 metaBlkPerSlice = (pIn->firstMipIdInTail == pIn->numMipLevels) ? 0 : 1; in HwlComputeCmaskInfo() 334 for (UINT_32 i = pIn->firstMipIdInTail; i < pIn->numMipLevels; i++) in HwlComputeCmaskInfo() 341 if (pIn->firstMipIdInTail != pIn->numMipLevels) in HwlComputeCmaskInfo() [all …]
|
/external/skia/gm/ |
D | compressed_textures.cpp | 113 int numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_image() local 129 for (int i = 0; i < numMipLevels; ++i) { in make_compressed_image() 271 int numMipLevels = SkMipmap::ComputeLevelCount(levelDimensions.width(), in drawCell() local 288 for (int i = 0; i < numMipLevels; ++i) { in drawCell()
|
/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
D | test_2D.cpp | 236 cl_uint numMipLevels; in test_get_image_info_single() local 237 …error = clGetImageInfo( image, CL_IMAGE_NUM_MIP_LEVELS, sizeof( numMipLevels ), &numMipLevels, NUL… in test_get_image_info_single() 239 if( numMipLevels != 0 ) in test_get_image_info_single() 242 (int)0, (int)numMipLevels ); in test_get_image_info_single()
|
/external/angle/src/libANGLE/ |
D | CLImage.cpp | 82 copyValue = &mDesc.numMipLevels; in getInfo() 83 copySize = sizeof(mDesc.numMipLevels); in getInfo()
|
/external/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 560 UINT_32 numMipLevels; ///< Number of mips in mip chain member 2440 UINT_32 numMipLevels; ///< Total mipmap levels. member 2569 UINT_32 numMipLevels; ///< Total mipmap levels member 2635 UINT_32 numMipLevels; ///< Total mipmap levels. member 2755 UINT_32 numMipLevels; ///< Total mipmap levels of color surface member 2826 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member 2882 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member 2943 UINT_32 numMipLevels; ///< Number of mip levels member 3076 UINT_32 numMipLevels; ///< Color surface total mipmap levels. member 3342 UINT_32 numMipLevels; ///< Total mipmap levels of color surface member [all …]
|
/external/skia/src/core/ |
D | SkCompressedDataUtils.cpp | 250 int numMipLevels = 1; in SkCompressedDataSize() local 252 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in SkCompressedDataSize() 262 for (int i = 0; i < numMipLevels; ++i) { in SkCompressedDataSize()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 354 uint32 numMipLevels; member 1381 uint32 numMipLevels; member 1690 uint32 numMipLevels; member 1710 uint32 numMipLevels; member 1729 uint32 numMipLevels; member
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 795 int numMipLevels = 1; in fill_in_compressed_regions() local 797 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in fill_in_compressed_regions() 800 regions->reserve_back(numMipLevels); in fill_in_compressed_regions() 801 individualMipOffsets->reserve_back(numMipLevels); in fill_in_compressed_regions() 809 SkASSERT(individualMipOffsets->count() == numMipLevels); in fill_in_compressed_regions() 824 for (int i = 0; i < numMipLevels; ++i) { in fill_in_compressed_regions() 1105 int numMipLevels = 1; in onCreateCompressedTexture() local 1107 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in onCreateCompressedTexture() 1114 numMipLevels, isProtected, mipmapStatus); in onCreateCompressedTexture() 1498 int numMipLevels) { in copy_src_data() argument [all …]
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 58 int numMipLevels = 1; in createTexture() local 60 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture() 75 return this->writePixels(std::move(scratch), colorType, dimensions, texels, numMipLevels); in createTexture() 81 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, numMipLevels, in createTexture() 89 numMipLevels); in createTexture()
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.c | 157 din.numMipLevels = 1; in ac_compute_dcc_retile_tile_indices() 169 addrin.numMipLevels = 1; in ac_compute_dcc_retile_tile_indices() 254 assert(in->numFrags == 1 && in->numSlices == 1 && in->numMipLevels == 1); in ac_compute_dcc_retile_map() 1250 sin.numMipLevels = in->numMipLevels; in gfx9_get_preferred_swizzle_mode() 1422 for (unsigned i = 0; i < in->numMipLevels; i++) { in gfx9_compute_miptree() 1454 hin.numMipLevels = in->numMipLevels; in gfx9_compute_miptree() 1518 din.numMipLevels = in->numMipLevels; in gfx9_compute_miptree() 1533 surf->num_dcc_levels = in->numMipLevels; in gfx9_compute_miptree() 1557 for (unsigned i = 0; i < in->numMipLevels; i++) { in gfx9_compute_miptree() 1588 assert(din.numMipLevels == 1); in gfx9_compute_miptree() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 533 const deUint32 numMipLevels, in makeImage() argument 545 numMipLevels, // deUint32 mipLevels; in makeImage() 1405 const int numMipLevels = static_cast<int>(mipLevelSizes.size()); in testRenderToMipMaps() local 1434 imageSize.swizzle(0, 1, 2), numMipLevels, imageSize.w(), imageUsage); in testRenderToMipMaps() 1444 IVec3(imageSize.x(), imageSize.y(), 1), numMipLevels, numSlices, imageUsage); in testRenderToMipMaps() 1482 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps() 1500 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps() 1517 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps() 1549 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps() 1572 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps() [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.mm | 623 int numMipLevels = 1; 625 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; 638 texDesc.mipmapLevelCount = numMipLevels; 664 SkTArray<size_t> individualMipOffsets(numMipLevels); 668 SkASSERT(individualMipOffsets.count() == numMipLevels); 691 for (int currentMipLevel = 0; currentMipLevel < numMipLevels; currentMipLevel++) { 870 int numMipLevels, 872 SkASSERT(srcData && numMipLevels); 873 SkASSERT(individualMipOffsets.count() == numMipLevels); 875 for (int level = 0; level < numMipLevels; ++level) { [all …]
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 47 std::unique_ptr<SkPixmap[]> pixmaps(new SkPixmap[this->numMipLevels()]); in normalMipLevels() 59 int DDLPromiseImageHelper::PromiseImageInfo::numMipLevels() const { in numMipLevels() function in DDLPromiseImageHelper::PromiseImageInfo 178 info->numMipLevels(), in CreateBETexturesForPromiseImage()
|