Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-31 | i915g: Cleanup i915_texture.c | Jakob Bornecrantz | |
2009-08-31 | i915g: Cleanup texture init functions a bit | Jakob Bornecrantz | |
2009-08-28 | i915g: Add cursor case for scanout layout | Jakob Bornecrantz | |
2009-08-07 | gallium: Move minify() to u_math. | Corbin Simpson | |
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3 | |||
2009-08-05 | i915g: Treat primary textures as scanout buffers | Jakob Bornecrantz | |
2009-03-26 | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | |
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-02-25 | i915: Enable winsys to get buffer from texture | Jakob Bornecrantz | |
2009-02-18 | i915simple: Minimal fixup for introduction of struct pipe_transfer. | Michel Dänzer | |
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-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 | i915: queiten compiler warnings | Keith Whitwell | |
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-05 | i915: Silence warnings | Jakob Bornecrantz | |
2008-11-16 | i915: Silence warnings | Jakob Bornecrantz | |
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-09-02 | i915: Small fixes for tiled textures | Jakob Bornecrantz | |
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-22 | gallium: replace align_int() with align() | Brian Paul | |
The two functions are identical. Removed align_int() from p_util.h | |||
2008-07-13 | i915: Ops should not have pushed that | Jakob Bornecrantz | |
This reverts commit 930a863c4f6f11d0fd5cf396ef76054d52c69b9f. | |||
2008-07-13 | i915: WIP swap rework | Jakob Bornecrantz | |
2008-07-04 | i915: Added debug filling code of texture, not active | Jakob Bornecrantz | |
2008-07-05 | psb: Fill all texture fields when creating texture blanket. | José Fonseca | |
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 | gallium: remove bad assertion | Brian Paul | |
2008-06-24 | i915: Added texture_blanket function | Jakob Bornecrantz | |
2008-06-23 | i915: Add render and texture support for tiled texture and buffers | Jakob Bornecrantz | |
This is step towards tiled textures and buffer support for i915. But the tiled attribute is never set. | |||
2008-06-23 | i915: Removed level_offset from i915_texture | Jakob Bornecrantz | |
All offsets are now on image_offset. | |||
2008-06-19 | i915: Fixed cubemap layouts | Jakob Bornecrantz | |
Apprently we shouldn't do all the advanced layout operation for none compressed formats. The compressed code was also broken, its currently disabled, but should be fixed once i915simple starts to support compressed formats. | |||
2008-06-19 | i915: Refractored and clean up i915_texture.c | Jakob Bornecrantz | |
2008-06-13 | i915: Improved the not used tile code | Jakob Bornecrantz | |
2008-06-13 | i915: Fix most of the clear problems | Jakob Bornecrantz | |
trivial/clear-undefined still fails | |||
2008-06-02 | i915: Fixed initialization of surface | Jakob Bornecrantz | |
2008-05-31 | i915: Comment out dead & problematic code. | Michal Krol | |
2008-05-30 | i915: Remade texture allocation code again | Jakob Bornecrantz | |
2008-05-29 | i915: Fix GPU lockup on resize | Jakob Bornecrantz | |
2008-05-29 | i915: Deprecated pipe_winsys buffer functions | Jakob Bornecrantz | |
2008-05-29 | i915: Remove last usage of surface_alloc_storage | Jakob Bornecrantz | |
2008-05-26 | i915: Removed screen sufixes on texture functions | Jakob Bornecrantz | |
2008-05-26 | i915: Fix for tex-surface merge | Jakob Bornecrantz | |
2008-05-07 | gallium: Propagate tex_usage flags down to winsys. | José Fonseca | |
2008-05-02 | i915: update to new display target allocation | Keith Whitwell | |
2008-05-01 | gallium: tex surface checkpoint | Keith Whitwell | |
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-02-27 | gallium/i915: remove unneeded assignment | Brian | |
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-26 | gallium: introduce 'pipe_screen' for context-independent functions | Brian | |
This will allow creating textures before a rendering context exists, for example. Only implemented in i915 driver for now. i915pipe->texture_create() just dispatches through to the i915screen->texture_create() to avoid state tracker changes for now. | |||
2008-02-26 | gallium: remove pipe parameter from pipe_texture_reference() | Brian | |
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | |||
2008-02-20 | gallium: replace some ordinary assignments with pipe_reference_texture() | Brian | |
This fixes at least one instance of dereferencing an invalid texture pointer. |