Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/gl/
DCompositorGl.cpp55 const uint32_t targetWidth = targetImage->width; in compose() local
63 s_gles2.glViewport(0, 0, targetWidth, targetHeight); in compose()
79 m_textureDraw->drawLayer(layer.props, targetWidth, targetHeight, layerImage->width, in compose()
82 m_textureDraw->drawLayer(layer.props, targetWidth, targetHeight, 1, 1, 0); in compose()
/hardware/google/gfxstream/host/tests/
DCompositorVk_unittest.cpp189 const uint32_t targetWidth = target->m_width; in compareImageWithGoldenPng() local
209 if (targetWidth != goldenWidth || targetHeight != goldenHeight) { in compareImageWithGoldenPng()
222 SaveRGBAToPng(targetWidth, targetHeight, targetPixels.data(), output); in compareImageWithGoldenPng()
/hardware/google/gfxstream/host/vulkan/
DCompositorVk.cpp953 const uint32_t targetWidth = targetImage->width; in buildCompositionVk() local
967 sourceImageWidth = targetWidth; in buildCompositionVk()
992 const float posScaleX = float(posWidth) / targetWidth; in buildCompositionVk()
995 const float posTranslateX = -1.0f + posScaleX + 2.0f * float(posRect.left) / targetWidth; in buildCompositionVk()