mesa.git
17 years agoAdd state initialization to context creation.
Jeremy Kolb [Mon, 20 Nov 2006 17:25:54 +0000 (17:25 +0000)]
Add state initialization to context creation.

17 years agoCleanup the swtcl code.
Stephane Marchesin [Sun, 19 Nov 2006 23:47:24 +0000 (23:47 +0000)]
Cleanup the swtcl code.

17 years agoUse NONINC_METHOD for vertex data.
Stephane Marchesin [Sun, 19 Nov 2006 23:39:16 +0000 (23:39 +0000)]
Use NONINC_METHOD for vertex data.

17 years agoMore work on the swtcl
Stephane Marchesin [Sun, 19 Nov 2006 23:16:29 +0000 (23:16 +0000)]
More work on the swtcl

17 years agoMore fifo debug fixes
Stephane Marchesin [Sun, 19 Nov 2006 22:16:54 +0000 (22:16 +0000)]
More fifo debug fixes

17 years agoOops.
Stephane Marchesin [Sun, 19 Nov 2006 21:51:28 +0000 (21:51 +0000)]
Oops.

17 years agoFix the fifo debugging feature.
Stephane Marchesin [Sun, 19 Nov 2006 21:29:41 +0000 (21:29 +0000)]
Fix the fifo debugging feature.

17 years agoNew swtcl implementation. It's simpler than the previous one (doesn't use
Stephane Marchesin [Sun, 19 Nov 2006 20:18:45 +0000 (20:18 +0000)]
New swtcl implementation. It's simpler than the previous one (doesn't use
    templates) and it is probably faster as well

17 years agoDon't bother touching lighting stuff if shaders are in use
Ben Skeggs [Sun, 19 Nov 2006 16:05:59 +0000 (16:05 +0000)]
Don't bother touching lighting stuff if shaders are in use

17 years agoFix nv30LineWidth, hw expects a ubyte.
Ben Skeggs [Sun, 19 Nov 2006 15:52:18 +0000 (15:52 +0000)]
Fix nv30LineWidth, hw expects a ubyte.

17 years agoAvoid sharing subchannels with the ddx until context switching is done
Ben Skeggs [Sun, 19 Nov 2006 15:46:31 +0000 (15:46 +0000)]
Avoid sharing subchannels with the ddx until context switching is done
    properly..

17 years agoMore FIFO fixes.
Ben Skeggs [Sun, 19 Nov 2006 15:45:36 +0000 (15:45 +0000)]
More FIFO fixes.

17 years agoStupid bug..
Ben Skeggs [Sun, 19 Nov 2006 14:10:54 +0000 (14:10 +0000)]
Stupid bug..

17 years agopoke the correct FIFO regs
Ben Skeggs [Sun, 19 Nov 2006 12:00:59 +0000 (12:00 +0000)]
poke the correct FIFO regs

17 years agoMore state functions
Stephane Marchesin [Sat, 18 Nov 2006 00:36:22 +0000 (00:36 +0000)]
More state functions

17 years agoAdd nv20_state.c ; hook nv10_state.c into the build ; do the renaming
Stephane Marchesin [Sat, 18 Nov 2006 00:19:22 +0000 (00:19 +0000)]
Add nv20_state.c ; hook nv10_state.c into the build ; do the renaming
    required by the renouveau changes.

17 years agoSmall unneeded nv03 fix
Stephane Marchesin [Fri, 17 Nov 2006 22:11:13 +0000 (22:11 +0000)]
Small unneeded nv03 fix

17 years agoUse RENDERINPUTS macros to access render_inputs_bitset
Ben Skeggs [Fri, 17 Nov 2006 21:58:02 +0000 (21:58 +0000)]
Use RENDERINPUTS macros to access render_inputs_bitset

17 years agoAdapt FIFO code to deal with cases where the base GET/PUT value isn't 0.
Ben Skeggs [Fri, 17 Nov 2006 04:50:37 +0000 (04:50 +0000)]
Adapt FIFO code to deal with cases where the base GET/PUT value isn't 0.

