Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/gl/
DCompositorGl.cpp56 const uint32_t targetHeight = targetImage->height; 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.cpp190 const uint32_t targetHeight = target->m_height; 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.cpp954 const uint32_t targetHeight = targetImage->height; in buildCompositionVk() local
968 sourceImageHeight = targetHeight; in buildCompositionVk()
993 const float posScaleY = float(posHeight) / targetHeight; in buildCompositionVk()
996 const float posTranslateY = -1.0f + posScaleY + 2.0f * float(posRect.top) / targetHeight; in buildCompositionVk()