Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-27 | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | |
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | |||
2008-06-24 | mesa: More signed/unsigned float/integer fixes. | José Fonseca | |
2008-06-24 | mesa: Use appropriate unsigned/signed, float/integer types. | José Fonseca | |
2008-05-20 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-20 | gallium: clean-up glDraw/CopyPixels shaders when destroying context | Brian Paul | |
2008-05-18 | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | |
2008-05-17 | s/PIPE_FORMAT_U_S8/PIPE_FORMAT_S8_UNORM/ | Brian Paul | |
2008-05-08 | gallium: replace pipe_buffer_destroy() call with pipe_buffer_reference(NULL) | Brian Paul | |
2008-05-08 | gallium: clean-up, minor fix | Brian Paul | |
2008-05-06 | gallium: create drawing surfaces as GPU_READ/WRITE only | Brian Paul | |
Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc). | |||
2008-05-06 | gallium: Make sure to release texture surfaces (at the right time). | Michel Dänzer | |
2008-05-02 | gallium: Add texture usage flags, special-case allocation of display targets | Keith Whitwell | |
For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also. | |||
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
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 | |