Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-15 | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | |
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-04-10 | gallium: remove pipe_texture::compressed field | Brian Paul | |
The format field encodes compressed vs. uncompressed already. We can easily check if a texture is compressed with pf_is_compressed(texture->format). | |||
2009-03-26 | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | |
2009-03-13 | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | |
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | |||
2009-03-04 | nouveau: oops, forgot to keep the NV10_SIFM object | Patrice Mandin | |
2009-03-04 | nouveau: Use proper SIFM object on NV30 | Patrice Mandin | |
2009-03-04 | gallium: Unify reference counting. | Michel Dänzer | |
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create(). | |||
2009-03-02 | nouveau: Grab correct surface from temp texture for transfers. | Younes Manton | |
2009-02-25 | nouveau: nv04-nv40 texture transfer. | Younes Manton | |
2009-02-20 | gallium: Improve makefiles for libraries | Jakob Bornecrantz | |
The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles. | |||
2009-02-18 | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | |
2009-02-18 | util: Move p_debug.h into util module. | José Fonseca | |
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | |||
2009-02-17 | nv04: Use the new draw vbuf interface | Jakob Bornecrantz | |
2009-02-10 | nouveau: nv40 swizzled mipmap fixes. | Younes Manton | |
2009-02-10 | nouveau: revert all my changes here, not the right way | Patrice Mandin | |
2009-02-10 | nouveau: stop with 0 dimension | Patrice Mandin | |
2009-02-10 | nouveau: we already have the right src offset | Patrice Mandin | |
2009-02-10 | nouveau: do not forget to half dimension. | Patrice Mandin | |
2009-02-10 | nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to ↵ | Patrice Mandin | |
find right src and dst offset for given mipmap level. | |||
2009-02-10 | nouveau: dst offset is correct | Patrice Mandin | |
2009-02-10 | nouveau: recalc sub width and height for each mipmap level | Patrice Mandin | |
2009-02-08 | nouveau: include and calc offset before changing dimensions for next level | Patrice Mandin | |
2009-02-08 | nouveau: upload and swizzle each mipmap level in turn | Patrice Mandin | |
2009-02-06 | nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT. | Younes Manton | |
2009-02-06 | nouveau: Frontbuffer pitch needs to be set. | Younes Manton | |
2009-02-05 | nv04-nv40: fix nv##_surface_copy() for flipped | Pekka Paalanen | |
If do_flipp is true, it would first do the proper copy, height would wrap around to unsigned maximum, and then it attempts to do another copy. Return after doing the proper copy. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-05 | nv04: fix pasto in nv04_surface_2d_init() | Pekka Paalanen | |
Wrong hardware object being used, when compared with earlier code. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-05 | nv04-nv40: move 2d blit/fill code into pipe driver | Ben Skeggs | |
2009-02-04 | nouveau: get things building/running again after pipe_surface.buffer removal | Ben Skeggs | |
Don't look at nouveau_winsys_pipe.h... I promise it's temporary! | |||
2009-02-02 | gallium: remove pipe_buffer from surfaces | Zack Rusin | |
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures. | |||
2009-02-02 | Merge branch 'gallium-0.2' of ↵ | Stephane Marchesin | |
git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2 | |||
2009-02-02 | nv04: some old changes I had lying around. | Stephane Marchesin | |
2009-01-31 | gallium: initialize simple screen in drivers | Zack Rusin | |
2009-01-30 | gallium: make p_winsys internal | Zack Rusin | |
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | |||
2009-01-29 | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | |
allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen | |||
2009-01-27 | gallium: it's a reference value, not a reference number | Zack Rusin | |
2009-01-20 | gallium: Remove the standalone surfaces. | José Fonseca | |
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers. | |||
2008-12-16 | nouveau: return a value for PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS | Ben Skeggs | |
2008-12-13 | Nouveau: move the definition of log2i() to header | Pekka Paalanen | |
Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2008-11-30 | Nouveau: fix minor API change in surface_copy | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2008-11-12 | nv04..nv30: fix pipe_surface init | Pekka Paalanen | |
Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2008-09-11 | nouveau: gallium directory structure changed again.. | Ben Skeggs | |
2008-08-11 | nouveau: pf_sprint_name -> pf_name | Ben Skeggs | |
2008-08-07 | nouveau: fix build | Ben Skeggs | |
2008-07-23 | nv all: Copy shader tokens on create, free on delete. | Younes Manton | |
Must copy token stream on shader create, client is allowed to free their copy after creating the state object. | |||
2008-07-23 | nouveau: is_format_supported() interface changes | Ben Skeggs | |
2008-07-08 | nv04: use FREE/MALLOC like a good gallium boy should. | Stephane Marchesin | |
2008-07-08 | nv04: use BEGIN_RING_NI | Stephane Marchesin | |
2008-07-08 | nv04. | Stephane Marchesin | |