/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MaxTextureSizeTest.cpp | 97 GLsizei textureWidth = mMaxTexture2DSize; in TEST_P() local 100 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 103 for (int x = 0; x < textureWidth; x++) in TEST_P() 105 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() 108 pixel[0] = static_cast<GLubyte>((float(x) / textureWidth) * 255); in TEST_P() 115 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, in TEST_P() 159 GLsizei textureWidth = 64; in TEST_P() local 162 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 165 for (int x = 0; x < textureWidth; x++) in TEST_P() 167 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MaxTextureSizeTest.cpp | 95 GLsizei textureWidth = mMaxTexture2DSize; in TEST_P() local 98 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 101 for (int x = 0; x < textureWidth; x++) in TEST_P() 103 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() 106 pixel[0] = static_cast<GLubyte>((float(x) / textureWidth) * 255); in TEST_P() 113 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, in TEST_P() 157 GLsizei textureWidth = 64; in TEST_P() local 160 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 163 for (int x = 0; x < textureWidth; x++) in TEST_P() 165 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() [all …]
|
D | MipmapTest.cpp | 438 void verifyAllMips(const uint32_t textureWidth, 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/ |
D | DispatchComputePerf.cpp | 30 unsigned int textureWidth = 32; member 90 mDispatchX = params.textureWidth / params.localSizeX; 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()
|
D | GenerateMipmapPerf.cpp | 32 textureWidth = 1920; in GenerateMipmapParams() 42 GLsizei textureWidth; 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()
|
D | MultisampledRenderToTexturePerf.cpp | 32 textureWidth = 1920; in MultisampledRenderToTextureParams() 41 GLsizei textureWidth; 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/ |
D | DispatchComputePerf.cpp | 30 unsigned int textureWidth = 32; member 90 mDispatchX = params.textureWidth / params.localSizeX; 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/ |
D | vktTextureConversionTests.cpp | 90 static const int textureWidth = 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() 126 for (int x = 0; x < textureWidth; ++x) in SnormLinearClampInstance() 128 swAccess.setPixel(data[y*textureWidth+x], x, y); in SnormLinearClampInstance() 129 hwAccess.setPixel(data[y*textureWidth+x], x, y); in SnormLinearClampInstance() 416 const int tw = SnormLinearClampInstance::textureWidth * sizeMultipler; in populateSnormLinearClampTests()
|
D | vktTextureCompressedFormatTests.cpp | 267 const deUint32 textureWidth = texture.getWidth() >> mipLevel; in validateTexture() local 281 tcu::Surface referenceFrame (textureWidth, textureHeight); in validateTexture() 293 const float samplePixX = fragX * (float)(textureWidth); in validateTexture()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureConversionTests.cpp | 90 static const int textureWidth = 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() 126 for (int x = 0; x < textureWidth; ++x) in SnormLinearClampInstance() 128 swAccess.setPixel(data[y*textureWidth+x], x, y); in SnormLinearClampInstance() 129 hwAccess.setPixel(data[y*textureWidth+x], x, y); in SnormLinearClampInstance() 416 const int tw = SnormLinearClampInstance::textureWidth * sizeMultipler; in populateSnormLinearClampTests()
|
D | vktTextureCompressedFormatTests.cpp | 267 const deUint32 textureWidth = texture.getWidth() >> mipLevel; in validateTexture() local 281 tcu::Surface referenceFrame (textureWidth, textureHeight); in validateTexture() 293 const float samplePixX = fragX * (float)(textureWidth); in validateTexture()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/psp/ |
D | SDL_render_psp.c | 150 unsigned int textureWidth; /**< Texture width (power of two). */ member 236 int bytewidth = psp_texture->textureWidth*(psp_texture->bits>>3); in TextureSwizzle() 283 int bytewidth = psp_texture->textureWidth*(psp_texture->bits>>3); in TextureUnswizzle() 474 psp_texture->textureWidth = TextureNextPow2(texture->w); in PSP_CreateTexture() 493 psp_texture->pitch = psp_texture->textureWidth * SDL_BYTESPERPIXEL(texture->format); in PSP_CreateTexture() 530 …sceGuTexImage(0, psp_texture->textureWidth, psp_texture->textureHeight, psp_texture->textureWidth,… in TextureActivate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 64 int textureWidth; member 726 variables["IMAGE_WIDTH"] = std::to_string(m_params->textureWidth); in getProgramCodeAndVariables() 860 for (int x = 0; x < m_params->textureWidth; ++x) in populate() 919 …ut::StorageImage2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->t… in iterate() 921 …ut::StorageBuffer2D buffer (m_context, m_test->getBufferFormat(), m_params->textureWidth, m_… in iterate() 939 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate() 966 for (int x = 0; doContinue && x < m_params->textureWidth; ++x) in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 64 int textureWidth; member 726 variables["IMAGE_WIDTH"] = std::to_string(m_params->textureWidth); in getProgramCodeAndVariables() 860 for (int x = 0; x < m_params->textureWidth; ++x) in populate() 919 …ut::StorageImage2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->t… in iterate() 921 …ut::StorageBuffer2D buffer (m_context, m_test->getBufferFormat(), m_params->textureWidth, m_… in iterate() 939 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate() 966 for (int x = 0; doContinue && x < m_params->textureWidth; ++x) in compare()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsStateChangePerfTestCases.cpp | 335 const int textureWidth = 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/vk-gl-cts/modules/egl/ |
D | teglGLES2SharedRenderingPerfTests.cpp | 94 int textureWidth; member 261 for (int x = 0; x < config.textureWidth; x++) in createTextureData() 292 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, config.textureWidth, config.textureWidth, 0, GL_RGBA, GL_… in createTexture() 1023 …log << TestLog::Message << "Texture size: " << config.textureWidth << "x" << config.textureHeight … in logTestConfig() 1111 basicConfig.textureWidth = 128; in init()
|
D | teglRobustnessTests.cpp | 630 int textureWidth; member
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | GLES1Renderer.cpp | 128 GLfloat textureWidth = in prepareForDraw() local 133 if (textureWidth > 0.0f && textureHeight > 0.0f) in prepareForDraw() 135 cropRectBuffer[i][0] = cropRect.x / textureWidth; in prepareForDraw() 137 cropRectBuffer[i][2] = cropRect.width / textureWidth; in prepareForDraw()
|
D | validationES.h | 72 size_t textureWidth,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | GLES1Renderer.cpp | 228 GLfloat textureWidth = in prepareForDraw() local 233 if (textureWidth > 0.0f && textureHeight > 0.0f) in prepareForDraw() 235 cropRectBuffer[i][0] = cropRect.x / textureWidth; in prepareForDraw() 237 cropRectBuffer[i][2] = cropRect.width / textureWidth; in prepareForDraw()
|
D | validationES.cpp | 1119 size_t textureWidth, in ValidCompressedSubImageSize() argument 1135 xoffset == 0 && yoffset == 0 && static_cast<size_t>(width) == textureWidth && in ValidCompressedSubImageSize() 3151 const GLsizei textureWidth = static_cast<GLsizei>( in ValidateCopyImageSubDataTargetRegion() local 3158 if ((textureWidth - offsetX < width) || (textureHeight - offsetY < height)) in ValidateCopyImageSubDataTargetRegion()
|
D | validationES.h | 72 size_t textureWidth,
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 331 const int textureWidth = texture.getRefTexture().getWidth(); in render() local 333 …const RandomViewport viewport (renderCtx.getRenderTarget(), textureWidth, textureHeight, m_rn… in render()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 856 const size_t textureWidth = 240; in __anon220211702002() local 859 …gl.texStorage2D(GL_TEXTURE_2D, 1, compressedFormats[i].internalFormat, textureWidth, textureHeight… in __anon220211702002()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cShaderImageLoadStoreTests.cpp | 4404 const int textureWidth = 16; in Run() local 4417 glTexStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_RGBA32F, textureWidth, textureHeight, 8); in Run() 4448 int wsx = (textureWidth / kSize) * kSize; in Run()
|