Home
last modified time | relevance | path

Searched refs:mip_depth (Results 1 – 8 of 8) sorted by relevance

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_get_texture_sub_image/
H A Dget.c51 *mip_depth = 1; in minify()
59 *mip_depth = 1; in minify()
67 *mip_depth = 1; in minify()
76 *mip_depth = depth; in minify()
85 *mip_depth = MAX2(1, depth >> level); in minify()
93 *mip_depth = 1; in minify()
113 GLsizei mip_width, mip_height, mip_depth; in test_getsubimage() local
130 mip_depth = depth; in test_getsubimage()
179 mip_depth = depth; in test_getsubimage()
195 z1 = MAX2(1, mip_depth / 3); in test_getsubimage()
[all …]
/dports/emulators/yuzu/yuzu-0b47f7a46/src/video_core/texture_cache/
H A Dsurface_params.cpp342 const std::size_t mip_depth = is_layered ? 1 : GetMipDepth(level); in GetConvertedMipmapSize() local
343 return mip_width * mip_height * mip_depth * rgba8_bpp; in GetConvertedMipmapSize()
361 const u32 mip_depth{is_layered ? 1U : GetMipDepth(level)}; 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.cpp981 int mip_depth = r; in ReadDDSFile() local
989 mip_depth = osg::maximum( mip_depth >> 1, 1 ); in ReadDDSFile()
992 … ComputeImageSizeInBytes( mip_width, mip_height, mip_depth, pixelFormat, dataType, packing ); in ReadDDSFile()
/dports/graphics/magnum-examples/magnum-examples-2019.10/src/triangle-sokol/
H A Dsokol_gfx.h2974 int mip_depth = img->depth >> mip_index; in _sg_create_image() local
2975 if (mip_depth == 0) { in _sg_create_image()
2976 mip_depth = 1; in _sg_create_image()
2980 mip_width, mip_height, mip_depth, 0, data_size, data_ptr); in _sg_create_image()
4040 int mip_depth = img->depth >> mip_index; in _sg_update_image() local
4041 if (mip_depth == 0) { in _sg_update_image()
4042 mip_depth = 1; in _sg_update_image()
4046 mip_width, mip_height, mip_depth, in _sg_update_image()
4642 const int mip_depth = ((img->depth>>mip_index)>0) ? img->depth>>mip_index : 1; in _sg_d3d11_fill_subres_data() local
6475 const int mip_depth = _sg_max(img->depth >> mip_index, 1); in _sg_mtl_copy_image_content() local
[all …]
/dports/lang/v/v-0.1.29/thirdparty/sokol/
H A Dsokol_gfx.h5316 int mip_depth = img->depth; in _sg_create_image() local
5318 mip_depth >>= mip_index; in _sg_create_image()
5320 if (mip_depth == 0) { in _sg_create_image()
5321 mip_depth = 1; in _sg_create_image()
5325 mip_width, mip_height, mip_depth, 0, data_size, data_ptr); in _sg_create_image()
6347 int mip_depth = img->depth >> mip_index; in _sg_update_image() local
6348 if (mip_depth == 0) { in _sg_update_image()
6349 mip_depth = 1; in _sg_update_image()
6353 mip_width, mip_height, mip_depth, in _sg_update_image()
8609 const int mip_depth = _sg_max(img->depth >> mip_index, 1); in _sg_mtl_copy_image_content() local
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/sokol/
H A Dsokol_gfx.h5722 int mip_depth = img->cmn.depth; in _sg_gl_create_image() local
5724 mip_depth >>= mip_index; in _sg_gl_create_image()
5726 if (mip_depth == 0) { in _sg_gl_create_image()
5727 mip_depth = 1; in _sg_gl_create_image()
6773 int mip_depth = img->cmn.depth >> mip_index; in _sg_gl_update_image() local
6774 if (mip_depth == 0) { in _sg_gl_update_image()
6775 mip_depth = 1; in _sg_gl_update_image()
6779 mip_width, mip_height, mip_depth, in _sg_gl_update_image()
9007 const int mip_depth = _sg_max(img->cmn.depth >> mip_index, 1); in _sg_mtl_copy_image_content() local
9008 region = MTLRegionMake3D(0, 0, 0, mip_width, mip_height, mip_depth); in _sg_mtl_copy_image_content()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/gpu/command_buffer/service/
H A Dtexture_manager.cc1058 const GLsizei mip_depth = target == GL_TEXTURE_2D_ARRAY ? in TextureMipComplete() local
1064 depth == mip_depth && in TextureMipComplete()
/dports/www/chromium-legacy/chromium-88.0.4324.182/gpu/command_buffer/service/
H A Dtexture_manager.cc1048 const GLsizei mip_depth = target == GL_TEXTURE_2D_ARRAY ? in TextureMipComplete() local
1054 depth == mip_depth && in TextureMipComplete()