Home
last modified time | relevance | path

Searched refs:numMipLevels (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource.c86 uint32 numMipLevels; in svga_can_create_resource() local
94 numMipLevels = 1; in svga_can_create_resource()
108 numMipLevels = res->last_level + 1; in svga_can_create_resource()
113 arraySize, numMipLevels); in svga_can_create_resource()
Dsvga_screen_cache.c49 assert(key->numMipLevels > 0); in surface_size()
64 for (i = 0; i < key->numMipLevels; i++) { in surface_size()
473 key->numMipLevels, in svga_screen_surface_create()
532 key->numMipLevels, in svga_screen_surface_create()
554 key->numMipLevels, in svga_screen_surface_create()
Dsvga_surface.c112 unsigned int numMipLevels, in svga_texture_copy_handle_resource() argument
127 for (i = 0; i < numMipLevels; i++) { in svga_texture_copy_handle_resource()
177 key->numMipLevels = num_mip; in svga_texture_view_surface()
233 key->numMipLevels, in svga_texture_view_surface()
476 bs->key.numMipLevels, in create_backed_surface_view()
Dsvga_resource_texture.c320 unsigned numMipLevels) in readback_image_vgpu10() argument
325 subResource = slice * numMipLevels + level; in readback_image_vgpu10()
724 unsigned numMipLevels) in update_image_vgpu10() argument
729 subResource = slice * numMipLevels + level; in update_image_vgpu10()
1108 tex->key.numMipLevels = template->last_level + 1; in svga_texture_create()
1482 unsigned numMipLevels; in svga_texture_transfer_unmap_upload() local
1496 numMipLevels = texture->last_level + 1; in svga_texture_transfer_unmap_upload()
1499 subResource = layer * numMipLevels + st->base.level; in svga_texture_transfer_unmap_upload()
Dsvga_screen_cache.h68 uint32_t numMipLevels:6; member
Dsvga_winsys.h537 uint32 numMipLevels,
585 uint32 numMipLevels);
Dsvga_resource_buffer_upload.c191 sbuf->key.numMipLevels = 1; in svga_buffer_create_host_surface()
Dsvga_cmd.c338 faces[0].numMipLevels = 1; in SVGA3D_DefineSurface2D()
/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp160 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceInfo()
264 if ((localIn.numMipLevels > 1) && (pOut->pMipInfo != NULL)) in ComputeSurfaceInfo()
266 for (UINT_32 i = 0; i < localIn.numMipLevels; i++) in ComputeSurfaceInfo()
331 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceAddrFromCoord()
341 (localIn.mipId >= localIn.numMipLevels) || in ComputeSurfaceAddrFromCoord()
992 if (pIn->numMipLevels <= 1) in ApplyCustomizedPitchHeight()
1111 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceAddrFromCoordLinear()
1114 if (localIn.numMipLevels <= 1) in ComputeSurfaceAddrFromCoordLinear()
1200 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceCoordFromAddrLinear()
1202 if (localIn.numMipLevels <= 1) in ComputeSurfaceCoordFromAddrLinear()
[all …]
Daddrlib2.h711 if (pIn->numMipLevels > 1) in VerifyMipLevelInfo()
732 ADDR_ASSERT(actualMipLevels >= pIn->numMipLevels); in VerifyMipLevelInfo()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c173 uint32 numMipLevels, in vmw_svga_winsys_surface_create() argument
198 buffer_size = svga3dsurface_get_serialized_size(format, size, numMipLevels, in vmw_svga_winsys_surface_create()
229 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create()
248 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create()
276 size, numLayers, numMipLevels, in vmw_svga_winsys_surface_create()
302 uint32 numMipLevels) in vmw_svga_winsys_surface_can_create() argument
308 numMipLevels, in vmw_svga_winsys_surface_can_create()
Dvmw_screen.h136 uint32 numMipLevels,
145 uint32 numMipLevels,
155 uint32_t *numMipLevels,
Dvmw_screen_ioctl.c138 uint32_t numFaces, uint32_t numMipLevels, in vmw_ioctl_surface_create() argument
159 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_surface_create()
165 req->mip_levels[iFace] = numMipLevels; in vmw_ioctl_surface_create()
166 for (iMipLevel = 0; iMipLevel < numMipLevels; ++iMipLevel) { in vmw_ioctl_surface_create()
201 uint32_t numMipLevels, in vmw_ioctl_gb_surface_create() argument
231 req->mip_levels = numMipLevels; in vmw_ioctl_gb_surface_create()
239 assert(numFaces * numMipLevels < DRM_VMW_MAX_SURFACE_FACES* in vmw_ioctl_gb_surface_create()
347 uint32_t *numMipLevels, in vmw_ioctl_gb_surface_ref() argument
386 *numMipLevels = rep->creq.mip_levels; in vmw_ioctl_gb_surface_ref()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp194 UINT_32 widthAmp = (pIn->numMipLevels > 1) ? (totalAmpBits >> 1) : RoundHalf(totalAmpBits); in HwlComputeHtileInfo()
204 ((pIn->numMipLevels > 1) && (metaBlkDimDbg.h == metaBlkDimDbg.w))) in HwlComputeHtileInfo()
220 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, FALSE, pOut->pMipInfo, in HwlComputeHtileInfo()
367 UINT_32 numMipLevels, ///< [in] number of mip levels in GetMetaMipInfo() argument
388 if (numMipLevels > 1) in GetMetaMipInfo()
438 if ((*pMipDim < 3) && (*pOrderDim > orderLimit) && (numMipLevels > 3)) in GetMetaMipInfo()
456 for (UINT_32 mip = 0; mip < numMipLevels; mip++) in GetMetaMipInfo()
460 GetMetaMiptailInfo(&pInfo[mip], mipCoord, numMipLevels - mip, in GetMetaMipInfo()
602 ((pIn->numMipLevels > 1) && (metaBlkDim.h == metaBlkDim.w))) in HwlComputeDccInfo()
630 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, dataThick, pOut->pMipInfo, in HwlComputeDccInfo()
[all …]
Dgfx9addrlib.h432 VOID GetMetaMipInfo(UINT_32 numMipLevels, Dim3d* pMetaBlkDim,
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h559 UINT_32 numMipLevels; ///< Number of mips in mip chain member
2410 UINT_32 numMipLevels; ///< Total mipmap levels. member
2539 UINT_32 numMipLevels; ///< Total mipmap levels member
2605 UINT_32 numMipLevels; ///< Total mipmap levels. member
2723 UINT_32 numMipLevels; ///< Total mipmap levels of color surface member
2792 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member
2848 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member
3040 UINT_32 numMipLevels; ///< Color surface total mipmap levels. member
3307 UINT_32 numMipLevels; ///< Total mipmap levels of color surface member
3393 UINT_32 numMipLevels; ///< Color surface mipmap levels member
[all …]
/external/mesa3d/src/amd/common/
Dac_surface.c834 sin.numMipLevels = in->numMipLevels; in gfx9_get_preferred_swizzle_mode()
893 for (unsigned i = 0; i < in->numMipLevels; i++) in gfx9_compute_miptree()
914 hin.numMipLevels = in->numMipLevels; in gfx9_compute_miptree()
948 din.numMipLevels = in->numMipLevels; in gfx9_compute_miptree()
960 surf->num_dcc_levels = in->numMipLevels; in gfx9_compute_miptree()
984 for (unsigned i = 0; i < in->numMipLevels; i++) { in gfx9_compute_miptree()
1098 AddrSurfInfoIn.numMipLevels = config->info.levels; in gfx9_compute_surface()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp530 const deUint32 numMipLevels, in makeImage() argument
542 numMipLevels, // deUint32 mipLevels; in makeImage()
1389 const int numMipLevels = static_cast<int>(mipLevelSizes.size()); in testRenderToMipMaps() local
1427 imageSize.swizzle(0, 1, 2), numMipLevels, imageSize.w(), imageUsage); in testRenderToMipMaps()
1437 IVec3(imageSize.x(), imageSize.y(), 1), numMipLevels, numSlices, imageUsage); in testRenderToMipMaps()
1475 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1493 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1510 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps()
1542 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1565 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps()
[all …]
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_cmd.h297 uint32 numMipLevels; member
1309 uint32 numMipLevels; member
1601 uint32 numMipLevels; member
Dsvga3d_surfacedefs.h1048 uint32 numMipLevels, in svga3dsurface_get_image_offset() argument
1065 for (i = 0; i < numMipLevels; i++) { in svga3dsurface_get_image_offset()
Dsvga3d_dx.h675 uint32 numMipLevels; member
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1350 _debug_printf("\t\t.face[0].numMipLevels = %u\n", (*cmd).face[0].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1351 _debug_printf("\t\t.face[1].numMipLevels = %u\n", (*cmd).face[1].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1352 _debug_printf("\t\t.face[2].numMipLevels = %u\n", (*cmd).face[2].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1353 _debug_printf("\t\t.face[3].numMipLevels = %u\n", (*cmd).face[3].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1354 _debug_printf("\t\t.face[4].numMipLevels = %u\n", (*cmd).face[4].numMipLevels); in dump_SVGA3dCmdDefineSurface()
1355 _debug_printf("\t\t.face[5].numMipLevels = %u\n", (*cmd).face[5].numMipLevels); in dump_SVGA3dCmdDefineSurface()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp169 …onst deUint32 pixelSize, const VkExtent3D& baseExtent, const deUint32 numMipLevels, const deUint32… in getImageMipLevelSizes() argument
171 std::vector<deUint32> results(numMipLevels); in getImageMipLevelSizes()
173 for (deUint32 mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in getImageMipLevelSizes()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp516 const deUint32 numMipLevels, in makeImage() argument
542 numMipLevels, // deUint32 mipLevels; in makeImage()
/external/mesa3d/src/amd/addrlib/r800/
Degbaddrlib.cpp575 (pIn->numMipLevels > 1) && in ComputeSurfaceInfoMacroTiled()
582 for (UINT_32 i = 1; i < pIn->numMipLevels; i++) in ComputeSurfaceInfoMacroTiled()