Home
last modified time | relevance | path

Searched refs:texHeight (Results 1 – 21 of 21) sorted by relevance

/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp259 int texHeight = refTexture.getHeight(); in iterate() local
261 int defViewportHeight = texHeight*4; in iterate()
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
364 const int worstScoreDiff = texWidth*texHeight; in iterate()
532 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
535 int defViewportHeight = texHeight*2; in iterate()
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
631 const int worstScoreDiff = texWidth*texHeight; in iterate()
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp250 int texHeight = refTexture.getHeight(); in iterate() local
252 int defViewportHeight = texHeight*4; in iterate()
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
356 const int worstScoreDiff = texWidth*texHeight; in iterate()
519 int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
522 int defViewportHeight = texHeight*2; in iterate()
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
619 const int worstScoreDiff = texWidth*texHeight; in iterate()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp582 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 2); in init() local
587 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init()
590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
888 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local
890 DE_ASSERT(texWidth == texHeight); in init()
891 DE_UNREF(texHeight); in init()
1228 const int texHeight = HEIGHT_2D_ARRAY; in init() local
1234 …ure2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers); in init()
1237 const int numLevels = deLog2Floor32(de::max(texWidth, texHeight)) + 1; in init()
[all …]
Des3fTextureUnitTests.cpp824 …const int texHeight = is2dTex ? TEXTURE_HEIGHT_2D : isCubeTex ? TEXTURE_HEIGHT_CUBE : is2dArr… in init() local
829 …bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo3… in init()
830 …int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 :… in init()
861 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init()
866 DE_ASSERT(texWidth == texHeight); in init()
872 m_textures2dArray.push_back(new tcu::Texture2DArray(texFormat, texWidth, texHeight, texLayers)); in init()
877 m_textures3d.push_back(new tcu::Texture3D(texFormat, texWidth, texHeight, texDepth)); in init()
Des3fTextureMipmapTests.cpp301 const int texHeight = refTexture.getHeight(); in iterate() local
303 const int defViewportHeight = texHeight*4; in iterate()
625 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
627 const int defViewportHeight = texHeight*2; in iterate()
1250 const int texHeight = refTexture.getHeight(); in iterate() local
1254 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1500 const int texHeight = refTexture.getHeight(); in iterate() local
1503 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1811 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
1814 const int defViewportHeight = texHeight*2; in iterate()
[all …]
Des3fTextureSpecificationTests.cpp2925 const deUint32 texHeight = 4; in createTexture() local
2938 glw::GLuint tex_data[texHeight][texWidth]; in createTexture()
2939 glw::GLuint pixel_data[texHeight][texWidth]; in createTexture()
2940 glw::GLuint color_data[texHeight][texWidth]; in createTexture()
2943 for (deUint32 row = 0; row < texHeight; row++) in createTexture()
2963 …glTexImage2D(GL_TEXTURE_2D, 0, transferFmt.format, texWidth, texHeight, 0, transferFmt.format, tra… in createTexture()
2986 glReadPixels(0, 0, texWidth, texHeight, transferFmt.format, transferFmt.dataType, &color_data); in createTexture()
/external/skia/tools/viewer/
DSlidesSlide.cpp285 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
287 const SkScalar ty = SkIntToScalar(texHeight); in make_fan()
316 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
318 const SkScalar ty = SkIntToScalar(texHeight); in make_strip()
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp482 const int texHeight = 1 << deLog2Ceil32(MAX_2D_RENDER_HEIGHT / 2); in init() local
487 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init()
490 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
491 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
790 const int texHeight = 1 << deLog2Ceil32(MAX_CUBE_RENDER_HEIGHT / 2 / 2); in init() local
792 DE_ASSERT(texWidth == texHeight); in init()
793 DE_UNREF(texHeight); in init()
Des2fTextureUnitTests.cpp646 const int texHeight = is2d ? TEXTURE_HEIGHT_2D : TEXTURE_HEIGHT_CUBE; in init() local
647 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
648 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
677 …e2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight, isES2Context(m_… in init()
682 DE_ASSERT(texWidth == texHeight); in init()
Des2fTextureMipmapTests.cpp257 const int texHeight = refTexture.getHeight(); in iterate() local
259 const int defViewportHeight = texHeight*4; in iterate()
586 const int texHeight = m_texture->getRefTexture().getSize(); in iterate() local
588 const int defViewportHeight = texHeight*2; in iterate()
Des2fFboRenderTest.cpp1136 int texHeight = 64; in render() local
1141 createQuadsTex2D(ctx, quadsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
1142 createMetaballsTex2D(ctx, metaballsTex, GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in render()
/external/mesa3d/src/mesa/main/
Ddlist.h64 unsigned texWidth, texHeight; member
Ddlist.c918 atlas->texHeight = 0; /* determined below */ in build_bitmap_atlas()
984 atlas->texHeight = ypos + row_height; in build_bitmap_atlas()
986 if (atlas->texHeight == 0) { in build_bitmap_atlas()
990 else if (atlas->texHeight > ctx->Const.MaxTextureRectSize) { in build_bitmap_atlas()
1014 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas()
1018 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas()
1028 0, 0, atlas->texWidth, atlas->texHeight, in build_bitmap_atlas()
1035 memset(map, 0xff, map_stride * atlas->texHeight); in build_bitmap_atlas()
/external/mesa3d/src/mesa/swrast/
Ds_aalinetemp.h81 line->texWidth[attr], line->texHeight[attr]); in NAME()
186 line.texHeight[attr] = (GLfloat) texImage->Height; in NAME()
Ds_aaline.c70 GLfloat texHeight[VARYING_SLOT_MAX]; member
/external/angle/src/tests/gl_tests/
DTextureTest.cpp3920 GLint texWidth = 0, texHeight = 0; in testTextureSize() local
3926 texHeight = 1; in testTextureSize()
3930 texHeight = size; in testTextureSize()
3935 texHeight = size; in testTextureSize()
3939 if (texWidth == texHeight && size > max2DSquareSize) in testTextureSize()
3952 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in testTextureSize()
3977 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in testTextureSize()
3988 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, true); in testTextureSize()
10461 const GLsizei texHeight = getWindowHeight(); in TEST_P() local
10462 const std::vector<GLColor> whiteData(texWidth * texHeight, GLColor::white); in TEST_P()
[all …]
DVulkanPerformanceCounterTest.cpp6809 for (GLint texHeight = 1; texHeight <= 10; texHeight++) in TEST_P() local
6813 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texWidth, texHeight, 0, GL_RGBA, in TEST_P()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp4947 const float texHeight = (float)m_view.getHeight(); in sample4() local
4961 const float p = de::max(mu * texWidth, mv * texHeight); in sample4()
5180 const float texHeight = (float)m_view.getHeight(); in sample4() local
5194 const float p = de::max(mu * texWidth, mv * texHeight); in sample4()
5389 const float texHeight = (float)m_view.getHeight(); in sample4() local
5405 const float p = de::max(de::max(mu * texWidth, mv * texHeight), mw * texDepth); in sample4()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp531 int texHeight,
623 int texHeight, in TextureBorderClampTest() argument
631 , m_texHeight (texHeight) in TextureBorderClampTest()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c3181 GLint texHeight = texImage->Height; in find_mipmap_level() local
3186 st_gl_texture_dims_to_pipe_dims(target, texWidth, texHeight, texDepth, in find_mipmap_level()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp1268 float texHeight; member