summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_context.h
AgeCommit message (Collapse)Author
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
2007-12-11gallium: remove set_sampler_units interfaceKeith Whitwell
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects.
2007-12-11gallium: remove redundant clear_color state.Keith Whitwell
2007-12-11gallium: Remove feedback interfaces from pipe driver.Keith Whitwell
Something similar will return when geometry shaders are added, but for now this interface is not required.
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-22Remove fences from the i915simple winsys interface.José Fonseca
Fences will be part of the pipe winsys interface, so remove this to avoid merge conflicts later on. This reverts commit ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d. This reverts commit dec60d33b2570cf2bdce72a00a1539ee93133f91. This reverts commit 90dd0cb822f2fe14258c786e5c37da69472b7d17.
2007-11-15Include fences in the i915simple winsys interface.José Fonseca
2007-11-07Track hardware vertex buffer state changes.José Fonseca
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Start a vertex buffer constuction stage for i915 based on Keith's draft done ↵José Fonseca
on softpipe.
2007-10-26Re-implement GLSL texture sampler variables.Brian
GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
2007-10-15feedback/rasterpos fix-upsBrian
2007-09-21Convert i915 to use cso semantics of alpha_test.Zack Rusin
2007-09-21Make the alpha test state a cso.Zack Rusin
2007-09-20Cache the i915 sampler state.Zack Rusin
2007-09-20Make the rasterizer state in i915 use the cso semantics.Zack Rusin
2007-09-20Rewrite the depth_stencil state handling in i915.Zack Rusin
Done to match the new cso semantics. translate in create, use in bind and later delete.
2007-09-19Convert the i915 driver blend state to the new semantics.Zack Rusin
2007-09-18Convert shader to an immutable state object.Zack Rusin
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-09-18Combing depth and stencil objects and making them immutable.Zack Rusin
Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
2007-09-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
2007-09-18First stab at immutable state objects (create/bind/delete)Zack Rusin
We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
2007-08-24remove dead filekeithw
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-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-21Fragment shader translation seems to basically work now. More testing needed.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-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-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell
2007-08-10Pass pci_id to i915_create()Keith Whitwell
2007-08-10Add a printf method to winsys and use for all debugging.Keith Whitwell
2007-08-09Add more i915 state packets.Keith Whitwell
These correspond to the dynamic indirect state, though they are currently just pushed straight to the batch buffer.
2007-08-09Some basic state - blend and ztest sort of work.Keith Whitwell
2007-08-09Don't reemit hardware state *every* primitive.Keith Whitwell
2007-08-09Add flush/finish functionality to pipe.Keith Whitwell
Not sure if finish() is the right interface yet.
2007-08-08Checkpoint of a super-simplified i915 driver in the pipe model.Keith Whitwell
Doesn't yet compile, but when it does, it will only draw gouraud tris and even those will be as simple as possible. Needs some 'winsys' support also before that can happen.