summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
AgeCommit message (Collapse)Author
2007-11-08Remove TGSI_OPCODE_TXPBrian
Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
2007-11-08check for divide by W flag when translating TGSI_OPCODE_TEX (fixes projected ↵Brian
textures)
2007-11-08tweak anisotropic filtering codeBrian
2007-11-08enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian
2007-11-08remove translate_compare_func(), use i915_translate_compare_func()Brian
2007-11-08Fix some issues hit when rendering to a depth-only renderbuffer (shadowtex).Brian
Added 16bpp case to translate_depth_format(). Added framebuffer_size() to determine framebuffer size.
2007-11-08remove unneeded #includeBrian
2007-11-08Added pipe->get_paramf() to query float limits.Brian
So far max point size, line width, texture anistopy and lod bias.
2007-11-07update flush/fence comments for i915_flush()Brian
2007-11-07Remove winsys->wait_idle(), subsumed by pipe->flush().Brian
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-07more dead code removalBrian
2007-11-07disable/remove dead codeBrian
2007-11-07Disable the call to driBOReference() in i915_update_texture()Brian
It doesn't seem to be needed and disabling it fixes a big memory leak with some programs like xdemos/wincopy.c
2007-11-07Check the right ammount of free space in vertex buffer.José Fonseca
2007-11-07Reset temporary vertices ids.José Fonseca
2007-11-07Use a consistent number to identify undefined vertices.José Fonseca
2007-11-07Reuse the vertex buffer until the vertex size changes.José Fonseca
2007-11-07Track hardware vertex buffer state changes.José Fonseca
2007-11-06Fix build error: dereferencing pointer to incomplete typeMichel Dänzer
2007-11-06Remove pipe->max_texture_size(), use get_param() instead.Brian
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-06Allow custom pipe driver buffer usage flags.José Fonseca
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-11-05Determine GL extensions/limits by making pipe queries.Brian
The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change...
2007-11-03Allow batch buffer debugging without calling i915_winsys->batch_start so often.José Fonseca
2007-11-03Do something sensible when failed to reserve space in the batch buffer.José Fonseca
2007-11-03Detail i915 winsys interface comments.José Fonseca
2007-11-03Render primitives using indirect vertices in a vertex buffer.José Fonseca
2007-11-01remove old comment about tnl/vfBrian
2007-11-01Reserve the right number of dwords for hardware state, and handle the case ↵José Fonseca
where it fails.
2007-10-31Hold the vertex buffer handle.José Fonseca
2007-10-31Handle TGSI_OPCODE_RET.José Fonseca
2007-10-31Allow more verbose error output.José Fonseca
2007-10-31Chain vertex buffers into the batch buffer.José Fonseca
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Reuse hardware vertice representation.José Fonseca
2007-10-29Enable the vertex buffer stage according to the I915_VBUF environment var.José Fonseca
2007-10-29Get vertex buffer stage in a minimally working state.José Fonseca
2007-10-29Reserve the accurate number of dwords in the batch buffer.José Fonseca
2007-10-29Start a vertex buffer constuction stage for i915 based on Keith's draft done ↵José Fonseca
on softpipe.
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
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-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24Revert "Undo indexOffset change (I think, git???)"Brian
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
2007-10-24Undo indexOffset change (I think, git???)Brian
2007-10-20In region_unmap(), check if region is mapped before decrementing refcount.Brian
2007-10-15remove commented out #includeBrian