st/dri: Headers and public symbols clean up.

Remove unused headers and stop marking driDriverAPI as PUBLIC.
This commit is contained in:
Chia-I Wu 2010-03-16 10:55:40 +08:00
parent 61631a89a3
commit 903b90926c
5 changed files with 8 additions and 14 deletions

View file

@ -34,6 +34,7 @@
#include "pipe/p_context.h"
#include "state_tracker/st_context.h"
#include "state_tracker/st_public.h"
#include "state_tracker/dri1_api.h"
#include "dri_screen.h"
#include "dri_context.h"

View file

@ -32,7 +32,8 @@
#ifndef DRI1_H
#define DRI1_H
#include "state_tracker/dri1_api.h"
#include "dri_context.h"
#include "dri_drawable.h"
#include "dri_util.h"
extern struct dri1_api *__dri1_api_hooks;

View file

@ -30,16 +30,12 @@
*/
#include "dri_screen.h"
#include "dri_drawable.h"
#include "state_tracker/drm_api.h"
#include "state_tracker/dri1_api.h"
#include "state_tracker/st_public.h"
#include "pipe/p_context.h"
#include "dri_context.h"
#include "dri1.h"
#include "state_tracker/st_public.h"
#include "pipe/p_context.h"
#include "util/u_memory.h"
GLboolean

View file

@ -34,19 +34,16 @@
#include "dri_drawable.h"
#include "dri1.h"
#include "pipe/p_context.h"
#include "pipe/p_screen.h"
#include "main/mtypes.h"
#include "main/renderbuffer.h"
#include "state_tracker/drm_api.h"
#include "state_tracker/dri1_api.h"
#include "state_tracker/st_context.h"
#include "state_tracker/st_public.h"
#include "state_tracker/st_cb_fbo.h"
#include "state_tracker/drm_api.h"
#include "pipe/p_screen.h"
#include "util/u_format.h"
#include "util/u_memory.h"
#include "util/u_rect.h"
#include "util/u_inlines.h"
static struct pipe_surface *

View file

@ -41,7 +41,6 @@
#include "pipe/p_screen.h"
#include "pipe/p_format.h"
#include "state_tracker/drm_api.h"
#include "state_tracker/dri1_api.h"
#include "util/u_debug.h"
@ -304,7 +303,7 @@ dri_destroy_screen(__DRIscreen * sPriv)
sPriv->private = NULL;
}
PUBLIC const struct __DriverAPIRec driDriverAPI = {
const struct __DriverAPIRec driDriverAPI = {
.DestroyScreen = dri_destroy_screen,
.CreateContext = dri_create_context,
.DestroyContext = dri_destroy_context,