Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all the code for generating "size" related functions to its own | Ian Romanick | 2005-01-24 | 3 | -104/+173 |
| | | | | source file. | ||||
* | Correct some of the dependencies and clean things up a bit. | Ian Romanick | 2005-01-24 | 1 | -23/+30 |
| | |||||
* | Remove glEnum::startElement, but refactor out some of the common code from | Ian Romanick | 2005-01-24 | 2 | -14/+12 |
| | | | | there and glXEnum::startElement to glEnum::process_attributes. | ||||
* | Since only one of the places that used glXFunction::command_payload_length | Ian Romanick | 2005-01-24 | 2 | -43/+46 |
| | | | | | | actually used both values, it was refactored into command_fixed_length and command_variable_length. glXFunction::offset_of_first_parameter was also added. | ||||
* | Make sure that functions added to gl_API.xml that do not have any GLX | Ian Romanick | 2005-01-24 | 2 | -0/+28 |
| | | | | | | | | section are marked as ignored. Also ignore any functions that don't have assigned dispatch offsets. Fold Adam Jackson's changes to indirect_size.c into the generator scripts so that they don't get lost. "DO NOT EDIT" really means "DO NOT EDIT". ;) | ||||
* | Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions. | Brian Paul | 2005-01-12 | 5 | -178/+232 |
| | |||||
* | Use GNU AS label aliasing, if available. This must be enabled by adding | Ian Romanick | 2005-01-07 | 1 | -3/+17 |
| | | | | | | '-DHAVE_ALIAS' to DEFINES in the config file used for building. On the linux-dri-x86 build, this cuts 4KB from libGL.so. HAVE_ALIAS is not currently enabled in any of the configs. | ||||
* | Script to generate rough GLX protocol documentation (as might be seen in | Ian Romanick | 2005-01-07 | 1 | -0/+278 |
| | | | | | | an extension spec). It's not perfect, and it doesn't support certain functions that other scripts here can (e.g., pixel functions). However, it is a good start and has already proven useful to me. | ||||
* | Track the GLX protocol names for GL types. | Ian Romanick | 2005-01-07 | 2 | -15/+17 |
| | |||||
* | Pixel oriented render functions are now generated by the | Ian Romanick | 2005-01-07 | 4 | -45/+533 |
| | | | | | | 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 a | Ian Romanick | 2005-01-07 | 1 | -1/+2 |
| | | | | multiple of 4 correctly in some cases. | ||||
* | The opcode and command length fields of RenderLarge commands were | Ian Romanick | 2005-01-03 | 1 | -5/+11 |
| | | | | mistakenly emitted in the wrong order. | ||||
* | Fixed two problems with the handling of GLX protocol replies. The logic | Ian Romanick | 2004-12-27 | 1 | -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 is | Ian Romanick | 2004-12-21 | 1 | -34/+57 |
| | | | | | generated for commands that can use RenderLarge packets. Tweak the code for __glXFlushRenderBuffer slightly. | ||||
* | Added some comments and fixed typeos. Slightly refactored the way | Ian Romanick | 2004-12-21 | 5 | -23/+87 |
| | | | | | function parameters are iterated. There are no changes in the generated code. | ||||
* | Use GLX protocol code generated by glX_proto_send.py. | Ian Romanick | 2004-12-20 | 1 | -8/+30 |
| | |||||
* | No GLX protocol for GL_ATI_fragment_shader. | Ian Romanick | 2004-12-20 | 1 | -5/+20 |
| | |||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 5 | -178/+431 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | _glapi_* is effectively PUBLIC API for the DRI drivers. | Adam Jackson | 2004-12-15 | 1 | -21/+21 |
| | |||||
* | Added many (hopefully all) missing 'output="true"' attributes. Added | Ian Romanick | 2004-12-13 | 3 | -87/+112 |
| | | | | | | missing enum information for GL_EXT_cull_vertex and GL_SGIS_texture_color_mask. Added GL_SUN_mesh_array. Corrected the spelling of the "length" parameter to GetActiveUniformARB. | ||||
* | Trivial shell script to search the API definition file and print out the | Ian Romanick | 2004-12-13 | 1 | -0/+39 |
| | | | | next numerically available API entry-point offset. | ||||
* | silence warning | Alan Hourihane | 2004-12-08 | 1 | -1/+1 |
| | |||||
* | Move common GLX code to glX_XML.py. This will make adding glX_proto_recv.py | Ian Romanick | 2004-12-03 | 2 | -451/+486 |
| | | | | easier later on. | ||||
* | Fix a minor bug in glXEnumFunction::PrintUsingTable. Add some comments. | Ian Romanick | 2004-12-03 | 1 | -1/+17 |
| | | | | Add the (currently unused) utility funciton glXFunction::opcode_real_value. | ||||
* | silence a variety of warnings found with g++ 3.4.2 | Brian Paul | 2004-12-03 | 3 | -14/+14 |
| | |||||
* | Updated the schema. Added comments explaining some of the non-obvious | Ian Romanick | 2004-12-02 | 1 | -10/+55 |
| | | | | | attributes. Modified a couple handcode functions to use the count_scale attribute instead. | ||||
* | Corrected a problem with the sizes of the MAP[12]_* enums. | Ian Romanick | 2004-12-01 | 1 | -36/+0 |
| | |||||
* | Added a couple missing always_array annotations and a couple trival | Ian Romanick | 2004-12-01 | 1 | -4/+16 |
| | | | | enum-only extensions. | ||||
* | Slightly tweak the format of the size prototypes. | Ian Romanick | 2004-12-01 | 1 | -1/+1 |
| | |||||
* | Python script to generate various bits of client-side GLX protocol code. | Ian Romanick | 2004-12-01 | 1 | -0/+981 |
| | |||||
* | Added the ability to get the size of a parameter as a string. Changed the | Ian Romanick | 2004-12-01 | 1 | -4/+25 |
| | | | | | | meaning of "variable length array" to include variables that are "counted" instead of just ones that use an enum to map to a count. Added glParameter to the glItemFactory. | ||||
* | Added enums for GL_OES_read_format. | Ian Romanick | 2004-12-01 | 1 | -0/+5 |
| | |||||
* | PrioritizeTextures, GetClipPlane, and WindowPos3fMESA don't need to be | Ian Romanick | 2004-11-30 | 1 | -46/+171 |
| | | | | | | | handcoded, but Enable and Disable do. Corrected some minor problems in the PixelMap functions and some ARB_vertex_program functions. Added size data for the enums that can be passed to the Map[12][fd] functions. Added the enums for EXT_pixel_buffer_objects. | ||||
* | Change the dispatch offsets for the VertexAttrib*NV functions so they don't | Brian Paul | 2004-11-27 | 5 | -825/+881 |
| | | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct. | ||||
* | Set symbol visibility to 'default', if supported by gcc. | Brian Paul | 2004-11-27 | 1 | -0/+7 |
| | |||||
* | make get_static_proc_address() return a _glapi_proc | Brian Paul | 2004-11-27 | 1 | -3/+3 |
| | |||||
* | Use new _glapi_proc typedef instead of void * for function pointers. | Brian Paul | 2004-11-27 | 6 | -58/+73 |
| | | | | Misc clean-ups in glapi.c | ||||
* | Added support for several additional enum-only extensions: | Ian Romanick | 2004-11-24 | 1 | -0/+38 |
| | | | | | | ARB_texture_rectangle, EXT_texture_env_dot3, EXT_texture_mirror_clamp, ATI_texture_mirror_once, IBM_texture_mirrored_repeat, NV_packed_depth_stencil, and NV_texture_rectangle. | ||||
* | Added information about numerous enums to aid the development of automatic | Ian Romanick | 2004-11-24 | 1 | -82/+584 |
| | | | | | | | | | code generation for GLX protocol. This includes adding support for several additional enum-only extensions: EXT_filter_anisotropic, NV_expand_normal NV_fog_distance, NV_texture_env_combine4, SGIS_generate_mipmap, SGIX_clipmap, SGIX_depth_texture, SGIX_fog_offset, SGIX_shadow, SGIX_shadow_ambient, SGIX_texture_coordinate_clamp, SGIX_texture_lod_bias, and SGIX_texture_scale_bias. | ||||
* | Set the "ignore" flag for any functions that the open-source libGL doesn't | Ian Romanick | 2004-11-23 | 1 | -125/+188 |
| | | | | already support GLX protocol for. | ||||
* | applied SPARC patch (freedesktop bug 1898) | Brian Paul | 2004-11-22 | 2 | -4/+4 |
| | |||||
* | include <X11/Xthreads.h> instead of "Xthreads.h" | Brian Paul | 2004-11-22 | 1 | -4/+3 |
| | |||||
* | shorter error messages when calling a GL function without a bound context ↵ | Brian Paul | 2004-11-05 | 1 | -9/+7 |
| | | | | (FDO bug 1775) | ||||
* | obsolete | Brian Paul | 2004-10-28 | 8 | -9895/+0 |
| | |||||
* | minor clean-ups, found with pychecker | Brian Paul | 2004-10-28 | 1 | -2/+1 |
| | |||||
* | name parameter to glGetActiveAttribARB() should not be const. | Brian Paul | 2004-10-28 | 3 | -3/+3 |
| | | | | Added shaderobjects.c to sources file. | ||||
* | renumber ARB_shader_objects and ARB_vertex_shader offsets | Michal Krol | 2004-10-28 | 6 | -241/+241 |
| | | | | | to get BlendEquation have offset 710 fix param name lack with GetInfoLogARB | ||||
* | add support for ARB_shader_objects and ARB_vertex_shader | Michal Krol | 2004-10-27 | 2 | -208/+544 |
| | |||||
* | assign api offsets for ARB_shader_objects and ARB_vertex_shader | Michal Krol | 2004-10-27 | 1 | -43/+43 |
| | |||||
* | regenerate with correct script | Michal Krol | 2004-10-27 | 1 | -961/+1859 |
| |