Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-10 | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | |
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions. | |||
2008-09-03 | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | |
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | |||
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-18 | gallium: fix vertex program output translation/mapping bug | Brian Paul | |
In some cases, the vertex program output's semantic info didn't match up with the fragment program's input semantic info. This info is now explicitly passed into the st_translate_fragment_program() function. | |||
2008-07-19 | gallium: Finer grained is_format_supported. | José Fonseca | |
2008-07-15 | st: Silence compiler warnings on Windows. | Michal Krol | |
2008-07-13 | util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions. | José Fonseca | |
You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface. | |||
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. |