profile/ivi/mesa.git
17 years agoSupport predicates.
michal [Fri, 10 Aug 2007 10:45:06 +0000 (11:45 +0100)]
Support predicates.

Predicates, as per D3D9 spec, are a complete subset of NVIDIA's
condition codes. However, due to its broad support in non-NVIDIA
hardware, it is being exposed in TGSI to ease hw driver development.
Two decomposition functions are expected in the future.
1. GetRidOfPredicates() - predicates are implemented with condition
codes.
2. There is no second function, it's just this pesky VI that does not
allow me to move with arrow keys and so I cannot edit previous paragraphs.

17 years agoadded st_cb_readpixels.c
Brian [Fri, 10 Aug 2007 17:37:41 +0000 (11:37 -0600)]
added st_cb_readpixels.c

17 years agouse st_cb_readpixels.c
Brian [Fri, 10 Aug 2007 17:37:21 +0000 (11:37 -0600)]
use st_cb_readpixels.c

17 years agoglReadPixels
Brian [Fri, 10 Aug 2007 17:37:05 +0000 (11:37 -0600)]
glReadPixels

17 years agoadd missing break stmt
Brian [Fri, 10 Aug 2007 17:36:23 +0000 (11:36 -0600)]
add missing break stmt

17 years agomore render to texture work
Brian [Fri, 10 Aug 2007 17:35:57 +0000 (11:35 -0600)]
more render to texture work

17 years agosketch out some render-to-texture code
Brian [Fri, 10 Aug 2007 17:17:26 +0000 (11:17 -0600)]
sketch out some render-to-texture code

17 years agoremove some temporary hacks
Brian [Fri, 10 Aug 2007 17:16:53 +0000 (11:16 -0600)]
remove some temporary hacks

17 years agoadded pipe_surface_unreference()
Brian [Fri, 10 Aug 2007 17:15:33 +0000 (11:15 -0600)]
added pipe_surface_unreference()

17 years agoinclude surface.offset in address calculations
Brian [Fri, 10 Aug 2007 17:15:15 +0000 (11:15 -0600)]
include surface.offset in address calculations

17 years agoClean up / sanitize debugging
Keith Whitwell [Fri, 10 Aug 2007 09:37:20 +0000 (10:37 +0100)]
Clean up / sanitize debugging

17 years agoMissing files
Keith Whitwell [Fri, 10 Aug 2007 09:23:24 +0000 (10:23 +0100)]
Missing files

17 years agoRemove dead include line
Keith Whitwell [Fri, 10 Aug 2007 09:21:42 +0000 (10:21 +0100)]
Remove dead include line

17 years agoFix merge issue
Keith Whitwell [Fri, 10 Aug 2007 09:20:35 +0000 (10:20 +0100)]
Fix merge issue

17 years agoGive softpipe a native texture layout of its own.
Keith Whitwell [Fri, 10 Aug 2007 09:15:23 +0000 (10:15 +0100)]
Give softpipe a native texture layout of its own.

Basically the same as the 945's for now.

17 years agoAdd printf handlers, pass pci id and move texlayout code to driver.
Keith Whitwell [Fri, 10 Aug 2007 09:02:34 +0000 (10:02 +0100)]
Add printf handlers, pass pci id and move texlayout code to driver.

17 years agoPass pci_id to i915_create()
Keith Whitwell [Fri, 10 Aug 2007 09:01:15 +0000 (10:01 +0100)]
Pass pci_id to i915_create()

17 years agoAdd a printf method to winsys and use for all debugging.
Keith Whitwell [Fri, 10 Aug 2007 08:58:17 +0000 (09:58 +0100)]
Add a printf method to winsys and use for all debugging.

17 years agoAdd a printf method to winsys. Not currently used.
Keith Whitwell [Fri, 10 Aug 2007 08:55:40 +0000 (09:55 +0100)]
Add a printf method to winsys. Not currently used.

