Brian
ddbfa8c462
added git on Windows section
2008-02-28 08:03:34 -07:00
Brian
cef71f58c9
a few words about how the cell driver works.
2008-02-28 08:03:34 -07:00
Xiang, Haihao
3ffd11f71d
mesa: separate shader program object from shader object.
...
Currently a callback delete_shader_cb is used for deleting shader
and shader program objects. Mesa detaches all attached shaders in
_mesa_free_shader_program_data when deleting shader program objects. However
it is likely that these shaders have been freed in _mesa_free_shader,
which will result in unexpected behaviour. This fix uses a single callback for
shader program objects and deletes shader program objects before shader objects.
2008-02-28 21:32:36 +08:00
Zou Nan hai
0da03c0aa9
[intel] fix compressed image height
2008-02-28 16:49:38 +08:00
José Fonseca
60159c1b09
Convert crlf->lf line endings.
...
Windows/DOS users should enable core.autocrlf from now on:
git config --global core.autocrlf true
2008-02-28 16:34:32 +09:00
Jose Fonseca
90a036b337
Disable autocrlf for Visual Studio project files.
2008-02-28 12:34:01 +09:00
Brian
cabcee9ea9
document cell -DSPU_MAIN_PARAM_LONG_LONG flag
2008-02-27 18:02:23 -07:00
Christoph Brill
00bc91ac64
r300: properly handle GL_POINT in glPolygonMode
...
Until now the polygon mode was completely turned of when you used
GL_POINT. For me it looked buggy to completely disable the polygon
mode for FrontMode and BackMode if any of these was GL_POINT.
2008-02-27 22:06:38 +01:00
Kristian Høgsberg
60c0f09abb
intel: Always use intelInitExtensions() for initializing extensions.
2008-02-27 11:24:29 -05:00
Markus Amsler
c34b024cf4
r300: add artificial output to match fragment program input
2008-02-27 02:06:17 +01:00
Markus Amsler
12a4a74e94
mesa: set input read only on success
2008-02-27 02:04:06 +01:00
Kristian Høgsberg
20b8bff49c
i965: Setup framebuffer texture in meta_draw_region.
...
With DRI2 we there is no screen region until a drawable is bound to
the context. Set up the framebuffer texture in meta_draw_region instead
which should also handle the case where the draw region changes as a
result of resizing a redirected window or resizing the screen.
2008-02-26 18:01:13 -05:00
Eric Anholt
451bd1941e
[965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.
2008-02-26 13:58:01 -08:00
Eric Anholt
09aa4b3690
[965] remove dead brw_parameter_list_state_flags.
...
This was replaced by Mesa core code.
2008-02-26 13:57:49 -08:00
Christoph Brill
6e3dde8a54
[r300] fix wow-pinkness regression. Fixed by Markus Amsler
2008-02-26 22:10:54 +01:00
Christoph Brill
bfb7cd653a
[r300] Document based on chapter 10.4 and 10.5
...
This commit adds most of the graphics backend registers and of the rasterizer
registers. Again, some minor bugs were found and marked with TODO or even
fixed.
2008-02-26 21:45:58 +01:00
Zou Nan hai
9bd2cb7f90
[i915] fix texture size exceed limit case when running celestia
2008-02-26 17:20:12 +08:00
Thomas Hellstrom
32879e1461
[intel] Handle -EAGAINs correctly in execbuffer.
...
Dont stop on fence creation errors.
2008-02-26 09:19:27 +01:00
Kristian Høgsberg
f1c82bf9a4
A few more fixes to the dlsym() fix.
...
Argh, seriously, I did test that, I just forgot to amend the commit
before pushing.
2008-02-25 22:24:09 -05:00
Dave Airlie
0a64ffb308
dri2: dlsym requires some quotes..
2008-02-26 12:28:45 +10:00
Kristian Høgsberg
129b9ad16f
Use dlsym() to avoid referencing __dri2DriverInitScreen.
...
Sort-of a stop-gap workaround. There are a couple of nicer ways to
do this that doesn't require dlfcn.h, but they're more invasive.
2008-02-25 20:02:25 -05:00
Kristian Høgsberg
bcecea6ea6
autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.
...
Also, use -include to avoid error message when make initially fails to
include the non-existent depend file.
2008-02-25 19:02:07 -05:00
Kristian Høgsberg
7381ccab44
intel: Add missing include file to silence last couple of warnings.
2008-02-25 19:02:07 -05:00
Kristian Høgsberg
54bd506c0f
intel: Initialize color and spec arrays in LOCAL_VARS macro.
...
Avoids spamming compilation output with tons of warnings about
use of possibly uninitialized variables.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg
61c3c2c363
Change GetCompressedTexImage in dd_function_table to not take const pointers.
...
They're changed by the intel driver implementation and thus not const.
Fixes compilation warning.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg
6e8d21d72f
Remove GetMSC DriverAPI function.
...
The DriverAPI is internal to the DRI drivers and GetDrawableMSC
obsoletes GetMSC. Also, since the DRI driver interface has not yet
been released, just drop the getMSC function from the DRI interface
instead using the ABI preserving version mechanism.
Finally, using void pointer privates in the DRI interface is not allowed,
always pass the actual types around (__DRIdrawable in this case) to
enhance type safety and readability of the code.
2008-02-25 19:02:06 -05:00
Kristian Høgsberg
b49a8f805a
Remove now unused setTexOffset from __DriverAPIRec.
2008-02-25 19:02:06 -05:00
Oliver McFadden
57f310b2c9
r300: Corrected a cache flush bug in r300EmitCacheFlush.
...
Corrects commit 74ae5a875d
.
2008-02-25 23:18:15 +00:00
Oliver McFadden
40a3b16183
r300: Moved the state code into separate functions.
2008-02-25 22:52:27 +00:00
Christoph Brill
0253357e16
[r300] revert complete stupid changes
2008-02-25 23:20:23 +01:00
Christoph Brill
7d83618f99
[r300] Document registers completed 10.1 to 10.3
2008-02-25 23:08:02 +01:00
Christoph Brill
4cba59f8e7
[r300] Add more register from the AMD spec
2008-02-25 23:04:17 +01:00
Christoph Brill
ed29d145f4
[r300] Document POLY_MODE and add some TODOs that might have triggered some bugs
2008-02-25 22:55:13 +01:00
Christoph Brill
090e2adaa8
[r300] Document some registers in the POINT area
2008-02-25 22:45:36 +01:00
Christoph Brill
a7fa3e093c
[r300] Further document and add register definitions (found bugs in LINE handling)
2008-02-25 22:36:16 +01:00
Christoph Brill
60e1703727
[r300] Sync fog color register names
2008-02-25 21:48:25 +01:00
Christoph Brill
fa088bfe9d
[r300] Sync fog register names to the AMD spec
2008-02-25 21:44:11 +01:00
Christoph Brill
d08b1fe2a4
[r300] Further document FG_ALPHA_FUNC (renamed from R300_PP_ALPHA_TEST) and finally add some information to R300_RB3D_DSTCACHE_CTLSTAT
2008-02-25 21:35:13 +01:00
Christoph Brill
f399ed7d55
[r300] Document R300_RB3D_COLORMASK properly and rename it to RB3D_COLOR_CHANNEL_MASK
2008-02-25 21:04:23 +01:00
Christoph Brill
6087b00b27
[r300] Add register definitions based on AMD spec starting with chapter 10
2008-02-25 20:54:23 +01:00
Christoph Brill
a195f7162a
[r300] Add some more register from the AMD spec in the area of AARESOLVE
2008-02-25 20:30:40 +01:00
Christoph Brill
74ae5a875d
[r300] Sync the names for Z-Buffer registers with the AMD spec
...
This patch tries to get the Z-Buffer register names in sync with the AMD spec
so that talking to AMD engineers is much simpler.
2008-02-25 20:24:00 +01:00
Christoph Brill
1b51c135fc
[r300] Add more struct names for r300_hw_state
2008-02-25 20:20:59 +01:00
Christoph Brill
02926a2977
[r300] rename all unkown structs r300_hw_state to readable names
2008-02-25 20:18:10 +01:00
Christoph Brill
86039ae413
[r300] Add RB3D_DISCARD_SRC_PIXEL_LTE_THRESHOLD and some HyperZ defintions
2008-02-25 20:15:20 +01:00
Christoph Brill
df344b171c
[r300] Replace more magic number by register definitions from AMD
2008-02-25 20:11:46 +01:00
Christoph Brill
a3cee7cafb
[r300] clean some more magic registers based on AMD spec
2008-02-25 20:08:33 +01:00
Christoph Brill
6051e68a64
[r300] Update some magic registers to real names
2008-02-25 20:03:35 +01:00
Christoph Brill
d1f2d56a75
[r300] Document Z-buffer related register ZB_BW_CNTL
2008-02-25 20:01:27 +01:00
Christoph Brill
091225eebb
[r300] document VAP_CNTL based on AMD spec
2008-02-25 19:50:05 +01:00