17 years agojkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcs
Ben Skeggs [Thu, 16 Nov 2006 23:43:39 +0000 (23:43 +0000)]
jkolb pointed out that face can also be FRONT_AND_BACK. Added stencil funcs

17 years agoAdd nv30InitStateFuncs
Ben Skeggs [Thu, 16 Nov 2006 23:24:20 +0000 (23:24 +0000)]
Add nv30InitStateFuncs

17 years agonv10 state copy/pasted from nv30 state
Patrice Mandin [Thu, 16 Nov 2006 19:50:56 +0000 (19:50 +0000)]
nv10 state copy/pasted from nv30 state

17 years agoFix segfault in nouveauCalcViewport
Ben Skeggs [Mon, 13 Nov 2006 16:01:03 +0000 (16:01 +0000)]
Fix segfault in nouveauCalcViewport

17 years agoAdd include guard.
Jeremy Kolb [Sun, 12 Nov 2006 18:18:02 +0000 (18:18 +0000)]
Add include guard.

17 years agoSome more nouveau_screen.c setup, not sure how correct it is yet though..
Ben Skeggs [Sun, 12 Nov 2006 08:38:44 +0000 (08:38 +0000)]
Some more nouveau_screen.c setup, not sure how correct it is yet though..

17 years agoWe need nmesa->driFd and friends setup before we call nouveauFifoInit
Ben Skeggs [Sun, 12 Nov 2006 02:06:30 +0000 (02:06 +0000)]
We need nmesa->driFd and friends setup before we call nouveauFifoInit

17 years agoDont call exit() from the DRI driver, with AIGLX this is particularly nasty
Ben Skeggs [Sun, 12 Nov 2006 02:05:40 +0000 (02:05 +0000)]
Dont call exit() from the DRI driver, with AIGLX this is particularly nasty

17 years agofix typo
Ben Skeggs [Sat, 11 Nov 2006 20:00:29 +0000 (20:00 +0000)]
fix typo

17 years agoSome nouveau_screen work for darktama
Stephane Marchesin [Sat, 11 Nov 2006 18:25:00 +0000 (18:25 +0000)]
Some nouveau_screen work for darktama

17 years agoFill in nv30PointSize and nv30Viewport.
Jeremy Kolb [Sat, 11 Nov 2006 16:48:14 +0000 (16:48 +0000)]
Fill in nv30PointSize and nv30Viewport.

17 years agoFix the texture init function name
Stephane Marchesin [Sat, 11 Nov 2006 12:01:48 +0000 (12:01 +0000)]
Fix the texture init function name

17 years agoAdd the GL_LIGHING enable
Stephane Marchesin [Sat, 11 Nov 2006 11:25:08 +0000 (11:25 +0000)]
Add the GL_LIGHING enable

17 years agoSome work on nv30 state, heavily based on jkolb's work
Stephane Marchesin [Sat, 11 Nov 2006 00:00:45 +0000 (00:00 +0000)]
Some work on nv30 state, heavily based on jkolb's work

17 years agoCommit a small nitpick
Stephane Marchesin [Tue, 7 Nov 2006 17:37:22 +0000 (17:37 +0000)]
Commit a small nitpick

17 years agoArchitect the DRI :
Stephane Marchesin [Sun, 5 Nov 2006 13:46:48 +0000 (13:46 +0000)]
Architect the DRI :
- make use of the autogenerated nouveau_reg.h file
- add object creation to the DRI
- some work on screen and context creation

17 years agoAdded OUT_RING* debugging macros. Compile with NOUVEAU_RING_DEBUG to use.
Jeremy Kolb [Wed, 1 Nov 2006 02:48:34 +0000 (02:48 +0000)]
Added OUT_RING* debugging macros. Compile with NOUVEAU_RING_DEBUG to use.

17 years agoOops. Forgot to check in the context change.
Jeremy Kolb [Wed, 1 Nov 2006 02:45:12 +0000 (02:45 +0000)]
Oops. Forgot to check in the context change.

17 years agoFix compile errors. Add vblank_seq to nouveau_context.
Jeremy Kolb [Wed, 1 Nov 2006 02:44:27 +0000 (02:44 +0000)]
Fix compile errors. Add vblank_seq to nouveau_context.