17 years agoobsolete files
Brian [Fri, 10 Aug 2007 16:09:52 +0000 (10:09 -0600)]
obsolete files

17 years agono longer need intel_surface.c
Brian [Fri, 10 Aug 2007 16:09:29 +0000 (10:09 -0600)]
no longer need intel_surface.c

17 years agomove intel_supported_formats() into intel_context.c
Brian [Fri, 10 Aug 2007 16:09:12 +0000 (10:09 -0600)]
move intel_supported_formats() into intel_context.c

17 years agowe can now just rely on softpipe for surface creation, quad_read/write, etc
Brian [Fri, 10 Aug 2007 16:06:57 +0000 (10:06 -0600)]
we can now just rely on softpipe for surface creation, quad_read/write, etc

17 years agoflesh out w/ more formats, y=0=top convention
Brian [Fri, 10 Aug 2007 16:06:00 +0000 (10:06 -0600)]
flesh out w/ more formats, y=0=top convention

17 years agoreturn (softpipe) in GL_RENDERER string - temporarily
Brian [Fri, 10 Aug 2007 07:38:31 +0000 (08:38 +0100)]
return (softpipe) in GL_RENDERER string - temporarily

17 years agorename st_cb_teximage.h st_format.h
Brian [Fri, 10 Aug 2007 07:37:15 +0000 (08:37 +0100)]
rename st_cb_teximage.h st_format.h

17 years agoRename (file contains surface format-related functions)
Brian [Fri, 10 Aug 2007 07:35:13 +0000 (08:35 +0100)]
Rename (file contains surface format-related functions)

17 years agocode movement
Brian [Fri, 10 Aug 2007 07:34:18 +0000 (08:34 +0100)]
code movement

17 years agoinvert Y axis
Brian [Fri, 10 Aug 2007 07:33:43 +0000 (08:33 +0100)]
invert Y axis

17 years agochange triangle orientation, fix exit()
Brian [Fri, 10 Aug 2007 07:33:09 +0000 (08:33 +0100)]
change triangle orientation, fix exit()

17 years agoasst changes to get softpipe rendering again (no zbuf support for now)
Brian [Thu, 9 Aug 2007 21:56:50 +0000 (22:56 +0100)]
asst changes to get softpipe rendering again (no zbuf support for now)

17 years agoinit strb->Base.DataType appropriately, clean-ups
Brian [Thu, 9 Aug 2007 21:56:21 +0000 (22:56 +0100)]
init strb->Base.DataType appropriately, clean-ups

17 years agoexport softpipe_init_surface_funcs()
Brian [Thu, 9 Aug 2007 21:55:28 +0000 (22:55 +0100)]
export softpipe_init_surface_funcs()

17 years agoadded null ptr checks
Brian [Thu, 9 Aug 2007 21:55:15 +0000 (22:55 +0100)]
added null ptr checks

17 years agoSplit texfilter enums to match common hardware usage.
Keith Whitwell [Thu, 9 Aug 2007 18:09:19 +0000 (19:09 +0100)]
Split texfilter enums to match common hardware usage.

17 years agosilence warning
Keith Whitwell [Thu, 9 Aug 2007 18:08:52 +0000 (19:08 +0100)]
silence warning

17 years agosilence warning
Keith Whitwell [Thu, 9 Aug 2007 18:08:23 +0000 (19:08 +0100)]
silence warning

17 years agomore work toward texture-based glDrawPixels
Brian [Fri, 10 Aug 2007 01:04:50 +0000 (19:04 -0600)]
more work toward texture-based glDrawPixels

17 years agocomments
Brian [Fri, 10 Aug 2007 01:04:28 +0000 (19:04 -0600)]
comments

17 years agomove viewport Y inversion to state tracker
Brian [Fri, 10 Aug 2007 00:24:37 +0000 (18:24 -0600)]
move viewport Y inversion to state tracker

