On Fri, Jun 23, 2017 at 05:50:27PM +0200, Lucas Stach wrote:
> This allows to create buffers with a specific tiling layout, which is
> primarily
> used by GBM to allocate the EGL back buffers with the correct tiling/modifier
> for use with the scanout engines.
>
> Signed-off-by: Lucas Stach
Hi Lucas,
On 23 June 2017 at 16:50, Lucas Stach wrote:
> +const uint64_t priority_to_modifier[] = {
I think you can make this static.
[snip]
> res->texture =
> -etna_resource_alloc(pctx->screen, ETNA_LAYOUT_TILED, );
> +
This allows to create buffers with a specific tiling layout, which is primarily
used by GBM to allocate the EGL back buffers with the correct tiling/modifier
for use with the scanout engines.
Signed-off-by: Lucas Stach
---
src/gallium/drivers/etnaviv/etnaviv_resource.c |