intel: Refactor quantize_num_samples
authorChad Versace <chad.versace@linux.intel.com>
Wed, 11 Jul 2012 21:52:53 +0000 (14:52 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 7 Aug 2012 16:30:33 +0000 (09:30 -0700)
commit53fa28f7b1f21251a3807abf1f234f52beff0256
treeb5ae431b1c53d1fab5c369d8b6578cdbfedc0f51
parent7a2e40ed283b70e1da8ea762959ca7462b0f2fc3
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 <eric@anholt.net>
Reviewed-by: Paul Berry <stereotype441@gmail.com> (v1)
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_fbo.h