17 years agoAdd more i915 state packets.
Keith Whitwell [Thu, 9 Aug 2007 17:07:42 +0000 (18:07 +0100)]
Add more i915 state packets.

These correspond to the dynamic indirect state, though they are
currently just pushed straight to the batch buffer.

17 years agoRemove unused file
Keith Whitwell [Thu, 9 Aug 2007 16:40:18 +0000 (17:40 +0100)]
Remove unused file

17 years agoinvert Y axis with the viewport transformation to put things right side up
Brian [Thu, 9 Aug 2007 23:59:13 +0000 (17:59 -0600)]
invert Y axis with the viewport transformation to put things right side up

17 years agovertex colors are ARGB
Brian [Thu, 9 Aug 2007 23:58:28 +0000 (17:58 -0600)]
vertex colors are ARGB

17 years agoMissing files
Keith Whitwell [Thu, 9 Aug 2007 15:45:20 +0000 (16:45 +0100)]
Missing files

17 years agoSome basic state - blend and ztest sort of work.
Keith Whitwell [Thu, 9 Aug 2007 15:43:44 +0000 (16:43 +0100)]
Some basic state - blend and ztest sort of work.

17 years agoRemove references to fallbacks from this directory
Keith Whitwell [Thu, 9 Aug 2007 15:06:16 +0000 (16:06 +0100)]
Remove references to fallbacks from this directory

17 years agocomments, assertions, etc
Brian [Thu, 9 Aug 2007 22:31:48 +0000 (16:31 -0600)]
comments, assertions, etc

17 years agoObsolete
Brian [Thu, 9 Aug 2007 22:05:08 +0000 (16:05 -0600)]
Obsolete

17 years agodead code removal
Brian [Thu, 9 Aug 2007 22:04:39 +0000 (16:04 -0600)]
dead code removal

17 years agoEmit drawrect command as we no longer ask the kernel to do this.
Keith Whitwell [Thu, 9 Aug 2007 15:00:43 +0000 (16:00 +0100)]
Emit drawrect command as we no longer ask the kernel to do this.

17 years agoRemove unused blit functions.
Keith Whitwell [Thu, 9 Aug 2007 14:52:38 +0000 (15:52 +0100)]
Remove unused blit functions.

17 years agoDon't reemit hardware state *every* primitive.
Keith Whitwell [Thu, 9 Aug 2007 11:02:45 +0000 (12:02 +0100)]
Don't reemit hardware state *every* primitive.

17 years agofix merge conflicts
Brian [Thu, 9 Aug 2007 21:42:12 +0000 (15:42 -0600)]
fix merge conflicts

17 years agodon't use intel_read_draw_buffer.c anymore
Brian [Thu, 9 Aug 2007 21:41:08 +0000 (15:41 -0600)]
don't use intel_read_draw_buffer.c anymore

17 years agoassertions
Brian [Thu, 9 Aug 2007 21:39:54 +0000 (15:39 -0600)]
assertions

17 years ago*numFormats = 3
Brian [Thu, 9 Aug 2007 21:39:31 +0000 (15:39 -0600)]
*numFormats = 3

17 years agominor clean-ups
Brian [Thu, 9 Aug 2007 19:17:49 +0000 (13:17 -0600)]
minor clean-ups

17 years agoremove intel_depthstencil.c and intel_fbo.c
Brian [Thu, 9 Aug 2007 19:09:58 +0000 (13:09 -0600)]
remove intel_depthstencil.c and intel_fbo.c

17 years agoObsolete files
Brian [Thu, 9 Aug 2007 19:09:27 +0000 (13:09 -0600)]
Obsolete files

17 years agodon't include intel_depthstencil.h
Brian [Thu, 9 Aug 2007 19:08:43 +0000 (13:08 -0600)]
don't include intel_depthstencil.h

17 years agoremove some includes
Brian [Thu, 9 Aug 2007 19:04:53 +0000 (13:04 -0600)]
remove some includes

