/external/deqp/framework/common/ |
D | tcuTexture.hpp | 530 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 531 … getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; } in getLevel() 532 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; } in getLevels() 542 const ConstPixelBufferAccess* m_levels; member in tcu::Texture1DView 547 , m_levels (levels) in Texture1DView() 549 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture1DView() 554 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, 0 /* depth */, lod); in sample() 559 return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, 0)); in sampleOffset() 564 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(0, 0)); in sampleCompare() 569 return sampleLevelArray1DCompare(m_levels, m_numLevels, sampler, ref, s, lod, IVec2(offset, 0)); in sampleCompareOffset() [all …]
|
D | tcuTexture.cpp | 3561 m_levels[ndx] = DE_NULL; in TextureCubeView() 3569 m_levels[ndx] = levels[ndx]; in TextureCubeView() 3579 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3581 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3591 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3593 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3602 faceAccesses[i] = m_levels[i][0]; in gather() 3630 …DE_ASSERT(m_levels[0][0].getFormat().order == TextureFormat::D || m_levels[0][0].getFormat().order… in gatherCompare() 3637 const bool isFixedPoint = isFixedPointDepthTextureFormat(m_levels[0][0].getFormat()); in gatherCompare() 3757 , m_levels (levels) in Texture1DArrayView() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.hpp | 147 void clearLevels (void) { m_levels.clear(); } in clearLevels() 149 bool hasLevel (int level) const { return m_levels.hasLevel(level); } in hasLevel() 150 const tcu::ConstPixelBufferAccess& getLevel (int level) const { return m_levels.getLevel(level); } in getLevel() 151 const tcu::PixelBufferAccess& getLevel (int level) { return m_levels.getLevel(level); } in getLevel() 163 TextureLevelArray m_levels; member in sglr::rc::Texture1D 173 void clearLevels (void) { m_levels.clear(); } in clearLevels() 175 bool hasLevel (int level) const { return m_levels.hasLevel(level); } in hasLevel() 176 const tcu::ConstPixelBufferAccess& getLevel (int level) const { return m_levels.getLevel(level); } in getLevel() 177 const tcu::PixelBufferAccess& getLevel (int level) { return m_levels.getLevel(level); } in getLevel() 189 TextureLevelArray m_levels; member in sglr::rc::Texture2D [all …]
|
D | sglrReferenceContext.cpp | 4759 m_levels.allocLevel(level, format, width, 1, 1); in allocLevel() 4837 m_levels.updateSamplerMode(mode); in updateView() 4838 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView() 4856 m_levels.allocLevel(level, format, width, height, 1); in allocLevel() 4911 m_levels.updateSamplerMode(mode); in updateView() 4912 m_view = tcu::Texture2DView(numLevels, m_levels.getEffectiveLevels() + baseLevel); in updateView() 4960 m_levels[face].clear(); in clearLevels() 4965 m_levels[face].allocLevel(level, format, width, height, 1); in allocFace() 5026 m_levels[face].updateSamplerMode(mode); in updateView() 5027 faces[face] = m_levels[face].getEffectiveLevels() + baseLevel; in updateView() [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayGenerateMipMap.cpp | 227 …storage_config_1.m_levels = getAmountOfLevelsForTexture(storage_config_1.m_width, storage_config_1… in initTest() 236 …storage_config_2.m_levels = getAmountOfLevelsForTexture(storage_config_2.m_width, storage_config_2… in initTest() 245 …storage_config_3.m_levels = getAmountOfLevelsForTexture(storage_config_3.m_width, storage_config_3… in initTest() 254 …storage_config_4.m_levels = getAmountOfLevelsForTexture(storage_config_4.m_width, storage_config_4… in initTest() 288 …gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config.m_width, config.m_hei… in initTest() 417 storage_config.m_levels - 1, /* level */ in iterate() 569 …storage_config1.m_levels = getAmountOfLevelsForTexture(storage_config1.m_width, storage_config1.m_… in initTest() 578 …storage_config2.m_levels = getAmountOfLevelsForTexture(storage_config2.m_width, storage_config2.m_… in initTest() 587 …storage_config3.m_levels = getAmountOfLevelsForTexture(storage_config3.m_width, storage_config3.m_… in initTest() 596 …storage_config4.m_levels = getAmountOfLevelsForTexture(storage_config4.m_width, storage_config4.m_… in initTest() [all …]
|
D | esextcTextureCubeMapArrayGenerateMipMap.hpp | 42 glw::GLuint m_levels; member
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 81 , m_levels (levels) in SampleVerifier() 90 return coord[compNdx] < 0 || coord[compNdx] >= m_levels[level].getSize()[compNdx]; in coordOutOfRange() 103 pixelPtr = m_levels[level].getPixelPtr(coord[0], layer, 0); in fetchTexelWrapped() 107 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], layer); in fetchTexelWrapped() 111 pixelPtr = m_levels[level].getPixelPtr(coord[0], coord[1], coord[2]); in fetchTexelWrapped() 118 const tcu::ConstPixelBufferAccess& levelAccess = m_levels[level]; in fetchTexelWrapped() 164 m_levels[level].getSize().swizzle(0, 1), in fetchTexel() 180 m_levels[level].getSize().swizzle(0, 1), in fetchTexel() 198 …cornerTexels[ndx] += sRGBToLinear(m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx]… in fetchTexel() 202 …cornerTexels[ndx] += m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx][1], cornerLa… in fetchTexel() [all …]
|
D | vktTextureFilteringExplicitLodTests.cpp | 544 std::vector<ConstPixelBufferAccess> m_levels; member in vkt::texture::__anonfaaa72040111::TextureFilteringTestInstance 561 , m_levels (testCaseData.pba) in TextureFilteringTestInstance() 574 m_levels = m_gen->getPba(); in runTest() 580 initializeImage(m_context, m_im.get(), &m_levels[0], m_imParams); in runTest() 629 m_levels); in verify() 638 m_levels); in verify()
|
D | vktSampleVerifier.hpp | 244 const std::vector<tcu::ConstPixelBufferAccess>& m_levels; member in vkt::texture::SampleVerifier
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 77 std::vector<Level> m_levels; member in vkt::image::__anon211f18530111::BufferLevels 109 while (m_levels.size() < maxLevelsSz) in BufferLevels() 117 m_levels.push_back(level); in BufferLevels() 138 std::for_each(begin(m_levels), end(m_levels), [&total] (const Level& l) { total += l.size; }); in totalSize() 149 return static_cast<deUint32>(m_levels.size()); in numLevels() 154 return m_levels.at(level); in getLevel()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 2401 int m_levels; member in vkt::sr::__anonfd9959820111::TextureQueryLevelsInstance 2410 , m_levels (0) in TextureQueryLevelsInstance() 2512 m_levels = mipLevels - m_testSize.lodBase; in testTextureLevels() 2513 DE_ASSERT(m_levels > 0); in testTextureLevels() 2515 log << tcu::TestLog::Message << "Expected levels: " << m_levels << tcu::TestLog::EndMessage; in testTextureLevels() 2526 if (output.x() == m_levels) in testTextureLevels()
|