Commit Graph

74545 Commits

Author SHA1 Message Date
Brian 24e510ea37 added st_mesa_format_to_pipe_format() 2007-08-10 13:03:57 -06:00
Brian da9178c730 alignment/pitch/width clean-ups 2007-08-10 13:03:57 -06:00
Brian 48f853f73f minor clean-ups 2007-08-10 13:03:57 -06:00
Keith Whitwell 5c2c056000 Handle glFlush/glFinish through the state tracker. 2007-08-10 12:58:26 +01:00
Brian 9ac1a8d416 pipe->region_alloc() now takes width instead of pitch, plus a flags param 2007-08-10 12:14:25 -06:00
Brian 519aacef03 fix asst glitches 2007-08-10 12:14:25 -06:00
michal 80e8538a5d Add SGT/LT/GE/LE/EQ/NE opcodes for ps/vs_2_x. 2007-08-10 11:54:39 +01:00
michal 9cad4dde97 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.
2007-08-10 11:45:56 +01:00
Brian 900b0807b8 added st_cb_readpixels.c 2007-08-10 11:37:41 -06:00
Brian 6f27aabe49 use st_cb_readpixels.c 2007-08-10 11:37:21 -06:00
Brian c943dab9a3 glReadPixels 2007-08-10 11:37:05 -06:00
Brian 9879ca019b add missing break stmt 2007-08-10 11:36:23 -06:00
Brian 3738606a52 more render to texture work 2007-08-10 11:35:57 -06:00
Brian 137ec50994 sketch out some render-to-texture code 2007-08-10 11:17:26 -06:00
Brian 6349bd3112 remove some temporary hacks 2007-08-10 11:16:53 -06:00
Brian 0aa8b1643b added pipe_surface_unreference() 2007-08-10 11:15:33 -06:00
Brian 3cc5b1645b include surface.offset in address calculations 2007-08-10 11:15:15 -06:00
Keith Whitwell 30e506eb04 Clean up / sanitize debugging 2007-08-10 10:37:20 +01:00
Keith Whitwell a27c0db260 Missing files 2007-08-10 10:23:24 +01:00
Keith Whitwell c26d635e22 Remove dead include line 2007-08-10 10:21:42 +01:00
Keith Whitwell 07fd9ad7bb Fix merge issue 2007-08-10 10:20:35 +01:00
Keith Whitwell fa6815f056 Give softpipe a native texture layout of its own.
Basically the same as the 945's for now.
2007-08-10 10:17:51 +01:00
Keith Whitwell 938c307e45 Add printf handlers, pass pci id and move texlayout code to driver. 2007-08-10 10:17:51 +01:00
Keith Whitwell c12b71ef93 Pass pci_id to i915_create() 2007-08-10 10:15:31 +01:00
Keith Whitwell cb2d95ba68 Add a printf method to winsys and use for all debugging. 2007-08-10 10:15:31 +01:00
Keith Whitwell af25ca6e69 Add a printf method to winsys. Not currently used. 2007-08-10 10:15:31 +01:00
Brian 6e3c01578e obsolete files 2007-08-10 10:09:52 -06:00
Brian 0643ea07ca no longer need intel_surface.c 2007-08-10 10:09:29 -06:00
Brian 8639a54319 move intel_supported_formats() into intel_context.c 2007-08-10 10:09:12 -06:00
Brian 12b0aa129e we can now just rely on softpipe for surface creation, quad_read/write, etc 2007-08-10 10:06:57 -06:00
Brian 3654922b33 flesh out w/ more formats, y=0=top convention 2007-08-10 10:06:00 -06:00
Xiang, Haihao db928291dc i965: roland's DXTn format texture patch(bug10347) 2007-08-10 16:37:30 +08:00
Xiang, Haihao 8ea66fa2ec i965/i915tex: applying right alignment to compressed texture,
which make small textures(4x4,2x2,1x1) work well.
2007-08-10 16:23:14 +08:00
Brian c7dd9bf870 return (softpipe) in GL_RENDERER string - temporarily 2007-08-10 08:38:31 +01:00
Brian f8ab24760d rename st_cb_teximage.h st_format.h 2007-08-10 08:37:15 +01:00
Brian 1463c00d4e Rename (file contains surface format-related functions) 2007-08-10 08:35:13 +01:00
Brian a25dd4d407 code movement 2007-08-10 08:34:18 +01:00
Brian d2bfdae860 invert Y axis 2007-08-10 08:33:43 +01:00
Xiang, Haihao 2cafd749b8 i965: set mt->cpp differently with compressed texture 2007-08-10 15:14:12 +08:00
Brian 3a9eca5cc0 asst changes to get softpipe rendering again (no zbuf support for now) 2007-08-09 22:56:50 +01:00
Brian 6883930f61 init strb->Base.DataType appropriately, clean-ups 2007-08-09 22:56:21 +01:00
Brian 2f4f703af1 export softpipe_init_surface_funcs() 2007-08-09 22:55:28 +01:00
Brian ac36cdbcc1 added null ptr checks 2007-08-09 22:55:15 +01:00
Keith Whitwell 78b1a29a0d Split texfilter enums to match common hardware usage. 2007-08-09 19:09:44 +01:00
Keith Whitwell 00677fb67c silence warning 2007-08-09 19:09:44 +01:00
Keith Whitwell 1ac106eefd silence warning 2007-08-09 19:09:44 +01:00
Brian c19a95510f more work toward texture-based glDrawPixels 2007-08-09 19:04:50 -06:00
Brian be57c1aac4 comments 2007-08-09 19:04:28 -06:00
Brian 3d31252d44 move viewport Y inversion to state tracker 2007-08-09 18:25:50 -06:00
Keith Whitwell 7c9a1357be Add more i915 state packets.
These correspond to the dynamic indirect state, though they are
currently just pushed straight to the batch buffer.
2007-08-09 18:09:09 +01:00