mesa.git
16 years agoPull in i915simple.a
Keith Whitwell [Wed, 8 Aug 2007 10:13:36 +0000 (11:13 +0100)]
Pull in i915simple.a

16 years agoHook up i915simple. Doesn't compile.
Keith Whitwell [Wed, 8 Aug 2007 10:10:37 +0000 (11:10 +0100)]
Hook up i915simple. Doesn't compile.

16 years agorewrite texture sampling code (smaller, simpler)
Brian [Wed, 8 Aug 2007 17:09:53 +0000 (11:09 -0600)]
rewrite texture sampling code (smaller, simpler)

16 years agoadd lambda param to get_sample()
Brian [Wed, 8 Aug 2007 17:09:02 +0000 (11:09 -0600)]
add lambda param to get_sample()

16 years agosketch out 1D/3D/cube texture sampling
Brian [Wed, 8 Aug 2007 16:26:51 +0000 (10:26 -0600)]
sketch out 1D/3D/cube texture sampling

16 years agoadded PIPE_TEX_FACE_*
Brian [Wed, 8 Aug 2007 16:26:16 +0000 (10:26 -0600)]
added PIPE_TEX_FACE_*

16 years agoreplace draw_offset w/ 0 for now
Brian [Wed, 8 Aug 2007 15:52:35 +0000 (09:52 -0600)]
replace draw_offset w/ 0 for now

16 years agodefine i915_surface struct
Brian [Wed, 8 Aug 2007 15:50:49 +0000 (09:50 -0600)]
define i915_surface struct

16 years agoRename drivers/dri/i915pipe --> drivers/dri/intel_winsys.
Keith Whitwell [Wed, 8 Aug 2007 08:41:52 +0000 (09:41 +0100)]
Rename drivers/dri/i915pipe --> drivers/dri/intel_winsys.

This is appropriate as this is not a "pipe driver for the i915" as the
old name would suggest, but rather a dri driver that can provide "winsys"
backends to softpipe/i915/i965/etc pipe drivers, running under the
intel DDX, drm, etc.

It also frees up the i915pipe name for something more appropriate, ie
mesa/pipe/i915pipe.

16 years agomore get_tile() work
Brian [Wed, 8 Aug 2007 08:35:16 +0000 (09:35 +0100)]
more get_tile() work

16 years agofully support all texcoord wrap modes
Brian [Wed, 8 Aug 2007 08:35:03 +0000 (09:35 +0100)]
fully support all texcoord wrap modes

16 years agoCheckpoint of a super-simplified i915 driver in the pipe model.
Keith Whitwell [Wed, 8 Aug 2007 08:28:57 +0000 (09:28 +0100)]
Checkpoint of a super-simplified i915 driver in the pipe model.

Doesn't yet compile, but when it does, it will only draw gouraud tris
and even those will be as simple as possible.  Needs some 'winsys' support
also before that can happen.

16 years agoclean up tgsi_sampler-related bits
Brian [Wed, 8 Aug 2007 00:22:40 +0000 (18:22 -0600)]
clean up tgsi_sampler-related bits

16 years agouse new tex filtering code
Brian [Wed, 8 Aug 2007 00:22:16 +0000 (18:22 -0600)]
use new tex filtering code

16 years agoinitial texture filtering code
Brian [Wed, 8 Aug 2007 00:22:03 +0000 (18:22 -0600)]
initial texture filtering code

16 years agoinclude p_state.h
Brian [Wed, 8 Aug 2007 00:20:55 +0000 (18:20 -0600)]
include p_state.h

16 years agoadded a get_tile() func
Brian [Wed, 8 Aug 2007 00:20:30 +0000 (18:20 -0600)]
added a get_tile() func

16 years agomap/unmap textures
Brian [Wed, 8 Aug 2007 00:19:49 +0000 (18:19 -0600)]
map/unmap textures

16 years agoremove dst!=src assertion
Brian [Wed, 8 Aug 2007 00:19:34 +0000 (18:19 -0600)]
remove dst!=src assertion

