Skip to content

gfxstream: support linear ColorBuffer allocation for scanout - #177

Queued
thjnk wants to merge 1 commit into
google:mainfrom
thjnk:linear-colorbuffer
Queued

gfxstream: support linear ColorBuffer allocation for scanout#177
thjnk wants to merge 1 commit into
google:mainfrom
thjnk:linear-colorbuffer

Conversation

@thjnk

@thjnk thjnk commented Aug 25, 2026

Copy link
Copy Markdown

When VIRGL_BIND_LINEAR is specified by the guest when creating a virtio-gpu resource, allocate the ColorBuffer with host visible memory property and linear tiling support. Also preserve the imported ColorBuffer's tiling when creating AndroidNativeBufferInfo.

Bug: 527240973
TAG=agy
CONV=afb1dcde-9a3d-455d-91b2-bcf6e118ffb8

When VIRGL_BIND_LINEAR is specified by the guest when creating a virtio-gpu
resource, allocate the ColorBuffer with host visible memory property and linear
tiling support. Also preserve the imported ColorBuffer's tiling when creating
AndroidNativeBufferInfo.

Bug: 527240973
TAG=agy
CONV=afb1dcde-9a3d-455d-91b2-bcf6e118ffb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants