Brian
5d6b314bcf
remove Draw/CopyPixels functions
2007-10-31 14:27:38 -06:00
Brian
12f3f6cb2a
omit X point/line/triangle routines
2007-10-31 14:22:49 -06:00
Brian
87560bc10f
switch to Xlib driver in pipe/xlib/
2007-10-31 14:19:31 -06:00
Brian
ef25c496d5
Copy of xlib driver. This will get trimmed down a lot for Gallium.
2007-10-31 14:19:09 -06:00
Brian
f4a5ea2ccb
Update texenvprogram.c code to use prog_cache.c routines.
2007-10-31 12:45:32 -06:00
Brian
a35a2fc0d3
remove dead program cache code
2007-10-31 12:34:09 -06:00
Brian
8db4acc554
No longer need st_update_tnl atom
2007-10-31 12:31:25 -06:00
Brian
d4dfe3e0b4
No longer need st_update_tnl atom.
2007-10-31 12:30:56 -06:00
Brian
68ab379be0
more flags for MaintainTnlProgram case, update #includes
2007-10-31 12:27:47 -06:00
Brian
8d9afa76eb
Use ffvertex_prog.c code instead of t_vp_build.c code.
2007-10-31 12:17:32 -06:00
Brian
4990695f1b
fix some breakage from lifting vbo/tnl code
2007-10-31 12:12:37 -06:00
Brian
cf3f601682
Lift fixed function vertex program generation up from tnl module.
2007-10-31 12:03:55 -06:00
Brian
287d573f5d
fix type for Samplers field
2007-10-31 12:02:55 -06:00
Brian
b26aae67f5
alloc caches for fixed-func vertex/fragment progs
2007-10-31 12:02:55 -06:00
Brian
3798395af5
move a few lines of code
2007-10-31 12:07:03 -06:00
Brian
8984a28338
Lift VBO/tnl stuff up out of drivers
2007-10-31 11:35:50 -06:00
Brian
b31e37f14d
remove intelInvalidateState
2007-10-31 11:08:31 -06:00
Brian
d775509fb7
plug st_invalidate_state() into ctx->Driver.UpdateState
...
Start lifting Mesa stuff up out of winsys/driver code.
2007-10-31 11:08:07 -06:00
Brian
2860f60994
re-enable fb size assertions which were previously disabled
2007-10-31 10:52:44 -06:00
José Fonseca
fe55eab8fa
Hold the vertex buffer handle.
2007-10-31 15:11:18 +00:00
José Fonseca
44e6944e9d
Handle TGSI_OPCODE_RET.
2007-10-31 14:58:43 +00:00
José Fonseca
af60ebc4ee
Allow more verbose error output.
2007-10-31 14:16:00 +00:00
José Fonseca
13acc26385
Chain vertex buffers into the batch buffer.
2007-10-31 13:20:01 +00:00
Brian
520c71161a
Implement shader concatenation for glBitmap.
2007-10-30 18:38:32 -06:00
Brian
fb9cf48259
fix InputsRead bug in _mesa_combine_programs()
2007-10-30 18:26:34 -06:00
Brian
c1b2b97b8a
special-case KIL/KIL_NV
2007-10-30 18:24:54 -06:00
Brian
2dfe0c4a24
combine shaders for glCopyPixels
2007-10-30 17:46:40 -06:00
Brian
d6a739f6b0
Use program serial numbers to avoid re-generating fragment programs for glDrawPixels.
2007-10-30 16:13:37 -06:00
Brian
ee70c02b62
Before calling texformat->StoreImage() set _ImageTransferState=0 since we'll do pixel transfer in the fragment program.
2007-10-30 13:55:56 -06:00
Brian
4836217850
color matrix
2007-10-30 13:54:24 -06:00
Brian
0abd1fca91
more additions for COLOR_MATRIX, etc
2007-10-30 13:53:38 -06:00
Brian
068c7bd912
add state vars for color matrix, pixel transfer scale&bias
2007-10-30 12:39:58 -06:00
Brian
8aa42546ad
start using program cache
2007-10-30 12:25:25 -06:00
Brian
df174bdb81
added pixel_transfer_cache
2007-10-30 12:25:25 -06:00
Brian
3e31799640
added prog_cache.c
2007-10-30 12:25:25 -06:00
Brian
0ee15e050b
Program cache functions.
...
Generic version of cache code from texenvprogram.c and t_vp_build.c
Not used by those files just yet, will also be used for pixel_transfer programs.
2007-10-30 12:25:25 -06:00
Michel Dänzer
2f496ff957
tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.
2007-10-30 18:40:55 +01:00
Brian
ab3f6015aa
Disable debug code.
...
Basic code for PixelTranslfer ops and glDrawPixels works now.
A pixel transfer program is generated and combined with the current
fragment shader.
2007-10-30 11:32:53 -06:00
Brian
cbdff56f8c
Remove obsolete files
2007-10-30 11:32:53 -06:00
Brian
7ce99a1103
Rename file since it's now a state atom
2007-10-30 11:32:53 -06:00
Brian
de38d9c498
checkpoint: combine pixel transfer and user shader for glDrawPixels
2007-10-30 11:32:53 -06:00
Brian
b8042fb7fb
make st_upload_constants() public
2007-10-30 11:32:53 -06:00
Brian
0be546fa53
added pixel_transfer_program field
2007-10-30 11:32:53 -06:00
Brian
088e80f6db
added st_update_pixel_transfer atom
2007-10-30 11:32:53 -06:00
Brian
64a97680a7
bug fixes, implement state atom for pixel transfer
2007-10-30 11:32:53 -06:00
Brian
8234935b65
check for NULL ptr in _mesa_print_parameter_list()
2007-10-30 11:32:53 -06:00
Brian
ba0fcc47d6
Set _NEW_BUFFERS in glRead/DrawBuffer().
...
Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively.
That correponds to the GL attribute groups, but doesn't make much sense
otherwise. This could improve validation efficiency in a few places too.
It looks like all the drivers are already checking for _NEW_BUFFERS in the
right places (since that's the bit for FBO state) so we can trim out
_NEW_PIXEL and _NEW_COLOR at any time.
2007-10-30 11:32:53 -06:00
Brian
b19a933930
comment unused 'cb' field
2007-10-30 11:32:53 -06:00
Brian
cc9b4df5cb
update comments, fix typo
2007-10-30 11:32:53 -06:00
Brian
1203f54686
make _mesa_combine_programs() params const
2007-10-30 11:32:52 -06:00