16 years agodebug info
Brian [Wed, 8 Aug 2007 00:19:06 +0000 (18:19 -0600)]
debug info

16 years agoset mt->format
Brian [Wed, 8 Aug 2007 00:18:54 +0000 (18:18 -0600)]
set mt->format

16 years agoadded pipe_mipmap_tree::format
Brian [Wed, 8 Aug 2007 00:18:08 +0000 (18:18 -0600)]
added pipe_mipmap_tree::format

16 years agos/intel/st/
Brian [Tue, 7 Aug 2007 22:42:08 +0000 (16:42 -0600)]
s/intel/st/

16 years agoNaive implementation of IF/ELSE/ENDIF.
michal [Tue, 7 Aug 2007 14:34:11 +0000 (15:34 +0100)]
Naive implementation of IF/ELSE/ENDIF.

Handle TGSI labels correctly.
Enhance MESA opcode info queries.

16 years agocheckpoint new tgsi_sampler_state struct
Brian [Tue, 7 Aug 2007 21:28:12 +0000 (15:28 -0600)]
checkpoint new tgsi_sampler_state struct

16 years agoremove pipe_surface_sampler
Brian [Tue, 7 Aug 2007 21:27:03 +0000 (15:27 -0600)]
remove pipe_surface_sampler

16 years agoadded st_atom_texture.c
Brian [Tue, 7 Aug 2007 21:12:40 +0000 (15:12 -0600)]
added st_atom_texture.c

16 years agoplug in texture/sampler state update
Brian [Tue, 7 Aug 2007 21:12:22 +0000 (15:12 -0600)]
plug in texture/sampler state update

16 years agotexture image state handling
Brian [Tue, 7 Aug 2007 21:11:20 +0000 (15:11 -0600)]
texture image state handling

16 years agosketch out new pipe surface/sampler types
Brian [Tue, 7 Aug 2007 19:13:41 +0000 (13:13 -0600)]
sketch out new pipe surface/sampler types

16 years agoHandle labels for IF/ELSE correctly
michal [Tue, 7 Aug 2007 11:50:12 +0000 (12:50 +0100)]
Handle labels for IF/ELSE correctly

16 years agoEnable compact TGSI dump.
michal [Tue, 7 Aug 2007 10:49:33 +0000 (11:49 +0100)]
Enable compact TGSI dump.

16 years agoDump tokens in more compact form.
michal [Tue, 7 Aug 2007 09:24:27 +0000 (10:24 +0100)]
Dump tokens in more compact form.

16 years agos/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c
Brian [Tue, 7 Aug 2007 16:56:41 +0000 (10:56 -0600)]
s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c

16 years agodon't include non-existant intel_buffer_objects.h
Brian [Tue, 7 Aug 2007 16:56:01 +0000 (10:56 -0600)]
don't include non-existant intel_buffer_objects.h

16 years agoGutsy oopses on touch of existing file. Workaround.
Keith Whitwell [Tue, 7 Aug 2007 09:18:04 +0000 (10:18 +0100)]
Gutsy oopses on touch of existing file. Workaround.

16 years agoRemove old intel_buffer_objects code - there is a state_tracker version now.
Keith Whitwell [Tue, 7 Aug 2007 09:17:22 +0000 (10:17 +0100)]
Remove old intel_buffer_objects code - there is a state_tracker version now.

16 years agoLabels are always label targets.
michal [Tue, 7 Aug 2007 09:14:50 +0000 (10:14 +0100)]
Labels are always label targets.

Translate label for GLSL IF, ELSE.

16 years agoprototypes
Brian [Tue, 7 Aug 2007 16:07:23 +0000 (10:07 -0600)]
prototypes

16 years agoget rid of temp write_mono_row_ub() function
Brian [Tue, 7 Aug 2007 15:55:13 +0000 (09:55 -0600)]
get rid of temp write_mono_row_ub() function

