diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-17 18:54:19 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-17 18:54:19 +0000 |
commit | 1c1c7fb3610026345e956ad7845e101802f72033 (patch) | |
tree | 3685ab3c5cbe83fd838704a0c184e96f487e8deb /src/mesa/drivers/dri/i915 | |
parent | 42b26f688d82b2023ea882bfa1fd13bb6548d73a (diff) |
remove obsolete intelBufferSize(), bump driver date
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 0f89972b70..4be95301c3 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -92,7 +92,7 @@ int prevLockLine; * Mesa's Driver Functions ***************************************/ -#define DRIVER_DATE "20050225" +#define DRIVER_DATE "20061017" const GLubyte *intelGetString( GLcontext *ctx, GLenum name ) { @@ -134,27 +134,6 @@ const GLubyte *intelGetString( GLcontext *ctx, GLenum name ) } } -static void intelBufferSize(GLframebuffer *buffer, - GLuint *width, GLuint *height) -{ - GET_CURRENT_CONTEXT(ctx); - intelContextPtr intel = INTEL_CONTEXT(ctx); - /* Need to lock to make sure the driDrawable is uptodate. This - * information is used to resize Mesa's software buffers, so it has - * to be correct. - */ - LOCK_HARDWARE(intel); - if (intel->driDrawable) { - *width = intel->driDrawable->w; - *height = intel->driDrawable->h; - } - else { - *width = 0; - *height = 0; - } - UNLOCK_HARDWARE(intel); -} - /** * Extension strings exported by the intel driver. @@ -263,7 +242,7 @@ void intelInitDriverFunctions( struct dd_function_table *functions ) functions->Clear = intelClear; functions->Flush = intelglFlush; functions->Finish = intelFinish; - functions->GetBufferSize = intelBufferSize; + functions->GetBufferSize = NULL; /* OBSOLETE */ functions->GetString = intelGetString; functions->UpdateState = intelInvalidateState; |