17 years agoCheckpoint intel_renderbuffer removal.
Brian [Thu, 9 Aug 2007 18:59:11 +0000 (12:59 -0600)]
Checkpoint intel_renderbuffer removal.

Remove surface ptr from gl_renderbuffer.
Use st_renderbuffer in most places.
More clean-up.

17 years agoremove dead code, remove intel_fbo.h includes
Brian [Thu, 9 Aug 2007 18:36:47 +0000 (12:36 -0600)]
remove dead code, remove intel_fbo.h includes

17 years agosurface-related prototypes
Brian [Thu, 9 Aug 2007 18:36:19 +0000 (12:36 -0600)]
surface-related prototypes

17 years agocheckpoint: no longer using intel_fbo.c
Brian [Thu, 9 Aug 2007 18:27:44 +0000 (12:27 -0600)]
checkpoint: no longer using intel_fbo.c

17 years agoremove color_rb[] and lots of dead code
Brian [Thu, 9 Aug 2007 17:30:40 +0000 (11:30 -0600)]
remove color_rb[] and lots of dead code

17 years agodisable intel_get_rb_region()
Brian [Thu, 9 Aug 2007 17:16:13 +0000 (11:16 -0600)]
disable intel_get_rb_region()

17 years agocheckpoint: more intel_renderbuffer removal
Brian [Thu, 9 Aug 2007 17:11:11 +0000 (11:11 -0600)]
checkpoint: more intel_renderbuffer removal

