mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
i965: Drop swtnl fallback code for i915.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
28e80d7136
commit
a61d8f6110
2 changed files with 0 additions and 32 deletions
|
|
@ -356,22 +356,11 @@ intelInvalidateState(struct gl_context * ctx, GLuint new_state)
|
|||
intel->vtbl.invalidate_state( intel, new_state );
|
||||
}
|
||||
|
||||
void
|
||||
intel_flush_rendering_to_batch(struct gl_context *ctx)
|
||||
{
|
||||
struct intel_context *intel = intel_context(ctx);
|
||||
|
||||
if (intel->Fallback)
|
||||
_swrast_flush(ctx);
|
||||
}
|
||||
|
||||
void
|
||||
_intel_flush(struct gl_context *ctx, const char *file, int line)
|
||||
{
|
||||
struct intel_context *intel = intel_context(ctx);
|
||||
|
||||
intel_flush_rendering_to_batch(ctx);
|
||||
|
||||
if (intel->batch.used)
|
||||
_intel_batchbuffer_flush(intel, file, line);
|
||||
}
|
||||
|
|
@ -707,7 +696,6 @@ intelDestroyContext(__DRIcontext * driContextPriv)
|
|||
|
||||
if (ctx->swrast_context)
|
||||
_swrast_DestroyContext(&intel->ctx);
|
||||
intel->Fallback = 0x0; /* don't call _swrast_Flush later */
|
||||
|
||||
intel_batchbuffer_free(intel);
|
||||
|
||||
|
|
|
|||
|
|
@ -72,25 +72,6 @@ typedef void (*intel_line_func) (struct intel_context *, intelVertex *,
|
|||
intelVertex *);
|
||||
typedef void (*intel_point_func) (struct intel_context *, intelVertex *);
|
||||
|
||||
/**
|
||||
* Bits for intel->Fallback field
|
||||
*/
|
||||
/*@{*/
|
||||
#define INTEL_FALLBACK_DRAW_BUFFER 0x1
|
||||
#define INTEL_FALLBACK_READ_BUFFER 0x2
|
||||
#define INTEL_FALLBACK_DEPTH_BUFFER 0x4
|
||||
#define INTEL_FALLBACK_STENCIL_BUFFER 0x8
|
||||
#define INTEL_FALLBACK_USER 0x10
|
||||
#define INTEL_FALLBACK_RENDERMODE 0x20
|
||||
#define INTEL_FALLBACK_TEXTURE 0x40
|
||||
#define INTEL_FALLBACK_DRIVER 0x1000 /**< first for drivers */
|
||||
/*@}*/
|
||||
|
||||
extern void intelFallback(struct intel_context *intel, GLbitfield bit,
|
||||
bool mode);
|
||||
#define FALLBACK( intel, bit, mode ) intelFallback( intel, bit, mode )
|
||||
|
||||
|
||||
#define INTEL_WRITE_PART 0x1
|
||||
#define INTEL_WRITE_FULL 0x2
|
||||
#define INTEL_READ 0x4
|
||||
|
|
@ -224,7 +205,6 @@ struct intel_context
|
|||
|
||||
} vtbl;
|
||||
|
||||
GLbitfield Fallback; /**< mask of INTEL_FALLBACK_x bits */
|
||||
GLuint NewGLState;
|
||||
|
||||
dri_bufmgr *bufmgr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue