Home
last modified time | relevance | path

Searched refs:textureHeight (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMaxTextureSizeTest.cpp98 GLsizei textureHeight = 64; in TEST_P() local
100 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P()
101 for (int y = 0; y < textureHeight; y++) in TEST_P()
109 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255); in TEST_P()
115 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, in TEST_P()
160 GLsizei textureHeight = mMaxTexture2DSize; in TEST_P() local
162 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P()
163 for (int y = 0; y < textureHeight; y++) in TEST_P()
171 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255); in TEST_P()
179 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8_OES, textureWidth, textureHeight); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMaxTextureSizeTest.cpp96 GLsizei textureHeight = 64; in TEST_P() local
98 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P()
99 for (int y = 0; y < textureHeight; y++) in TEST_P()
107 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255); in TEST_P()
113 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, in TEST_P()
158 GLsizei textureHeight = mMaxTexture2DSize; in TEST_P() local
160 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P()
161 for (int y = 0; y < textureHeight; y++) in TEST_P()
169 pixel[1] = static_cast<GLubyte>((float(y) / textureHeight) * 255); in TEST_P()
177 glTexStorage2DEXT(GL_TEXTURE_2D, 1, GL_RGBA8_OES, textureWidth, textureHeight); in TEST_P()
[all …]
DMipmapTest.cpp439 const uint32_t textureHeight, in verifyAllMips() argument
454 for (uint32_t mip = 0; textureWidth >> mip >= 1 || textureHeight >> mip >= 1; ++mip) in verifyAllMips()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DDispatchComputePerf.cpp31 unsigned int textureHeight = 32; member
91 mDispatchY = params.textureHeight / params.localSizeY; in initializeBenchmark()
119 unsigned int textureDataSize = params.textureWidth * params.textureHeight; in initTextures()
125 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, params.textureWidth, params.textureHeight, 0, GL_RED, in initTextures()
134 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32F, params.textureWidth, params.textureHeight); in initTextures()
135 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, params.textureWidth, params.textureHeight, GL_RED, in initTextures()
DGenerateMipmapPerf.cpp33 textureHeight = 1080; in GenerateMipmapParams()
43 GLsizei textureHeight; member
157 mTextureData.resize(params.textureWidth * params.textureHeight * 4); in initializeBenchmark()
160 glTexImage2D(GL_TEXTURE_2D, 0, params.internalFormat, params.textureWidth, params.textureHeight, in initializeBenchmark()
250 glTexImage2D(GL_TEXTURE_2D, 0, params.internalFormat, params.textureWidth, params.textureHeight, in drawBenchmark()
DMultisampledRenderToTexturePerf.cpp33 textureHeight = 1080; in MultisampledRenderToTextureParams()
42 GLsizei textureHeight; member
152 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, params.textureWidth, params.textureHeight, 0, GL_RGBA, in initializeBenchmark()
162 params.textureWidth, params.textureHeight); in initializeBenchmark()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DDispatchComputePerf.cpp31 unsigned int textureHeight = 32; member
91 mDispatchY = params.textureHeight / params.localSizeY; in initializeBenchmark()
119 unsigned int textureDataSize = params.textureWidth * params.textureHeight; in initTextures()
125 glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, params.textureWidth, params.textureHeight, 0, GL_RED, in initTextures()
134 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32F, params.textureWidth, params.textureHeight); in initTextures()
135 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, params.textureWidth, params.textureHeight, GL_RED, in initTextures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureConversionTests.cpp91 static const int textureHeight = 7; member in vkt::texture::__anon42b244fc0111::SnormLinearClampInstance
99 …, m_hwTexture (TestTexture2DSp(new pipeline::TestTexture2D(m_inFormat, textureWidth, textureHeight in SnormLinearClampInstance()
100 , m_swTexture (m_inFormat, textureWidth, textureHeight, 1) in SnormLinearClampInstance()
108 tcu::IVec4 data[textureWidth * textureHeight] = in SnormLinearClampInstance()
124 for (int y = 0; y < textureHeight; ++y) in SnormLinearClampInstance()
417 const int th = SnormLinearClampInstance::textureHeight * sizeMultipler; in populateSnormLinearClampTests()
DvktTextureCompressedFormatTests.cpp268 const deUint32 textureHeight = texture.getHeight() >> mipLevel; in validateTexture() local
281 tcu::Surface referenceFrame (textureWidth, textureHeight); in validateTexture()
294 const float samplePixY = fragY * (float)(textureHeight); in validateTexture()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureConversionTests.cpp91 static const int textureHeight = 7; member in vkt::texture::__anon90e1937c0111::SnormLinearClampInstance
99 …, m_hwTexture (TestTexture2DSp(new pipeline::TestTexture2D(m_inFormat, textureWidth, textureHeight in SnormLinearClampInstance()
100 , m_swTexture (m_inFormat, textureWidth, textureHeight, 1) in SnormLinearClampInstance()
108 tcu::IVec4 data[textureWidth * textureHeight] = in SnormLinearClampInstance()
124 for (int y = 0; y < textureHeight; ++y) in SnormLinearClampInstance()
417 const int th = SnormLinearClampInstance::textureHeight * sizeMultipler; in populateSnormLinearClampTests()
DvktTextureCompressedFormatTests.cpp268 const deUint32 textureHeight = texture.getHeight() >> mipLevel; in validateTexture() local
281 tcu::Surface referenceFrame (textureWidth, textureHeight); in validateTexture()
294 const float samplePixY = fragY * (float)(textureHeight); in validateTexture()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp65 int textureHeight; member
727 variables["IMAGE_HEIGHT"] = std::to_string(m_params->textureHeight); in getProgramCodeAndVariables()
849 const float divider (static_cast<float>(m_params->textureHeight)); in populate()
858 for (int y = 0; y < m_params->textureHeight; ++y) in populate()
919 …age2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->textureHeight); in iterate()
921 … buffer (m_context, m_test->getBufferFormat(), m_params->textureWidth, m_params->textureHeight); in iterate()
939 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate()
964 for (int y = 0; doContinue && y < m_params->textureHeight; ++y) in compare()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp65 int textureHeight; member
727 variables["IMAGE_HEIGHT"] = std::to_string(m_params->textureHeight); in getProgramCodeAndVariables()
849 const float divider (static_cast<float>(m_params->textureHeight)); in populate()
858 for (int y = 0; y < m_params->textureHeight; ++y) in populate()
919 …age2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->textureHeight); in iterate()
921 … buffer (m_context, m_test->getBufferFormat(), m_params->textureWidth, m_params->textureHeight); in iterate()
939 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate()
964 for (int y = 0; doContinue && y < m_params->textureHeight; ++y) in compare()
/third_party/glslang/Test/baseResults/
Dspv.debuginfo.hlsl.tesc.out56 305: String "textureHeight"
105 Name 303 "textureHeight"
153 Decorate 303(textureHeight) DescriptorSet 0
154 Decorate 303(textureHeight) Binding 1
312 303(textureHeight): 302(ptr) Variable UniformConstant
313 …xtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 305 297 28 299 15 30 305 303(textureHeight) 200
612 306: 296 Load 303(textureHeight)
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.cpp336 const int textureHeight = 64; in requireTextures() local
344 genTextureData(textureData, textureWidth, textureHeight); in requireTextures()
346 DE_ASSERT(textureData.size() == textureWidth * textureHeight * 4); in requireTextures()
358 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE… in requireTextures()
/third_party/glslang/Test/
Dspv.debuginfo.hlsl.tesc39 Texture2D textureHeight : register(t1);
99 pos.y -= textureHeight.SampleLevel(samplerHeight, inUV, 0.0).r * ubo.displacementFactor;
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/
DSDL_render_psp.c151 unsigned int textureHeight; /**< Texture height (power of two). */ member
473 psp_texture->textureHeight = TextureNextPow2(texture->h); in PSP_CreateTexture()
494 psp_texture->size = psp_texture->textureHeight*psp_texture->pitch; in PSP_CreateTexture()
530 …sceGuTexImage(0, psp_texture->textureWidth, psp_texture->textureHeight, psp_texture->textureWidth,… in TextureActivate()
/third_party/skia/third_party/externals/tint/test/bug/dawn/
D947.wgsl23 // Y component of scale is calculated by the copySizeHeight / textureHeight. Only
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp130 GLfloat textureHeight = in prepareForDraw() local
133 if (textureWidth > 0.0f && textureHeight > 0.0f) in prepareForDraw()
136 cropRectBuffer[i][1] = cropRect.y / textureHeight; in prepareForDraw()
138 cropRectBuffer[i][3] = cropRect.height / textureHeight; in prepareForDraw()
DvalidationES.h73 size_t textureHeight,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Renderer.cpp230 GLfloat textureHeight = in prepareForDraw() local
233 if (textureWidth > 0.0f && textureHeight > 0.0f) in prepareForDraw()
236 cropRectBuffer[i][1] = cropRect.y / textureHeight; in prepareForDraw()
238 cropRectBuffer[i][3] = cropRect.height / textureHeight; in prepareForDraw()
DvalidationES.cpp1120 size_t textureHeight, in ValidCompressedSubImageSize() argument
1136 static_cast<size_t>(height) == textureHeight && static_cast<size_t>(depth) == textureDepth; in ValidCompressedSubImageSize()
3153 const GLsizei textureHeight = static_cast<GLsizei>( in ValidateCopyImageSubDataTargetRegion() local
3158 if ((textureWidth - offsetX < width) || (textureHeight - offsetY < height)) in ValidateCopyImageSubDataTargetRegion()
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp95 int textureHeight; member
263 for (int y = 0; y < config.textureHeight; y++) in createTextureData()
1023 …log << TestLog::Message << "Texture size: " << config.textureWidth << "x" << config.textureHeight in logTestConfig()
1112 basicConfig.textureHeight = 128; in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp332 const int textureHeight = texture.getRefTexture().getHeight(); in render() local
333 …const RandomViewport viewport (renderCtx.getRenderTarget(), textureWidth, textureHeight, m_rn… in render()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcCompressedFormatTests.cpp857 const size_t textureHeight = 240; in __anon220211702002() local
859 …l.texStorage2D(GL_TEXTURE_2D, 1, compressedFormats[i].internalFormat, textureWidth, textureHeight); in __anon220211702002()

12