Roland Scheidegger
b1c640deda
unbreak 3d textures (typo when setting tex layout)
18 лет назад
Brian
a8676c45cc
if light position is local, treat it as a homogeneous coord and divide by W (see bug 11009)
18 лет назад
Brian
9e8a961dd7
Overhaul/simplify SWvertex and SWspan attribute handling.
Instead of separate fog/specular/texcoord/varying code, just treat all of
them as generic attributes. Simplifies the point/line/triangle functions.
18 лет назад
Brian
aa133a9dae
add missing right-paren
18 лет назад
Oliver McFadden
9df4f842d5
r300: Added TODO comment regarding immediate mode implementation.
18 лет назад
Oliver McFadden
62b6eef0d7
r300: Just use "inline" rather than "__inline__".
18 лет назад
Brian
a2305ebfa2
need to copy new 1D/2D array texture objects in _mesa_PushAttrib()
18 лет назад
Brian
74519c4231
Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.
If an app (like progs/samples/blendxor.c) includes both gl.h and glext.h
this typedef will get hit in both headers, causing an error.
Possibly work around by bringing GL_NV_geometry_program4 items into gl.h.
18 лет назад
Brian
80a5798719
added GL_EXT_texture_from_pixmap
18 лет назад
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
18 лет назад
Brian
7ace7cfba4
added texture_from_pixmap functions
18 лет назад
Brian
fd54564f78
Implement GLX_EXT_texture_from_pixmap.
Could be done more efficiently... but works.
18 лет назад
Roland Scheidegger
eb6418b895
fix miptree layout (i915) for small compressed mipmaps
This seems to work now. Also fix i945 set_level_info, need to match i915
behaviour for storing mip height, as it's assumed to be the mip width
(in texels) elsewhere and the division by 4 is done later (untested).
18 лет назад
Roland Scheidegger
25551bdfad
fix copy & paste bug of previous commit, breaking dxt5 formats
18 лет назад
Roland Scheidegger
28f53ace33
fix miptree comparison with compressed textures
TexelBytes is always 0 with compressed textures, thus would never match
mt->cpp. This caused constant blitting around of textures, and it fixes at
least the horrible performance of Q3 if compressed textures are enabled.
18 лет назад
Roland Scheidegger
3ad9c551b9
fix small s3tc mipmaps (#10968)
make sure that always whole blocks are uploaded.
(May still not work correctly if the top mip map is not at least a full block,
that is 4 pixels wide - not sure, but probably doesn't happen in real world)
18 лет назад
Brian
4fca6bfa5d
fix STATE_HALF_VECTOR value (bug 10987)
18 лет назад
Christoff Brill
8452814ec6
change max anisotropy test
18 лет назад
Christoff Brill
63155ca2ca
use R200_DEBUG for debug output
18 лет назад
Christoff Brill
0985e786cd
remove CVS/XFree86 keywords
18 лет назад
Brian
57ca033885
get rid of needless static function declarations at top of file
18 лет назад
Brian
7fcf231c57
In DestroyPbuffer(), use GetReq() intead of GetReqExtra(). See bug 10983.
18 лет назад
Ian Romanick
d834a870e6
Add missing _EXT suffix to 2D_ARRAY target enums.
18 лет назад
Ian Romanick
817181ea50
Add array texture targets to list that can use compressed formats.
18 лет назад
Ian Romanick
064cd7c78c
Refactor determining whether a texture target can use compressed format
18 лет назад
Brian
b5bbe055e4
make srcPtr param to make_1d_stack_mipmap() const
18 лет назад
Brian
6ee6b2dcd9
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
18 лет назад
Tommy Schultz Lassen
67f82731fc
r300: Removed the radeon_vertex_buffer structure.
18 лет назад
Ian Romanick
bb372f1c9b
Initial implementation of MESA_texture_array
Shadow sampling from texture arrays is still not implemented. Everything
else should be there, though.
18 лет назад
Ian Romanick
9ebffb86a6
Initial version of MESA_texture_array spec.
18 лет назад
Ian Romanick
2f61cbd30c
Add simple program to test GL_MESA_texture_array.
18 лет назад
Ian Romanick
78bd2912f8
Add enums and functions for GL_{MESA,EXT}_texture_array.
18 лет назад
Ian Romanick
b0fe0d8a55
Bring framebuffer_texture's error checking more in-line with the spec.
18 лет назад
Brian
347bb541f5
Skeleton file for 7.1 release notes.
18 лет назад
Brian
c128c3ce8c
master/trunk is now for Mesa 7.1 devel: bump versions
18 лет назад
Bruce Merry
6efdf648f5
in __glXGetArrayType() return type, not enabled (bug 10938)
18 лет назад
Brian
6a587c0124
comment about fixing uniform structs
18 лет назад
Oliver McFadden
524c3336c4
r300: Enable the non-user-buffers code to compile.
18 лет назад
Oliver McFadden
0e7e211055
r300: Use e32(0x0) rather than e32(0); makes greping for hex values easier.
18 лет назад
Oliver McFadden
4e641bf3e9
r300: Use the defined values when writing to R300_RS_ROUTE_0.
18 лет назад
Oliver McFadden
2189ff5e51
r300: Use the defined values when writing to R300_SE_VTE_CNTL.
You can verify this is correct with the following code.
assert (0x043f ==
(R300_VTX_W0_FMT | R300_VPORT_X_SCALE_ENA | R300_VPORT_X_OFFSET_ENA
| R300_VPORT_Y_SCALE_ENA | R300_VPORT_Y_OFFSET_ENA |
R300_VPORT_Z_SCALE_ENA | R300_VPORT_Z_OFFSET_ENA));
18 лет назад
Oliver McFadden
33a73466ae
r300: Added a TODO comment for the R300_VAP_INPUT_ROUTE_[01]_0 values.
18 лет назад
Oliver McFadden
13c0abd8a7
r300: Changed some more functions to static functions.
This required reordering some of the functions which is why the diff is a little
larger.
18 лет назад
Oliver McFadden
82de92c0fb
r300: Changed a couple of functions in r300_state.c to static functions.
18 лет назад
Oliver McFadden
e4b8481f39
r300: Removed the unused r300_aos_rec (replaced by r300_dma_region) structure.
18 лет назад
Oliver McFadden
b5990cec90
r300: Use #if 0 for disabled code, rather than commenting it out.
18 лет назад
Oliver McFadden
d93642251e
r300: Removed a couple of obsolete/commented out includes.
18 лет назад
Oliver McFadden
c66fd808ac
r300: A few very minor indenting corrections.
18 лет назад
Oliver McFadden
73449270bb
r300: Use the defined values for the interpolater (interp_magic) magic values.
18 лет назад
Oliver McFadden
6f56e68ee3
r300: Use the defined values when writing to R300_VAP_INPUT_CNTL_[01].
You can verify this is correct with the following code.
assert (0x00000001 == R300_INPUT_CNTL_0_COLOR);
assert (0x00000405 ==
(R300_INPUT_CNTL_POS | R300_INPUT_CNTL_COLOR |
R300_INPUT_CNTL_TC0));
18 лет назад