/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MaxTextureSizeTest.cpp | 96 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() 224 GLsizei textureHeight = mMaxTexture2DSize; TEST_P() local [all...] |
H A D | MipmapTest.cpp | 439 const uint32_t textureHeight, in verifyAllMips() 454 for (uint32_t mip = 0; textureWidth >> mip >= 1 || textureHeight >> mip >= 1; ++mip) in verifyAllMips() 438 verifyAllMips(const uint32_t textureWidth, const uint32_t textureHeight, const GLColor &color) verifyAllMips() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | DispatchComputePerf.cpp | 31 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()
|
H A D | GenerateMipmapPerf.cpp | 33 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()
|
H A D | MultisampledRenderToTexturePerf.cpp | 33 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/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureConversionTests.cpp | 91 static const int textureHeight = 7; member in vkt::texture::__anon28873::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() 416 const int th = SnormLinearClampInstance::textureHeight * sizeMultipler; in populateSnormLinearClampTests()
|
H A D | vktTextureCompressedFormatTests.cpp | 268 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/ |
H A D | vktTextureConversionTests.cpp | 91 static const int textureHeight = 7; member in vkt::texture::__anon30022::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()
|
H A D | vktTextureCompressedFormatTests.cpp | 268 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/vulkan/image/ |
H A D | vktImageMismatchedWriteOpTests.cpp | 65 int textureHeight; member 724 variables["IMAGE_HEIGHT"] = std::to_string(m_params->textureHeight); in getProgramCodeAndVariables() 846 const float divider (static_cast<float>(m_params->textureHeight)); in populate() 855 for (int y = 0; y < m_params->textureHeight; ++y) in populate() 916 ut::StorageImage2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->textureHeight); in iterate() 918 ut::StorageBuffer2D buffer (m_context, m_test->getBufferFormat(), m_params->textureWidth, m_params->textureHeight); in iterate() 936 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate() 961 for (int y = 0; doContinue && y < m_params->textureHeight; ++y) in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageMismatchedWriteOpTests.cpp | 65 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 ut::StorageImage2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->textureHeight); in iterate() 921 ut::StorageBuffer2D 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/modules/glshared/ |
H A D | glsStateChangePerfTestCases.cpp | 336 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, &(textureData[0])); in requireTextures()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | GLES1Renderer.cpp | 230 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()
|
H A D | validationES.h | 73 size_t textureHeight,
|
H A D | validationES.cpp | 1120 size_t textureHeight, in ValidCompressedSubImageSize() 1136 static_cast<size_t>(height) == textureHeight && static_cast<size_t>(depth) == textureDepth; in ValidCompressedSubImageSize() 3147 // Use GL_TEXTURE_CUBE_MAP_POSITIVE_X to properly gather the textureWidth/textureHeight in ValidateCopyImageSubDataTargetRegion() 3153 const GLsizei textureHeight = static_cast<GLsizei>( in ValidateCopyImageSubDataTargetRegion() local 3158 if ((textureWidth - offsetX < width) || (textureHeight - offsetY < height)) in ValidateCopyImageSubDataTargetRegion() 3218 // textureWidth/textureHeight in GetTargetFormatInfo() 1111 ValidCompressedSubImageSize(const Context *context, GLenum internalFormat, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, size_t textureWidth, size_t textureHeight, size_t textureDepth) ValidCompressedSubImageSize() argument
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fASTCDecompressionCases.cpp | 332 const int textureHeight = texture.getRefTexture().getHeight(); in render() local 333 const RandomViewport viewport (renderCtx.getRenderTarget(), textureWidth, textureHeight, m_rnd.getUint32()); in render()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglGLES2SharedRenderingPerfTests.cpp | 95 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 << TestLog::EndMessage; in logTestConfig() 1112 basicConfig.textureHeight = 128; in init()
|
H A D | teglRobustnessTests.cpp | 631 int textureHeight; member
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcCompressedFormatTests.cpp | 857 const size_t textureHeight = 240; 859 gl.texStorage2D(GL_TEXTURE_2D, 1, compressedFormats[i].internalFormat, textureWidth, textureHeight);
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cShaderImageLoadStoreTests.cpp | 4405 const int textureHeight = 16; in Run() local 4417 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA32F, textureWidth, textureHeight, 8); in Run() 4449 int wsy = (textureHeight / kSize) * kSize; in Run()
|