intel: Drop little bits of dead code.

I noticed these while building the fork-i915 branch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Eric Anholt 2013-06-21 10:43:32 -07:00
parent 88514d922e
commit 57407bcaf8
5 changed files with 0 additions and 15 deletions

View File

@ -94,8 +94,6 @@ static void intel_start_inline(struct intel_context *intel, uint32_t prim)
intel->no_batch_wrap = true;
/*printf("%s *", __progname);*/
/* Emit a slot which will be filled with the inline primitive
* command later.
*/

View File

@ -359,9 +359,6 @@ struct intel_context
driOptionCache optionCache;
};
extern char *__progname;
#define SUBPIXEL_X 0.125
#define SUBPIXEL_Y 0.125

View File

@ -51,7 +51,6 @@ struct intel_renderbuffer
{
struct swrast_renderbuffer Base;
struct intel_mipmap_tree *mt; /**< The renderbuffer storage. */
drm_intel_bo *map_bo;
/**
* \name Miptree view

View File

@ -45,12 +45,9 @@ struct intel_screen
int max_gl_es1_version;
int max_gl_es2_version;
int logTextureGranularity;
__DRIscreen *driScrnPriv;
bool no_hw;
GLuint relaxed_relocations;
/*
* The hardware hiz and separate stencil fields are needed in intel_screen,
@ -77,8 +74,6 @@ struct intel_screen
driOptionCache optionCache;
};
extern bool intelMapScreenRegions(__DRIscreen * sPriv);
extern void intelDestroyContext(__DRIcontext * driContextPriv);
extern GLboolean intelUnbindContext(__DRIcontext * driContextPriv);

View File

@ -41,10 +41,6 @@ struct intel_texture_object
*/
unsigned int _MaxLevel;
/* Offset for firstLevel image:
*/
GLuint textureOffset;
/* On validation any active images held in main memory or in other
* regions will be copied to this region and the old storage freed.
*/