summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix usage of texture units, when TEX1 is enabled, but not TEX0.Alan Hourihane2005-01-111-3/+4
|
* Get NeHe lesson08 to work. Note: it appears the filtering does not work ↵Vladimir Dergachev2005-01-111-1/+4
| | | | properly. Need to find place where it is broken and put an fprintf() complaining about it.
* Switch back to using immediate mode code - use of AGP space is interfering ↵Vladimir Dergachev2005-01-112-3/+9
| | | | | | with texture management. Ideally, r300_render is ready to be rewritten to use standard Mesa include files, but I don't think I'll get around to it.
* Move the few definitions from r300_lib.h still in use to r300_emit.h.Vladimir Dergachev2005-01-114-59/+89
| | | | | | Rework *vb* function to not use AOS_ARRAY structure, but rather work directly with r300->state.aos. Remove references to r300_lib.h and r300_lib.c Remove r300_lib.[c,h].
* Switch r300_state.c to use r300_fixed_pipelines.h instead of r300_lib.h.Vladimir Dergachev2005-01-111-21/+5
| | | | This fixes potentially buggy memcpy()'s between potentially different structures.
* Copy sample pixel and vertex shaders to r300_fixed_pipelines.hVladimir Dergachev2005-01-111-0/+273
|
* Fixes to cope with the lack of AGP textures. This is all that's neededFelix Kuehling2005-01-103-14/+21
| | | | to support PCI Savages on the Mesa side. Bumped driver date.
* Fallback on PolygonStipple for CLE266 hardware.Alan Hourihane2005-01-103-7/+55
| | | | Only upload stencil configuration when a stencil buffer exists.
* Windows/ReactOS patch (Gregor Anich)Brian Paul2005-01-101-0/+69
|
* More changes to cope with color stride == 0Keith Whitwell2005-01-101-9/+36
|
* Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extrasKeith Whitwell2005-01-101-14/+25
|
* Bring vertex buffer code up to date..Vladimir Dergachev2005-01-102-52/+65
|
* For some reason we need r300Flush when using textures. Perhaps the problem isVladimir Dergachev2005-01-101-2/+10
| | | | with BITBLT_MULTI call ?
* Clean up the code and make it unnecessary to issue extra calls to Setup*ShadersVladimir Dergachev2005-01-103-26/+11
| | | | | in the r300_run_immediate_render function. Bumps up glxgears fps count by about 100 points.
* Port EmitPixelShader from cmdbuf.c to SetupPixelShader in state.c.Vladimir Dergachev2005-01-094-64/+92
|
* Implement a more elaborate hashing scheme for texture formats. Still not ↵Vladimir Dergachev2005-01-094-85/+200
| | | | | | | perfect. Transform EmitVertexShader in cmdbuf.c to SetupVertexShader in state.c. The latter is only temporary and is to be rewritten to auto-generate shaders based on current GL context.
* * Flush and wait in per-primitive fallback functions. Fixes flickeringFelix Kuehling2005-01-081-97/+206
| | | | | | | stars in glplanet. * Refactored vertex format choosing code. Improved the Savage4 version to choose a format suitable for DMA (size = 32bytes) whenever possible.
* Added missing break; to fix infinite recursion between choose_emit_funcFelix Kuehling2005-01-081-0/+1
| | | | and emit_viewport4_bgra4_st2_st2.
* Added state debugging option (SAVAGE_DEBUG=state).Felix Kuehling2005-01-083-1/+5
| | | | | Fixed: Use savageEmitChangedRegs instead of savageEmitContiguousRegs for emitting Savage4.
* Enable libGL to be built with DRI_NEW_INTERFACE_ONLY (but don't do it yet).Adam Jackson2005-01-083-5/+11
|
* Parallel build fix. Multiword variables on the target side of a : getAdam Jackson2005-01-081-2/+4
| | | | | | expanded into individual rules for each word, so parallel builds will start multiple instances to create the server/ symlinks and fail when they already exist.
* Add t_vb_cull.c (Bernard Blackham)Keith Whitwell2005-01-071-0/+1
|
* And fix the obvious bugs in higher-numbered templates.Keith Whitwell2005-01-071-8/+8
|
* Templatize the fastpaths.Keith Whitwell2005-01-071-254/+71
|
* Add some more hardcoded fastpaths.Keith Whitwell2005-01-071-15/+117
|
* Cope with the possibility that incoming vectors may haveKeith Whitwell2005-01-071-65/+24
| | | | | | | count < VB->Count. Remove code to deal with the (should-be) impossible situation of null input vectors.
* Use the 'to' vector to determine the loop count.Keith Whitwell2005-01-071-1/+1
|
* Remove -C flags for install which aren't universally supported.Keith Whitwell2005-01-071-2/+2
|
* Fixed: ptex drawing functions were overridden with standard drawingFelix Kuehling2005-01-071-3/+3
| | | | functions if ANY_RASTER_FLAGS|ANY_FALLBACK_FLAGS were set.
* Add a clean target to remove generated files.Keith Whitwell2005-01-071-0/+3
|
* Add a noop install targetKeith Whitwell2005-01-071-0/+2
|
* Improve the semantics of the 'install' target to make sure the rightKeith Whitwell2005-01-071-3/+10
| | | | | | file is really being installed. Useful if you have multiple versions of a single driver directory hanging around and want to switch between them for testing.
* Add an install targetKeith Whitwell2005-01-071-0/+6
|
* Make clean in the x86 directory.Keith Whitwell2005-01-071-0/+6
| | | | Propogate 'install' target down to dri driver directory.
* Use GNU AS label aliasing, if available. This must be enabled by addingIan Romanick2005-01-072-182/+205
| | | | | | '-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 inIan Romanick2005-01-071-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 Romanick2005-01-072-15/+17
|
* 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-0712-906/+1162
| | | | | | 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-072-5/+6
| | | | multiple of 4 correctly in some cases.
* Revert some accidental cross-merge changes. Remove i915GetString. MigrateIan Romanick2005-01-073-82/+14
| | | | | a couple extensions that appeared in both device-specific card_extensions strings to the shared one.
* In choose_visual() we need to know if we're being called fromBrian Paul2005-01-061-12/+38
| | | | | | glXChooseVisual() or glXChooseFBConfig() so that we handle the GLX_DOUBLEBUFFER and GLX_STEREO tokens correctly. Added some new error checking in those functions too.
* Add radeon 9550 pci id.Aapo Tahkola2005-01-061-0/+2
|
* Add Intel i915GM support, and these extensions.Alan Hourihane2005-01-0615-578/+436
| | | | | | | | | | | | | | | * GL_ARB_texture_cube_map * GL_EXT_blend_equation_separate * GL_ATI_blend_equation_separate * GL_ARB_point_parameters * GL_NV_blend_square * GL_EXT_cull_vertex * GL_ARB_depth_texture * GL_SGIX_depth_texture * GL_ARB_shadow * GL_EXT_shadow_funcs * GL_3DFX_texture_compression_FXT1 (Keith Whitwell, Tungsten Graphics)
* semantic in parameter namesDaniel Borca2005-01-061-3/+3
|
* semantic in parameter names. changed emitter function.Daniel Borca2005-01-061-12/+12
|
* Small Unichrome fixes:Thomas Hellström2005-01-063-2/+5
| | | | | | 1. Unlock hardware before aborting and dumping DMA buffers. Otherwise display system may deadlock. 2. Fix DMA init IOCTL call that got mixed up in one of the previous commits. 3. Fix AGP command alignment
* semantic in parameter namesDaniel Borca2005-01-061-3/+3
|
* solved classic "char*" vs "char[]" conflict. we were mimicking a pointer ↵Daniel Borca2005-01-061-8/+8
| | | | variable at desired location and then we took its address. using array is more intuitive, as they give us the starting address instantly.
* protected against elfish directivesDaniel Borca2005-01-061-1/+1
|