diff options
author | Timothy Arceri <[email protected]> | 2017-06-07 13:26:16 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-06-09 09:13:46 +1000 |
commit | bc70bad59bde311434349bbe07b7fb1d3b0ec559 (patch) | |
tree | ed702288f8d317dde9b1a1f5fdc18dc5d46ace98 /src/mesa/drivers/dri/i915 | |
parent | 99987fe92e5e109d7a0c114477cba52cdc6629b5 (diff) |
mesa: inline vbo_exec_invalidate_state() and call from mesa core
Rather than calling it indirectly in each driver.
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index 1406b65b654..4d89af182d5 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -58,7 +58,6 @@ i915InvalidateState(struct gl_context * ctx) _swrast_InvalidateState(ctx, new_state); _swsetup_InvalidateState(ctx, new_state); - _vbo_InvalidateState(ctx, new_state); _tnl_InvalidateState(ctx, new_state); _tnl_invalidate_vertex_state(ctx, new_state); intel_context(ctx)->NewGLState |= new_state; diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 6c59b425a91..7f3924573f9 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -321,7 +321,6 @@ intelInvalidateState(struct gl_context * ctx) if (ctx->swrast_context) _swrast_InvalidateState(ctx, new_state); - _vbo_InvalidateState(ctx, new_state); intel->NewGLState |= new_state; |