summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_context.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-02-14 16:27:01 -0800
committerIan Romanick <[email protected]>2013-11-07 18:08:15 -0800
commit339f36fc5e841d751e81127da39e5679a88c738f (patch)
treed93808f6fcfca22044fcbfd0cb5e48d93cd55f44 /src/mesa/drivers/dri/i915/intel_context.h
parent18291251ec3e17967b9df89815c9d2dc92bf41dc (diff)
i915: Refactor the renderer string creation out of intelGetString
This will soon be used in intel_screen.c from a function that doesn't have a gl_context. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.h')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
index e386e46782e..e488ed1a677 100644
--- a/src/mesa/drivers/dri/i915/intel_context.h
+++ b/src/mesa/drivers/dri/i915/intel_context.h
@@ -395,6 +395,8 @@ extern int INTEL_DEBUG;
extern const char *const i915_vendor_string;
+extern const char *i915_get_renderer_string(unsigned deviceID);
+
extern bool intelInitContext(struct intel_context *intel,
int api,
unsigned major_version,