17 years agocheckpoint: intel_renderbuffer removal (intel_renderbuffer now == gl_renderbuffer
Brian [Thu, 9 Aug 2007 16:52:03 +0000 (10:52 -0600)]
checkpoint: intel_renderbuffer removal (intel_renderbuffer now == gl_renderbuffer

17 years agocheckpoint: intel_renderbuffer removal (move vbl_pending field into intel_framebuffer
Brian [Thu, 9 Aug 2007 16:39:19 +0000 (10:39 -0600)]
checkpoint: intel_renderbuffer removal (move vbl_pending field into intel_framebuffer

17 years agocheckpoint: intel_renderbuffer removal
Brian [Thu, 9 Aug 2007 16:33:18 +0000 (10:33 -0600)]
checkpoint: intel_renderbuffer removal

17 years agoUpdate opcode list.
michal [Thu, 9 Aug 2007 11:55:50 +0000 (12:55 +0100)]
Update opcode list.

17 years agoFurther opcode list reorg.
michal [Thu, 9 Aug 2007 11:49:46 +0000 (12:49 +0100)]
Further opcode list reorg.

Add TXP opcode.
Alias SGN to SSG.
Alias EXPP to EXP.

17 years agoQuieten TGSI
Keith Whitwell [Thu, 9 Aug 2007 10:22:45 +0000 (11:22 +0100)]
Quieten TGSI

17 years agoQuieten TGSI
Keith Whitwell [Thu, 9 Aug 2007 10:22:29 +0000 (11:22 +0100)]
Quieten TGSI

17 years agoSupporting batchbuffer changes for 1st hwpipe triangles...
Keith Whitwell [Thu, 9 Aug 2007 10:21:22 +0000 (11:21 +0100)]
Supporting batchbuffer changes for 1st hwpipe triangles...

17 years agoRemove unreferenced file.
Keith Whitwell [Thu, 9 Aug 2007 10:20:38 +0000 (11:20 +0100)]
Remove unreferenced file.

17 years agoTweaks to state emit, acheives first hw triangles from a pipe driver.
Keith Whitwell [Thu, 9 Aug 2007 10:19:09 +0000 (11:19 +0100)]
Tweaks to state emit, acheives first hw triangles from a pipe driver.

17 years agoPull in debug code for human-readable batchbuffer dumps.
Keith Whitwell [Thu, 9 Aug 2007 10:18:27 +0000 (11:18 +0100)]
Pull in debug code for human-readable batchbuffer dumps.

17 years agoThe pipe version of these files. Can probably relocate to pipe/i915simple.
Keith Whitwell [Thu, 9 Aug 2007 09:35:48 +0000 (10:35 +0100)]
The pipe version of these files. Can probably relocate to pipe/i915simple.

17 years agoPut back the old versions of intel_tex_layout.* in this shared directory.
Keith Whitwell [Thu, 9 Aug 2007 09:34:35 +0000 (10:34 +0100)]
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.

17 years agoHook up pipe flush functionality
Keith Whitwell [Wed, 8 Aug 2007 15:42:29 +0000 (16:42 +0100)]
Hook up pipe flush functionality

17 years agoAdd flush/finish functionality to pipe.
Keith Whitwell [Wed, 8 Aug 2007 15:42:01 +0000 (16:42 +0100)]
Add flush/finish functionality to pipe.

Not sure if finish() is the right interface yet.

17 years agoSplit swapbuffers and read/draw buffers functionality into two files.
Keith Whitwell [Wed, 8 Aug 2007 15:40:45 +0000 (16:40 +0100)]
Split swapbuffers and read/draw buffers functionality into two files.

17 years agoDeclare missing opcode aliases. Declare SGN opcode.
michal [Thu, 9 Aug 2007 09:43:56 +0000 (10:43 +0100)]
Declare missing opcode aliases. Declare SGN opcode.

17 years agoupdate lod bias, limits
Brian [Wed, 8 Aug 2007 22:47:51 +0000 (16:47 -0600)]
update lod bias, limits

17 years agoclean-up
Brian [Wed, 8 Aug 2007 22:46:59 +0000 (16:46 -0600)]
clean-up

17 years agouse surface offset value in get_tile()
Brian [Wed, 8 Aug 2007 22:46:32 +0000 (16:46 -0600)]
use surface offset value in get_tile()

17 years agoinitial lod/mipmap texture supported
Brian [Wed, 8 Aug 2007 22:09:13 +0000 (16:09 -0600)]
initial lod/mipmap texture supported

17 years agosetup frag shader state: color pass-through program
Brian [Wed, 8 Aug 2007 22:08:45 +0000 (16:08 -0600)]
setup frag shader state: color pass-through program

17 years agoadded assertion
Brian [Wed, 8 Aug 2007 22:07:28 +0000 (16:07 -0600)]
added assertion

17 years agoprint_vertex func for debugging
Brian [Wed, 8 Aug 2007 22:07:07 +0000 (16:07 -0600)]
print_vertex func for debugging

17 years agonew assertions
Brian [Wed, 8 Aug 2007 22:06:48 +0000 (16:06 -0600)]
new assertions

17 years agoAdd D3D9 opcodes up to ps_2_x and vs_2_x.
michal [Wed, 8 Aug 2007 12:55:56 +0000 (13:55 +0100)]
Add D3D9 opcodes up to ps_2_x and vs_2_x.

17 years agoDon't use hardware driver by default, until its working a bit better.
Keith Whitwell [Wed, 8 Aug 2007 11:32:06 +0000 (12:32 +0100)]
Don't use hardware driver by default, until its working a bit better.

17 years agoThe i915simple driver now runs well enough to lock up hardware.
Keith Whitwell [Wed, 8 Aug 2007 11:28:21 +0000 (12:28 +0100)]
The i915simple driver now runs well enough to lock up hardware.

17 years agoCall init_state_funcs
Keith Whitwell [Wed, 8 Aug 2007 10:35:47 +0000 (11:35 +0100)]
Call init_state_funcs

17 years agoFix typo so that i915simple actually gets used.
Keith Whitwell [Wed, 8 Aug 2007 10:35:14 +0000 (11:35 +0100)]
Fix typo so that i915simple actually gets used.

17 years agoremove unused file
keithw [Wed, 8 Aug 2007 10:32:56 +0000 (11:32 +0100)]
remove unused file