Commit Graph

9282 Commits

Author SHA1 Message Date
Keith Whitwell ef8b68a8a8 Pull in i915simple.a 2007-08-08 11:14:08 +01:00
Keith Whitwell dbb297fac6 Hook up i915simple. Doesn't compile. 2007-08-08 11:14:08 +01:00
Brian 7e78b9e4d0 rewrite texture sampling code (smaller, simpler) 2007-08-08 11:09:53 -06:00
Brian e12810d92f add lambda param to get_sample() 2007-08-08 11:09:02 -06:00
Brian 34a48abd5f sketch out 1D/3D/cube texture sampling 2007-08-08 10:26:51 -06:00
Brian eb147ed775 added PIPE_TEX_FACE_* 2007-08-08 10:26:16 -06:00
Brian 40bc47f578 replace draw_offset w/ 0 for now 2007-08-08 09:52:35 -06:00
Brian 7523f490b0 define i915_surface struct 2007-08-08 09:52:08 -06:00
Keith Whitwell 8a475cb791 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.
2007-08-08 09:42:19 +01:00
Brian f62b573922 more get_tile() work 2007-08-08 09:36:53 +01:00
Brian 08f33a0251 fully support all texcoord wrap modes 2007-08-08 09:36:53 +01:00
Keith Whitwell 01c35b52a1 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.
2007-08-08 09:30:45 +01:00
Brian ddd30d8160 clean up tgsi_sampler-related bits 2007-08-07 18:24:30 -06:00
Brian e4b5265487 use new tex filtering code 2007-08-07 18:24:30 -06:00
Brian 0dc4eea64f initial texture filtering code 2007-08-07 18:24:30 -06:00
Brian 283ed438b6 include p_state.h 2007-08-07 18:24:30 -06:00
Brian 85675db0fc added a get_tile() func 2007-08-07 18:24:29 -06:00
Brian 11c557d3ca map/unmap textures 2007-08-07 18:24:29 -06:00
Brian 204d35c0ef remove dst!=src assertion 2007-08-07 18:24:29 -06:00
Brian b4784862b4 debug info 2007-08-07 18:24:29 -06:00
Brian b245840b86 set mt->format 2007-08-07 18:24:29 -06:00
Brian 6cdff693a7 added pipe_mipmap_tree::format 2007-08-07 18:24:29 -06:00
Brian 14b9834330 s/intel/st/ 2007-08-07 18:24:29 -06:00
michal 4a470f63c9 Naive implementation of IF/ELSE/ENDIF.
Handle TGSI labels correctly.
Enhance MESA opcode info queries.
2007-08-07 15:34:46 +01:00
Brian adf5560ea5 checkpoint new tgsi_sampler_state struct 2007-08-07 15:28:12 -06:00
Brian ab80be0df1 remove pipe_surface_sampler 2007-08-07 15:27:03 -06:00
Brian d805d46a5f added st_atom_texture.c 2007-08-07 15:12:40 -06:00
Brian d78dab1267 plug in texture/sampler state update 2007-08-07 15:12:22 -06:00
Brian 28d64d398b texture image state handling 2007-08-07 15:11:20 -06:00
Brian b23f358cbc sketch out new pipe surface/sampler types 2007-08-07 13:13:41 -06:00
michal 281dad2259 Handle labels for IF/ELSE correctly 2007-08-07 12:50:12 +01:00
michal f141399031 Enable compact TGSI dump. 2007-08-07 11:50:01 +01:00
michal c7e6a2eb83 Dump tokens in more compact form. 2007-08-07 11:50:01 +01:00
Brian cec49ee954 s/pipe_texture_object/pipe_mipmap_tree/, drop st_texobj.c 2007-08-07 10:56:41 -06:00
Brian c61927a0cb don't include non-existant intel_buffer_objects.h 2007-08-07 10:56:01 -06:00
Keith Whitwell 90ee7a4144 Gutsy oopses on touch of existing file. Workaround. 2007-08-07 10:18:30 +01:00
Keith Whitwell 87a8f5643d Remove old intel_buffer_objects code - there is a state_tracker version now. 2007-08-07 10:18:29 +01:00
michal 285c7d5931 Labels are always label targets.
Translate label for GLSL IF, ELSE.
2007-08-07 10:15:21 +01:00
Brian 958a1ad420 prototypes 2007-08-07 10:07:23 -06:00
Brian e43bc8da7a get rid of temp write_mono_row_ub() function 2007-08-07 09:55:13 -06:00
Brian 647afc3179 call st_init_driver_functions(), make intelInitDriverFunctions() static 2007-08-06 20:56:29 +01:00
Brian 34ff87e46a call st_init_driver_functions() 2007-08-06 20:54:41 +01:00
Brian 4a60b94701 added softpipe_mipmap_tree_layout 2007-08-06 20:54:18 +01:00
Brian 07633371ff need a softpipe func for texture layout 2007-08-06 20:54:03 +01: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 8ebf91d15e new header 2007-08-06 20:52:04 +01:00
Brian a2e3def40c fix asst. warnings 2007-08-06 20:49:44 +01:00
michal 3f26f61678 Add GLSL opcodes. 2007-08-06 17:20:31 +01:00
michal 2cd6291c62 Add GLSL ops. 2007-08-06 17:18:25 +01:00
michal 76478a4706 Make SGE, SGT, SLE working. 2007-08-06 17:15:37 +01:00