Ian Romanick
365a0a7c15
Missed the commit of glxext.c yesterday.
...
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-23 20:06:52 +00:00
Ian Romanick
2b1ec683d3
Put quotes around $(CC) and $(CXX) so that 'CC=cache gcc' will work.
2005-02-23 19:24:30 +00:00
Brian Paul
ba0fe1832e
minor changes to aid debugging, and a new comment
2005-02-23 16:54:18 +00:00
Felix Kuehling
540b260cbd
With Savage DRM version 2.3.x or later use event counters for texture
...
heap aging, similar to the way it's done in the i810 and i855 drivers.
This avoids idling the engine on every texture upload.
2005-02-23 16:37:27 +00:00
Brian Paul
8f5f6b3d59
Sort the enums in the Python code, instead of at runtime. (Zack Rusin)
2005-02-23 16:36:17 +00:00
Ian Romanick
6614766f3e
Corrected the value for X_GLrop_SecondaryColor3svEXT.
2005-02-23 00:47:11 +00:00
Ian Romanick
57b5e8538e
Missed the Makefile with the previous commit.
2005-02-23 00:24:18 +00:00
Ian Romanick
fdb07636f2
Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. This
...
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-22 22:36:31 +00:00
Brian Paul
cb83f62e30
now generated with Python script
2005-02-22 15:42:30 +00:00
Brian Paul
78123bb38b
generate enums.c file (Zack Rusin)
2005-02-22 15:39:46 +00:00
Aapo Tahkola
3c69df8a70
New elt buffer code should be fairly stable.
2005-02-22 05:16:42 +00:00
Vladimir Dergachev
e00b729716
Add code to autogenerate vertex shaders.
...
This is needed for multitexturing to work properly.
2005-02-21 06:09:30 +00:00
Dave Airlie
a2990a9d73
Add DESTDIR install target
2005-02-21 00:20:19 +00:00
Dave Airlie
dee1c795c2
add more functionality to miniglx for glitz
2005-02-20 10:46:34 +00:00
Aapo Tahkola
eb6560bf2b
Adding support for front buffer mode, removing some code we dont really need and some new debugging stuff.
2005-02-20 03:01:09 +00:00
Aapo Tahkola
35bc4ac680
Minor fix to border and blend color.
2005-02-19 16:30:56 +00:00
Aapo Tahkola
ff3ce3dd96
Disabling some fallbacks as they cause misc programs not to start and adding some comments.
2005-02-19 03:04:08 +00:00
Aapo Tahkola
42896b2a18
Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
2005-02-19 02:25:53 +00:00
Nicolai Haehnle
10b892af96
Print an error if idling the engine before the buffer copy fails.
...
Be a bit more useful about the sync message after flushing command buffers.
Add an "allmsg" debug name that enables all log messages but does not
enable syncing.
2005-02-18 22:07:20 +00:00
Michel Dänzer
9605806d81
fd.o bug #2576 : Add support for ATI RN50/ES1000. (ATI Technologies Inc.)
2005-02-18 20:03:33 +00:00
Nicolai Haehnle
3f22c0966d
r300RefillCurrentDmaRegion: Retry buffer acquisition only once, after
...
waiting for the engine to idle. There's no way for another buffer to
become free anyway once the engine is idle.
2005-02-18 18:57:38 +00:00
Nicolai Haehnle
8281cca82f
Always submit command buffers, even when there are no cliprects,
...
so that we no longer leak DMA buffers (plus, this just might fix some
state-setting related problems, if there were any - but that's unlikely).
Update the DRM to cope with cmdbuf->nbox == 0.
2005-02-18 18:28:52 +00:00
Aapo Tahkola
4d73f1af35
We dont need to call r300EmitAOS if we arent going to draw anything(r300_get_num_verts returns 0).
2005-02-18 16:58:19 +00:00
Nicolai Haehnle
26d812ae00
Reset nr_released_bufs to 0 after the command buffer has been submitted.
...
Added a more verbose comment about nr_released_bufs in r300_context.h
2005-02-18 16:34:14 +00:00
Brian Paul
f448e632b6
XMesaGetDepthBuffer() returned wrong bytesPerValue (Karl Schultz)
2005-02-18 14:49:27 +00:00
Brian Paul
49f7430b12
s/0/NULL/ (Jeff Muizelaar)
2005-02-18 14:44:00 +00:00
Nicolai Haehnle
d73b929ef2
Fix: RADEON_DEBUG is a bitfield, so use & to check for flags, not ==
2005-02-18 11:27:24 +00:00
Nicolai Haehnle
6f37e76272
Fixing *lots* of warning messages, especially concerning unportable
...
whitespace before preprocessor commands.
Please, can you try to keep the warnings down? Try running make with
make -s sometime to see just how bad an offender the current code is.
2005-02-17 22:07:32 +00:00
Nicolai Haehnle
74477b24a8
RADEON_DEBUG is a bitfield, so use & instead of ==.
...
Also, put the hash in preprocessor directives at the beginning of the line
to fix error messages.
2005-02-17 21:45:20 +00:00
Aapo Tahkola
78152f85e7
Switching to start_index32_packet.
2005-02-17 18:16:46 +00:00
Aapo Tahkola
002a64cc48
magic_1 handling...
2005-02-17 18:02:28 +00:00
Ben Skeggs
ca4116bfce
oops.
2005-02-17 14:34:51 +00:00
Brian Paul
0846e52d46
s/0/NULL/ (Jeff Muizelaar)
2005-02-17 14:12:50 +00:00
Brian Paul
6e2fd96627
remove extern (Jeff Muizelaar)
2005-02-17 14:11:56 +00:00
Ben Skeggs
a9eb712fc9
Make immediate code do a LOAD_VBPNTR again
2005-02-17 12:37:40 +00:00
Dave Airlie
934be3266f
fix some 0->NULLs
2005-02-17 11:13:59 +00:00
Vladimir Dergachev
c8af2b5a52
Cleanup formatting a little bit.
2005-02-17 06:39:09 +00:00
Brian Paul
f321f16e83
fix non-Win32 definition of GLUTAPIENTRY, remove some cruft
2005-02-16 19:52:35 +00:00
Aapo Tahkola
41d180c899
Support for idx buffers. Leaving it on by default as it doesnt seem to cause any lock ups nor other issues. Tests with one object using elts should pass. Introducing more than one object will cause indices to mix up as far as i can see. DRM update is needed for this code to work\!
2005-02-16 19:04:32 +00:00
Rune Petersen
8eeef423e9
small cleanup, remove some warnings
2005-02-16 16:52:11 +00:00
Brian Paul
1ff8f50f2f
fixed problems with parse_float() (fd.o bug 2520)
2005-02-16 15:08:29 +00:00
Brian Paul
2c28dd892c
s/0/NULL/ (Jeff Muizelaar)
2005-02-16 15:02:25 +00:00
reist
5c2f3d5d3a
get two textures to work
2005-02-16 10:38:57 +00:00
Ben Skeggs
d588311dbb
Don't enable fog. It's broken
2005-02-16 06:24:07 +00:00
Ben Skeggs
f446027656
Share routing code between immd/vb. Fix breakage of vertex programs in vb mode.
2005-02-15 19:07:35 +00:00
Dave Airlie
233d93d47e
Add missing texture formats for completeness
2005-02-15 11:20:11 +00:00
Dave Airlie
70f2be9cc6
add some missing texture formats and bits from r200 docs
2005-02-15 10:44:20 +00:00
Jerome Glisse
9e5a0b8895
Added texture format table for big endian (this is a tempory hack).
2005-02-15 10:40:34 +00:00
Dave Airlie
09298228c6
add EnableExtension so r200 enables all its extensions, add mesa memory
...
extension entry points
2005-02-15 08:40:24 +00:00
Roland Scheidegger
e82cb7852b
remove accidentally commited printf for tiling support
2005-02-14 17:37:52 +00:00