Home
last modified time | relevance | path

Searched refs:texWidth (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/samplecode/
H A DSampleVertices.cpp139 void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
140 const SkScalar tx = SkIntToScalar(texWidth); in make_fan()
170 void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
171 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
H A DSampleSlides.cpp286 static void make_fan(Rec* rec, int texWidth, int texHeight) { in make_fan() argument
287 const SkScalar tx = SkIntToScalar(texWidth); in make_fan()
317 static void make_strip(Rec* rec, int texWidth, int texHeight) { in make_strip() argument
318 const SkScalar tx = SkIntToScalar(texWidth); in make_strip()
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureMipmapTests.cpp258 int texWidth = refTexture.getWidth(); in iterate() local
260 int defViewportWidth = texWidth*4; in iterate()
363 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
364 const int worstScoreDiff = texWidth*texHeight; in iterate()
531 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local
534 int defViewportWidth = texWidth*2; in iterate()
630 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
631 const int worstScoreDiff = texWidth*texHeight; in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aTextureMipmapTests.cpp249 int texWidth = refTexture.getWidth(); in iterate() local
251 int defViewportWidth = texWidth*4; in iterate()
355 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
356 const int worstScoreDiff = texWidth*texHeight; in iterate()
518 int texWidth = m_texture->getRefTexture().getSize(); in iterate() local
521 int defViewportWidth = texWidth*2; in iterate()
618 const int bestScoreDiff = (texWidth/16)*(texHeight/16); in iterate()
619 const int worstScoreDiff = texWidth*texHeight; in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp581 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local
587 m_textures[i] = 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()
887 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local
890 DE_ASSERT(texWidth == texHeight); in init()
896 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init()
899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init()
900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init()
1227 const int texWidth in init() local
1291 const int texWidth = refTexture.getWidth(); calculateLod() local
1567 const int texWidth = WIDTH_3D; init() local
[all...]
H A Des3fTextureUnitTests.cpp823 const int texWidth = is2dTex ? TEXTURE_WIDTH_2D : isCubeTex ? TEXTURE_WIDTH_CUBE : is2dArrayTex ? TEXTURE_WIDTH_2D_ARRAY : TEXTURE_WIDTH_3D; in init() local
829 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo32(texDepth)); in init()
830 int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 : 1; in init()
861 m_textures2d.push_back(new tcu::Texture2D(texFormat, texWidth, texHeight)); in init()
866 DE_ASSERT(texWidth == texHeight); in init()
867 m_texturesCube.push_back(new tcu::TextureCube(texFormat, texWidth)); 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()
H A Des3fTextureMipmapTests.cpp300 const int texWidth = refTexture.getWidth(); in iterate() local
302 const int defViewportWidth = texWidth*4; in iterate()
624 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local
626 const int defViewportWidth = texWidth*2; in iterate()
1249 const int texWidth = refTexture.getWidth(); in iterate() local
1254 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1499 const int texWidth = refTexture.getWidth(); in iterate() local
1503 const RandomViewport viewport (renderTarget, texWidth*4, texHeight*4, deStringHash(getName())); in iterate()
1810 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local
1813 const int defViewportWidth = texWidth* in iterate()
2126 const int texWidth = refTexture.getWidth(); iterate() local
[all...]
H A Des3fTextureSpecificationTests.cpp2924 const deUint32 texWidth = 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()
2945 for (deUint32 column = 0; column < texWidth; column++) in createTexture()
2963 glTexImage2D(GL_TEXTURE_2D, 0, transferFmt.format, texWidth, texHeight, 0, transferFmt.format, transferFmt.dataType, (void*)tex_data[0]); in createTexture()
2986 glReadPixels(0, 0, texWidth, texHeight, transferFmt.format, transferFmt.dataType, &color_data); in createTexture()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp481 const int texWidth = 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2); in init() local
487 m_textures[i] = 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()
789 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local
792 DE_ASSERT(texWidth == texHeight); in init()
798 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init()
801 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init()
802 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init()
H A Des2fTextureUnitTests.cpp645 const int texWidth = is2d ? TEXTURE_WIDTH_2D : TEXTURE_WIDTH_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 m_textures2d.push_back(new tcu::Texture2D(glu::mapGLTransferFormat(params.format, params.dataType), texWidth, texHeight, isES2Context(m_context.getRenderContext().getType()))); in init()
682 DE_ASSERT(texWidth == texHeight); in init()
683 m_texturesCube.push_back(new tcu::TextureCube(glu::mapGLTransferFormat(params.format, params.dataType), texWidth)); in init()
H A Des2fTextureMipmapTests.cpp256 const int texWidth = refTexture.getWidth(); in iterate() local
258 const int defViewportWidth = texWidth*4; in iterate()
585 const int texWidth = m_texture->getRefTexture().getSize(); in iterate() local
587 const int defViewportWidth = texWidth*2; in iterate()
H A Des2fFboRenderTest.cpp1135 int texWidth = 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()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DSamplerFilterAnisotropicTests.cpp120 const uint32_t texWidth = textureWidthLevel0 >> level; in InitTexture() local
132 wgpu::Extent3D copySize = {texWidth, texHeight, 1}; in InitTexture()
H A DTextureViewTests.cpp149 const uint32_t texWidth = textureWidthLevel0 >> level; in initTexture() local
162 wgpu::Extent3D copySize = {texWidth, texHeight, 1}; in initTexture()
/third_party/mesa3d/src/mesa/main/
H A Ddlist.h97 unsigned texWidth, texHeight; member
H A Ddlist.c904 atlas->texWidth = 1024; in build_bitmap_atlas()
947 if (xpos + bitmap_width > atlas->texWidth) { in build_bitmap_atlas()
1004 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas()
1008 atlas->texWidth, atlas->texHeight, 1, 0, in build_bitmap_atlas()
1018 0, 0, atlas->texWidth, atlas->texHeight, in build_bitmap_atlas()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp150 BasicRenderPass::BasicRenderPass(uint32_t texWidth, in BasicRenderPass() argument
154 : width(texWidth), in BasicRenderPass()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureTest.cpp3394 GLint texWidth = 0, texHeight = 0; in testTextureSize() local
3399 texWidth = size; in testTextureSize()
3403 texWidth = 1; in testTextureSize()
3408 texWidth = size; in testTextureSize()
3413 if (texWidth == texHeight && size > max2DSquareSize) in testTextureSize()
3426 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in testTextureSize()
3451 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, false); in testTextureSize()
3462 FillLevel(0, texWidth, texHeight, kNewMipColors[colorCount], cubeMap, true); in testTextureSize()
9034 const GLsizei texWidth = getWindowWidth();
9036 const std::vector<GLColor> whiteData(texWidth * texHeigh
[all...]
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp4827 const float texWidth = (float)m_view.getWidth();
4840 const float p = mu * texWidth;
4946 const float texWidth = (float)m_view.getWidth();
4961 const float p = de::max(mu * texWidth, mv * texHeight);
5179 const float texWidth = (float)m_view.getWidth();
5194 const float p = de::max(mu * texWidth, mv * texHeight);
5388 const float texWidth = (float)m_view.getWidth();
5405 const float p = de::max(de::max(mu * texWidth, mv * texHeight), mw * texDepth);
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp530 int texWidth,
622 int texWidth,
632 , m_texWidth (texWidth)
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_texture.c3428 GLint texWidth = texImage->Width; in find_mipmap_level() local
3434 st_gl_texture_dims_to_pipe_dims(target, texWidth, texHeight, texDepth, in find_mipmap_level()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp1279 float texWidth; member
1367 texCoordX += " * pushc.texWidth"; in initPrograms()
1376 << " float texWidth;\n" in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp1267 float texWidth; member
1355 texCoordX += " * pushc.texWidth"; in initPrograms()
1364 << " float texWidth;\n" in initPrograms()

Completed in 76 milliseconds