summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
Commit message (Collapse)AuthorAgeFilesLines
* Missed the commit of glxext.c yesterday.Ian Romanick2005-02-232-275/+108
| | | | | | | Fixed a flow control problem in glGet*v that could result in the display not being unlocked. This also resulted in refactoring a lot more code out of the glGet*v routines into get_array_data, which was renamed to get_client_data.
* Corrected the value for X_GLrop_SecondaryColor3svEXT.Ian Romanick2005-02-231-2/+2
|
* Missed the Makefile with the previous commit.Ian Romanick2005-02-231-0/+1
|
* Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. ThisIan Romanick2005-02-229-1354/+2183
| | | | | | | | | | | | | | | enables libGL to query which extension are exported to applications. Refactored array-query functionality (from glGet*v) in src/glx/x11/single2.c. Massive re-write of indirect vertex array support. The most noticable effect is that glDrawElements now generates DrawArrays protocol. The side-effects (and the main reasons for the re-work) are that it is much easier to add support for new arrays (e.g., GL_VERTEX_ATTRIB_ARRAY, GL_WEIGHT_ARRAY_ARB, etc.) and it is much easier to add support for the new DrawArrays protocol (required to support ARB_vertex_buffer_object). These changes were primarilly tested with progs/demos/isosurf.
* Generate GLX protocol for pixel single commands.Ian Romanick2005-02-092-311/+191
|
* Fix some mixed spaces / tabs issues in generated code. Commit generatedIan Romanick2005-02-054-14/+16
| | | | files that have been trivially changed by other recent commits.
* Enable client-side GLX support for texture compression extensions.Ian Romanick2005-02-042-6/+8
|
* Added a bunch of extensions that were previously supported but weren'tIan Romanick2005-02-032-0/+4
| | | | | | 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.
* Refactor the code to emit multiple-inclusion protection toIan Romanick2005-01-282-9/+7
| | | | | | | | | 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.
* Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can beIan Romanick2005-01-281-9/+0
| | | | | parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
* Mark a couple more function parameters as counters.Ian Romanick2005-01-271-3/+3
|
* Add numerous 'get'-type functions to most of the enums supported by theIan Romanick2005-01-272-24/+30
| | | | | | | | | | | | | | | 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.
* HAVE_ALIAS was never defined anywhere, add some logic to turn it onAdam Jackson2005-01-231-0/+4
| | | | automagically.
* Depend tweaksKeith Whitwell2005-01-191-3/+2
|
* Added a couple missing proxy types.Ian Romanick2005-01-111-0/+3
|
* Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick2005-01-111-1/+1
| | | | them work with multi-work compiler names (e.g., "ccache gcc").
* Enable libGL to be built with DRI_NEW_INTERFACE_ONLY (but don't do it yet).Adam Jackson2005-01-083-5/+11
|
* Refactor the code that converts a transpose-matrix enum to aIan Romanick2005-01-071-48/+25
| | | | regular-matrix enum.
* Pixel oriented render functions are now generated by theIan Romanick2005-01-078-861/+629
| | | | | | 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.
* The generic_*_byte functions did not rount the command size to aIan Romanick2005-01-071-4/+4
| | | | multiple of 4 correctly in some cases.
* The opcode and command length fields of RenderLarge commands wereIan Romanick2005-01-031-8/+8
| | | | mistakenly emitted in the wrong order.
* Fixed two problems with the handling of GLX protocol replies. The logicIan Romanick2004-12-271-2/+2
| | | | | | 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.
* Used GCC's __builtin_expect when available. Change the way code isIan Romanick2004-12-212-1062/+499
| | | | | generated for commands that can use RenderLarge packets. Tweak the code for __glXFlushRenderBuffer slightly.
* Use GLX protocol code generated by glX_proto_send.py.Ian Romanick2004-12-2011-2548/+6215
|
* Mark the XF86DRI client-side extension API as PUBLIC.Adam Jackson2004-12-151-16/+18
|
* Fix up glx/x11 to work when built with -fvisibility=hidden.Adam Jackson2004-12-154-116/+168
|
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-081-5/+4
| | | | | | | | - 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.
* Corrected a problem with the sizes of the MAP[12]_* enums.Ian Romanick2004-12-011-8/+19
|
* Refactor ExtractDir and OpenDriver to be a bit more clear.Ian Romanick2004-12-011-31/+46
|
* Use indirect_size.c and indirect_size.h generated by usingIan Romanick2004-12-017-407/+455
| | | | | src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h' options.
* Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.pyIan Romanick2004-12-011-306/+337
| | | | with the '-m init_c' option.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-012-2/+4
| | | | Convert GL 1.4 function names to EXT_blend_func_separate names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-014-11/+16
| | | | | Convert GL 1.4 / ARB_point_parameter function names to EXT_point_parameter / NV_point_sprite names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-015-102/+131
| | | | | 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.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-013-4/+89
| | | | | | | 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.).
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-013-57/+72
| | | | | Move EXT_vertex_array wrapper functions from indirect_init.c to vertarr.c. Fix problems with EXT_multi_draw_arrays function names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-0115-924/+188
| | | | | | 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.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-013-21/+21
| | | | | Convert GL_ARB_texture_compression related functions to use the extension version of the names instead of the GL 1.3 versions.
* Add trivial support ARB_texture_rectangle and OES_read_format.Ian Romanick2004-12-011-0/+2
|
* Missed GL_OES_read_format_bit in last commit.Ian Romanick2004-12-011-2/+4
|
* Since we know the problem with HP_occlusion_test is / was on the server-side,Ian Romanick2004-11-301-7/+1
| | | | re-enable the extension on the client-side.
* Sync with Xorg head: mingw build fixes from Alexander Gottwald.Adam Jackson2004-11-151-0/+3
|
* constify a few arrays.Adam Jackson2004-11-031-3/+3
|
* static char * -> static char []Adam Jackson2004-11-031-1/+1
|
* remove a -Werror from testing.Adam Jackson2004-10-251-2/+1
|
* Import the GLX client side library, formerly from xc/lib/GL/glx. Build itAdam Jackson2004-10-2537-0/+20024
by adding 'glx/x11' to SRC_DIRS in your build config.