diff options
author | Boris Brezillon <[email protected]> | 2019-08-02 19:18:42 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-08-02 21:54:58 +0200 |
commit | 17d6ee2bd14fa81c33b4024e0a18fb8cf1f0ce25 (patch) | |
tree | aa35a1d68c8d02427f8a7a0f55b5c125863ac55c /src/gallium/drivers/panfrost/pan_context.h | |
parent | b5ca1e545843375560378cea19be8e50eb152de8 (diff) |
panfrost: Delay FB descriptor allocation
No need to emit SFBD/MFBD at frame invalidation. They can be emitted
when the framebuffer is attached, which saves us a potential FB desc
re-allocation if a new FB is bound after the swap.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h index d930f12a537..d8dbd4d66f6 100644 --- a/src/gallium/drivers/panfrost/pan_context.h +++ b/src/gallium/drivers/panfrost/pan_context.h @@ -138,9 +138,6 @@ struct panfrost_context { union mali_attr attributes[PIPE_MAX_ATTRIBS]; - struct mali_single_framebuffer vt_framebuffer_sfbd; - struct bifrost_framebuffer vt_framebuffer_mfbd; - /* TODO: Multiple uniform buffers (index =/= 0), finer updates? */ struct panfrost_constant_buffer constant_buffer[PIPE_SHADER_TYPES]; |