Brian
e39f1b4cbe
Update xlib driver to use newer state tracker context/framebuffer functions.
...
XMesaContext has an st_context * which contains a mesa context.
2007-11-05 15:59:55 -07:00
Brian
f221ea658b
comments, tweaks
2007-11-05 09:35:31 -07:00
Brian
bffed01e27
move st_create_framebuffer() to new st_framebuffer.c file
2007-11-05 08:04:48 -07:00
Brian
794e03d392
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()
2007-11-05 08:04:48 -07:00
Brian
80d2658e12
Sketch out new create/destroy context functions which create/wrap a Mesa context.
2007-11-01 18:01:47 -06:00
Brian
2072a9c6d0
remove dead code
2007-11-01 18:01:47 -06:00
Brian
308bc50dc2
remove unneeded tnl stuff
2007-11-01 18:01:47 -06:00
Brian
8984a28338
Lift VBO/tnl stuff up out of drivers
2007-10-31 11:35:50 -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
d6a739f6b0
Use program serial numbers to avoid re-generating fragment programs for glDrawPixels.
2007-10-30 16:13:37 -06:00
Brian
df174bdb81
added pixel_transfer_cache
2007-10-30 12:25:25 -06:00
Brian
0007cd7ba0
Alternate CopyPixels path based on get/put_tile().
...
For some drivers (like Xlib) it's not possible to treat the front/back color
buffers as pipe_regions. So pipe->region_copy() won't work. Added a new
state tracker field indicating if we can use regions for colorbuffer accesses.
This should probably be re-considered someday...
2007-10-18 15:18:55 -06:00
Brian
9f797d8cb3
Added accum function/files.
2007-10-14 11:52:00 -06:00
Brian
3bf8d2ac71
Disable vertex shader fog, compute fog in fragment shader.
2007-09-25 15:18:51 -06:00
Zack Rusin
fbb2f840ae
move cso cache to the pipe directory
2007-09-18 07:20:14 -04:00
Zack Rusin
e16c045b83
Implementing a better hash, removing state_tracker dependency from the cache.
...
Replacing mesa's main hash with one that handles collisions, moving state_tracker
related caching to the state tracker to keep cso cache independent of it. Cleanups.
2007-09-18 06:31:22 -04:00
Zack Rusin
9780327c5d
First stab at immutable state objects (create/bind/delete)
...
We want our state objects to be immutable, handled via the
create/bind/delete calls instead of struct propagation.
Only implementing the blend state to see how it would look like
and work.
2007-09-18 06:31:22 -04:00
Brian
b4bacd1fca
Plug in selection/feedback code.
...
Not quite finished yet.
Selection/feedback are done with a private instance of the 'draw' module
in the state tracker. Not quite all the draw context's state is set yet,
namely vertex format info. Hold off on that for a bit...
2007-09-17 14:24:11 -06:00
Brian
bee148cb7d
plug in rasterpos/feedback code
2007-09-10 16:28:27 -06:00
Brian
af3d6c83d2
temporarily call _mesa_enable_sw_extensions() so we can run more test progs without failing the extension checks
2007-08-21 20:18:58 -06:00
Brian
1e6d1ab6fc
tell vbo module to use bufferobjs
2007-08-17 15:27:18 +01:00
Brian
e3bdd66bf6
misc changes to support vertex shaders (disabled by default)
2007-08-16 17:33:49 -06:00
Brian
24864741c5
added st_cb_queryobj.c
2007-08-11 19:57:37 +01:00
Keith Whitwell
39407fd854
Move string functions to state_tracker, add queries to pipe, winsys.
2007-08-10 16:44:07 +01:00
Keith Whitwell
5c2c056000
Handle glFlush/glFinish through the state tracker.
2007-08-10 12:58:26 +01:00
Brian
6f27aabe49
use st_cb_readpixels.c
2007-08-10 11:37:21 -06:00
Brian
64da751500
checkpoint: no longer using intel_fbo.c
2007-08-09 14:28:41 -06:00
Brian
6da9234fd4
New st_init_*_functions() to initialize the driver functions table.
...
We need to do these initializations before initializing the Mesa context
because context init involves creating texture/program/etc objects.
2007-08-06 20:53:28 +01:00
Brian
4435baef18
use new texture funcs
2007-08-06 15:49:11 -06:00
Brian
61d0215d7b
hook in teximage bits
2007-08-02 20:40:19 -06:00
Brian
184b6a1f04
call st_init_cb_drawpixels
2007-08-02 14:21:16 -06:00
Brian
51b300c54d
include st_cb_clear.h
2007-08-02 10:29:50 -06:00
Keith Whitwell
4f442d9ef5
Reroute some clear functionality.
...
Still require the intelClear() call to flush batchbuffers. That will be
removed later...
2007-08-02 13:59:31 +01:00
Keith Whitwell
943964a1e5
Rename directories again?!
...
Some git wierdness going on.
2007-06-14 18:23:43 +01:00
Keith Whitwell
6393cda676
Renamed softpipe directories and files to something less confusing.
...
softpipe/state_tracker --> state_tracker/
softpipe/ --> pipe/
softpipe/generic --> pipe/softpipe/
I don't think pipe is a great name, but I disliked all the others too.
Luckily it's fairly easy to rename with git, so this can be revisited
later.
2007-06-14 18:11:48 +01:00