17 years agoKill all the current shader code.
Ben Skeggs [Sun, 24 Sep 2006 13:16:23 +0000 (13:16 +0000)]
Kill all the current shader code.

17 years agoSome small changes
Stephane Marchesin [Sun, 17 Sep 2006 17:46:36 +0000 (17:46 +0000)]
Some small changes

17 years agoRename nouveau_tris.* to nouveau_swtcl.*
Stephane Marchesin [Sun, 17 Sep 2006 15:30:40 +0000 (15:30 +0000)]
Rename nouveau_tris.* to nouveau_swtcl.*

17 years agoSmall changes
Stephane Marchesin [Sun, 17 Sep 2006 14:36:07 +0000 (14:36 +0000)]
Small changes

17 years agoMake nouveau actually compile
Stephane Marchesin [Sun, 17 Sep 2006 12:09:11 +0000 (12:09 +0000)]
Make nouveau actually compile

17 years agoSome work towards making the nv10 swtcl compile
Stephane Marchesin [Sun, 17 Sep 2006 11:58:52 +0000 (11:58 +0000)]
Some work towards making the nv10 swtcl compile

17 years agooops, time to go to bed
Patrice Mandin [Fri, 8 Sep 2006 23:19:45 +0000 (23:19 +0000)]
oops, time to go to bed

17 years agonv10: vertex attribute output format
Patrice Mandin [Fri, 8 Sep 2006 23:18:27 +0000 (23:18 +0000)]
nv10: vertex attribute output format

17 years agomore macros, still missing the alloc_verts one
Patrice Mandin [Fri, 8 Sep 2006 21:52:25 +0000 (21:52 +0000)]
more macros, still missing the alloc_verts one

17 years agoreimport sw stuff
Patrice Mandin [Fri, 8 Sep 2006 21:41:58 +0000 (21:41 +0000)]
reimport sw stuff

17 years agorender_primitive macro
Patrice Mandin [Fri, 8 Sep 2006 21:34:47 +0000 (21:34 +0000)]
render_primitive macro

17 years agovert_copy_spec macro
Patrice Mandin [Fri, 8 Sep 2006 21:30:32 +0000 (21:30 +0000)]
vert_copy_spec macro

17 years agovert_copy_rgba macro
Patrice Mandin [Fri, 8 Sep 2006 21:27:17 +0000 (21:27 +0000)]
vert_copy_rgba macro

17 years agobasic primitives
Patrice Mandin [Fri, 8 Sep 2006 21:23:04 +0000 (21:23 +0000)]
basic primitives

17 years agoRemove useless reference to fifo_num field
Patrice Mandin [Fri, 8 Sep 2006 20:17:59 +0000 (20:17 +0000)]
Remove useless reference to fifo_num field

18 years agoA couple of quick fixes, the original had some half-finished
Ben Skeggs [Sat, 3 Jun 2006 17:15:50 +0000 (17:15 +0000)]
A couple of quick fixes, the original had some half-finished
    modifications..

18 years agoAnother TODO, so I don't forget..
Ben Skeggs [Sat, 3 Jun 2006 16:37:46 +0000 (16:37 +0000)]
Another TODO, so I don't forget..

18 years agoAdd start of vertex shader backend, will most likely not work correctly yet
Ben Skeggs [Sat, 3 Jun 2006 16:36:23 +0000 (16:36 +0000)]
Add start of vertex shader backend, will most likely not work correctly yet

18 years agoMore context.
Jeremy Kolb [Mon, 17 Apr 2006 15:20:29 +0000 (15:20 +0000)]
More context.

18 years agoChanged invalid context fields to valid ones.
Jeremy Kolb [Mon, 17 Apr 2006 00:08:03 +0000 (00:08 +0000)]
Changed invalid context fields to valid ones.

18 years agoState changes.
Jeremy Kolb [Sat, 15 Apr 2006 00:21:44 +0000 (00:21 +0000)]
State changes.

18 years agoMore work on the tcl code... still have to make my mind on a number of
Stephane Marchesin [Fri, 14 Apr 2006 23:47:45 +0000 (23:47 +0000)]
More work on the tcl code... still have to make my mind on a number of
    things

