Home
last modified time | relevance | path

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

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp362 const deUint32 numLevels = ImageViewTest::getNumLevels(viewType); in createSubresourceRangeTests() local
387 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
394 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
395 { "array_size", 0.0f, { imageAspectFlags, 0u, numLevels, 0u, 4u } }, in createSubresourceRangeTests()
396 { "array_base_and_size", 0.0f, { imageAspectFlags, 0u, numLevels, 2u, 3u } }, in createSubresourceRangeTests()
402 …{ "lod_base_mip_level_base_array_layer", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 1u, 5u }… in createSubresourceRangeTests()
405 { "lod_base_mip_level_array_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, 4u } }, in createSubresourceRangeTests()
408 …{ "lod_base_mip_level_array_base_and_size", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 2u, 3… in createSubresourceRangeTests()
416 …{ "base_array_layer_remaining_layers", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, V… in createSubresourceRangeTests()
430 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
[all …]
/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…
100 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
125 …TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const…
136 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vect…
137 …ntext, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* con…
143 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDeco…
163 …ay (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::Comp…
176 …void loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDec…
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
159 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
180 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
194 mt->numLevels = numLevels; in radeon_miptree_create()
315 unsigned numLevels; in radeon_miptree_matches_texture() local
323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
329 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
335 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
347 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
362 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/radeon/
Dradeon_mipmap_tree.c154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
159 for(i = 0, level = mt->baseLevel; i < mt->numLevels; i++, level++) { in calculate_miptree_layout()
180 GLenum target, mesa_format mesaFormat, GLuint baseLevel, GLuint numLevels, in radeon_miptree_create() argument
194 mt->numLevels = numLevels; in radeon_miptree_create()
315 unsigned numLevels; in radeon_miptree_matches_texture() local
323 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); in radeon_miptree_matches_texture()
329 fprintf(stderr, "numLevels %d vs %d\n", mt->numLevels, numLevels); in radeon_miptree_matches_texture()
335 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
347 mt->numLevels >= numLevels && in radeon_miptree_matches_texture()
362 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.cpp486 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTex2D() local
490 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTex2D()
524 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))+1 :… in verifyTexCube() local
528 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in verifyTexCube()
631 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
643 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
676 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
690 for (int ndx = 0; ndx < numLevels; ndx++) in createTexture()
728 …int numLevels = (m_flags & MIPMAPS) ? de::max(deLog2Floor32(m_width), deLog2Floor32(m_height))… in createTexture() local
740 vector<int> levels (numLevels); in createTexture()
[all …]
Des2fTextureCompletenessTests.cpp289 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
291 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
356 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
358 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
407 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
509 int numLevels = 1 + de::max(deLog2Floor32(m_size.x()), deLog2Floor32(m_size.y())); in createTexture() local
511 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture()
523 …glTexImage2D(GL_TEXTURE_2D, numLevels+1, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.ge… in createTexture()
609 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()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2RegionCoverer.java378 int numLevels = (candidate.cell.level() < minLevel) ? 1 : levelMod; in addCandidate() local
379 int numTerminals = expandChildren(candidate, candidate.cell, numLevels); in addCandidate()
411 private int expandChildren(Candidate candidate, S2Cell cell, int numLevels) { in expandChildren() argument
412 numLevels--; in expandChildren()
420 if (numLevels > 0) { in expandChildren()
422 numTerminals += expandChildren(candidate, childCells[i], numLevels); in expandChildren()
/external/skia/include/gpu/
DGrDirectContext.h521 int numLevels,
543 int numLevels,
549 numLevels,
620 int numLevels,
644 int numLevels, in updateBackendTexture() argument
649 numLevels, in updateBackendTexture()
/external/deqp/framework/common/
DtcuTexture.hpp473 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
474 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
475 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sam…
477 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
478 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
479 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler&…
481 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
482 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sample…
527 Texture1DView (int numLevels, const ConstPixelBufferAccess* levels, bool es2);
545 inline Texture1DView::Texture1DView (int numLevels, const ConstPixelBufferAccess* levels, bool es2 … in Texture1DView() argument
[all …]
DtcuTexture.cpp2412 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray1D() argument
2414 …return sampleLevelArray1DOffset(levels, numLevels, sampler, s, lod, IVec2(0, depth)); // y-offset … in sampleLevelArray1D()
2417 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray2D() argument
2419 …return sampleLevelArray2DOffset(levels, numLevels, sampler, s, t, lod, IVec3(0, 0, depth), es2); /… in sampleLevelArray2D()
2422 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sample… in sampleLevelArray3D() argument
2424 return sampleLevelArray3DOffset(levels, numLevels, sampler, s, t, r, lod, IVec3(0, 0, 0)); in sampleLevelArray3D()
2427 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& … in sampleLevelArray1DOffset() argument
2440 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2450 int maxLevel = (int)numLevels-1; in sampleLevelArray1DOffset()
2467 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.cpp245 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() local
248 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance()
254 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance()
256 const deUint32 step = 0x00ffffff / numLevels; in Texture2DShadowTestInstance()
441 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() local
466 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
475 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance()
477 const deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in TextureCubeShadowTestInstance()
659 …const int numLevels = deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))… in Texture2DArrayShadowTestInstance() local
672 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DArrayShadowTestInstance()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp72 deUint32 numLevels () const;
147 deUint32 BufferLevels::numLevels () const in numLevels() function in vkt::image::__anon211f18530111::BufferLevels
239 if (imgFormatProperties.maxMipLevels < levels.numLevels()) in checkSupport()
389 const auto numLevels = bufferLevels.numLevels(); in iterateAspect() local
433 numLevels, // deUint32 mipLevels; in iterateAspect()
449 copyRegions.reserve(numLevels); in iterateAspect()
451 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
474 …const auto imageSubresourceRange = makeImageSubresourceRange(imageAspect, 0u, numLevels, 0u, numLa… in iterateAspect()
496 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect()
/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.cpp193 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; in init() local
199 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
209 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
211 deUint32 step = 0x00ffffff / numLevels; in init()
473 const int numLevels = deLog2Floor32(de::max(m_width, m_height))+1; in init() local
490 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
500 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init()
502 deUint32 step = 0x00ffffff / (numLevels*tcu::CUBEFACE_LAST); in init()
762 const int numLevels = deLog2Floor32(de::max(m_width, m_height)) + 1; in init() local
777 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/skia/src/gpu/
DGrSurfaceContext.cpp377 int numLevels) { in writePixels() argument
383 SkASSERT(numLevels >= 1); in writePixels()
386 if (numLevels == 1) { in writePixels()
397 if (numLevels != SkMipmap::ComputeLevelCount(dims) + 1) { in writePixels()
400 for (int i = 0; i < numLevels; ++i) { in writePixels()
412 return this->internalWritePixels(dContext, src, numLevels, {0, 0}); in writePixels()
417 int numLevels, in internalWritePixels() argument
421 SkASSERT(numLevels >= 1); in internalWritePixels()
425 SkASSERT((src[0].dimensions() == this->dimensions() && pt.isZero()) || numLevels == 1); in internalWritePixels()
426 SkASSERT(numLevels == 1 || in internalWritePixels()
[all …]
DGrDirectContext.cpp509 int numLevels, in update_texture_with_pixmaps() argument
532 SkAutoSTArray<15, GrCPixmap> tmpSrc(numLevels); in update_texture_with_pixmaps()
533 for (int i = 0; i < numLevels; ++i) { in update_texture_with_pixmaps()
536 if (!surfaceContext.writePixels(context, tmpSrc.get(), numLevels)) { in update_texture_with_pixmaps()
695 int numLevels, in updateBackendTexture() argument
705 if (!srcData || numLevels <= 0) { in updateBackendTexture()
715 if (numLevels != numExpectedLevels) { in updateBackendTexture()
720 numLevels, in updateBackendTexture()
/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()
/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp155 int numLevels; member
158 …reSpec(void) : type(TEXTURETYPE_LAST), format(GL_NONE), width(0), height(0), depth(0), numLevels(0) in TextureSpec()
169 , numLevels(numLevels_) in TextureSpec()
485 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels - 1); in initTexture()
491 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
520 isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels - 1) * m_textureSpec.depth); in initTexture()
527 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
560 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)de::max(1, m_textureSpec.numLevels - 1); in initTexture()
568 for (int level = 0; level < m_textureSpec.numLevels; level++) in initTexture()
625 isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels - 1) * m_textureSpec.depth); in initTexture()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c277 const int numLevels = texObj->NumLevels; in intel_texture_view() local
283 for (level = 0; level < numLevels; level++) { in intel_texture_view()
294 intel_tex->validated_last_level = numLevels - 1; in intel_texture_view()

123