José Fonseca
baab98a637
gallium: Eliminate p_winsys::printf
...
Not convenient and almost not used at all. Better replacements in p_debug.h
2008-03-31 17:28:33 +09:00
Brian Paul
a52c0416d1
gallium: Set vertex state/buffers en-mass.
2008-03-29 14:41:03 +01:00
Roland Scheidegger
5615ab78b0
gallium: remove redundant compare bit in sampler state
2008-03-28 15:43:00 +01:00
Michal Krol
4e7bcaa4c2
gallium: Bump PIPE_MAX_SAMPLERS to 16.
...
We need it to fulfil D3D minimum requirements.
2008-03-28 12:31:35 +01:00
Brian
39038c1169
gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS
...
The later follows the naming scheme of other limits.
Keep the old definition until all possible usage is updated.
2008-03-27 17:41:55 -06:00
Brian Paul
37da2d6851
gallium: updated/improved comments, minor re-formatting
2008-03-27 17:18:25 -06:00
Brian
d355eee5ca
gallium: silence unused var warning
2008-03-27 15:27:31 -06:00
Michel Dänzer
4abe1eb980
gallium: Change pipe->flush() interface to optionally return a fence.
...
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run
proper fencing should be implemented for it.
2008-03-26 09:36:40 +00:00
Michal Krol
dc9757e1a8
gallium: Introduce flatshade_first field to rasterizer_state.
...
This bit tells us which vertex of the primitive is used to
propagate color for the remaining vertices if flatshade mode.
2008-03-25 23:51:51 +01:00
José Fonseca
331a56136e
Fix typo
2008-03-25 17:47:39 +00:00
José Fonseca
aacfc326cc
gallium: Use debug_get_option for GETENV
2008-03-25 11:37:54 +00:00
Brian
4654803e25
gallium: fix a few bugs, warnings in the p_debug code
...
added missing _ to a _debug_printf() call.
2008-03-24 18:49:56 -06:00
José Fonseca
e8c6ea4f60
gallium: Simple cross platform get-opt system.
...
Uses getenv on Linux, and a memory mapped text file on Windows.
It supports boolean options, flags, and plain strings.
2008-03-24 22:31:36 +00:00
José Fonseca
dd51365acd
gallium: cleanup p_debug
...
Now debug_printf is disabled on release builds. Use debug_error or
_debug_printf to output messages on release versions.
2008-03-24 22:31:36 +00:00
Brian
4e398df682
gallium: fix REALLOC() to copy smaller of old/new sizes
2008-03-24 12:51:18 -06:00
José Fonseca
48726e129a
gallium: Protect operator precedence in macro.
2008-03-24 18:25:59 +00:00
José Fonseca
48ef11d308
gallium: Remove the debug_mask_* stuff.
...
Overcomplex and not much different from using a global variable...
2008-03-23 18:57:35 +00:00
José Fonseca
732422f670
gallium: Memory debugging utilities.
...
There are no known tools for windows kernel memory debugging, so this is a
simple set of malloc etc wrappers.
Enabled by default on win32 debug builds
2008-03-23 18:38:31 +00:00
Brian Paul
4394736252
gallium: added DXT formats (preliminary, will probably change)
2008-03-21 11:06:52 -06:00
Brian Paul
419248b528
gallium: document is_format_supported()'s type param
2008-03-21 11:06:52 -06:00
Brian Paul
a472e3558e
gallium: PIPE_FORMAT_TYPE_ comments
2008-03-21 11:06:52 -06:00
Brian Paul
ad62644290
gallium: added sRGB formats
2008-03-21 11:06:51 -06:00
Brian Paul
403c7ba91a
gallium: additional comments, fix typos, etc
2008-03-21 11:06:51 -06:00
Brian
80567f9c9f
gallium: added width, height to pipe_framebuffer_state
2008-03-20 15:04:08 -06:00
Keith Whitwell
a88202d3b0
gallium: add debug facility to dump random blobs as hex
2008-03-20 13:10:32 +00:00
Brian Paul
4984487bc3
gallium: add face, dirtyLevels params to pipe->texture_update()
...
This provides better information about which images in texture object have changed.
Also, call texture_update() from more places previously missed.
2008-03-19 17:15:14 -06:00
José Fonseca
e08501b457
gallium: Add generic enum and flags dumping utility functions.
2008-03-19 16:42:19 +00:00
Keith Whitwell
35a1ec53a7
gallium: make REALLOC a bit more like realloc
2008-03-18 19:17:26 +00:00
José Fonseca
d1ca951cc4
gallium: Convenience debug_warning function.
2008-03-18 17:20:56 +00:00
Brian
b6ed165748
gallium: added bypass_vs flag to rasterizer state (may be temporary)
2008-03-13 14:32:20 -06:00
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