/external/angle/src/tests/gl_tests/ |
D | MaxTextureSizeTest.cpp | 94 GLsizei textureWidth = mMaxTexture2DSize; in TEST_P() local 97 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 100 for (int x = 0; x < textureWidth; x++) in TEST_P() 102 GLubyte *pixel = &data[0] + ((y * textureWidth + x) * 4); in TEST_P() 105 pixel[0] = static_cast<GLubyte>((float(x) / textureWidth) * 255); in TEST_P() 112 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureWidth, textureHeight, 0, GL_RGBA, in TEST_P() 156 GLsizei textureWidth = 64; in TEST_P() local 159 std::vector<GLubyte> data(textureWidth * textureHeight * 4); in TEST_P() 162 for (int x = 0; x < textureWidth; x++) in TEST_P() 164 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()
|
/external/angle/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 162 mTextureData.resize(params.textureWidth * params.textureHeight * 4); in initializeBenchmark() 165 glTexImage2D(GL_TEXTURE_2D, 0, params.internalFormat, params.textureWidth, params.textureHeight, in initializeBenchmark() 255 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 145 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, params.textureWidth, params.textureHeight, 0, GL_RGBA, in initializeBenchmark() 155 params.textureWidth, params.textureHeight); in initializeBenchmark()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | SurfaceTextureHelper.java | 157 private int textureWidth; 250 public void setTextureSize(int textureWidth, int textureHeight) { 251 if (textureWidth <= 0) { 252 throw new IllegalArgumentException("Texture width must be positive, but was " + textureWidth); 258 surfaceTexture.setDefaultBufferSize(textureWidth, textureHeight); 260 this.textureWidth = textureWidth; 355 if (textureWidth == 0 || textureHeight == 0) { 373 new TextureBufferImpl(textureWidth, textureHeight, TextureBuffer.Type.OES, oesTextureId,
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 60 int textureWidth; member 680 specs["IMAGE_WIDTH"] = std::to_string(m_params->textureWidth); in initPrograms() 769 for (int x = 0; x < m_params->textureWidth; ++x) in populate() 814 for (int x = 0; doContinue && x < m_params->textureWidth; ++x) in compare() 858 …ut::StorageImage2D image (m_context, m_params->vkFormat, m_params->textureWidth, m_params->t… in iterate() 863 …ut::StorageBuffer2D buffer (m_context, bufferFormat, m_params->textureWidth, m_params->textu… in iterate() 881 vki.cmdDispatch(*cmdBuffer, m_params->textureWidth, m_params->textureHeight, 1); in iterate()
|
/external/deqp/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()
|
/external/deqp/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 | 917 int textureWidth; member
|
/external/angle/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 | 71 size_t textureWidth,
|
D | validationES.cpp | 1067 size_t textureWidth, in ValidCompressedSubImageSize() argument 1083 xoffset == 0 && yoffset == 0 && static_cast<size_t>(width) == textureWidth && in ValidCompressedSubImageSize() 2982 const GLsizei textureWidth = static_cast<GLsizei>( in ValidateCopyImageSubDataTargetRegion() local 2989 if ((textureWidth - offsetX < width) || (textureHeight - offsetY < height)) in ValidateCopyImageSubDataTargetRegion()
|
/external/deqp/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()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Context.cpp | 2826 float textureWidth = (float)texture->getWidth(GL_TEXTURE_2D, 0); in drawTexture() local 2833 float texCoords[][2] = {{Ucr / textureWidth, Vcr / textureHeight}, in drawTexture() 2834 {Ucr / textureWidth, (Vcr + Hcr) / textureHeight}, in drawTexture() 2835 {(Ucr + Wcr) / textureWidth, Vcr / textureHeight}, in drawTexture() 2836 {(Ucr + Wcr) / textureWidth, (Vcr + Hcr) / textureHeight}}; in drawTexture()
|
/external/deqp/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()
|