mesa.git
17 years agoremove _mesa_init_driver_functions()
Brian [Thu, 1 Nov 2007 20:14:53 +0000 (14:14 -0600)]
remove _mesa_init_driver_functions()

17 years agoplug in _mesa_test_proxy_teximage, temporarily
Brian [Thu, 1 Nov 2007 20:14:30 +0000 (14:14 -0600)]
plug in _mesa_test_proxy_teximage, temporarily

17 years agoremove dead code
Brian [Thu, 1 Nov 2007 20:01:39 +0000 (14:01 -0600)]
remove dead code

17 years agoremove unneeded tnl stuff
Brian [Thu, 1 Nov 2007 20:01:14 +0000 (14:01 -0600)]
remove unneeded tnl stuff

17 years agoremove old comment about tnl/vf
Brian [Thu, 1 Nov 2007 19:58:38 +0000 (13:58 -0600)]
remove old comment about tnl/vf

17 years agoReserve the right number of dwords for hardware state, and handle the case where...
José Fonseca [Thu, 1 Nov 2007 22:19:42 +0000 (22:19 +0000)]
Reserve the right number of dwords for hardware state, and handle the case where it fails.

17 years agoObsolete file
Brian [Thu, 1 Nov 2007 19:06:53 +0000 (13:06 -0600)]
Obsolete file

17 years agoremove xmesa_set_renderbuffer_funcs()
Brian [Thu, 1 Nov 2007 19:06:29 +0000 (13:06 -0600)]
remove xmesa_set_renderbuffer_funcs()

17 years agodisable/omit renderbuffer span code
Brian [Thu, 1 Nov 2007 18:57:48 +0000 (12:57 -0600)]
disable/omit renderbuffer span code

17 years agodisable/omit renderbuffer span code
Brian [Thu, 1 Nov 2007 18:57:26 +0000 (12:57 -0600)]
disable/omit renderbuffer span code

17 years agoremove unused funcs, macros
Brian [Thu, 1 Nov 2007 18:55:20 +0000 (12:55 -0600)]
remove unused funcs, macros

17 years agoxget_image() wrapper to catch BadMatch errors
Brian [Thu, 1 Nov 2007 18:54:30 +0000 (12:54 -0600)]
xget_image() wrapper to catch BadMatch errors

17 years agomove dither kernels to xm_surface.c
Brian [Thu, 1 Nov 2007 18:37:13 +0000 (12:37 -0600)]
move dither kernels to xm_surface.c

17 years agofix some tile clipping bugs
Brian [Thu, 1 Nov 2007 18:36:09 +0000 (12:36 -0600)]
fix some tile clipping bugs

17 years agomove CLIP_TILE, add comments
Brian [Thu, 1 Nov 2007 18:26:37 +0000 (12:26 -0600)]
move CLIP_TILE, add comments

17 years agorewrite xmesa_get_tile_rgba() to not use span funcs
Brian [Thu, 1 Nov 2007 18:24:36 +0000 (12:24 -0600)]
rewrite xmesa_get_tile_rgba() to not use span funcs

17 years agoreimplement xmesa_put_tile_rgba() w/out span funcs
Brian [Thu, 1 Nov 2007 18:08:01 +0000 (12:08 -0600)]
reimplement xmesa_put_tile_rgba() w/out span funcs

17 years agoimplement get/put_tile() for xlib driver
Brian [Thu, 1 Nov 2007 17:23:50 +0000 (11:23 -0600)]
implement get/put_tile() for xlib driver

17 years agoImplement surface clearing w/out dependency on XMesa/Mesa stuff.
Brian [Thu, 1 Nov 2007 16:52:31 +0000 (10:52 -0600)]
Implement surface clearing w/out dependency on XMesa/Mesa stuff.

17 years agomake winsys objects singletons, comments
Brian [Thu, 1 Nov 2007 01:00:23 +0000 (19:00 -0600)]
make winsys objects singletons, comments

17 years agoClean up xmesa winsys stuff
Brian [Thu, 1 Nov 2007 00:29:00 +0000 (18:29 -0600)]
Clean up xmesa winsys stuff

