Commit Graph

9309 Commits

Author SHA1 Message Date
Keith Whitwell dc2c20b625 Put back the old versions of intel_tex_layout.* in this shared directory.
Unbreak the original i915, i915tex drivers.  We will have our own
version of this functionality in the pipe driver and not attempt to share
with the older code.
2007-08-09 11:23:18 +01:00
Keith Whitwell b0e57f789c Hook up pipe flush functionality 2007-08-09 11:23:18 +01:00
Keith Whitwell 93d5cfd8b7 Add flush/finish functionality to pipe.
Not sure if finish() is the right interface yet.
2007-08-09 11:23:18 +01:00
Keith Whitwell d0521ebd51 Split swapbuffers and read/draw buffers functionality into two files. 2007-08-09 11:23:17 +01:00
michal 64f4268e85 Declare missing opcode aliases. Declare SGN opcode. 2007-08-09 10:44:38 +01:00
Brian 562fdca12d update lod bias, limits 2007-08-08 16:47:51 -06:00
Brian 5671bba1cb clean-up 2007-08-08 16:46:59 -06:00
Brian 8140642f53 use surface offset value in get_tile() 2007-08-08 16:46:32 -06:00
Brian 09a1b91260 initial lod/mipmap texture supported 2007-08-08 16:10:40 -06:00
Brian 7faa3542f0 setup frag shader state: color pass-through program 2007-08-08 16:10:40 -06:00
Brian ed227b7b8d added assertion 2007-08-08 16:10:40 -06:00
Brian 6dc212ce49 print_vertex func for debugging 2007-08-08 16:10:40 -06:00
Brian 3113254689 new assertions 2007-08-08 16:10:40 -06:00
michal 960bf97c9f Add D3D9 opcodes up to ps_2_x and vs_2_x. 2007-08-08 13:56:29 +01:00
Keith Whitwell 65f7b3834b Don't use hardware driver by default, until its working a bit better. 2007-08-08 12:32:06 +01:00
Keith Whitwell 715acc7622 The i915simple driver now runs well enough to lock up hardware. 2007-08-08 12:30:27 +01:00
Keith Whitwell cf3fb4e3ef Call init_state_funcs 2007-08-08 12:30:27 +01:00
Keith Whitwell 7bf2e9e383 Fix typo so that i915simple actually gets used. 2007-08-08 12:30:27 +01:00
keithw c28d2e6702 remove unused file 2007-08-08 12:30:26 +01:00
keithw db068269fc remove unused file 2007-08-08 12:30:26 +01:00
Keith Whitwell 7f74538173 Remove unused code, definitions. 2007-08-08 12:30:26 +01:00
Brian 267cf16e06 very simple texture cache implementation 2007-08-08 12:04:08 -06:00
Brian c8cc1e86f6 fix qs->next tests 2007-08-08 12:04:08 -06:00
Brian e4eb97318c add quad_stage::begin() funcs 2007-08-08 12:04:08 -06:00
Brian f00179f9b4 Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers). 2007-08-08 12:04:08 -06:00
Keith Whitwell 8daa738cf9 Remove more dead files. 2007-08-08 11:19:17 +01:00
Keith Whitwell 173e2c6a67 Remove dead files. 2007-08-08 11:17:48 +01:00
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