SUBPIXEL fixes from Dieter
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_subset.h
1 /**
2 * \file radeon_subset.h
3 * \brief Radeon subset driver declarations.
4 *
5 * \author Keith Whitwell <keith@tungstengraphics.com>
6 */
7
8 /*
9 * Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and
10 * Tungsten Grahpics Inc., Austin, Texas.
11 *
12 * All Rights Reserved.
13 *
14 * Permission is hereby granted, free of charge, to any person obtaining a
15 * copy of this software and associated documentation files (the "Software"),
16 * to deal in the Software without restriction, including without limitation
17 * on the rights to use, copy, modify, merge, publish, distribute, sub
18 * license, and/or sell copies of the Software, and to permit persons to whom
19 * the Software is furnished to do so, subject to the following conditions:
20 *
21 * The above copyright notice and this permission notice (including the next
22 * paragraph) shall be included in all copies or substantial portions of the
23 * Software.
24 *
25 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 * ATI, TUNGSTEN GRAHPICS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
29 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
30 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
31 * USE OR OTHER DEALINGS IN THE SOFTWARE.
32 */
33
34 /* $XFree86$ */
35
36 #ifndef __RADEON_SUBSET_H__
37 #define __RADEON_SUBSET_H__
38
39 extern void radeonPointsBitmap( GLsizei width, GLsizei height,
40 GLfloat xorig, GLfloat yorig,
41 GLfloat xmove, GLfloat ymove,
42 const GLubyte *bitmap );
43
44 extern void radeonReadPixels( GLint x, GLint y,
45 GLsizei width, GLsizei height,
46 GLenum format, GLenum type,
47 GLvoid *pixels );
48
49 extern void radeon_select_Install( GLcontext *ctx );
50
51 extern void radeonInitSelect( GLcontext *ctx );
52
53 extern void radeonVtxfmtDestroy( GLcontext *ctx );
54
55 extern void radeonVtxfmtMakeCurrent( GLcontext *ctx );
56
57 extern void radeonVtxfmtUnbindContext( GLcontext *ctx );
58
59 extern void radeonVtxfmtInit( GLcontext *ctx );
60
61 extern void radeonTclFallback( GLcontext *ctx, GLuint bit, GLboolean mode );
62
63 extern void radeonVtxfmtInvalidate( GLcontext *ctx );
64
65 extern void radeonSubsetVtxEnableTCL( radeonContextPtr rmesa, GLboolean flag );
66
67 extern void radeonUpdateTextureState( GLcontext *ctx );
68
69 extern void radeonInitTextureFuncs( GLcontext *ctx );
70
71 extern void radeonAgeTextures( radeonContextPtr rmesa, int heap );
72
73 extern void radeonDestroyTexObj( radeonContextPtr rmesa, radeonTexObjPtr t );
74
75 #endif