Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource.c86 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()
H A Dsvga_surface.c134 unsigned int numMipLevels, in svga_texture_copy_handle_resource()
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()
516 bs->key.numMipLevels, in create_backed_surface_view()
808 unsigned numMipLevels = tex->b.last_level + 1; in svga_propagate_surface() local
838 srcSubResource = (s->real_layer + i) * numMipLevels + srcLevel; in svga_propagate_surface()
839 dstSubResource = (layer + i) * numMipLevels + dstLevel; in svga_propagate_surface()
131 svga_texture_copy_handle_resource(struct svga_context *svga, struct svga_texture *src_tex, struct svga_winsys_surface *dst, unsigned int numMipLevels, unsigned int numLayers, int zslice_pick, unsigned int mipoffset, unsigned int layeroffset) svga_texture_copy_handle_resource() argument
H A Dsvga_screen_cache.c49 assert(key->numMipLevels > 0); in svga_surface_size()
64 for (i = 0; i < key->numMipLevels; i++) { in svga_surface_size()
506 key->numMipLevels, in svga_screen_surface_create()
565 key->numMipLevels, in svga_screen_surface_create()
589 key->numMipLevels, in svga_screen_surface_create()
H A Dsvga_screen_cache.h68 uint32_t numMipLevels:6; member
/third_party/mesa3d/src/amd/addrlib/src/core/
H A Daddrlib2.cpp182 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()
358 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceAddrFromCoord()
368 (localIn.mipId >= localIn.numMipLevels) || in ComputeSurfaceAddrFromCoord()
1068 if (pIn->numMipLevels <= 1) in ApplyCustomizedPitchHeight()
1187 localIn.numMipLevels = Max(pIn->numMipLevels, in ComputeSurfaceAddrFromCoordLinear()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
H A Dgfx11addrlib.cpp191 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()
322 if (pIn->numMipLevels > 1) in HwlComputeDccInfo()
324 ADDR_ASSERT(pIn->firstMipIdInTail <= pIn->numMipLevels); in HwlComputeDccInfo()
326 UINT_32 offset = (pIn->firstMipIdInTail == pIn->numMipLevels) ? 0 : metaBlkSize; in HwlComputeDccInfo()
357 for (UINT_32 i = pIn->firstMipIdInTail; i < pIn->numMipLevels; i++) in HwlComputeDccInfo()
364 if (pIn->firstMipIdInTail != pIn->numMipLevels) in HwlComputeDccInfo()
[all...]
/third_party/skia/tests/
H A DCompressedBackendAllocationTest.cpp81 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()
H A DBackendAllocationTest.cpp387 int numMipLevels = 6; in check_mipmaps() local
401 for (int i = 0, rectSize = 32; i < numMipLevels; ++i, rectSize /= 2) { in check_mipmaps()
439 int numMipLevels = mipmapped == GrMipmapped::kYes ? 6 : 1; in make_pixmaps() local
443 for (int level = 0; level < numMipLevels; ++level) { in make_pixmaps()
455 for (int level = 0; level < numMipLevels; ++level) { in make_pixmaps()
461 return numMipLevels; in make_pixmaps()
487 int numMipLevels = make_pixmaps(skColorType, mipmapped, colors, pixmaps, &memForPixmaps); in test_pixmap_init() local
488 SkASSERT(numMipLevels); in test_pixmap_init()
490 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init()
537 numMipLevels, in test_pixmap_init()
[all...]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen.h157 uint32 numMipLevels,
166 uint32 numMipLevels,
178 uint32_t *numMipLevels,
H A Dvmw_screen_ioctl.c143 uint32_t numFaces, uint32_t numMipLevels, in vmw_ioctl_surface_create()
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()
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()
400 * @numMipLevels
138 vmw_ioctl_surface_create(struct vmw_winsys_screen *vws, SVGA3dSurface1Flags flags, SVGA3dSurfaceFormat format, unsigned usage, SVGA3dSize size, uint32_t numFaces, uint32_t numMipLevels, unsigned sampleCount) vmw_ioctl_surface_create() argument
200 vmw_ioctl_gb_surface_create(struct vmw_winsys_screen *vws, SVGA3dSurfaceAllFlags flags, SVGA3dSurfaceFormat format, unsigned usage, SVGA3dSize size, uint32_t numFaces, uint32_t numMipLevels, unsigned sampleCount, uint32_t buffer_handle, SVGA3dMSPattern multisamplePattern, SVGA3dMSQualityLevel qualityLevel, struct vmw_region **p_region) vmw_ioctl_gb_surface_create() argument
407 vmw_ioctl_gb_surface_ref(struct vmw_winsys_screen *vws, const struct winsys_handle *whandle, SVGA3dSurfaceAllFlags *flags, SVGA3dSurfaceFormat *format, uint32_t *numMipLevels, uint32_t *handle, struct vmw_region **p_region) vmw_ioctl_gb_surface_ref() argument
[all...]
H A Dvmw_screen_svga.c487 uint32 numMipLevels, in vmw_svga_winsys_surface_create()
528 numMipLevels, in vmw_svga_winsys_surface_create()
560 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create()
581 numMipLevels, sampleCount, in vmw_svga_winsys_surface_create()
613 numMipLevels, sampleCount); in vmw_svga_winsys_surface_create()
638 uint32 numMipLevels, in vmw_svga_winsys_surface_can_create()
645 numMipLevels, in vmw_svga_winsys_surface_can_create()
481 vmw_svga_winsys_surface_create(struct svga_winsys_screen *sws, SVGA3dSurfaceAllFlags flags, SVGA3dSurfaceFormat format, unsigned usage, SVGA3dSize size, uint32 numLayers, uint32 numMipLevels, unsigned sampleCount) vmw_svga_winsys_surface_create() argument
634 vmw_svga_winsys_surface_can_create(struct svga_winsys_screen *sws, SVGA3dSurfaceFormat format, SVGA3dSize size, uint32 numLayers, uint32 numMipLevels, uint32 numSamples) vmw_svga_winsys_surface_can_create() argument
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
H A Dgfx10addrlib.cpp190 if (pIn->numMipLevels > 1) in HwlComputeHtileInfo()
192 ADDR_ASSERT(pIn->firstMipIdInTail <= pIn->numMipLevels); in HwlComputeHtileInfo()
194 UINT_32 offset = (pIn->firstMipIdInTail == pIn->numMipLevels) ? 0 : metaBlkSize; in HwlComputeHtileInfo()
225 for (UINT_32 i = pIn->firstMipIdInTail; i < pIn->numMipLevels; i++) in HwlComputeHtileInfo()
232 if (pIn->firstMipIdInTail != pIn->numMipLevels) in HwlComputeHtileInfo()
309 if (pIn->numMipLevels > 1) in HwlComputeCmaskInfo()
311 ADDR_ASSERT(pIn->firstMipIdInTail <= pIn->numMipLevels); in HwlComputeCmaskInfo()
313 UINT_32 metaBlkPerSlice = (pIn->firstMipIdInTail == pIn->numMipLevels) ? 0 : 1; in HwlComputeCmaskInfo()
341 for (UINT_32 i = pIn->firstMipIdInTail; i < pIn->numMipLevels; i++) in HwlComputeCmaskInfo()
348 if (pIn->firstMipIdInTail != pIn->numMipLevels) in HwlComputeCmaskInfo()
[all...]
/third_party/skia/gm/
H A Dcompressed_textures.cpp111 int numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in make_compressed_image() local
127 for (int i = 0; i < numMipLevels; ++i) { in make_compressed_image()
269 int numMipLevels = SkMipmap::ComputeLevelCount(levelDimensions.width(), in drawCell() local
286 for (int i = 0; i < numMipLevels; ++i) { in drawCell()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
H A Dgfx9addrlib.cpp192 UINT_32 widthAmp = (pIn->numMipLevels > 1) ? (totalAmpBits >> 1) : RoundHalf(totalAmpBits); in HwlComputeHtileInfo()
202 ((pIn->numMipLevels > 1) && (metaBlkDimDbg.h == metaBlkDimDbg.w))) in HwlComputeHtileInfo()
218 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, FALSE, pOut->pMipInfo, in HwlComputeHtileInfo()
411 UINT_32 numMipLevels, ///< [in] number of mip levels in GetMetaMipInfo()
432 if (numMipLevels > 1) in GetMetaMipInfo()
482 if ((*pMipDim < 3) && (*pOrderDim > orderLimit) && (numMipLevels > 3)) in GetMetaMipInfo()
500 for (UINT_32 mip = 0; mip < numMipLevels; mip++) in GetMetaMipInfo()
504 GetMetaMiptailInfo(&pInfo[mip], mipCoord, numMipLevels - mip, in GetMetaMipInfo()
646 ((pIn->numMipLevels > 1) && (metaBlkDim.h == metaBlkDim.w))) in HwlComputeDccInfo()
674 GetMetaMipInfo(pIn->numMipLevels, in HwlComputeDccInfo()
410 GetMetaMipInfo( UINT_32 numMipLevels, Dim3d* pMetaBlkDim, BOOL_32 dataThick, ADDR2_META_MIP_INFO* pInfo, UINT_32 mip0Width, UINT_32 mip0Height, UINT_32 mip0Depth, UINT_32* pNumMetaBlkX, UINT_32* pNumMetaBlkY, UINT_32* pNumMetaBlkZ) const GetMetaMipInfo() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLImage.cpp82 copyValue = &mDesc.numMipLevels; in getInfo()
83 copySize = sizeof(mDesc.numMipLevels); in getInfo()
/third_party/mesa3d/src/amd/addrlib/inc/
H A Daddrinterface.h560 UINT_32 numMipLevels; ///< Number of mips in mip chain member
2440 UINT_32 numMipLevels; ///< Total mipmap levels. member
2521 /// contain numMipLevels entries
2569 UINT_32 numMipLevels; ///< Total mipmap levels member
2635 UINT_32 numMipLevels; ///< Total mipmap levels. member
2756 UINT_32 numMipLevels; ///< Total mipmap levels of color surface member
2832 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member
2888 UINT_32 numMipLevels; ///< Depth surface total mipmap levels member
2950 UINT_32 numMipLevels; ///< Number of mip levels member
3115 UINT_32 numMipLevels; ///< Colo member
3382 UINT_32 numMipLevels; ///< Total mipmap levels of color surface global() member
3492 UINT_32 numMipLevels; ///< Color surface mipmap levels global() member
3699 UINT_32 numMipLevels; ///< Total mipmap levels. global() member
3720 UINT_32 numMipLevels; ///< Total mipmap levels for the view global() member
3883 UINT_32 numMipLevels; ///< Total mipmap levels. global() member
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_cmd.h378 uint32 numMipLevels; member
392 * structures must have the same value of numMipLevels field.
394 * numMipLevels set to 0.
420 * structures must have the same value of numMipLevels field.
422 * numMipLevels set to 0.
1405 uint32 numMipLevels; member
1714 uint32 numMipLevels; member
1734 uint32 numMipLevels; member
1753 uint32 numMipLevels; member
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.cpp827 int numMipLevels = 1; in fill_in_compressed_regions() local
829 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height()) + 1; in fill_in_compressed_regions()
832 regions->reserve_back(numMipLevels); in fill_in_compressed_regions()
833 individualMipOffsets->reserve_back(numMipLevels); in fill_in_compressed_regions()
841 SkASSERT(individualMipOffsets->count() == numMipLevels); in fill_in_compressed_regions()
856 for (int i = 0; i < numMipLevels; ++i) { in fill_in_compressed_regions()
1222 int numMipLevels = 1; in onCreateCompressedTexture() local
1224 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.width(), dimensions.height())+1; in onCreateCompressedTexture()
1231 numMipLevels, isProtected, mipmapStatus); in onCreateCompressedTexture()
1663 int numMipLevels) { in copy_src_data()
1659 copy_src_data(char* mapPtr, VkFormat vkFormat, const SkTArray<size_t>& individualMipOffsets, const GrPixmap srcData[], int numMipLevels) copy_src_data() argument
1712 int numMipLevels = 1; createVkImageForBackendSurface() local
[all...]
/third_party/skia/experimental/graphite/src/
H A DTexture.h22 Mipmapped mipmapped() const { return Mipmapped(fInfo.numMipLevels() > 1); } in mipmapped()
H A DTextureProxy.h27 Mipmapped mipmapped() const { return Mipmapped(fInfo.numMipLevels() > 1); } in mipmapped()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp451 const deUint32 numMipLevels, in makeImage()
463 numMipLevels, // deUint32 mipLevels; in makeImage()
1454 const int numMipLevels = static_cast<int>(mipLevelSizes.size()); in testRenderToMipMaps() local
1483 imageSize.swizzle(0, 1, 2), numMipLevels, imageSize.w(), imageUsage); in testRenderToMipMaps()
1493 IVec3(imageSize.x(), imageSize.y(), 1), numMipLevels, numSlices, imageUsage); in testRenderToMipMaps()
1531 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1549 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1566 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps()
1598 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1621 for (int mipLevel = 0; mipLevel < numMipLevels; in testRenderToMipMaps()
445 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp448 const deUint32 numMipLevels, in makeImage()
460 numMipLevels, // deUint32 mipLevels; in makeImage()
1327 const int numMipLevels = static_cast<int>(mipLevelSizes.size()); in testRenderToMipMaps() local
1356 imageSize.swizzle(0, 1, 2), numMipLevels, imageSize.w(), imageUsage); in testRenderToMipMaps()
1366 IVec3(imageSize.x(), imageSize.y(), 1), numMipLevels, numSlices, imageUsage); in testRenderToMipMaps()
1404 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1422 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1439 for (int mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in testRenderToMipMaps()
1471 static_cast<deUint32>(numMipLevels), // uint32_t levelCount; in testRenderToMipMaps()
1494 for (int mipLevel = 0; mipLevel < numMipLevels; in testRenderToMipMaps()
442 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_surface_meta_address_test.c220 in.numMipLevels = din.numMipLevels = 1; /* addrlib can't do DccAddrFromCoord with mipmapping */ in one_dcc_address_test()
446 hin.numMipLevels = in.numMipLevels = 1; /* addrlib can't do HtileAddrFromCoord with mipmapping. */ in one_htile_address_test()
596 cin.numMipLevels = 1; in one_cmask_address_test()
/third_party/skia/src/gpu/
H A DGrResourceProvider.cpp60 int numMipLevels = 1; in createTexture() local
62 numMipLevels = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1; in createTexture()
87 return this->writePixels(std::move(scratch), colorType, dimensions, texels, numMipLevels); in createTexture()
93 tempColorType = this->prepareLevels(format, colorType, dimensions, texels, numMipLevels, in createTexture()
109 numMipLevels); in createTexture()
/third_party/skia/experimental/graphite/include/
H A DTextureInfo.h50 uint32_t numMipLevels() const { return fLevelCount; } in numMipLevels() function in skgpu::TextureInfo

Completed in 38 milliseconds

12