16 years agocall st_init_driver_functions(), make intelInitDriverFunctions() static
Brian [Mon, 6 Aug 2007 19:56:29 +0000 (20:56 +0100)]
call st_init_driver_functions(), make intelInitDriverFunctions() static

16 years agocall st_init_driver_functions()
Brian [Mon, 6 Aug 2007 19:54:41 +0000 (20:54 +0100)]
call st_init_driver_functions()

16 years agoadded softpipe_mipmap_tree_layout
Brian [Mon, 6 Aug 2007 19:54:18 +0000 (20:54 +0100)]
added softpipe_mipmap_tree_layout

16 years agoneed a softpipe func for texture layout
Brian [Mon, 6 Aug 2007 19:54:03 +0000 (20:54 +0100)]
need a softpipe func for texture layout

16 years agoNew st_init_*_functions() to initialize the driver functions table.
Brian [Mon, 6 Aug 2007 19:53:28 +0000 (20:53 +0100)]
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.

16 years agonew header
Brian [Mon, 6 Aug 2007 19:52:04 +0000 (20:52 +0100)]
new header

16 years agofix asst. warnings
Brian [Mon, 6 Aug 2007 19:49:44 +0000 (20:49 +0100)]
fix asst. warnings

16 years agoAdd GLSL opcodes.
michal [Mon, 6 Aug 2007 16:20:31 +0000 (17:20 +0100)]
Add GLSL opcodes.

16 years agoAdd GLSL ops.
michal [Mon, 6 Aug 2007 16:18:25 +0000 (17:18 +0100)]
Add GLSL ops.

16 years agoMake SGE, SGT, SLE working.
michal [Mon, 6 Aug 2007 16:15:37 +0000 (17:15 +0100)]
Make SGE, SGT, SLE working.

16 years agoRemove garbage text.
michal [Mon, 6 Aug 2007 16:06:03 +0000 (17:06 +0100)]
Remove garbage text.

16 years agoUse fp_attr_to_slot[].
michal [Mon, 6 Aug 2007 16:04:34 +0000 (17:04 +0100)]
Use fp_attr_to_slot[].

16 years agoReorder opcodes.
michal [Mon, 6 Aug 2007 16:03:51 +0000 (17:03 +0100)]
Reorder opcodes.

16 years agoTranslate the remaining ops.
michal [Mon, 6 Aug 2007 16:00:55 +0000 (17:00 +0100)]
Translate the remaining ops.

16 years agoMerge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa...
Brian [Mon, 6 Aug 2007 22:18:25 +0000 (16:18 -0600)]
Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch

16 years agoadded xm_softpipe.c
Brian [Mon, 6 Aug 2007 22:17:41 +0000 (16:17 -0600)]
added xm_softpipe.c

16 years agouse new xmesa_create_softpipe()
Brian [Mon, 6 Aug 2007 22:17:26 +0000 (16:17 -0600)]
use new xmesa_create_softpipe()

16 years agosoftpipe/winsys interface
Brian [Mon, 6 Aug 2007 22:17:16 +0000 (16:17 -0600)]
softpipe/winsys interface

16 years agoTranslate MESA GLSL opcodes to TGSI opcodes.
michal [Mon, 6 Aug 2007 15:18:37 +0000 (16:18 +0100)]
Translate MESA GLSL opcodes to TGSI opcodes.

16 years agoAdd path for GL includes in mesa tree.
michal [Mon, 6 Aug 2007 15:00:54 +0000 (16:00 +0100)]
Add path for GL includes in mesa tree.

16 years agoadded st_cb_texture.c
Brian [Mon, 6 Aug 2007 21:50:16 +0000 (15:50 -0600)]
added st_cb_texture.c

16 years agoclean-ups
Brian [Mon, 6 Aug 2007 21:50:03 +0000 (15:50 -0600)]
clean-ups

16 years agoswitch to new texture functions in state tracker
Brian [Mon, 6 Aug 2007 21:49:44 +0000 (15:49 -0600)]
switch to new texture functions in state tracker

