Commit graph

115447 commits

Author SHA1 Message Date
Xiang, Haihao
d2540e6d4b i965: if source depth to render target is set,
it should be handled in fb_write.
2007-11-30 12:04:04 +08:00
Xiang, Haihao
6bc1d38567 i965: use uncompressed instruction to ensure only
Pixel Mask Copy is modified as the pixel shader thread
turns off pixels based on kill instructions.
2007-11-30 11:50:08 +08:00
Eric Anholt
1df7a82688 [i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake. 2007-11-29 13:00:34 -08:00
Michel Dänzer
11a80160fd Move dimensions from struct pipe_region to struct pipe_surface. 2007-11-29 16:41:39 +01:00
Brian
61fbc81657 New ctx->Driver.Map/UnmapTexture() functions for accessing textures from t_vb_program.c 2007-11-29 08:13:16 -07:00
Brian
a2ab143b75 cleanups, comments 2007-11-29 08:13:16 -07:00
Brian
a7e1b4456a Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c 2007-11-29 08:13:16 -07:00
Michel Dänzer
dc88a96631 r200: Fix texture format regression on big endian systems.
See https://bugs.freedesktop.org/show_bug.cgi?id=13324 .

Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets
called for MESA_FORMAT_RGB888.
2007-11-28 10:20:04 +01:00
Xiang, Haihao
d8fcb504a4 i965: update RefCount when using Vertex/Fragment program.
It makes quake4-demo works well on 965.
2007-11-28 09:46:43 +08:00
WuNian
16099c15f5 remove drawable from hash table when window is deleted (see bug 13091) 2007-11-27 18:22:42 -07:00
Delle
5c64e6885d use DEFAULT_SOFTWARE_DEPTH_BITS 2007-11-27 18:18:25 -07:00
Brian
27028fcf74 minor additions to avoid FAQs 2007-11-27 10:31:55 -07:00
Brian
5ef3a2c06d document GLSL float f/F suffix bug 2007-11-27 10:31:55 -07:00
Brian
4fe3bf2d77 set fp->UsesKill when emitting OPCODE_KIL 2007-11-27 10:31:55 -07:00
Brian
92e4090b4c add a few more logicop modes, simplify code 2007-11-27 10:31:55 -07:00
Brian
74cd0b459f improve 24-bit Z to 32-bit Z conversion 2007-11-27 10:31:55 -07:00
Xiang, Haihao
46e03d584a i965: The jump instruction count is added
to IP pre-increment, and should point to
the first instruction after the do instruction
of the do-while block of code
2007-11-27 09:45:32 +08:00
Keith Whitwell
a8fee3a498 i915: Catch cases where not all state is emitted for a new batchbuffer.
This could lead to incorrect rendering or even lockups.
2007-11-26 17:49:29 +01:00
Michel Dänzer
63e6bfe8db i915: Some additional blit fixes and assertions. 2007-11-26 17:35:35 +01:00
Michel Dänzer
42108629e8 libGL: Make sure a valid value is returned for GLX_BIND_TO_MIPMAP_TEXTURE_EXT.
If the server didn't send a value, assume it's not supported.

A more generic solution might be better for this kind of problem, but an
attempt for this failed (see https://bugs.freedesktop.org/show_bug.cgi?id=9264)
and this allows compiz to work with drivers that support
GL_EXT_framebuffer_object.
2007-11-25 14:20:36 +01:00
Michel Dänzer
7dd5ced962 intel: Fix relative symlinks. 2007-11-25 14:17:02 +01:00
Ben Skeggs
042b7dfd0e nv40: fix build after gallium changes 2007-11-25 13:05:56 +11:00
Ben Skeggs
2bd97ca942 Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1 2007-11-25 13:00:15 +11:00
Ben Skeggs
2a2756a019 nv40: be more flexible with render target setup 2007-11-25 12:39:32 +11:00
Ben Skeggs
b8c5419faf nv40: remove unused stuff 2007-11-25 12:06:42 +11:00
Ben Skeggs
25acd4eba0 nv40: point sprites 2007-11-25 12:02:12 +11:00
Ben Skeggs
8b1c8f5e75 nv40: fp arbitrary swizzling/negation
Pretty bad implementation, goal was to get glBitmap working.
2007-11-25 11:25:32 +11:00
Michal Krol
7043db677f Cleanup PIPE_FORMAT names.
Add a function that builds a display name of a given format token.
2007-11-24 16:02:31 +00:00
Brian
be1fa5b3d7 better test of point attenuation 2007-11-23 16:19:25 -07:00
Brian
88b067cb04 #define GL_GLEXT_PROTOTYPES to silence warning 2007-11-23 14:35:46 -07:00
Brian
999b55663a Consolidate texture fetch code and use partial derivatives when possible. 2007-11-23 12:01:57 -07:00
Brian
ba16243884 Fix parsing of gl_FrontLightModelProduct.sceneColor, don't segfault on variable array indexes. 2007-11-23 10:25:48 -07:00
Brian
c14d969a69 need to check border width in sample_linear_2d() - fixes failed assertion in texwrap.c test 2007-11-23 09:14:39 -07:00
Michal Krol
b3dee0185e gallium: remove sp_headers.h references. 2007-11-23 13:48:12 +00:00
Michal Krol
abd5e8e41d gallium: reorg tgsi directories. 2007-11-23 13:28:16 +00:00
Michal Krol
44519be0f5 gallium: back out winsys interface changes 2007-11-23 13:27:20 +00:00
Ben Skeggs
558f3abb49 nv40: support for keeping multiple vtxprogs on the hw at the same time. 2007-11-23 18:54:19 +11:00
Brian
0fd679a190 Consolidate point size computation, clamping in get_size().
Also, apply user-defined clamp limits to point size even when not using
attentuation or program-computed size.
2007-11-22 09:34:38 -07:00
Brian
ccb1c9df00 Print point/line size range limits 2007-11-22 09:34:38 -07:00
José Fonseca
9924f208cf Use the new vertex buffer draw stage. 2007-11-22 11:57:31 +00:00
José Fonseca
1a8daf0627 New vertex buffer stage. 2007-11-22 11:46:32 +00:00
José Fonseca
45f658f172 Fix build. 2007-11-22 11:44:13 +00:00
José Fonseca
369ff9786d The right include was mtypes.h. 2007-11-22 11:44:00 +00:00
José Fonseca
c584142543 Fix build errors. 2007-11-22 11:43:58 +00:00
Michal
0e31e24659 Fix compatibility issues between gcc and msvc. 2007-11-22 11:43:04 +00:00
Michal
5961732c1b Make it compile under Win32. 2007-11-22 11:18:02 +00:00
José Fonseca
4541ee5343 Remove fences from the i915simple winsys interface.
Fences will be part of the pipe winsys interface, so remove this to avoid
merge conflicts later on.

This reverts commit ca7f68a7cf.
This reverts commit dec60d33b2.
This reverts commit 90dd0cb822.
2007-11-22 10:56:09 +00:00
Roland Scheidegger
3d51c79001 fix z buffer read/write issue with rv100-like chips and old ddx 2007-11-22 02:49:15 +01:00
Brian
2112191d45 more simplification, clean-up in draw_set_vertex_info() 2007-11-21 16:03:16 -07:00
Brian
9f0b5bba70 Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().
Just pass in the vertex_info object and make a copy of it.
2007-11-21 16:00:57 -07:00