intel_buffer_objects.c \
intel_batchbuffer.c \
intel_tex_layout.c \
- intel_tex_image.c \
- intel_tex_subimage.c \
- intel_tex_copy.c \
- intel_tex_validate.c \
- intel_tex_format.c \
- intel_tex.c \
intel_buffers.c \
intel_blit.c \
intel_context.c \
intel_depthstencil.c \
intel_batchpool.c
+OLD_TEX =\
+ intel_tex_image.c \
+ intel_tex_subimage.c \
+ intel_tex_copy.c \
+ intel_tex_validate.c \
+ intel_tex_format.c \
+ intel_tex.c
+
+
C_SOURCES = \
$(COMMON_SOURCES) \
$(COMMON_BM_SOURCES) \
#include "i830_dri.h"
#include "intel_buffers.h"
-#include "intel_tex.h"
+/*#include "intel_tex.h"*/
#include "intel_ioctl.h"
#include "intel_batchbuffer.h"
#include "intel_blit.h"
functions->GetString = intelGetString;
functions->UpdateState = intelInvalidateState;
+ /*
intelInitTextureFuncs(functions);
+ */
intelInitBufferFuncs(functions);
}
#include "intel_depthstencil.h"
#include "intel_fbo.h"
#include "state_tracker/st_mipmap_tree.h"
-#include "intel_tex.h"
+/*#include "intel_tex.h"*/
#include "pipe/p_context.h"
struct gl_framebuffer *fb,
struct gl_renderbuffer_attachment *att)
{
+#if 0
struct intel_context *intel = intel_context(ctx);
struct gl_texture_image *newImage
= att->Texture->Image[att->CubeMapFace][att->TextureLevel];
/* update drawing region, etc */
intel_draw_buffer(ctx, fb);
+#endif
}
#include "intel_screen.h"
#include "intel_batchbuffer.h"
#include "intel_buffers.h"
-#include "intel_tex.h"
+/*#include "intel_tex.h"*/
#include "intel_ioctl.h"
#include "intel_fbo.h"
}
+static void
+intelSetTexOffset(__DRIcontext *pDRICtx, GLint texname,
+ unsigned long long offset, GLint depth, GLuint pitch)
+{
+ abort();
+#if 0
+ struct intel_context *intel = (struct intel_context*)
+ ((__DRIcontextPrivate*)pDRICtx->private)->driverPrivate;
+ struct gl_texture_object *tObj = _mesa_lookup_texture(&intel->ctx, texname);
+ struct st_texture_object *stObj = st_texture_object(tObj);
+
+ if (!stObj)
+ return;
+
+ if (stObj->mt)
+ st_miptree_release(intel->pipe, &stObj->mt);
+
+ stObj->imageOverride = GL_TRUE;
+ stObj->depthOverride = depth;
+ stObj->pitchOverride = pitch;
+
+ if (offset)
+ stObj->textureOffset = offset;
+#endif
+}
static const struct __DriverAPIRec intelAPI = {
#include "texstore.h"
#include "enums.h"
+/*
#include "intel_context.h"
+*/
#include "intel_tex.h"
#include "state_tracker/st_context.h"
#include "state_tracker/st_mipmap_tree.h"