Home
last modified time | relevance | path

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

12

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_get_texture_sub_image/
H A Dget.c50 *mip_height = 1; in minify()
58 *mip_height = height; in minify()
66 *mip_height = MAX2(1, height >> level); in minify()
92 *mip_height = height; in minify()
129 mip_height = height; in test_getsubimage()
149 mip_width, mip_height, 0, in test_getsubimage()
166 mip_width, mip_height, 0, in test_getsubimage()
178 mip_height = height; in test_getsubimage()
194 y1 = MAX2(1, mip_height / 3); in test_getsubimage()
208 h1 = mip_height - y1; in test_getsubimage()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/imbuf/intern/dds/
H A DFlipDXT.cpp209 unsigned int mip_height = height; in FlipDXTCImage() local
213 unsigned int blocks_per_col = (mip_height + 3) / 4; in FlipDXTCImage()
216 if (mip_height == 1) { in FlipDXTCImage()
220 if (mip_height == 2) { in FlipDXTCImage()
253 mip_height = MAX(1U, mip_height >> 1); in FlipDXTCImage()
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/SOIL/
H A Dimage_helper.c93 int mip_width, mip_height; in mipmap_image() local
106 mip_height = height / block_size_y; in mipmap_image()
111 if( mip_height < 1 ) in mipmap_image()
113 mip_height = 1; in mipmap_image()
115 for( j = 0; j < mip_height; ++j ) in mipmap_image()
/dports/graphics/libprojectm/projectm-3.1.12/src/libprojectM/Renderer/SOIL2/
H A Dimage_helper.c93 int mip_width, mip_height; in mipmap_image() local
106 mip_height = height / block_size_y; in mipmap_image()
111 if( mip_height < 1 ) in mipmap_image()
113 mip_height = 1; in mipmap_image()
115 for( j = 0; j < mip_height; ++j ) in mipmap_image()
/dports/multimedia/kodi-addon-screensaver.matrixtrails/screensaver.matrixtrails-2.6.0-Matrix/lib/SOIL2/
H A Dimage_helper.c93 int mip_width, mip_height; in mipmap_image() local
106 mip_height = height / block_size_y; in mipmap_image()
111 if( mip_height < 1 ) in mipmap_image()
113 mip_height = 1; in mipmap_image()
115 for( j = 0; j < mip_height; ++j ) in mipmap_image()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/tiles/
H A Dmipmap_util.cc45 int mip_height = next_mip_height; in GetLevelForSize() local
58 if (mip_height == 1 && mip_width == 1) { in GetLevelForSize()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/tiles/
H A Dmipmap_util.cc45 int mip_height = next_mip_height; in GetLevelForSize() local
58 if (mip_height == 1 && mip_width == 1) { in GetLevelForSize()
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/VideoCommon/
H A DHiresTextures_DDSLoader.cpp463 u32 mip_height = info.height; in LoadDDSTexture() local
467 mip_height = std::max(mip_height / 2, 1u); in LoadDDSTexture()
471 u32 blocks_high = GetBlockCount(mip_height, info.block_size); in LoadDDSTexture()
475 if (!ReadMipLevel(&level, file, filename, i, info, mip_width, mip_height, mip_row_length, in LoadDDSTexture()
H A DHiresTextures.cpp291 u32 mip_height = height; in CalculateMipCount() local
293 while (mip_width > 1 || mip_height > 1) in CalculateMipCount()
296 mip_height = std::max(mip_height / 2, 1u); in CalculateMipCount()
/dports/emulators/yuzu/yuzu-0b47f7a46/src/video_core/texture_cache/
H A Dsurface_params.cpp341 const std::size_t mip_height = GetMipHeight(level); in GetConvertedMipmapSize() local
343 return mip_width * mip_height * mip_depth * rgba8_bpp; in GetConvertedMipmapSize()
360 const u32 mip_height{GetMipmapSize(uncompressed, GetMipHeight(level), GetDefaultBlockHeight())}; in GetInnerMipmapMemorySize() local
364 mip_height, mip_depth, GetMipBlockHeight(level), in GetInnerMipmapMemorySize()
367 return GetBytesPerPixel() * mip_width * mip_height * mip_depth; in GetInnerMipmapMemorySize()
370 return pitch * mip_height * mip_depth; in GetInnerMipmapMemorySize()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/dds/
H A DReaderWriterDDS.cpp980 int mip_height = t; in ReadDDSFile() local
988 mip_height = osg::maximum( mip_height >> 1, 1 ); in ReadDDSFile()
992 … ComputeImageSizeInBytes( mip_width, mip_height, mip_depth, pixelFormat, dataType, packing ); in ReadDDSFile()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/
H A Dgropengltexture.cpp825 auto mip_height = height; in opengl_tex_array_storage() local
827 …glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + i, j, format, mip_width, mip_height, 0, GL_RGBA, GL_… in opengl_tex_array_storage()
830 mip_height = std::max(1, (mip_height / 2)); in opengl_tex_array_storage()
/dports/graphics/magnum-examples/magnum-examples-2019.10/src/triangle-sokol/
H A Dsokol_gfx.h2957 int mip_height = img->height >> mip_index; in _sg_create_image() local
2958 if (mip_height == 0) { in _sg_create_image()
2959 mip_height = 1; in _sg_create_image()
4027 int mip_height = img->height >> mip_index; in _sg_update_image() local
4028 if (mip_height == 0) { in _sg_update_image()
4029 mip_height = 1; in _sg_update_image()
4034 mip_width, mip_height, in _sg_update_image()
4046 mip_width, mip_height, mip_depth, in _sg_update_image()
6466 const int mip_height = _sg_max(img->height >> mip_index, 1); in _sg_mtl_copy_image_content() local
6481 region = MTLRegionMake2D(0, 0, mip_width, mip_height); in _sg_mtl_copy_image_content()
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c389 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
452 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
455 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c409 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
473 mip_height = u_minify(tex->b.height0, level); in svga_texture_transfer_map_direct()
476 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c438 unsigned offset, mip_width, mip_height; in svga_texture_transfer_map_direct() local
502 mip_height = u_minify(tex->b.b.height0, level); in svga_texture_transfer_map_direct()
505 mip_width, mip_height, in svga_texture_transfer_map_direct()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/sokol/
H A Dsokol_gfx.h5705 int mip_height = img->cmn.height >> mip_index; in _sg_gl_create_image() local
5706 if (mip_height == 0) { in _sg_gl_create_image()
5707 mip_height = 1; in _sg_gl_create_image()
6760 int mip_height = img->cmn.height >> mip_index; in _sg_gl_update_image() local
6761 if (mip_height == 0) { in _sg_gl_update_image()
6762 mip_height = 1; in _sg_gl_update_image()
6767 mip_width, mip_height, in _sg_gl_update_image()
6779 mip_width, mip_height, mip_depth, in _sg_gl_update_image()
9013 region = MTLRegionMake2D(0, 0, mip_width, mip_height); in _sg_mtl_copy_image_content()
10492 src_view.imageHeight = mip_height; in _sg_wgpu_copy_image_content()
[all …]

12