summaryrefslogtreecommitdiff
path: root/src/glx
AgeCommit message (Collapse)Author
2005-03-17Minor vertex array support tweaks. These are in preparation for theIan Romanick
(eventual) addition of support for ARB_vertex_buffer_object. Elminitate the need for array_state_vector::large_header. Make some very minor tweaks to the handling of the indices pointer in emit_DrawElements_old.
2005-03-17Minor vertex array support tweaks. Most of these are in preparation for theIan Romanick
(eventual) addition of support for ARB_vertex_buffer_object. Move all the private vertex array data structures out of indirect_vertex_array.c and into indirect_va_private.h. Rename array_state_vector::enabled_array_count to array_state_vector::enabled_client_array_count. Make sure that both the GL extension string and the server GL version are available when __glXInitVertexState is called. Make sure that array_state::normalized is set correctly in the array's gl*Pointer function.
2005-03-17Fix the handling of zero-sized output parameters (i.e., those with typeIan Romanick
'GLvoid *'). This fixes the GLX protocol for glGetProgramStringARB. This fixes bugzilla #2747. Remove the 'ignore="true"' from glVertexAttrib4bvARB. This fixes bugzilla #2746.
2005-03-17Hard-code the client-side maximum GL version. It turns out that there areIan Romanick
some flaws in the calculation code when the highest version listed in known_gl_extensions is supported. This code would also have some problems with some of the new features (that don't have an associated extension) on GL 2.0.
2005-03-11Add support for ARB_draw_buffers and ARB_occlusion_query. The GLX protocolIan Romanick
for these extensions (as well as ARB_vertex_program and ARB_matrix_palette) was just approved by the ARB on 8-Mar-2005. Now the only extension missing for 1.5 support is ARB_vertex_buffer_object. The opcodes for ARB_matrix_palette were also added to gl_API.xml. Since this extension isn't supported by Mesa, no code is generated for it. Some tabs were also converted to spaces in the comment for GetCompressedTexImageARB.
2005-03-06Actually *use* the count_scale value associated with a parameter.Ian Romanick
2005-03-05fix for solo to set the mode, and make solo gcc2 friendly...Dave Airlie
From: Stephane Marchesin
2005-03-04Import fixes from X.org tree (Søren Sandmann <sandmann@redhat.com>).Ian Romanick
2005-03-03Fix some errors in the parameter descriptions in serveral vertex / fragmentIan Romanick
program related functions.
2005-02-28Clean-up some warnings caused by the addition of vertex / fragment programIan Romanick
protocol support (reported by Adam Jackson). Added code to validate the 'type' parameter to the draw element functions.
2005-02-25Accidentally committed wrong version with the previous commit set.Ian Romanick
2005-02-25Add GLX protocol support for ARB_fragement_program,Ian Romanick
ARB_fragment_program_shadow, ARB_vertex_program, NV_fragment_program, NV_fragment_program_option, NV_fragment_program2, NV_vertex_program, NV_vertex_program1_1, NV_vertex_program2, NV_vertex_program2_option, NV_vertex_program3, and ATI_text_fragment_shader.
2005-02-25Convert the static functions read_pixel_reply, read_reply,Ian Romanick
setup_single_request, and setup_vendor_request to the global functions __glXReadPixelReply, __glXReadReply, __glXSetupSingleRequest, and __glXSetupVendorRequest. This will make it easier to add handcoded Single / VendorPrivate / VendorPrivteWithReply functions.
2005-02-23Missed the commit of glxext.c yesterday.Ian Romanick
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.
2005-02-23Corrected the value for X_GLrop_SecondaryColor3svEXT.Ian Romanick
2005-02-23Missed the Makefile with the previous commit.Ian Romanick
2005-02-22Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. ThisIan Romanick
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.
2005-02-20add more functionality to miniglx for glitzDave Airlie
2005-02-15add EnableExtension so r200 enables all its extensions, add mesa memoryDave Airlie
extension entry points
2005-02-09Generate GLX protocol for pixel single commands.Ian Romanick
2005-02-05Fix some mixed spaces / tabs issues in generated code. Commit generatedIan Romanick
files that have been trivially changed by other recent commits.
2005-02-04Enable client-side GLX support for texture compression extensions.Ian Romanick
2005-02-03Added a bunch of extensions that were previously supported but weren'tIan Romanick
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-01-28Refactor the code to emit multiple-inclusion protection toIan Romanick
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-28Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can beIan Romanick
parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v.
2005-01-27Mark a couple more function parameters as counters.Ian Romanick
2005-01-27Add numerous 'get'-type functions to most of the enums supported by theIan Romanick
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-23HAVE_ALIAS was never defined anywhere, add some logic to turn it onAdam Jackson
automagically.
2005-01-19Depend tweaksKeith Whitwell
2005-01-11Added a couple missing proxy types.Ian Romanick
2005-01-11Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick
them work with multi-work compiler names (e.g., "ccache gcc").
2005-01-08Enable libGL to be built with DRI_NEW_INTERFACE_ONLY (but don't do it yet).Adam Jackson
2005-01-07Refactor the code that converts a transpose-matrix enum to aIan Romanick
regular-matrix enum.
2005-01-07Pixel oriented render functions are now generated by theIan Romanick
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-07The generic_*_byte functions did not rount the command size to aIan Romanick
multiple of 4 correctly in some cases.
2005-01-05support 720x480 and 960x540 modesAlan Hourihane
2005-01-03The opcode and command length fields of RenderLarge commands wereIan Romanick
mistakenly emitted in the wrong order.
2004-12-27Fixed two problems with the handling of GLX protocol replies. The logicIan Romanick
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-21Used GCC's __builtin_expect when available. Change the way code isIan Romanick
generated for commands that can use RenderLarge packets. Tweak the code for __glXFlushRenderBuffer slightly.
2004-12-20Use GLX protocol code generated by glX_proto_send.py.Ian Romanick
2004-12-15Mark the XF86DRI client-side extension API as PUBLIC.Adam Jackson
2004-12-15Fix up glx/x11 to work when built with -fvisibility=hidden.Adam Jackson
2004-12-08Improve the behaviour of the build system wrt depend files.Keith Whitwell
- 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-08From: Stephane Marchesin <marchesin@icps.u-strasbg.fr>Dave Airlie
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-01Corrected a problem with the sizes of the MAP[12]_* enums.Ian Romanick
2004-12-01Refactor ExtractDir and OpenDriver to be a bit more clear.Ian Romanick
2004-12-01Use indirect_size.c and indirect_size.h generated by usingIan Romanick
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h' options.
2004-12-01Use the indirect_init.c generate by using src/mesa/glapi/glX_proto_send.pyIan Romanick
with the '-m init_c' option.
2004-12-01Make the transition to script-genereated GLX code easier.Ian Romanick
Convert GL 1.4 function names to EXT_blend_func_separate names.
2004-12-01Make the transition to script-genereated GLX code easier.Ian Romanick
Convert GL 1.4 / ARB_point_parameter function names to EXT_point_parameter / NV_point_sprite names.