Eric Anholt
|
bf3f0bcf80
|
Fix a missed merge for idr's dispatch changes: failure to do driInitExtensions
in __driCreateNewScreen_20050727 resulted in crashing in dispatch. Rendering
remains broken.
|
2005-10-18 23:48:59 +00:00 |
|
Eric Anholt
|
b83435f53b
|
Attempt to fix libGL on FreeBSD, where the library was being built without any
dependencies, breaking builds of third-party software.
|
2005-10-18 23:36:40 +00:00 |
|
Brian Paul
|
d99c37bca6
|
move _mesa_exec_malloc/free() up near other malloc/free prototypes
|
2005-10-18 15:02:45 +00:00 |
|
Brian Paul
|
1c236fd5c7
|
Lots of clean-ups. Replace __inline__ with INLINE macro. Use the
_mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style
comments.
|
2005-10-18 15:01:19 +00:00 |
|
Keith Whitwell
|
005469005d
|
Add _mesa_exec_malloc() and _mesa_exec_free() for allocating
executable memory. Based on Thomas Hellstrom's patch.
TODO: glapi.c also needs this, but cannot access this code.
|
2005-10-18 13:29:59 +00:00 |
|
Roland Scheidegger
|
05e1a49ab4
|
on r200, don't emit fog coords when fog isn't actually enabled. Fix bug with vtxfmt not causing a fallback when fog coords are active.
|
2005-10-18 13:09:53 +00:00 |
|
Brian Paul
|
730200303d
|
added some header files to DRI_FILES (Donnie Berkholz)
|
2005-10-17 22:38:44 +00:00 |
|
Roland Scheidegger
|
2d61d30117
|
add GL_EXT_fog_coord support to radeon driver. No vtxfmt code (just uses fallback) yet. May cause a tcl fallback if fog coord is used together with separate specular lighting. Fog factors are precomputed and then submitted instead of the raw coords (chip limitation, same as on r200).
|
2005-10-17 00:54:12 +00:00 |
|
Roland Scheidegger
|
dd5a86339f
|
fix some obvious typos in radeon_reg.h (only currently unused bits affected)
|
2005-10-16 22:45:59 +00:00 |
|
Roland Scheidegger
|
247f3b3e81
|
enable cube maps on radeon (#2241 on bugzilla). No vtxfmt code yet (just generates vfmt fallback). Code by Andreas Stenglein, some small adjustments by me.
|
2005-10-15 23:45:53 +00:00 |
|
Roland Scheidegger
|
ccf1378131
|
fix two bugs wrt calculating max possible texture sizes for texture rectangles/cube maps.
|
2005-10-15 01:07:59 +00:00 |
|
Roland Scheidegger
|
30daa75293
|
enable 3rd texture unit on radeon (default still 2 enabled units). Disable some multitexcoord codegen stuff noone understands to make it work. Replace most code testing explicitly for unit 0 and 1 with loops instead of adding test for unit 2, smaller/more readable code at the cost of maybe some slight performance hit. (Code provided by Andreas Stenglein, some adjustments by me.)
|
2005-10-13 14:30:20 +00:00 |
|
Roland Scheidegger
|
ed2f8635f0
|
make sure texture matrix is updated often enough with texture rectangles
|
2005-10-13 00:35:51 +00:00 |
|
Roland Scheidegger
|
6ff023fe3a
|
fix potential bug when emitting elts with lots of components
|
2005-10-13 00:33:46 +00:00 |
|
Brian Paul
|
96e1ccedec
|
remove unused _mesa_log2() (bug 4468)
|
2005-10-12 19:46:48 +00:00 |
|
Brian Paul
|
c81de36223
|
change includes (bug 4468)
|
2005-10-12 19:46:29 +00:00 |
|
Brian Paul
|
f525d3e139
|
fix GLAPI/extern problem (bug 4757)
|
2005-10-12 19:37:38 +00:00 |
|
Roland Scheidegger
|
d084c3d4dc
|
Minor driver cleanup. Remove unnecessery/unneded radeon/r200AllocDmaRegionVerts function. No longer compile the radeon_compat stuff which was for drm 1.1 compatibility presumably but unused since about forever into the driver.
|
2005-10-11 17:55:54 +00:00 |
|
Ian Romanick
|
44b1bd7597
|
ifdef out some code to make glapi.c linkable in libglx.so (on the
server). This isn't strictly needed yet, but it doesn't hurt anything
either. However, the patches for fd.o bug #2996 require this to build.
|
2005-10-11 16:56:39 +00:00 |
|
Brian Paul
|
e7325294d0
|
check for PIXMAP in clip routine (SF bug 1323215)
|
2005-10-11 01:21:40 +00:00 |
|
Brian Paul
|
ac04a4fa7f
|
fixed constant fogcoord bug (#4729)
|
2005-10-10 18:39:34 +00:00 |
|
Ian Romanick
|
8d29d463a3
|
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
|
2005-10-10 17:11:02 +00:00 |
|
Roland Scheidegger
|
1c0f11046a
|
do not set format of the incoming vertices needed for fog_coord in the generic state functions. This is done in the vtxfmt/hwtcl/swtcl pathes respectively.
|
2005-10-08 23:41:20 +00:00 |
|
Roland Scheidegger
|
30f2d6f0cb
|
remove code dealing with drm versions older than 1.3. The driver requires (and requests) 1.3 since quite some time already to work at all.
|
2005-10-08 23:36:35 +00:00 |
|
Brian Paul
|
b4269c07f8
|
change test for presence of accum buffer
|
2005-10-08 21:36:38 +00:00 |
|
Brian Paul
|
cf085db28a
|
Query/print GL_RED/GREEN/BLUE/ALPHA_BITS
|
2005-10-08 14:42:51 +00:00 |
|
Brian Paul
|
474f28e57c
|
Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,
etc. after calling glRenderBufferStorageEXT gave undefined results.
|
2005-10-08 14:41:17 +00:00 |
|
Brian Paul
|
81a22ef539
|
MATH_DEBUG changes from bug #4468.
|
2005-10-07 17:18:51 +00:00 |
|
Keith Whitwell
|
f2802c40ff
|
Populate arb_fp_instruction negate field correctly.
|
2005-10-07 09:55:26 +00:00 |
|
Brian Paul
|
dfe7aedf84
|
Fix a number of point size attenuation problems.
Move size clamping into the rasterization function.
|
2005-10-07 03:56:29 +00:00 |
|
Roland Scheidegger
|
9dd973ec3b
|
fix problems with some texgen modes by putting the chip into LOCAL_VIEWER mode for lighting (potentially causes slight misrenderings with the specular components of lights if the light model is not set for local viewer).
|
2005-10-05 22:40:09 +00:00 |
|
Roland Scheidegger
|
24a44d74b6
|
reverse accidentally commited part of last commit (makes it compile again...).
|
2005-10-05 20:28:31 +00:00 |
|
Roland Scheidegger
|
44dace86ea
|
enable point sizes larger than 1 (for aliased points only) by using the hw point sprite primitive.
|
2005-10-05 16:15:16 +00:00 |
|
Brian Paul
|
26f69d87a4
|
fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)
|
2005-10-05 13:36:05 +00:00 |
|
Roland Scheidegger
|
ea20c324ae
|
fix typo in radeon_maos_arrays.c from last commit (code currently unused, that path is compile-tested only).
|
2005-10-05 13:09:15 +00:00 |
|
Roland Scheidegger
|
11f763f505
|
remove unneeded parameter from radeonUploadTexMatrix.
|
2005-10-05 12:38:07 +00:00 |
|
Roland Scheidegger
|
a3c8de2fa7
|
Remove the tcl fallback for texture rectangle (by manipulating the texture matrix) (tested with texrect). Enable texgen for r/q coordinates (tested with projtex). Fix projected texcoords when an app uses TexCoord3x and the texture matrix to save on vertex size (fixes ut2k3 shadow projectors in tcl mode). From texgenmix, all cases with all texgen or no texgen work, with the exception of texgen enabled for s/t only, this one works with hw tcl, but not with vtxfmt (suspect issues with vtxfmt), the mixed cases do not work (which is expected, and should be rare in practice), with the exception of the first one which hits a tcl fallback.
|
2005-10-05 11:42:44 +00:00 |
|
Brian Paul
|
06f606ce57
|
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
|
2005-10-05 04:07:50 +00:00 |
|
Brian Paul
|
198a88923c
|
s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.
|
2005-10-05 02:11:15 +00:00 |
|
Brian Paul
|
8184ec9fb6
|
added GL_INVALID_FRAMEBUFFER_OPERATION_EXT to gluErrorString()
|
2005-10-05 02:08:53 +00:00 |
|
Brian Paul
|
a9fc8ba756
|
In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.
|
2005-10-05 01:48:07 +00:00 |
|
Brian Paul
|
91802fdf73
|
check if deleting currently bound frame/renderbuffer object
|
2005-10-04 16:01:02 +00:00 |
|
Brian Paul
|
7edf1e80bd
|
glBindTexture changes, new assertions
|
2005-10-04 15:16:27 +00:00 |
|
Brian Paul
|
9e920fb93c
|
fix glIsRender/FramebufferEXT() assertions
|
2005-10-04 15:01:51 +00:00 |
|
Brian Paul
|
bc6cced479
|
fix behaviour of glIsFrame/Renderbuffer()
|
2005-10-04 15:01:27 +00:00 |
|
Brian Paul
|
14c38b8f4f
|
Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer
operations.
|
2005-10-04 14:49:30 +00:00 |
|
Brian Paul
|
eb063cfa38
|
change initialization of renderbuffer DepthBits
|
2005-10-04 14:48:24 +00:00 |
|
Adam Jackson
|
199ef86b5e
|
Bug #1155: Define IEEE_ONE on Super-H as well.
|
2005-10-03 20:02:07 +00:00 |
|
Brian Paul
|
a6296dd2c3
|
disable a warning
|
2005-10-03 16:11:47 +00:00 |
|
Brian Paul
|
071b30aba1
|
added a few calls to _mesa_update_framebuffer_visual()
|
2005-10-03 16:11:35 +00:00 |
|