Plug xmesa_is_format_supported() into the softpipe_winsys object.

17 years agoupdate comments for pipe_context
Brian [Thu, 1 Nov 2007 00:19:46 +0000 (18:19 -0600)]
update comments for pipe_context

17 years agoremove some extension #defines
Brian [Wed, 31 Oct 2007 22:01:18 +0000 (16:01 -0600)]
remove some extension #defines

17 years agoObsolete
Brian [Wed, 31 Oct 2007 22:00:14 +0000 (16:00 -0600)]
Obsolete

17 years agoremove xm_dd.c from build
Brian [Wed, 31 Oct 2007 21:59:47 +0000 (15:59 -0600)]
remove xm_dd.c from build

17 years agomove few remaining bits of xm_dd.c into xm_api.c
Brian [Wed, 31 Oct 2007 21:59:24 +0000 (15:59 -0600)]
move few remaining bits of xm_dd.c into xm_api.c

17 years agomove dither kernels/tables to xm_span.c
Brian [Wed, 31 Oct 2007 21:57:57 +0000 (15:57 -0600)]
move dither kernels/tables to xm_span.c

17 years agoRemove xmesa_update_state(), which was called by ctx->Driver.UpdateState()
Brian [Wed, 31 Oct 2007 21:32:16 +0000 (15:32 -0600)]
Remove xmesa_update_state(), which was called by ctx->Driver.UpdateState()

17 years agomove surface clear functions to xm_buffer.c
Brian [Wed, 31 Oct 2007 21:27:09 +0000 (15:27 -0600)]
move surface clear functions to xm_buffer.c

17 years agoclean-up includes
Brian [Wed, 31 Oct 2007 21:16:22 +0000 (15:16 -0600)]
clean-up includes

17 years agoremove HPCR support
Brian [Wed, 31 Oct 2007 21:13:29 +0000 (15:13 -0600)]
remove HPCR support

17 years agoget rid of xmesa_clear_buffers()
Brian [Wed, 31 Oct 2007 21:08:19 +0000 (15:08 -0600)]
get rid of xmesa_clear_buffers()

17 years agodon't pass x,y,width,height to clear functions
Brian [Wed, 31 Oct 2007 21:01:25 +0000 (15:01 -0600)]
don't pass x,y,width,height to clear functions

17 years agoremove get_string, test_proxy_teximage
Brian [Wed, 31 Oct 2007 20:53:55 +0000 (14:53 -0600)]
remove get_string, test_proxy_teximage

17 years agoremove timer_query, s3tc extension bits
Brian [Wed, 31 Oct 2007 20:51:15 +0000 (14:51 -0600)]
remove timer_query, s3tc extension bits

17 years agoStart removing old driver funcs like ColorMask, ClearColor, etc.
Brian [Wed, 31 Oct 2007 20:49:46 +0000 (14:49 -0600)]
Start removing old driver funcs like ColorMask, ClearColor, etc.

17 years agoremove FX/glide stuff
Brian [Wed, 31 Oct 2007 20:33:49 +0000 (14:33 -0600)]
remove FX/glide stuff

17 years agoremove tnl/swrast code
Brian [Wed, 31 Oct 2007 20:32:16 +0000 (14:32 -0600)]
remove tnl/swrast code

17 years agoObsolete
Brian [Wed, 31 Oct 2007 20:30:20 +0000 (14:30 -0600)]
Obsolete

17 years agoremove dead swrast/tnl code
Brian [Wed, 31 Oct 2007 20:29:36 +0000 (14:29 -0600)]
remove dead swrast/tnl code

17 years agodisable swrast/tnl stuff
Brian [Wed, 31 Oct 2007 20:28:05 +0000 (14:28 -0600)]
disable swrast/tnl stuff

17 years agoremove Draw/CopyPixels functions
Brian [Wed, 31 Oct 2007 20:27:38 +0000 (14:27 -0600)]
remove Draw/CopyPixels functions