18 years agoAdd more feilds to context.
Jeremy Kolb [Fri, 14 Apr 2006 23:02:39 +0000 (23:02 +0000)]
Add more feilds to context.

18 years agoooops
Stephane Marchesin [Fri, 14 Apr 2006 22:59:33 +0000 (22:59 +0000)]
ooops

18 years agoAdded render index field to the context
Stephane Marchesin [Fri, 14 Apr 2006 22:58:30 +0000 (22:58 +0000)]
Added render index field to the context

18 years agoCleaning
Jeremy Kolb [Fri, 14 Apr 2006 22:50:14 +0000 (22:50 +0000)]
Cleaning

18 years agoSilence the lock warning
Stephane Marchesin [Fri, 14 Apr 2006 22:48:03 +0000 (22:48 +0000)]
Silence the lock warning

18 years agoAdded vertex attributes to the context
Stephane Marchesin [Fri, 14 Apr 2006 22:43:44 +0000 (22:43 +0000)]
Added vertex attributes to the context

18 years agoCleaned stuff in the tcl code
Stephane Marchesin [Fri, 14 Apr 2006 22:41:16 +0000 (22:41 +0000)]
Cleaned stuff in the tcl code

18 years agoAdded the beginnings of state (not much there yet). Fixed some includes.
Jeremy Kolb [Fri, 14 Apr 2006 17:39:43 +0000 (17:39 +0000)]
Added the beginnings of state (not much there yet). Fixed some includes.

18 years agoSome compile fixes.
Jeremy Kolb [Thu, 13 Apr 2006 17:03:51 +0000 (17:03 +0000)]
Some compile fixes.

18 years agoCleaned up some code, made more files compile. Renamed nv20_swtcl.* to
Stephane Marchesin [Mon, 13 Mar 2006 11:30:41 +0000 (11:30 +0000)]
Cleaned up some code, made more files compile. Renamed nv20_swtcl.* to
    nv10_swtcl.*, hopefully this is the last rename (this should be, as
    NV05 really behaves differently).

18 years agoA little work here and there
Stephane Marchesin [Fri, 10 Mar 2006 01:43:39 +0000 (01:43 +0000)]
A little work here and there

18 years agoAdded a missing field
Stephane Marchesin [Tue, 7 Mar 2006 00:56:30 +0000 (00:56 +0000)]
Added a missing field

18 years agoCleaned up the software TCL code a bit. Renamed nv30_tris.[c,h] to
Stephane Marchesin [Mon, 6 Mar 2006 15:32:31 +0000 (15:32 +0000)]
Cleaned up the software TCL code a bit. Renamed nv30_tris.[c,h] to
    nv20_swtcl.[c,h].

18 years agoAdded some NV20 support - nv_30_tris.c should probably be renamed again.
Stephane Marchesin [Mon, 6 Mar 2006 12:23:24 +0000 (12:23 +0000)]
Added some NV20 support - nv_30_tris.c should probably be renamed again.

18 years agoMore work on the nv30 software tcl code
Stephane Marchesin [Mon, 6 Mar 2006 01:46:24 +0000 (01:46 +0000)]
More work on the nv30 software tcl code

18 years agoRename nouveau_3d_reg.h to nouveau_reg.h
Stephane Marchesin [Fri, 3 Mar 2006 16:10:28 +0000 (16:10 +0000)]
Rename nouveau_3d_reg.h to nouveau_reg.h

18 years agorename nv40_tris to nv30_tris.
Stephane Marchesin [Fri, 3 Mar 2006 16:08:59 +0000 (16:08 +0000)]
rename nv40_tris to nv30_tris.

18 years agoSome small improvements.
Stephane Marchesin [Thu, 2 Mar 2006 00:42:37 +0000 (00:42 +0000)]
Some small improvements.

18 years agoImport
Stephane Marchesin [Thu, 23 Feb 2006 12:55:56 +0000 (12:55 +0000)]
Import

18 years agoInitial revision
Stephane Marchesin [Thu, 23 Feb 2006 12:55:56 +0000 (12:55 +0000)]
Initial revision