Home
last modified time | relevance | path

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

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp341 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local
366 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
373 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
374 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests()
375 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests()
381 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests()
384 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests()
387 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests()
395 …{ "base_array_layer_remaining_layers", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, V… in createSubresourceRangeTests()
409 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c59 GLuint numLevels; in compute_num_levels() local
63 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; in compute_num_levels()
64 numLevels = MIN2(numLevels, (GLuint) texObj->MaxLevel + 1); in compute_num_levels()
66 numLevels = MIN2(numLevels, texObj->NumLevels); in compute_num_levels()
67 assert(numLevels >= 1); in compute_num_levels()
69 return numLevels; in compute_num_levels()
/external/deqp/framework/opengl/
DgluTexture.cpp129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, … in Texture2D() argument
146 loadCompressed(numLevels, levels, decompressionParams); in Texture2D()
187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::Tex… in loadCompressed() argument
195 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed()
214 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con… in create() argument
216 DE_ASSERT(numLevels > 0); in create()
242 for (int levelNdx = 1; levelNdx < numLevels; levelNdx++) in create()
264 vector<tcu::CompressedTexture> levels(numLevels); in create()
266 for (int ndx = 0; ndx < numLevels; ndx++) in create()
269 return new Texture2D(context, contextInfo, numLevels, &levels[0]); in create()
[all …]
DgluTexture.hpp72 …Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const t…
83 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect…
84 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con…
91 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
112 …TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const…
123 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect…
124 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con…
130 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
150 …ay (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::Comp…
163 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDec…
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c153 assert(mt->numLevels <= rmesa->glCtx.Const.MaxTextureLevels); in calculate_miptree_layout()
158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
193 mt->numLevels = numLevels; in radeon_miptree_create()
314 unsigned numLevels; in radeon_miptree_matches_texture() local
322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
328 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
334 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
346 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
361 GLuint numLevels; in radeon_try_alloc_miptree() local
[all …]
Dradeon_mipmap_tree.h72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c153 assert(mt->numLevels <= rmesa->glCtx.Const.MaxTextureLevels); in calculate_miptree_layout()
158 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
179 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
193 mt->numLevels = numLevels; in radeon_miptree_create()
314 unsigned numLevels; in radeon_miptree_matches_texture() local
322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
328 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
334 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
346 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
361 GLuint numLevels; in radeon_try_alloc_miptree() local
[all …]
Dradeon_mipmap_tree.h72 GLuint numLevels; /** Number of mip levels stored in this mipmap tree */ member
104 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels,
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp482 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D() local
486 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTex2D()
520 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube() local
524 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTexCube()
627 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
636 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
669 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
680 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
718 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
727 vector<int> levels (numLevels); in createTexture()
[all …]
Des2fTextureCompletenessTests.cpp282 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
284 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
351 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
353 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
404 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
406 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
510 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
512 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
524 …glTexImage2D(GL_TEXTURE_2D, numLevels+1, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.ge… in createTexture()
614 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
[all …]
Des2fTextureFilteringTests.cpp175 int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
181 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
193 deUint32 step = 0x00ffffff / numLevels; in init()
438 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
455 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
465 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
467 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
794 const int numLevels = 7; in init() local
796 for (int level = 0; level < numLevels; level++) in init()
Des2fShaderTextureFunctionTests.cpp131 int numLevels; member
140 , numLevels (0) in TextureSpec()
156 , numLevels (numLevels_) in TextureSpec()
333 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
339 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
363 float cStep = 1.0f / (float)de::max(1, m_textureSpec.numLevels-1); in initTexture()
370 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
/external/deqp/framework/common/
DtcuTexture.hpp440 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
441 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
442 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
444 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
445 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
446 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
448 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
449 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
494 Texture1DView (int numLevels, const ConstPixelBufferAccess* levels);
511 inline Texture1DView::Texture1DView (int numLevels, const ConstPixelBufferAccess* levels) in Texture1DView() argument
[all …]
DtcuTexture.cpp2162 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D() argument
2164 …return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset … in sampleLevelArray1D()
2167 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D() argument
2169 …return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth)); // z-o… in sampleLevelArray2D()
2172 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D() argument
2174 return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0)); in sampleLevelArray3D()
2177 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset() argument
2190 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2200 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2217 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray2DOffset() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp176 const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1; in Texture2DMipmapTestInstance() local
179 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DMipmapTestInstance()
181 const deUint32 step = 0xff / (numLevels-1); in Texture2DMipmapTestInstance()
437 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeMipmapTestInstance() local
442 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeMipmapTestInstance()
444 const deUint32 step = 0xff / (numLevels-1); in TextureCubeMipmapTestInstance()
678 …const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.heigh… in Texture3DMipmapTestInstance() local
683 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture3DMipmapTestInstance()
685 const deUint32 step = 0xff / (numLevels-1); in Texture3DMipmapTestInstance()
958 const int numLevels = deLog2Floor32(de::max(m_texWidth, m_texHeight))+1; in Texture2DLodControlTestInstance() local
[all …]
DvktTextureShadowTests.cpp243 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() local
246 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance()
252 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance()
254 const deUint32 step = 0x00ffffff / numLevels; in Texture2DShadowTestInstance()
439 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() local
464 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
473 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
475 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeShadowTestInstance()
657 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() local
670 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayShadowTestInstance()
[all …]
DvktTextureFilteringTests.cpp117 …const int numLevels = mipmaps ? deLog2Floor32(de::max(m_testParameters.width, m_testParameter… in Texture2DFilteringTestInstance() local
133 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance()
142 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance()
144 const deUint32 step = 0x00ffffff / numLevels; in Texture2DFilteringTestInstance()
312 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeFilteringTestInstance() local
339 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance()
348 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance()
350 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeFilteringTestInstance()
537 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayFilteringTestInstance() local
558 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayFilteringTestInstance()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp207 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
210 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
212 deUint32 step = 0xff / (numLevels-1); in init()
552 int numLevels = deLog2Floor32(m_size)+1; in init() local
557 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
559 deUint32 step = 0xff / (numLevels-1); in init()
858 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in iterate() local
887 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate()
995 const int numLevels = deLog2Floor32(m_size)+1; in iterate() local
1033 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate()
[all …]
Des3fTextureFilteringTests.cpp175 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
181 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
193 deUint32 step = 0x00ffffff / numLevels; in init()
453 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
470 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
480 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
482 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
740 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
755 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
[all …]
Des3fTextureShadowTests.cpp236 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); in init() local
239 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
246 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
248 deUint32 step = 0x00ffffff / numLevels; in init()
486 int numLevels = deLog2Floor32(m_size)+1; in init() local
508 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
518 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
520 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
783 int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
790 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp135 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
141 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
153 deUint32 step = 0x00ffffff / numLevels; in init()
392 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
419 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
421 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
440 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
Des3aTextureMipmapTests.cpp151 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
154 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
156 deUint32 step = 0xff / (numLevels-1); in init()
444 int numLevels = deLog2Floor32(m_size)+1; in init() local
449 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
451 deUint32 step = 0xff / (numLevels-1); in init()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowWifiManager.java114 public static int calculateSignalLevel (int rssi, int numLevels) in calculateSignalLevel() argument
116 return (int)(sSignalLevelInPercent*(numLevels-1)); in calculateSignalLevel()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp145 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
161 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
163 deUint32 step = 0x00ffffff / numLevels; in init()
406 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
423 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
433 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
435 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
Des2aTextureMipmapTests.cpp160 int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
163 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
165 deUint32 step = 0xff / (numLevels-1); in init()
457 int numLevels = deLog2Floor32(m_size)+1; in init() local
462 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
464 deUint32 step = 0xff / (numLevels-1); in init()

123