17 years agoomit X point/line/triangle routines
Brian [Wed, 31 Oct 2007 20:22:49 +0000 (14:22 -0600)]
omit X point/line/triangle routines

17 years agoswitch to Xlib driver in pipe/xlib/
Brian [Wed, 31 Oct 2007 20:19:31 +0000 (14:19 -0600)]
switch to Xlib driver in pipe/xlib/

17 years agoCopy of xlib driver. This will get trimmed down a lot for Gallium.
Brian [Wed, 31 Oct 2007 20:19:09 +0000 (14:19 -0600)]
Copy of xlib driver.  This will get trimmed down a lot for Gallium.

17 years agoUpdate texenvprogram.c code to use prog_cache.c routines.
Brian [Wed, 31 Oct 2007 18:45:32 +0000 (12:45 -0600)]
Update texenvprogram.c code to use prog_cache.c routines.

17 years agoremove dead program cache code
Brian [Wed, 31 Oct 2007 18:34:09 +0000 (12:34 -0600)]
remove dead program cache code

17 years agoNo longer need st_update_tnl atom
Brian [Wed, 31 Oct 2007 18:31:25 +0000 (12:31 -0600)]
No longer need st_update_tnl atom

17 years agoNo longer need st_update_tnl atom.
Brian [Wed, 31 Oct 2007 18:30:56 +0000 (12:30 -0600)]
No longer need st_update_tnl atom.

17 years agomore flags for MaintainTnlProgram case, update #includes
Brian [Wed, 31 Oct 2007 18:27:47 +0000 (12:27 -0600)]
more flags for MaintainTnlProgram case, update #includes

17 years agoUse ffvertex_prog.c code instead of t_vp_build.c code.
Brian [Wed, 31 Oct 2007 18:17:32 +0000 (12:17 -0600)]
Use ffvertex_prog.c code instead of t_vp_build.c code.

17 years agofix some breakage from lifting vbo/tnl code
Brian [Wed, 31 Oct 2007 18:12:37 +0000 (12:12 -0600)]
fix some breakage from lifting vbo/tnl code

17 years agoLift fixed function vertex program generation up from tnl module.
Brian [Wed, 31 Oct 2007 18:03:55 +0000 (12:03 -0600)]
Lift fixed function vertex program generation up from tnl module.

17 years agofix type for Samplers field
Brian [Wed, 31 Oct 2007 18:01:08 +0000 (12:01 -0600)]
fix type for Samplers field

17 years agoalloc caches for fixed-func vertex/fragment progs
Brian [Wed, 31 Oct 2007 18:00:38 +0000 (12:00 -0600)]
alloc caches for fixed-func vertex/fragment progs

17 years agomove a few lines of code
Brian [Wed, 31 Oct 2007 18:07:03 +0000 (12:07 -0600)]
move a few lines of code

17 years agoLift VBO/tnl stuff up out of drivers
Brian [Wed, 31 Oct 2007 17:35:50 +0000 (11:35 -0600)]
Lift VBO/tnl stuff up out of drivers

17 years agoremove intelInvalidateState
Brian [Wed, 31 Oct 2007 17:08:31 +0000 (11:08 -0600)]
remove intelInvalidateState

17 years agoplug st_invalidate_state() into ctx->Driver.UpdateState
Brian [Wed, 31 Oct 2007 17:08:07 +0000 (11:08 -0600)]
plug st_invalidate_state() into ctx->Driver.UpdateState

Start lifting Mesa stuff up out of winsys/driver code.

17 years agore-enable fb size assertions which were previously disabled
Brian [Wed, 31 Oct 2007 16:52:44 +0000 (10:52 -0600)]
re-enable fb size assertions which were previously disabled

17 years agoHold the vertex buffer handle.
José Fonseca [Wed, 31 Oct 2007 15:11:18 +0000 (15:11 +0000)]
Hold the vertex buffer handle.

17 years agoHandle TGSI_OPCODE_RET.
José Fonseca [Wed, 31 Oct 2007 14:58:43 +0000 (14:58 +0000)]
Handle TGSI_OPCODE_RET.

