i965: Rename intelValidateState to intel_update_state

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@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Kristian Høgsberg 2014-08-07 16:13:01 -07:00
parent 416dd873e8
commit 221d9c3e9c
2 changed files with 7 additions and 9 deletions

View File

@ -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);
@ -209,8 +209,8 @@ intel_glFlush(struct gl_context *ctx)
brw->need_throttle = true;
}
void
intelFinish(struct gl_context * ctx)
static void
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);

View File

@ -1373,8 +1373,6 @@ extern const char *const brw_vendor_string;
extern const char *brw_get_renderer_string(unsigned deviceID);
extern void intelFinish(struct gl_context * ctx);
enum {
DRI_CONF_BO_REUSE_DISABLED,
DRI_CONF_BO_REUSE_ALL