diff options
author | Jonathan Marek <[email protected]> | 2019-01-16 10:22:53 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-01-26 10:47:21 -0500 |
commit | 41ddf1d1506e4a1394ab784d805d1df78b1892e1 (patch) | |
tree | b546fe3b3299e8d2ac589294d23e8cd9088c65f3 /src/gallium/drivers/freedreno/freedreno_resource.h | |
parent | cd79b5e0c2cc0035719348592bac97dce6ce1d73 (diff) |
freedreno: add renderonly scanout
This allows creating a fd_screen with a renderonly object which will be
used to allocated scanout resources.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
[slight tweak to fix uninitialized 'prsc' in debug print]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_resource.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_resource.h b/src/gallium/drivers/freedreno/freedreno_resource.h index 83708244857..10ab8bfa225 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.h +++ b/src/gallium/drivers/freedreno/freedreno_resource.h @@ -72,6 +72,7 @@ struct fd_resource { /* buffer range that has been initialized */ struct util_range valid_buffer_range; bool valid; + struct renderonly_scanout *scanout; /* reference to the resource holding stencil data for a z32_s8 texture */ /* TODO rename to secondary or auxiliary? */ |