17 years agoAllow more verbose error output.
José Fonseca [Wed, 31 Oct 2007 14:16:00 +0000 (14:16 +0000)]
Allow more verbose error output.

17 years agoChain vertex buffers into the batch buffer.
José Fonseca [Wed, 31 Oct 2007 13:20:01 +0000 (13:20 +0000)]
Chain vertex buffers into the batch buffer.

17 years agoImplement shader concatenation for glBitmap.
Brian [Wed, 31 Oct 2007 00:38:32 +0000 (18:38 -0600)]
Implement shader concatenation for glBitmap.

17 years agofix InputsRead bug in _mesa_combine_programs()
Brian [Wed, 31 Oct 2007 00:26:34 +0000 (18:26 -0600)]
fix InputsRead bug in _mesa_combine_programs()

17 years agospecial-case KIL/KIL_NV
Brian [Wed, 31 Oct 2007 00:24:54 +0000 (18:24 -0600)]
special-case KIL/KIL_NV

17 years agocombine shaders for glCopyPixels
Brian [Tue, 30 Oct 2007 23:46:40 +0000 (17:46 -0600)]
combine shaders for glCopyPixels

17 years agoUse program serial numbers to avoid re-generating fragment programs for glDrawPixels.
Brian [Tue, 30 Oct 2007 22:13:37 +0000 (16:13 -0600)]
Use program serial numbers to avoid re-generating fragment programs for glDrawPixels.

17 years agoBefore calling texformat->StoreImage() set _ImageTransferState=0 since we'll do pixel...
Brian [Tue, 30 Oct 2007 19:55:56 +0000 (13:55 -0600)]
Before calling texformat->StoreImage() set _ImageTransferState=0 since we'll do pixel transfer in the fragment program.

17 years agocolor matrix
Brian [Tue, 30 Oct 2007 19:54:24 +0000 (13:54 -0600)]
color matrix

17 years agomore additions for COLOR_MATRIX, etc
Brian [Tue, 30 Oct 2007 19:53:38 +0000 (13:53 -0600)]
more additions for COLOR_MATRIX, etc

17 years agoadd state vars for color matrix, pixel transfer scale&bias
Brian [Tue, 30 Oct 2007 18:39:58 +0000 (12:39 -0600)]
add state vars for color matrix, pixel transfer scale&bias

17 years agostart using program cache
Brian [Tue, 30 Oct 2007 18:24:27 +0000 (12:24 -0600)]
start using program cache

17 years agoadded pixel_transfer_cache
Brian [Tue, 30 Oct 2007 18:24:05 +0000 (12:24 -0600)]
added pixel_transfer_cache

17 years agoadded prog_cache.c
Brian [Tue, 30 Oct 2007 18:23:37 +0000 (12:23 -0600)]
added prog_cache.c

17 years agoProgram cache functions.
Brian [Tue, 30 Oct 2007 18:23:22 +0000 (12:23 -0600)]
Program cache functions.

Generic version of cache code from texenvprogram.c and t_vp_build.c
Not used by those files just yet, will also be used for pixel_transfer programs.

17 years agotgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.
Michel Dänzer [Tue, 30 Oct 2007 17:36:05 +0000 (18:36 +0100)]
tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.

17 years agoDisable debug code.
Brian [Tue, 30 Oct 2007 17:32:16 +0000 (11:32 -0600)]
Disable debug code.

Basic code for PixelTranslfer ops and glDrawPixels works now.
A pixel transfer program is generated and combined with the current
fragment shader.

17 years agoRemove obsolete files
Brian [Tue, 30 Oct 2007 17:19:31 +0000 (11:19 -0600)]
Remove obsolete files

17 years agoRename file since it's now a state atom
Brian [Tue, 30 Oct 2007 17:18:31 +0000 (11:18 -0600)]
Rename file since it's now a state atom

17 years agocheckpoint: combine pixel transfer and user shader for glDrawPixels
Brian [Tue, 30 Oct 2007 17:16:55 +0000 (11:16 -0600)]
checkpoint: combine pixel transfer and user shader for glDrawPixels

