Dave Airlie
09298228c6
add EnableExtension so r200 enables all its extensions, add mesa memory
...
extension entry points
2005-02-15 08:40:24 +00:00
Ian Romanick
d863424032
Generate GLX protocol for pixel single commands.
2005-02-09 03:11:23 +00:00
Ian Romanick
a02b83115a
Fix some mixed spaces / tabs issues in generated code. Commit generated
...
files that have been trivially changed by other recent commits.
2005-02-05 00:59:57 +00:00
Ian Romanick
0a755ade51
Enable client-side GLX support for texture compression extensions.
2005-02-04 19:29:30 +00:00
Ian Romanick
94a20cbadf
Added a bunch of extensions that were previously supported but weren't
...
in the gl_API.xml database. Add "official" support for SGI_color_matrix
and SGI_texture_color_table. These were previously supported only by
way of ARB_imaging.
2005-02-03 00:38:40 +00:00
Ian Romanick
16c3c74018
Refactor the code to emit multiple-inclusion protection to
...
FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be
used to generate multiple header files, add an option to specify the define
that is used for multiple-inclusion protection.
The changes to the header files in this commit are just a side-effect of the
changes to the Python scripts.
2005-01-28 19:00:54 +00:00
Ian Romanick
20b8d9c1b9
Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can be
...
parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE
enums cannot be parameters to ColorTableParameter[if]v.
2005-01-28 17:58:58 +00:00
Ian Romanick
6398a97aff
Mark a couple more function parameters as counters.
2005-01-27 19:50:59 +00:00
Ian Romanick
82e22f50f1
Add numerous 'get'-type functions to most of the enums supported by the
...
server-side GLX implementation.
Correct the protocol for EXT_convolution. Several functions were
incorrectly listed as 'sop' that should have been 'vendorpriv'.
Remove TexParameter[if]v from the list of functions associated with
TEXTURE_RESIDENT. The state associated with this enum is read-only.
Sort the enums by value for each particular size. This ensures that the
signature is the same no matter what the ordering is of the enums in the XML
file. The side effect is that there are some extra changes in
indirect_size.c.
2005-01-27 19:39:16 +00:00
Adam Jackson
999534216d
HAVE_ALIAS was never defined anywhere, add some logic to turn it on
...
automagically.
2005-01-23 03:54:38 +00:00
Keith Whitwell
520e56f232
Depend tweaks
2005-01-19 11:10:27 +00:00
Ian Romanick
591b72b6a9
Added a couple missing proxy types.
2005-01-11 23:50:01 +00:00
Ian Romanick
d24e49f301
Put quotes around the CC and CXX variables passed to mklib. This make
...
them work with multi-work compiler names (e.g., "ccache gcc").
2005-01-11 22:43:45 +00:00
Adam Jackson
1074eae704
Enable libGL to be built with DRI_NEW_INTERFACE_ONLY (but don't do it yet).
2005-01-08 03:54:38 +00:00
Ian Romanick
70d2f152f8
Refactor the code that converts a transpose-matrix enum to a
...
regular-matrix enum.
2005-01-07 02:53:04 +00:00
Ian Romanick
5f1f229f8d
Pixel oriented render functions are now generated by the
...
glX_proto_send.py script. This eliminates ~600 lines of non-generated
code. With proper compiler optimization settings, it also decreases the
size of libGL.so by about 3KB.
2005-01-07 02:39:09 +00:00
Ian Romanick
3385d7cec3
The generic_*_byte functions did not rount the command size to a
...
multiple of 4 correctly in some cases.
2005-01-07 02:29:42 +00:00
Alan Hourihane
1e21673ea1
support 720x480 and 960x540 modes
2005-01-05 22:40:34 +00:00
Ian Romanick
3276c192b7
The opcode and command length fields of RenderLarge commands were
...
mistakenly emitted in the wrong order.
2005-01-03 21:03:03 +00:00
Ian Romanick
83fcf49647
Fixed two problems with the handling of GLX protocol replies. The logic
...
for determining when extra data needed to be read after a reply (to ensure
4-byte alignment) and the logic to determine whether or not to read reply
data after the SingleReply packet were both slightly wrong.
2004-12-27 08:29:54 +00:00
Ian Romanick
990dec7ea0
Used GCC's __builtin_expect when available. Change the way code is
...
generated for commands that can use RenderLarge packets. Tweak the code for
__glXFlushRenderBuffer slightly.
2004-12-21 23:06:02 +00:00
Ian Romanick
0d84c68313
Use GLX protocol code generated by glX_proto_send.py.
2004-12-20 04:53:00 +00:00
Adam Jackson
4890f2605e
Mark the XF86DRI client-side extension API as PUBLIC.
2004-12-15 23:07:55 +00:00
Adam Jackson
489ccef398
Fix up glx/x11 to work when built with -fvisibility=hidden.
2004-12-15 17:18:06 +00:00
Keith Whitwell
fc23672327
Improve the behaviour of the build system wrt depend files.
...
- Remove the -Y option for makedepend, so that the standard
directories are searched
- No longer pipe the multiple errors that the -Y option caused
into /dev/null -- we want to know about these failures.
- Fix up a few other misc makedepend failures.
2004-12-08 15:16:36 +00:00
Dave Airlie
23b033ad28
From: Stephane Marchesin <marchesin@icps.u-strasbg.fr>
...
Attached is a patch that adds pci init code for mesa solo on radeon. It's been
tested on an itanium 2 with a radeon 7000 and it works here.
The patch adds a new field in the miniglx.conf config file, to choose between
pci and agp.
2004-12-08 06:15:01 +00:00
Ian Romanick
00d153eb72
Corrected a problem with the sizes of the MAP[12]_* enums.
2004-12-01 23:53:43 +00:00
Ian Romanick
77e297c368
Refactor ExtractDir and OpenDriver to be a bit more clear.
2004-12-01 09:41:14 +00:00
Ian Romanick
9bba1cfc39
Use indirect_size.c and indirect_size.h generated by using
...
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h'
options.
2004-12-01 09:11:04 +00:00
Ian Romanick
548435215d
Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.py
...
with the '-m init_c' option.
2004-12-01 08:49:41 +00:00
Ian Romanick
4f4854a4af
Make the transition to script-genereated GLX code easier.
...
Convert GL 1.4 function names to EXT_blend_func_separate names.
2004-12-01 08:47:35 +00:00
Ian Romanick
529381ff75
Make the transition to script-genereated GLX code easier.
...
Convert GL 1.4 / ARB_point_parameter function names to EXT_point_parameter /
NV_point_sprite names.
2004-12-01 08:42:31 +00:00
Ian Romanick
6b89a8363b
Make the transition to script-genereated GLX code easier.
...
Move "handcoded" ARB_window_pos / MESA_window_pos functions to their own
file. Modify the ARB_window_pos functions to use the MESA_window_pos names.
2004-12-01 08:31:15 +00:00
Ian Romanick
bb427b10b1
Make the transition to script-genereated GLX code easier.
...
Move "handcoded" ARB_transpose_matrix functions to their own file. From
here on out, such handcoded functions should go in a file named
indirect_FOO.c, where "FOO" is some logical name for the functionality
(e.g., part of the extension name, etc.).
2004-12-01 08:22:44 +00:00
Ian Romanick
c8c24d049d
Make the transition to script-genereated GLX code easier.
...
Move EXT_vertex_array wrapper functions from indirect_init.c to vertarr.c.
Fix problems with EXT_multi_draw_arrays function names.
2004-12-01 08:15:01 +00:00
Ian Romanick
345ed3ac8c
Make the transition to script-genereated GLX code easier.
...
Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED.
Basically, this means prepending __indirect_ to all the definitions and
calls of GL functions that don't already have it.
2004-12-01 08:02:50 +00:00
Ian Romanick
249a5552f1
Make the transition to script-genereated GLX code easier.
...
Convert GL_ARB_texture_compression related functions to use the extension
version of the names instead of the GL 1.3 versions.
2004-12-01 07:34:25 +00:00
Ian Romanick
fc43857cc9
Add trivial support ARB_texture_rectangle and OES_read_format.
2004-12-01 00:20:22 +00:00
Ian Romanick
05f4a2b92d
Missed GL_OES_read_format_bit in last commit.
2004-12-01 00:18:01 +00:00
Ian Romanick
f1f18cd1b8
Since we know the problem with HP_occlusion_test is / was on the server-side,
...
re-enable the extension on the client-side.
2004-11-30 23:29:51 +00:00
Brian Paul
55656a53d4
added __glXFindDRIScreen to glXGetProcAddress (bug 1068879)
2004-11-29 17:26:19 +00:00
Adam Jackson
ad919c30df
Sync with Xorg head: mingw build fixes from Alexander Gottwald.
2004-11-15 15:31:32 +00:00
Adam Jackson
473fe6d6bf
constify a few arrays.
2004-11-03 18:55:31 +00:00
Adam Jackson
5dd18e95d9
static char * -> static char []
2004-11-03 18:55:20 +00:00
Adam Jackson
1cda832fd9
remove a -Werror from testing.
2004-10-25 22:19:43 +00:00
Adam Jackson
cb3610e37c
Import the GLX client side library, formerly from xc/lib/GL/glx. Build it
...
by adding 'glx/x11' to SRC_DIRS in your build config.
2004-10-25 21:09:16 +00:00
Dave Airlie
75672d2e94
Fix mesa solo with doublebuffered apps, the drawable index/stamp weren't
...
being updated properly..
2004-10-01 04:34:01 +00:00
Dave Airlie
e520b72e89
Add a solo-x86 config, and make solo use the x86 glapi
2004-09-07 00:41:40 +00:00
Jon Smirl
521ebf670a
Fix from Rogelio Serrano for miniglx double buffering
2004-08-09 22:14:57 +00:00
Jon Smirl
dc8a7603a3
Miniglx clients now authorize with server DRM
2004-07-16 04:27:00 +00:00
Jon Smirl
1e7ce9f6f1
Convert miniglx to use xf86drm from dri/drm/libdrm instead of src/mesa/drivers/dri/dri_client
2004-07-05 23:51:48 +00:00
Jon Smirl
5500094413
Convert miniglx to use Ian's fancy new driver config code.
...
This removes the miniglx driver function InitContextModes().
All of the server directories were edited to remove the implementations.
2004-07-05 23:42:02 +00:00
Jon Smirl
c61c7cb8e4
This should make most linux-solo drivers work again. Mainly a fix
...
for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver
is still broken.
2004-06-29 04:50:29 +00:00
Jon Smirl
c2bffec91a
Mesa-solo builds with these changes. There are still more fixups needed to
...
get individual drivers working again. This converts miniglx to the new
dri interface. Thanks to Erdi Chen for the new interface code.
2004-06-26 17:16:42 +00:00
Ian Romanick
9eecb03226
Make sure mklib sees the definition of CC and CXX. Make mklib respect
...
the definitions of CC and CXX on Linux. This fixed build issues with
sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set
to a GCC 3.x compiler.
2004-06-25 22:51:39 +00:00
Jon Smirl
ba3d643c49
kill __driRegisterExtensions(), none of the functions did anything
2004-06-03 01:56:07 +00:00
Eric Anholt
f016e2509e
Missed in last commit:
...
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS
more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
2004-06-01 00:39:34 +00:00
Eric Anholt
2fb5d15ce3
Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE
...
variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS
more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more
compatible "> /dev/null 2>&1".
2004-06-01 00:06:14 +00:00
Brian Paul
5726a238d4
remove the last line of the previous patch
2004-05-12 14:51:51 +00:00
Brian Paul
86c7541f9b
fix red/green/blueBits typos
2004-05-12 14:48:39 +00:00
Brian Paul
751c9d096d
obsolete in favor of regular Makefiles
2004-05-12 14:04:29 +00:00
Dave Airlie
377ced2bf1
Add agpmode to the example config file
2004-04-14 02:14:15 +00:00
Dave Airlie
5d8f7b1197
add agpmode to miniglx config file
2004-04-14 01:33:27 +00:00
Jon Smirl
c0b0b48e5b
Add DRM_SOURCE_PATH to make system.
...
Needed for linux-solo to build
2004-04-13 04:11:32 +00:00
Brian Paul
78c3edc174
don't include GL/gl.h, rely on glheader.h
2004-04-08 21:10:31 +00:00
Brian Paul
bb16df1767
move 'id' declaration so it's C compliant
2004-04-08 21:10:07 +00:00
Brian Paul
de0ee3187c
New Makefile system
2004-03-26 15:19:11 +00:00
Brian Paul
fda7215db3
rename class to c_class if using C++ (bug 922294)
2004-03-24 15:59:44 +00:00
Dave Airlie
aae2fde0e6
remove version number faking, shouldn't be needed anymore
2004-03-15 23:27:33 +00:00
Jon Smirl
ae4a1cc066
Adjustments to make everything use IOCTL/sarea defines in DRM instead
...
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
2004-03-11 20:35:38 +00:00
Brian Paul
5102075330
change PFNGLXGETUSTPROC's argument from uint64_t to int64_t to match the DRI
2004-01-27 22:44:35 +00:00
Brian Paul
520ef4b5bc
new makefiles
2003-12-12 15:33:51 +00:00
Keith Whitwell
48383f10c9
Remove $Id tag
2003-12-09 11:54:50 +00:00
Brian Paul
fde2b9750e
basic API work for FBConfigs & Pbuffers
2003-12-06 17:17:42 +00:00
Jon Smirl
b55921db48
Fix for missing GLAPIENTRYP definition
2003-10-24 20:44:55 +00:00
Jon Smirl
bcc6eddd33
Update DRI drivers to current DRI CVS and make them work.
2003-10-21 06:05:39 +00:00
Brian Paul
5fd77da4f6
improved 'clean' targets (Otto Solares)
2003-10-03 14:03:14 +00:00
Brian Paul
5df82c82bd
patch to import Jon Smirl's work from Bitkeeper
2003-08-22 20:11:43 +00:00