Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-04-09 | gallium: call_flush_front_buffer() from st_glFinish() | Brian Paul | |
2008-04-09 | gallium: fold st_gl_flush() into st_glFlush() | Brian Paul | |
2008-04-09 | gallium: refactor code, new flush_front_buffer() function | Brian Paul | |
2008-04-09 | gallium: remove unneeded st->haveFramebufferSurfaces field. | Brian Paul | |
2008-04-08 | gallium: Fix up scons build. | Michel Dänzer | |
2008-04-07 | gallium: check ctx->DrawBuffer before flushing bitmap cache. | Brian Paul | |
During context unbind, we may not have a draw buffer. This fixes demos/tunnel2.c | |||
2008-04-07 | gallium: fix the texture case in default_deep_rgba_format() | Brian Paul | |
Fixes glean pixelFormat test | |||
2008-04-07 | gallium: slightly improved accum clear/mad operations | Brian Paul | |
Instead of get/put_tile(), map the buffer and operate on values directly. | |||
2008-04-07 | gallium: accum buffer fixes | Brian Paul | |
If the driver can't create a PIPE_FORMAT_R16G16B16A16_SNORM surface, create an accum surface using a shallower format and taller height. Since only the accum buffer code accesses the surface the actual format doesn't really matter, just that there's enough memory. | |||
2008-04-07 | gallium: remove stray comment | Brian Paul | |
2008-04-07 | gallium: clean-up in st_renderbuffer_alloc_storage() | Brian Paul | |
2008-04-07 | mesa: call _mesa_remove_varying_reads() after compiling vertex shaders | Brian | |
2008-04-07 | mesa: new _mesa_remove_varying_reads() function | Brian | |
We'll apply this function to GLSL vertex programs. In GLSL it's legal to read and write varying (output) vars in a vertex shader. But reading from an output register isn't supported by all hardware. This routine examines the vertex program for that condition and rewrites it to use temporary registers where needed. | |||
2008-04-07 | mesa: added _mesa_insert_instructions() | Brian | |
Also, use new _mesa_free_instructions() in a few places. | |||
2008-04-07 | mesa: added _mesa_free_instructions() | Brian | |
2008-04-04 | mesa: no longer combine vertex/fragment shader parameters/uniforms | Brian | |
GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking. | |||
2008-04-04 | mesa: new functions for managing list/index of uniforms | Brian | |
2008-04-04 | gallium: always pass size=4 to make_immediate() | Brian | |
Mesa always packs 4 immediates into each parameter/const buffer slot. I think we were just getting lucky with this as it was. | |||
2008-04-04 | gallium: adjust the code in update_textures() to look more like ↵ | Brian | |
update_samplers() | |||
2008-04-04 | gallium: state tracker fixes for compressed textures | Roland Scheidegger | |
2008-04-04 | gallium: add new call to st_flush_bitmap_cache() to fix recent regression | Brian Paul | |
2008-04-04 | gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders | Brian Paul | |
Also, make sure that field is copied/updated in the program clone and combine functions. Without this we weren't getting SAMP declarations in the TGSI shaders. | |||
2008-04-04 | gallium: Revert st_gl_flush() changes from when the **fence argument was added. | Michel Dänzer | |
As st_gl_flush() isn't used by st_finish() anymore, it doesn't have to make sure pipe->flush() always gets called. | |||
2008-04-04 | gallium: Call st_flush() instead of st_gl_flush() in st_finish(). | Michel Dänzer | |
This is enough for the current purpose of st_finish(), which is to wait for things to settle down before context teardown. | |||
2008-04-04 | Alias glStencilOpSeparateATI with glStencilOpSeparate. | Brian | |
2008-04-04 | Finish up ATI_separate_stencil | Brian | |
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c | |||
2008-04-04 | add missing _mesa_StencilFuncSeparateATI function | Roland Scheidegger | |
2008-04-04 | gallium: fix two-side stencil handling | Roland Scheidegger | |
Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0). | |||
2008-04-04 | gallium: Always allocate new const buffers instead of modifying existing ones. | Michel Dänzer | |
2008-04-03 | gallium: test if PIPE_FORMAT_YCBCR[_REV] is supported and enable ↵ | Brian | |
GL_MESA_ycbcr_texture Update texture format selection code too. | |||
2008-04-03 | gallium: set rasterizer.gl_rasterization_rules = 1 in a few more places | Brian | |
2008-04-03 | gallium: streamline viewport/raster/shader state for clearing with quads | Brian Paul | |
Move init of these items to new st_init_clear(). | |||
2008-04-03 | gallium: include st_cb_bitmap.h to silence warning | Brian Paul | |
2008-04-03 | gallium: remove the temporary/test TEST_DRAW_PASSTHROUGH code | Brian Paul | |
2008-04-03 | gallium: use identity viewport fix broken clear_with_quad() path | Brian Paul | |
Since bypass_clipping is set and we're specifying quad vertexes in window coords, setup identity viewport. | |||
2008-04-03 | gallium: call st_flush_bitmap_cache() | Brian Paul | |
2008-04-03 | gallium: set gl_rasterization_rules | Brian Paul | |
2008-04-02 | gallium: add a flag to turn on gl rasterization rules | Keith Whitwell | |
Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code. | |||
2008-04-02 | gallium: add temporary facility for rasterization-time clamping of point sizes | Keith Whitwell | |
2008-04-01 | gallium: init ctx->Const.MaxTextureUnits | Brian | |
2008-04-01 | handle IsPositionInvariant flag | Ben Skeggs | |
2008-04-01 | gallium: Fencing fix. | Michel Dänzer | |
Make sure the struct pipe_fence_handle* we point st_flush() to is initialized to NULL, so winsys->fence_reference() doesn't try to unreference a random struct pipe_fence_handle* pointer. | |||
2008-03-31 | gallium: used inverted bitmap texture to simplify the fragment shader. | Brian | |
"Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0. Then use KIL -tmp to kill the off bits and keep the on bits. This shortens the fragment program by two instructions. | |||
2008-03-31 | fix parsing bug involving comments at the end of ARB v/f programs | Markus Amsler | |
2008-03-31 | gallium: use cso_save/restore_sampler_textures() functions | Brian | |
2008-03-31 | gallium: set the bypass_vs flag now | Brian | |
The glBitmap vertex shader is a no-op, but we still have to specify it in order to convey the number of inputs/outputs. | |||
2008-03-31 | gallium: turn on clipping for bitmaps | Brian | |
Bitmaps can extend beyond window edges so we need to clip. Also, move some state atom vars to st_context to be a bit more efficient. | |||
2008-03-31 | gallium: Eliminate p_winsys::printf | José Fonseca | |
Not convenient and almost not used at all. Better replacements in p_debug.h | |||
2008-03-29 | gallium: Set vertex state/buffers en-mass. | Brian Paul | |
2008-03-28 | gallium: begin some bounding box code for bitmap cache | Brian | |