summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
AgeCommit message (Collapse)Author
2007-09-11Implement query object interface.Brian
This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-08-31Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian
2007-08-30Consolidate vertex-related code in new draw_vertex.cBrian
A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size()
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
2007-08-30In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian
to cpy. One less dependency on the TGSI_ATTRIB_x flags. This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
2007-08-24s/==/=/Brian
2007-08-24Fix fragment program color output mapping (0=depth, 1=color)Brian
2007-08-24set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenvBrian
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-24remove deleted i915_state_fragprog.cBrian
2007-08-24disable debugkeithw
2007-08-24remove dead filekeithw
2007-08-24have to check I915_HW_SAMPLER when emitting MAP state, because of ↵keithw
sampler_enable_flags.
2007-08-24sampler state tweakskeithw
2007-08-24emit S4_VFMT_XYZ vs. S4_VFMT_XYZW as neededBrian
2007-08-24Fixup include paths after renameKeith Whitwell
2007-08-23Checkpoint: new vertex/fragment attribute namingBrian
Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
2007-08-23clean-up commentsBrian
2007-08-23remove dead/debug code, misc clean-upBrian
2007-08-23Checkpoint commit: i915 texture works, use new vertex_info structBrian
Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
2007-08-22Checkpoint: texture image and sampler state handling, plus better vertex ↵Brian
format code. Texture image/sampler state code should be working, but is disabled for now. Need to fix outstanding issues with vertex formats and texcoords first...
2007-08-22fix assertions in swizzle()Brian
2007-08-22Sampler state code now compiles and is built. Not tested yet.Brian
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-22Import some sampler state code.Keith Whitwell
Doesn't compile, isn't built.
2007-08-22code movement, null ptr checks, etcBrian
2007-08-22remove unneeded includeBrian
2007-08-22remove unneeded includesBrian
2007-08-22Obsolete.Brian
2007-08-22don't need i915_fpc.cBrian
2007-08-22implement negation for src operandsBrian
2007-08-22Remove duplicate i915 shader disassemblerKeith Whitwell
2007-08-21Fragment shader translation seems to basically work now. More testing needed.Brian
2007-08-21First pass at a fallback concept for pipe devices.Keith Whitwell
Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
2007-08-21Add missing #includeKeith Whitwell
2007-08-21added fpc sourcesBrian
2007-08-21Initial check-in of i915 fragment program translation (from tgsi).Brian
2007-08-20Use new draw_arrays() code.Brian
The i915 driver now uses the software-based vertex shader interpreter and draws everything through pipe->draw_arrays().
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-16Begin added vertex shader state/support.Brian
Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
2007-08-13Start breaking the #include dependencies between pipe drivers and mesa.Keith Whitwell
Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
2007-08-13fill in the get_tile() function so ReadPixels can workBrian
2007-08-11fix invalid usage of buffer_unreference()Brian
Need to pass the address of the buffer ptr, not the buffer ptr. Before, the region->buffer type was void * so it wasn't effectively type-checked. Changing the type to pipe_buffer_object* allows the compiler to detect the error. Fixing this solves a segfault.
2007-08-11notes/asserts for get/put_tile()Brian
2007-08-11Pull in improved debug from masterKeith Whitwell
2007-08-11make it easier to compare debug code with non-pipe versionKeith Whitwell
2007-08-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10added pipe->max_texture_size() query, use it in st_drawpixels()Brian