Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-05-20 | gallium: clean-up glDraw/CopyPixels shaders when destroying context | Brian Paul | |
2008-05-17 | s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/ | Brian Paul | |
2008-04-30 | gallium: use new buffer wrapper functions in p_inlines.h | Brian Paul | |
This allows us to remove most of the direct references to winsys in the state tracker. | |||
2008-04-28 | gallium: replace some code with a call to st_choose_format() | Brian Paul | |
2008-04-25 | gallium: remove unneeded st->bitmap_texcoord_bias | Brian Paul | |
2008-04-25 | gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/ | Brian Paul | |
2008-04-25 | gallium: consolidate quad drawing code | Brian Paul | |
2008-04-25 | gallium: use util_draw_vertex_buffer() instead of st_draw_vertices() | Brian Paul | |
2008-04-21 | use cso fs/vs handle functions | Keith Whitwell | |
2008-04-21 | gallium: Use CSO cache for shaders. | Michel Dänzer | |
2008-04-18 | gallium: get rid of unnecessary surface mapping | Brian Paul | |
2008-04-16 | gallium: implement RGBA pixel maps in the pixel transfer fragment program | Brian Paul | |
2008-04-09 | gallium: more elaborate tracking of front color buffer state | Brian Paul | |
This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front. | |||
2008-04-09 | gallium: remove unneeded st->haveFramebufferSurfaces field. | 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-03 | gallium: set gl_rasterization_rules | Brian Paul | |
2008-03-31 | gallium: use cso_save/restore_sampler_textures() functions | Brian | |
2008-03-26 | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | |
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | |||
2008-03-25 | gallium: added some debug code (disable) | Brian Paul | |
2008-03-24 | gallium: save/restore samplers in draw_textured_quad() | Brian | |
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-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-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: 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-11 | gallium: rework CSO-related code in state tracker | Brian | |
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers... | |||
2008-03-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-02-29 | gallium: change st->state.sampler_texture[] to store pipe_texture pointers | Brian Paul | |
This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs. | |||
2008-02-29 | gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed | Brian Paul | |
2008-02-28 | gallium: fix surface/texture format conversion in st_CopyPixels | Brian Paul | |
If the src buffer's format isn't supported as a texture format, find a different texture format. | |||
2008-02-28 | galliums: s/uint/enum pipe_format/ | Brian Paul | |
2008-02-27 | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | |
These functions are now per-screen, not per-context. | |||
2008-02-27 | gallium: move is_format_supported() to pipe_screen struct | Brian | |
2008-02-27 | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | |
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | |||
2008-02-26 | gallium: use pipe_texture_reference() instead of pipe->texture_release() | Brian | |
2008-02-20 | gallium: state tracker didn't always notify drivers of texobj data changes | Brian | |
Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field. | |||
2008-02-15 | Code reorganization: update build. | José Fonseca | |
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks. | |||
2008-02-13 | gallium: pipe->surface_copy can flip the contents vertically when necessary. | Michel Dänzer | |
Fixes gears being upside down on the box in demos/gearbox. | |||
2008-02-12 | gallium: rename st_fragment_program's fs field to cso to match st_vertex_program | Brian | |
2008-02-12 | gallium: remove unused first_level param from st_texture_create() | Brian | |
2008-02-08 | gallium: added inClipCoords param to st_draw_vertices() to indicate coord ↵ | Brian | |
system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c | |||
2008-02-06 | gallium: add bitmap/drawpixels texcoord bias support | Brian | |
The state tracker will call pipe->get_paramf(PIPE_CAP_BITMAP_TEXCOORD_BIAS) to get a bias factor for adjusting the texcoords used in bitmap/drawpixels. This allows us to compensate for small differences in rasterization from one device to another. | |||
2008-01-23 | gallium: remove support for separate depth/stencil buffers. Always combined ↵ | Brian | |
now. | |||
2008-01-16 | tweaks to quad drawing, set UsesKill in bitmap shader | Brian | |
2008-01-14 | Fix problems with vertex shaders and the private draw module. | Brian | |
The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program. | |||
2008-01-14 | Remove pipe->get/put_tile_rgba. | Michel Dänzer | |
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them. | |||
2008-01-14 | Remove mapping fields from struct pipe_surface. | Michel Dänzer | |
It's now the responsibility of surface users to keep track of their mappings. | |||
2007-12-20 | gallium: make state tracker explictly ask for rendercache flushes | Keith Whitwell | |
2007-12-17 | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | |
2007-12-11 | Remove internal_format field from struct pipe_texture. | Michel Dänzer | |
It's state tracker specific / not really necessary anyway. |