Commit graph

1789 commits

Author SHA1 Message Date
Brian Paul
b12a28db96 gallium: remove dead code related to shader semantic input/output info 2008-03-13 14:05:30 -06:00
Brian Paul
fa9e7e9a8d gallium: remove semantic info from pipe_shader_state
Brian's patch to clean up the shader interfaces.
2008-03-13 18:10:26 +00:00
Michal Krol
bcb454e7a6 tgsi: Drop pre-ps_2_0 opcodes. 2008-03-13 18:12:36 +01:00
Michal Krol
78ddfbd130 tgsi: Remove OPCODE_TEXCOORD, OPCODE_TEXCRD aliases. 2008-03-13 13:00:44 +01:00
José Fonseca
734ccee565 gallium: Standardize most important error codes. 2008-03-13 10:23:02 +00:00
José Fonseca
8506e41dc0 gallium: Fix debug_mask_vprintf's example. 2008-03-13 10:23:02 +00:00
Michal Krol
ba75e82b6e tgsi: Remove ExtDivide field from existence. Implement OPCODE_TXP. 2008-03-12 16:41:25 +01:00
Michal Krol
70ae7f09c7 tgsi: Introduce OPCODE_TXP. Depricate ExdDivide field. 2008-03-12 14:55:18 +01:00
Keith Whitwell
98ae83d5cc gallium: Add TEX_FILTER_ANISO img filter
Hardware almost universally expects us to set a special filtering mode
when anisotropic filtering is enabled, as opposed to varying a max-aniso
values.  Do this once in the state tracker & simplify the driver code.
2008-03-12 10:42:49 +00:00
José Fonseca
45c5989511 gallium: Conditional debugging output.
Generalize the conditional debugging output code found trhought the gallium
drivers.
2008-03-12 00:27:52 +00:00
Michal Krol
130b315454 tgsi: Map OPCODE_TEXKILL to OPCODE_KILP. 2008-03-11 23:22:34 +01:00
José Fonseca
b721bc8792 gallium: WinCE portability fixes. 2008-03-10 14:00:13 +00:00
Keith Whitwell
99691f38c2 gallium: add some commonly implemented bits of hw state 2008-03-09 20:23:03 +00:00
José Fonseca
fc96aec9b7 gallium: Document debug_printf usage. 2008-03-08 17:36:19 +00:00
Keith Whitwell
4528287e04 gallium: michel's patch to rework texture/sampler binding interface
Bind all the samplers/textures at once rather than piecemeal.
This is easier for drivers to understand.
2008-03-05 10:56:49 +01:00
Keith Whitwell
9506ac8235 gallium: remove obsolete comment 2008-03-03 17:50:09 +01:00
Keith Whitwell
f4e91c3432 gallium: document user_buffer_create a little 2008-03-03 17:50:09 +01:00
Zack Rusin
e884c7ed9a start implementing start of bultins 2008-03-01 15:28:00 -05:00
Brian
78220aea86 gallium: remove the ugly pipe->draw stage lookup code in aaline/point/pstipple stages
Added a void *draw ptr to pipe_context.  Probably look for a better solution someday.
2008-02-29 10:08:16 -07:00
Brian
d8bf051c8b gallium: remove unneeded pipe ptr from pipe_texture 2008-02-27 18:49:35 -07:00
Brian
6f715dcc21 gallium: remove pipe_context->texture_create/release/get_tex_surface()
These functions are now per-screen, not per-context.
2008-02-27 14:21:12 -07:00
Brian
364f8cad0f gallium: move is_format_supported() to pipe_screen struct 2008-02-27 13:58:06 -07:00
Brian
8383f798b4 gallium: start removing pipe_context->get_name/vendor/param/paramf
These are now per-screen functions, not per-context.
State tracker updated, code in drivers and p_context.h disabled.
2008-02-27 11:24:35 -07:00
José Fonseca
94c73d1bb9 gallium: Remove // comments. 2008-02-27 16:23:50 +09:00
Brian
aa59a937cc gallium: introduce 'pipe_screen' for context-independent functions
This will allow creating textures before a rendering context exists, for example.
Only implemented in i915 driver for now.  i915pipe->texture_create() just
dispatches through to the i915screen->texture_create() to avoid state tracker
changes for now.
2008-02-26 20:15:14 -07:00
Brian
4da19dbcaa gallium: remove pipe parameter from pipe_texture_reference()
Added pipe field to pipe_texture (temporary, see comments).
First step toward context-less texture creation...
2008-02-26 19:31:22 -07:00
Brian
ecd50ef58b gallium: remove input_map[] from pipe_shader_state 2008-02-26 08:43:07 -07:00
José Fonseca
e4e3008923 Make the pipe headers C++ friendly. 2008-02-25 20:05:41 +09:00
Brian
35ca45daba gallium: added TGSI_FILE_COUNT 2008-02-23 16:15:54 -07:00
José Fonseca
e8de5c70e3 Bring in several forgotten MSVC fixes. 2008-02-23 14:14:54 +09:00
Michal Krol
6f238275c7 gallium: Define intptr_t for Windows platform. 2008-02-23 00:51:06 +09:00
Michal Krol
8828dd1443 gallium: Move align_pointer() to p_pointer.h. 2008-02-23 00:50:59 +09:00
Michal Krol
f44b30f1eb gallium: New file. 2008-02-23 00:50:55 +09:00
Brian
d4d2e36a42 gallium: comments, white-space clean-up 2008-02-21 12:33:30 -07:00
Keith Whitwell
4339744c16 [PATCH] gallium: include p_compiler.h for boolean defn 2008-02-21 19:17:27 +00:00
Brian
d5640a2dbd gallium: new pipe->texture_update() function
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
2008-02-20 13:24:52 -07:00
José Fonseca
b9da3791c9 Remove src/mesa and src/mesa/main from gallium source include paths. 2008-02-19 15:07:53 +09:00
Keith Whitwell
6ac2c1cc0c Merge commit 'origin/gallium-0.1' into gallium-0.1
Conflicts:

	src/gallium/drivers/softpipe/sp_quad_fs.c
	src/gallium/drivers/softpipe/sp_state.h
	src/gallium/drivers/softpipe/sp_state_fs.c
2008-02-15 11:15:47 +00:00
José Fonseca
b642730be9 Code reorganization: move files into their places.
This is in a separate commit to ensure renames are properly preserved.
2008-02-15 17:45:40 +09:00