[Mesa-dev] [PATCH 08/12] i965: Rename intelValidateState to intel_update_state
Kenneth Graunke
kenneth at whitecape.org
Mon Aug 11 22:56:45 PDT 2014
On Monday, August 11, 2014 05:29:38 PM Kristian Høgsberg wrote:
> This matches the name of the dd hook. Also convert a couple of nearby
> dd implementations to lowercase + underscore as is now the standard.
>
> Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
> ---
> src/mesa/drivers/dri/i965/brw_context.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
> index 8001826..043d530 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.c
> +++ b/src/mesa/drivers/dri/i965/brw_context.c
> @@ -123,7 +123,7 @@ brw_get_renderer_string(unsigned deviceID)
> }
>
> static const GLubyte *
> -intelGetString(struct gl_context * ctx, GLenum name)
> +intel_get_string(struct gl_context * ctx, GLenum name)
> {
> const struct brw_context *const brw = brw_context(ctx);
>
> @@ -153,7 +153,7 @@ intel_viewport(struct gl_context *ctx)
> }
>
> static void
> -intelInvalidateState(struct gl_context * ctx, GLuint new_state)
> +intel_update_state(struct gl_context * ctx, GLuint new_state)
> {
> struct brw_context *brw = brw_context(ctx);
>
> @@ -210,7 +210,7 @@ intel_glFlush(struct gl_context *ctx)
> }
>
> void
> -intelFinish(struct gl_context * ctx)
> +intel_finish(struct gl_context * ctx)
> {
> struct brw_context *brw = brw_context(ctx);
>
> @@ -237,9 +237,9 @@ brw_init_driver_functions(struct brw_context *brw,
> functions->Viewport = intel_viewport;
>
> functions->Flush = intel_glFlush;
> - functions->Finish = intelFinish;
> - functions->GetString = intelGetString;
> - functions->UpdateState = intelInvalidateState;
> + functions->Finish = intel_finish;
> + functions->GetString = intel_get_string;
> + functions->UpdateState = intel_update_state;
>
> intelInitTextureFuncs(functions);
> intelInitTextureImageFuncs(functions);
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140811/f515f0fb/attachment.sig>
More information about the mesa-dev
mailing list