diff options
author | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-04-04 13:43:24 +0300 |
---|---|---|
committer | Topi Pohjolainen <topi.pohjolainen@intel.com> | 2016-04-21 10:20:02 +0300 |
commit | fb14a2fc782e040c2d09706b277b783b4f26697f (patch) | |
tree | f0267a901203ecd9011663ae49bc22aba03b7199 /src/mesa/drivers/dri/i965/brw_meta_util.h | |
parent | 9d79235e4ec68c72876f8afd5d472571d2e7f0e3 (diff) | |
download | external_mesa3d-fb14a2fc782e040c2d09706b277b783b4f26697f.zip external_mesa3d-fb14a2fc782e040c2d09706b277b783b4f26697f.tar.gz external_mesa3d-fb14a2fc782e040c2d09706b277b783b4f26697f.tar.bz2 |
i965/meta: Expose non-fast clear rectangle calculation
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_meta_util.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_meta_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_meta_util.h b/src/mesa/drivers/dri/i965/brw_meta_util.h index 35222d2..c438108 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_util.h +++ b/src/mesa/drivers/dri/i965/brw_meta_util.h @@ -55,6 +55,11 @@ brw_get_resolve_rect(const struct brw_context *brw, unsigned *x0, unsigned *y0, unsigned *x1, unsigned *y1); +void +brw_meta_get_buffer_rect(const struct gl_framebuffer *fb, + unsigned *x0, unsigned *y0, + unsigned *x1, unsigned *y1); + #ifdef __cplusplus } #endif |