Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant instructions from fixed pipelines, looks like they do not ↵ | Vladimir Dergachev | 2005-02-03 | 2 | -35/+13 |
| | | | | do anything, at least on my hardware. | ||||
* | Mark ZBIAS definitions. | Vladimir Dergachev | 2005-02-03 | 1 | -2/+2 |
| | |||||
* | This was too optimistic sorry - all that register does is something weird ↵ | Vladimir Dergachev | 2005-02-03 | 1 | -8/+1 |
| | | | | with polygon culling. | ||||
* | Get Polygon offset fill to work. | Vladimir Dergachev | 2005-02-03 | 5 | -23/+68 |
| | | | | Make WARN_ONCE message more informative. | ||||
* | Added a bunch of extensions that were previously supported but weren't | Ian Romanick | 2005-02-03 | 3 | -9/+229 |
| | | | | | | 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. | ||||
* | Check for heap == NULL before driSetTextureSwapCounterLocation. | Felix Kuehling | 2005-02-02 | 1 | -2/+5 |
| | |||||
* | Don't try to kick textures from a NULL tex heap. | Felix Kuehling | 2005-02-02 | 1 | -0/+4 |
| | |||||
* | Fixed flushing of client-side vertex buffers. | Felix Kuehling | 2005-02-02 | 1 | -52/+53 |
| | |||||
* | Fixed some debug output that was unconditionally enabled. | Felix Kuehling | 2005-02-02 | 1 | -5/+6 |
| | |||||
* | clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵ | Brian Paul | 2005-02-02 | 1 | -4/+4 |
| | | | | MAX_WIDTH/HEIGHT | ||||
* | Changed parts of r300_setup_routing to use WARN_ONCE. | Aapo Tahkola | 2005-02-02 | 2 | -11/+15 |
| | |||||
* | Small refactor. Add glXFunctionIterator, which derrives from | Ian Romanick | 2005-02-02 | 5 | -56/+84 |
| | | | | | | | | | | | | | glFunctionIterator and is used by GlxProto. The difference between the two iterator classes is that glXFunctionIterator skips functions that the GLX protocol code does not care about. Replace all the remaining occurances of glParameter::p_count_parameters and glFunction::count_parameters with the count_parameter_list. Add GlxProto::size_call to generate the C code to calculate 'compsize'. These trivially modify the generated code. | ||||
* | Add a missing break and a reminder. | Aapo Tahkola | 2005-02-01 | 1 | -1/+2 |
| | |||||
* | Implement appropriate src checks for attribs/params. | Aapo Tahkola | 2005-02-01 | 1 | -62/+133 |
| | |||||
* | Implemented bunch of ops. | Aapo Tahkola | 2005-02-01 | 1 | -8/+132 |
| | |||||
* | Vertex programs work now with some restrictions. I expect arbvptorus to work | Aapo Tahkola | 2005-02-01 | 4 | -139/+320 |
| | | | | | correctly when normals are delivered. Please note that some programs only start in vb mode as there is something wrong in immediate mode vb code. | ||||
* | Make WARN_ONCE messages more informative.jump_and_click | Vladimir Dergachev | 2005-02-01 | 2 | -2/+3 |
| | |||||
* | Reduce noiseness of the driver. | Vladimir Dergachev | 2005-02-01 | 5 | -4/+8 |
| | |||||
* | Get alpha in textures to work properly. | Vladimir Dergachev | 2005-02-01 | 4 | -3/+16 |
| | |||||
* | Properly set ABLEND and CBLEND registers. The older code worked, but by ↵ | Vladimir Dergachev | 2005-02-01 | 1 | -3/+5 |
| | | | | accident. | ||||
* | Looks like we can define FIRE_VERTICES correctly. | Vladimir Dergachev | 2005-02-01 | 1 | -4/+4 |
| | |||||
* | It helps to print actual values instead of random ones. | Vladimir Dergachev | 2005-02-01 | 1 | -1/+2 |
| | |||||
* | Small refactor. Move several utility functions from glX_XML.py to | Ian Romanick | 2005-02-01 | 4 | -64/+58 |
| | | | | | | | | | FilterGLAPISpecBase (in gl_XML.py). When these functions are used to emit common #define lines, the will automatically be undefined in FilterGLAPISpecBase::printFooter if header_tag is set (i.e., the file is a header file). These changes do not modify the generated code. | ||||
* | Add GlxProto::createEnumFunction and add a 'context' parameter to the | Ian Romanick | 2005-02-01 | 3 | -2/+303 |
| | | | | | | | | | | | | | | | | | | | glXEnumFunction constructor. The allows sub-classes of GlxProto to over-ride the concrete class used for glXEnumFunction. In addition to tracking p_count_parameters in glParameter, break the comma separated list of parameter names into a Python list called count_parameter_list. It is now possible to query if a name is the name of one of the count parameters just by comparing param.count_parameter_list.count(n) to zero. Eventually the remaining uses of p_count_parameters will be replaced with uses of count_parameter_list. Make sure that 'void *' parameters are handled correctly in glParameter::size_string. Add PrintGlxReqSize_h and PrintGlxReqSize_c. These classes emit prototypes and functions used on the server-side to determine the expected size of an incoming GL command. | ||||
* | Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless. | Adam Jackson | 2005-01-31 | 65 | -223/+3 |
| | |||||
* | makefile update (readtex, showbuffer) | Daniel Borca | 2005-01-31 | 2 | -8/+10 |
| | |||||
* | Add magic sequence to prevent ClearBuffer from locking up. | Vladimir Dergachev | 2005-01-31 | 5 | -17/+61 |
| | | | | | Change Polygon.OffsetFill from fallback to warn once. Quake demo now works, modulo texture rendering issues due to absent pixel shader pipeline. | ||||
* | Use SecondaryColorPtr, not ColorPtr[1] (the latter is NULL). | Vladimir Dergachev | 2005-01-31 | 3 | -3/+3 |
| | | | | This fixes segfault in tuxracer-demo. It locks up after this though. | ||||
* | My bad, the old code works fine if updated to newer Mesa tree. | Vladimir Dergachev | 2005-01-30 | 1 | -3/+0 |
| | |||||
* | struct ati_fragment_shader was not defined anywhere, define it to get ↵ | Vladimir Dergachev | 2005-01-30 | 1 | -0/+3 |
| | | | | r300_vertexprog.c to compile. | ||||
* | fix max viewport query | Brian Paul | 2005-01-30 | 2 | -7/+9 |
| | |||||
* | Fix for compiler warnings. | Aapo Tahkola | 2005-01-30 | 1 | -1/+2 |
| | |||||
* | add number of passes count to ati_fragment_shader | Dave Airlie | 2005-01-30 | 2 | -1/+13 |
| | |||||
* | * Fixed uploading of textures of certain sizes. | Felix Kuehling | 2005-01-29 | 4 | -26/+168 |
| | | | | | | | | * When glTexSubImageND is used, track the set of changed tiles in a bit vector and upload only dirty tiles later. This should improve the performance of dynamic light maps and gl movie player plugins. * Renamed debug item "lru" to "tex". Indicate which levels are uploaded completely or partially. | ||||
* | Added 0x4e54 (Thinkpad r50p) as PCI_CHIP_RV350_NP | hmarson | 2005-01-29 | 1 | -0/+1 |
| | |||||
* | Beginings of program generation. This code havent been tested nor hooked up. | Aapo Tahkola | 2005-01-29 | 3 | -1/+304 |
| | |||||
* | remove stray span.y++ | Brian Paul | 2005-01-29 | 1 | -1/+1 |
| | |||||
* | added osmesa16 stuff | Brian Paul | 2005-01-29 | 1 | -0/+6 |
| | |||||
* | assorted fixes | Brian Paul | 2005-01-29 | 2 | -18/+35 |
| | |||||
* | fix initial viewport size bug | Brian Paul | 2005-01-29 | 1 | -15/+12 |
| | |||||
* | added missing glFinish() | Brian Paul | 2005-01-29 | 2 | -0/+10 |
| | |||||
* | Cleaning up. | Aapo Tahkola | 2005-01-29 | 1 | -88/+93 |
| | |||||
* | Refactor the code to emit multiple-inclusion protection to | Ian Romanick | 2005-01-28 | 10 | -47/+34 |
| | | | | | | | | | 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. | ||||
* | move file | Michal Krol | 2005-01-28 | 6 | -0/+0 |
| | |||||
* | Properly annotate variable-length output parameters. Make sure that the | Ian Romanick | 2005-01-28 | 3 | -89/+100 |
| | | | | | client-side code doesn't try to calculate the size of the output parameters. The server will tell the client how big it is. | ||||
* | Fix some get / set errors with COLOR_TABLE_*. SCALE and BIAS can be | Ian Romanick | 2005-01-28 | 2 | -25/+20 |
| | | | | | parameters to GetColorTableParameter[if]v. FORMAT, WIDTH, and the SIZE enums cannot be parameters to ColorTableParameter[if]v. | ||||
* | Slightly modify the meaning of the 'handcode' attribute in a 'glx' element. | Ian Romanick | 2005-01-28 | 3 | -24/+41 |
| | | | | | | | | | | | The attribute can now take one of 4 states. "false" (the default value) means that no handcoding is required for the function. "client" means that the function must be handcoded on the client-side only. "server" means that the function must be handcoded on the server-side only. "true" menas that the function must be handcoded on both the client-side and the server-side. Version 1.14 of glX_proto_send.py accidentally contained a line of this change. | ||||
* | Add an option to emit extra debug code in the generated protocol functions. | Ian Romanick | 2005-01-28 | 1 | -4/+29 |
| | | | | | | | | | | | | | The debug version of indirect.c has proven very helpful during the development of new client-side and server-side GLX protocol code. This is put here instead of in the DISPATCH and DISPATCH_RETURN macros in dispatch.c for two reasons. 1. I only want the debug information when indirect-rendering is used. 2. Functions that require a reply from the server, some of which do not have a return value (e.g., glFlush, glFinish, glGetLightfv, etc.), do not need the extra glFinish call. | ||||
* | Fix wrong comment. | Aapo Tahkola | 2005-01-28 | 1 | -6/+6 |
| | |||||
* | Forgot one comment... | Aapo Tahkola | 2005-01-28 | 1 | -0/+1 |
| |