17 years agomake st_upload_constants() public
Brian [Tue, 30 Oct 2007 17:16:26 +0000 (11:16 -0600)]
make st_upload_constants() public

17 years agoadded pixel_transfer_program field
Brian [Tue, 30 Oct 2007 17:15:59 +0000 (11:15 -0600)]
added pixel_transfer_program field

17 years agoadded st_update_pixel_transfer atom
Brian [Tue, 30 Oct 2007 17:15:29 +0000 (11:15 -0600)]
added st_update_pixel_transfer atom

17 years agobug fixes, implement state atom for pixel transfer
Brian [Tue, 30 Oct 2007 17:15:09 +0000 (11:15 -0600)]
bug fixes, implement state atom for pixel transfer

17 years agocheck for NULL ptr in _mesa_print_parameter_list()
Brian [Tue, 30 Oct 2007 17:14:33 +0000 (11:14 -0600)]
check for NULL ptr in _mesa_print_parameter_list()

17 years agoSet _NEW_BUFFERS in glRead/DrawBuffer().
Brian [Mon, 29 Oct 2007 23:36:39 +0000 (17:36 -0600)]
Set _NEW_BUFFERS in glRead/DrawBuffer().

Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively.
That correponds to the GL attribute groups, but doesn't make much sense
otherwise.  This could improve validation efficiency in a few places too.
It looks like all the drivers are already checking for _NEW_BUFFERS in the
right places (since that's the bit for FBO state) so we can trim out
_NEW_PIXEL and _NEW_COLOR at any time.

17 years agocomment unused 'cb' field
Brian [Mon, 29 Oct 2007 23:32:42 +0000 (17:32 -0600)]
comment unused 'cb' field

17 years agoupdate comments, fix typo
Brian [Mon, 29 Oct 2007 23:14:23 +0000 (17:14 -0600)]
update comments, fix typo

17 years agomake _mesa_combine_programs() params const
Brian [Mon, 29 Oct 2007 22:38:53 +0000 (16:38 -0600)]
make _mesa_combine_programs() params const

17 years agoadded st_pixeltransfer.c
Brian [Mon, 29 Oct 2007 22:38:23 +0000 (16:38 -0600)]
added st_pixeltransfer.c

17 years agoInitial version of st_get_pixel_transfer_program().
Brian [Mon, 29 Oct 2007 22:37:49 +0000 (16:37 -0600)]
Initial version of st_get_pixel_transfer_program().

For generating fragment programs which implement pixel transfer ops.

17 years agoAdded _mesa_combine_programs() for concatenating two programs.
Brian [Mon, 29 Oct 2007 22:35:59 +0000 (16:35 -0600)]
Added _mesa_combine_programs() for concatenating two programs.

17 years agoadded _mesa_combine_parameter_lists()
Brian [Mon, 29 Oct 2007 22:00:08 +0000 (16:00 -0600)]
added _mesa_combine_parameter_lists()

17 years agoSwitch to using LLVM builder.
Zack Rusin [Tue, 30 Oct 2007 13:00:36 +0000 (09:00 -0400)]
Switch to using LLVM builder.

Instead of creating all the instructions by hand, switching
to using LLVMBuilder.

17 years agoRefactor vector extraction.
Zack Rusin [Tue, 30 Oct 2007 11:43:02 +0000 (07:43 -0400)]
Refactor vector extraction.

17 years agoExport true C based builtins to a file of its own.
Zack Rusin [Tue, 30 Oct 2007 11:16:22 +0000 (07:16 -0400)]
Export true C based builtins to a file of its own.

17 years agoRename to better reflect what it's really doing.
Zack Rusin [Tue, 30 Oct 2007 10:55:08 +0000 (06:55 -0400)]
Rename to better reflect what it's really doing.

17 years agoCode cleanups.
Zack Rusin [Tue, 30 Oct 2007 10:33:30 +0000 (06:33 -0400)]
Code cleanups.