16 years agouse new texture funcs
Brian [Mon, 6 Aug 2007 21:49:11 +0000 (15:49 -0600)]
use new texture funcs

16 years agoclean-ups
Brian [Mon, 6 Aug 2007 21:49:00 +0000 (15:49 -0600)]
clean-ups

16 years agonew texture functions
Brian [Mon, 6 Aug 2007 21:48:42 +0000 (15:48 -0600)]
new texture functions

16 years agocomments
Brian [Mon, 6 Aug 2007 21:48:08 +0000 (15:48 -0600)]
comments

16 years agoAdd GLSL opcodes.
michal [Mon, 6 Aug 2007 13:57:26 +0000 (15:57 +0200)]
Add GLSL opcodes.

16 years agodisable/remove intel dependencies
Brian [Mon, 6 Aug 2007 19:42:18 +0000 (13:42 -0600)]
disable/remove intel dependencies

16 years agomore intel_context removal
Brian [Mon, 6 Aug 2007 19:31:23 +0000 (13:31 -0600)]
more intel_context removal

16 years agodisable some PBO code, remove intel dependencies
Brian [Mon, 6 Aug 2007 19:24:54 +0000 (13:24 -0600)]
disable some PBO code, remove intel dependencies

16 years agoremove timing code
Brian [Mon, 6 Aug 2007 19:17:38 +0000 (13:17 -0600)]
remove timing code

16 years agoReplace intel_texture_object with st_texture_object, intel_texture_image with st_text...
Brian [Mon, 6 Aug 2007 19:12:24 +0000 (13:12 -0600)]
Replace intel_texture_object with st_texture_object, intel_texture_image with st_texture_image

16 years agominor renaming
Brian [Mon, 6 Aug 2007 18:41:39 +0000 (12:41 -0600)]
minor renaming

16 years agoLift intel_mipmap_tree.c to st_mipmap_tree.c
Brian [Mon, 6 Aug 2007 18:40:51 +0000 (12:40 -0600)]
Lift intel_mipmap_tree.c to st_mipmap_tree.c

16 years agoMore code movement, removal of intel dependencies
Brian [Mon, 6 Aug 2007 18:32:16 +0000 (12:32 -0600)]
More code movement, removal of intel dependencies

16 years agoremove more intel dependencies
Brian [Mon, 6 Aug 2007 18:28:33 +0000 (12:28 -0600)]
remove more intel dependencies

16 years agoremove intel dependencies from intel_mipmap_tree.c
Brian [Mon, 6 Aug 2007 18:07:48 +0000 (12:07 -0600)]
remove intel dependencies from intel_mipmap_tree.c

16 years agocheckpoint: move some texture layout code
Brian [Mon, 6 Aug 2007 17:51:16 +0000 (11:51 -0600)]
checkpoint: move some texture layout code

