Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-22 | gallium: fix a few more shader-related mem leaks | Brian | |
2008-03-22 | use ctx->Driver.DeleteProgram() in a few more places | Brian | |
2008-03-22 | gallium: fix a few mem leaks when deleting programs | Brian | |
2008-03-22 | delete default programs with ctx->Driver.DeleteProgram() | Brian | |
2008-03-21 | gallium: fix const buffer update bug | Brian | |
If only glUniform is called between two renderings, the const buffers weren't getting updated. Need to set the _NEW_PROGRAM flag in st_upload_constants() as that's the dirty flag set by glUniform. Fixes glean tapi2 test. | |||
2008-03-21 | Refactor PBO validate/map code. | Brian | |
We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master. | |||
2008-03-21 | gallium: implement PBO operations for glDraw/ReadPixels and glBitmap | Brian Paul | |
At this time there are no optimizations for directly blitting between buffer objects and surfaces (always go through mappings). glean pbo test passes now | |||
2008-03-21 | add a number of PBO validate/map/unmap functions | Brian Paul | |
Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master | |||
2008-03-21 | Fix some PBO breakage. | Brian | |
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage. | |||
2008-03-21 | gallium: use is_format_supported(PIPE_FORMAT_DXT5_RGBA) to check if s3tc is ↵ | Brian Paul | |
supported The PIPE_CAP_S3TC token will be deprecated. | |||
2008-03-21 | gallium: use is_format_supported() to determine if GL_EXT_texture_sRGB is ↵ | Brian Paul | |
supported | |||
2008-03-21 | gallium: Update scons build for state tracker files added/removed. | Michel Dänzer | |
2008-03-20 | gallium: catch some out of memory conditions in the texture image code. | Brian Paul | |
st_finalize_texture()'s return code now indicates success/fail instead of presence of texture border (which we discard earlier). | |||
2008-03-20 | gallium: assign framebuffer width, height | Brian | |
2008-03-20 | gallium: unused var silence warning | Brian | |
2008-03-20 | gallium: glBitmap code now separe from glDraw/CopyPixels code | Brian | |
Also, glBitmap now re-uses the vertex buffer to avoid frequent allocations/ deallocations. And, use u_simple_shaders utility code. | |||
2008-03-20 | gallium: glBitmap code now separated from glDraw/CopyPixels code | Brian | |
2008-03-20 | gallium: Y-invert blit depending on framebuffer orientation | Brian | |
2008-03-20 | gallium: in clear_with_quad() check fb orientation, invert Y if needed | Brian | |
2008-03-20 | gallium: create one vertex buffer and re-use, also enable bypass_clipping | Brian | |
Quad clears should be a little more efficient now. | |||
2008-03-20 | gallium: use the utility pasthrough shaders | Brian | |
This avoids the Mesa->TGSI translation step. | |||
2008-03-19 | gallium: add face, dirtyLevels params to pipe->texture_update() | Brian Paul | |
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed. | |||
2008-03-19 | gallium: need to set/save framebuffer state in st_context since we use it ↵ | Brian Paul | |
elsewhere | |||
2008-03-19 | gallium: implement CSO save/restore functions for use by meta operations ↵ | Brian | |
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state. | |||
2008-03-19 | gallium: remove old commented-out code | Brian | |
2008-03-19 | set outputs_safe to 0 as it's possible for the code generation | Alan Hourihane | |
to slip over the allocated memory for the vb. | |||
2008-03-19 | remove redundant init | Alan Hourihane | |
2008-03-18 | gallium: plug in and init GL_EXT_framebuffer_blit function/extension | Brian | |
2008-03-18 | gallium: added st_cb_blit.c | Brian | |
2008-03-18 | gallium: glFramebufferBlitEXT() implementation | Brian | |
2008-03-18 | gallium: fix typos | Brian | |
2008-03-18 | gallium: restore additional state after clearing with quad | Brian | |
2008-03-18 | gallium: use new color packing utility functions | Brian | |
2008-03-17 | gallium: use new gallium utility code for generating mipmaps | Brian | |
2008-03-17 | gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST | Brian Paul | |
Plus, comments, clean-ups. | |||
2008-03-17 | gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵ | Brian Paul | |
rendering each level | |||
2008-03-17 | only set InputsRead bit if input is really used | Markus Amsler | |
2008-03-14 | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | |
2008-03-14 | gallium: if point size not computed per vertex, apply size clamp immediately. | Brian Paul | |
Fixes glean pointAtten failure. | |||
2008-03-14 | mesa: init tmpNode to zeros | Brian Paul | |
2008-03-14 | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian Paul | |
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs). | |||
2008-03-14 | mesa: revert fast-track glColor and similar calls when not immediate mode ↵ | Brian | |
rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4. | |||
2008-03-14 | gallium: in st_program_string_notify() free shader tokens. | Brian | |
When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes. | |||
2008-03-13 | gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵ | Brian | |
st_draw_vertices() When pass-through mode is fully supported we'll clean this up more. | |||
2008-03-13 | gallium: add some temporary code for testing draw module vertex passthrough | Brian | |
Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | |||
2008-03-13 | gallium: remove semantic info from pipe_shader_state | Brian Paul | |
Brian's patch to clean up the shader interfaces. | |||
2008-03-13 | mesa: fix (harmless?) assignment in assert | Keith Whitwell | |
2008-03-12 | gallium: in clear_stencil_buffer() check surface format to determine stencil ↵ | Brian | |
clear value ... as we do for the Z and Z+stencil cases | |||
2008-03-12 | mesa: set SamplersUsed bitmask when parsing ARB fragment programs | Brian | |
2008-03-12 | gallium: pass NULL to cso_single_sampler() when the sampler isn't used. | Brian | |
This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing. |