diff options
author | Chad Versace <[email protected]> | 2012-07-11 14:52:53 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2012-08-07 09:30:33 -0700 |
commit | 53fa28f7b1f21251a3807abf1f234f52beff0256 (patch) | |
tree | b5ae431b1c53d1fab5c369d8b6578cdbfedc0f51 /src/mesa/drivers/dri/intel/intel_fbo.h | |
parent | 7a2e40ed283b70e1da8ea762959ca7462b0f2fc3 (diff) |
intel: Refactor quantize_num_samples
Rename quantize_num_samples to intel_quantize_num_samples and change the
first param from struct intel_context* to struct intel_screen*. The
function will later be used by intelCreateBuffer, which is not bound to
any context but is bound to a screen.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Paul Berry <[email protected]> (v1)
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index 02bda1efc8b..b922dca8403 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -200,6 +200,9 @@ bool intel_renderbuffer_resolve_depth(struct intel_context *intel, struct intel_renderbuffer *irb); +unsigned +intel_quantize_num_samples(struct intel_screen *intel, unsigned num_samples); + #ifdef __cplusplus } #endif |