16 years agoCheckpoint lifting of intel_mipmap_tree (intel_mipmap_tree -> pipe_mipmap_tree and...
Brian [Mon, 6 Aug 2007 17:22:00 +0000 (11:22 -0600)]
Checkpoint lifting of intel_mipmap_tree (intel_mipmap_tree -> pipe_mipmap_tree and move some code)

16 years agoAdd pipe buffer managment functions.
Keith Whitwell [Mon, 6 Aug 2007 09:15:30 +0000 (10:15 +0100)]
Add pipe buffer managment functions.

The state_tracker driver needs these to implement, eg. pixel buffer objects,
vertex buffer objects.

16 years agoAdd a new interface between softpipe and the window system / buffer manager.
Keith Whitwell [Sun, 5 Aug 2007 16:23:38 +0000 (17:23 +0100)]
Add a new interface between softpipe and the window system / buffer manager.

This interface is defined by softpipe and any window system (eg i915pipe)
wishing to use softpipe is required to implement the interface.
Currently the interface is all about buffer management.

Generalizing, each pipe driver will advertise an interface in a similar
spirit to this, and again any window system driver wishing to use that
rendering pipeline will have to implement the interface it defines.  It
clearly isn't a one-way street however, as softpipe could just do its own
buffer management with malloc.  The interaction with a buffer manager is
desired to allow us to exercise the hardware swapbuffers functionality of
the i915pipe driver, and also to get a feel for the way hardware drivers
which really need a buffer manager will work.

16 years agoremove intel_pixel.c
Brian [Fri, 3 Aug 2007 19:31:56 +0000 (13:31 -0600)]
remove intel_pixel.c

16 years agoadded st_cb_fbo.c
Brian [Fri, 3 Aug 2007 19:30:55 +0000 (13:30 -0600)]
added st_cb_fbo.c

16 years agomore work on st_choose_pipe_format()
Brian [Fri, 3 Aug 2007 19:29:02 +0000 (13:29 -0600)]
more work on st_choose_pipe_format()

16 years agoframebuffer object functions
Brian [Fri, 3 Aug 2007 19:28:35 +0000 (13:28 -0600)]
framebuffer object functions

16 years agoRemove dead files
Keith Whitwell [Fri, 3 Aug 2007 17:58:41 +0000 (18:58 +0100)]
Remove dead files

16 years agoRip out more dead drawing-related code.
Keith Whitwell [Fri, 3 Aug 2007 17:56:12 +0000 (18:56 +0100)]
Rip out more dead drawing-related code.

16 years agoRemove "static region" support.
Keith Whitwell [Fri, 3 Aug 2007 12:22:30 +0000 (13:22 +0100)]
Remove "static region" support.

The frontbuffer/driBufMgr interactions are handled as a special case
in the intel_screen code.

16 years agoSimplify frontbuffer / sarea / rotation management.
Keith Whitwell [Fri, 3 Aug 2007 12:14:27 +0000 (13:14 +0100)]
Simplify frontbuffer / sarea / rotation management.

Remove lots of old cruft.

16 years agoWorkaround wierd oops on gutsy when building mesa.
Keith Whitwell [Fri, 3 Aug 2007 11:28:03 +0000 (12:28 +0100)]
Workaround wierd oops on gutsy when building mesa.

16 years agoadded pipe->supported_formats()
Brian [Fri, 3 Aug 2007 02:40:33 +0000 (20:40 -0600)]
added pipe->supported_formats()

16 years agohook in teximage bits
Brian [Fri, 3 Aug 2007 02:40:19 +0000 (20:40 -0600)]
hook in teximage bits

16 years agomore formats
Brian [Fri, 3 Aug 2007 02:39:45 +0000 (20:39 -0600)]
more formats

16 years agotrim #includes
Brian [Fri, 3 Aug 2007 02:36:36 +0000 (20:36 -0600)]
trim #includes

16 years agobeginings of teximage functions
Brian [Fri, 3 Aug 2007 02:36:06 +0000 (20:36 -0600)]
beginings of teximage functions

16 years agopipe->clear() now takes a surface, rather than color/depth/stencil flags.
Brian [Thu, 2 Aug 2007 22:08:18 +0000 (16:08 -0600)]
pipe->clear() now takes a surface, rather than color/depth/stencil flags.

pipe->clear() only used to clear whole buffers (no scissor) w/out masking.
Draw a colored quadrilateral in all other cases.

16 years agocall st_init_cb_drawpixels
Brian [Thu, 2 Aug 2007 20:21:16 +0000 (14:21 -0600)]
call st_init_cb_drawpixels

16 years agoadded st_cb_drawpixels.c
Brian [Thu, 2 Aug 2007 20:21:02 +0000 (14:21 -0600)]
added st_cb_drawpixels.c

16 years agoinitial work for textured-quad glDrawPixels
Brian [Thu, 2 Aug 2007 20:20:40 +0000 (14:20 -0600)]
initial work for textured-quad glDrawPixels