Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon: derive radeon_renderbuffer from swrast_renderbuffer | Brian Paul | 2012-01-24 | 14 | -64/+73 |
| | |||||
* | intel: derive intel_renderbuffer from swrast_renderbuffer | Brian Paul | 2012-01-24 | 7 | -49/+55 |
| | | | | Drivers that rely on swrast need to do this, as with swrast_texture_image. | ||||
* | xlib: derive xmesa_renderbuffer from swrast_renderbuffer | Brian Paul | 2012-01-24 | 4 | -24/+27 |
| | |||||
* | swrast: allocate swrast_renderbuffers instead of gl_renderbuffers | Brian Paul | 2012-01-24 | 2 | -7/+7 |
| | |||||
* | swrast: new swrast_renderbuffer type | Brian Paul | 2012-01-24 | 1 | -0/+25 |
| | | | | This will let us move the swrast-specific fields out of gl_renderbuffer. | ||||
* | intel: use intel_rb_format() to get renderbuffer format | Brian Paul | 2012-01-24 | 11 | -42/+56 |
| | | | | This will make future changes cleaner and less invasive. | ||||
* | dri/swrast: rename swrast_renderbuffer to dri_swrast_renderbuffer | Brian Paul | 2012-01-24 | 2 | -14/+14 |
| | | | | | To prevent name collision with future swrast_renderbuffer in the swrast module. | ||||
* | swrast: use stencil packing function in s_stencil.c | Brian Paul | 2012-01-24 | 1 | -1/+3 |
| | |||||
* | swrast: use color packing functions in s_span.c | Brian Paul | 2012-01-24 | 1 | -4/+9 |
| | |||||
* | swrast: remove s_spantemp.h | Brian Paul | 2012-01-24 | 1 | -149/+0 |
| | |||||
* | xlib: remove xm_span.c and related code | Brian Paul | 2012-01-24 | 6 | -249/+1 |
| | |||||
* | mesa: remove gl_renderbuffer::Wrapped | Brian Paul | 2012-01-24 | 7 | -23/+13 |
| | | | | There's no such thing as renderbuffer wrappers anymore. | ||||
* | swrast: rewrite, simplify the the render-to-texture code | Brian Paul | 2012-01-24 | 1 | -110/+30 |
| | |||||
* | mesa: rename gl_renderbuffer::Data to Buffer | Brian Paul | 2012-01-24 | 7 | -38/+41 |
| | | | | To better indicate that this pointer to the malloc'd memory. | ||||
* | mesa: move freeing of software renderbuffers into swrast | Brian Paul | 2012-01-24 | 2 | -6/+16 |
| | |||||
* | mesa: remove gl_renderbuffer::DataType | Brian Paul | 2012-01-24 | 17 | -249/+39 |
| | |||||
* | mesa: remove gl_renderbuffer:RowStride field | Brian Paul | 2012-01-24 | 9 | -16/+7 |
| | |||||
* | mesa: finally, remove the GetRow/PutRow/etc functions | Brian Paul | 2012-01-24 | 1 | -37/+0 |
| | |||||
* | dri: remove all the obsolete spantmp files | Brian Paul | 2012-01-24 | 4 | -1259/+0 |
| | |||||
* | radeon: remove obsolete GetRow/PutRow code | Brian Paul | 2012-01-24 | 2 | -167/+0 |
| | |||||
* | nouveau: remove obsolete GetRow/PutRow code | Brian Paul | 2012-01-24 | 1 | -85/+0 |
| | |||||
* | intel: remove most of the span Get/PutRow code | Brian Paul | 2012-01-24 | 2 | -134/+1 |
| | |||||
* | dri/swrast: remove obsolete GetRow/PutRow code | Brian Paul | 2012-01-24 | 4 | -582/+0 |
| | |||||
* | osmesa: remove obsolete GetRow/PutRow code | Brian Paul | 2012-01-24 | 1 | -430/+1 |
| | |||||
* | xlib: remove obsolete GetRow/PutRow code | Brian Paul | 2012-01-24 | 1 | -1594/+3 |
| | |||||
* | mesa: remove obsolete PutRow, etc assignments | Brian Paul | 2012-01-24 | 1 | -17/+0 |
| | |||||
* | swrast: remove Get/PutRow()-related code | Brian Paul | 2012-01-24 | 2 | -1224/+8 |
| | |||||
* | st/mesa: remove gl_renderbuffer::GetPointer stuff | Brian Paul | 2012-01-24 | 1 | -19/+0 |
| | |||||
* | swrast: stop using Put/GetRow/Values() in swrast code | Brian Paul | 2012-01-24 | 5 | -55/+193 |
| | | | | | All color buffer rendering is now done by accessing mapped renderbuffer memory. We're now able to get rid of all the GetRow/PutRow stuff. | ||||
* | swrast: use gl_renderbuffer::StrideInBytes in depth/stencil code | Brian Paul | 2012-01-24 | 2 | -6/+6 |
| | |||||
* | mesa: use gl_renderbuffer::Map for all depth/stencil accesses | Brian Paul | 2012-01-24 | 4 | -47/+124 |
| | | | | | Instead of using the obsolete gl_renderbuffer::Data field. Color buffer are still accessed through GetRow/PutRow(). | ||||
* | intel: make intel_renderbuffer_map/unmap() static | Brian Paul | 2012-01-24 | 2 | -6/+3 |
| | |||||
* | mesa: add new gl_renderbuffer fields | Brian Paul | 2012-01-24 | 1 | -1/+6 |
| | | | | | | | | | These are temporary, actually, but they'll make follow-on work easier to implement in a step-by-step manner. Eventually the Map and RowStrideBytes fields will go into a new swrast_renderbuffer type, but adding that type now would involve touching a _lot_ of code that'll eventually be removed. The fields marked as obsolete will go away completely at some point. | ||||
* | swrast: flush pending rendering before unmapping buffers | Brian Paul | 2012-01-24 | 1 | -2/+3 |
| | |||||
* | swrast: new assertions in _swrast_pixel_address() | Brian Paul | 2012-01-24 | 1 | -0/+8 |
| | |||||
* | swrast: use _swrast_pixel_address() in more places | Brian Paul | 2012-01-24 | 2 | -7/+15 |
| | |||||
* | swrast: s/Data/Map/ in swrast_texture_image | Brian Paul | 2012-01-24 | 15 | -55/+55 |
| | | | | To indicate that it points to mapped texture memory. | ||||
* | swrast: remove gl_renderbuffer::DataType check in DrawPixels() | Brian Paul | 2012-01-24 | 1 | -5/+8 |
| | | | | The field will be going away so update this code. | ||||
* | swrast: remove gl_renderbuffer::DataType assertions | Brian Paul | 2012-01-24 | 3 | -3/+0 |
| | | | | This field will go away, so remove some uses of it. | ||||
* | st/mesa: remove gl_renderbuffer:DataType assignments | Brian Paul | 2012-01-24 | 4 | -107/+0 |
| | | | | | | | | That field is only used by swrast code so there's no reason to mess with it in the gallium state tracker. This also lets us remove the unused st_format_data() type function and related code. | ||||
* | swrast: make _swrast_get_values(), _swrast_get_row() static | Brian Paul | 2012-01-24 | 2 | -23/+12 |
| | | | | They were only called from in s_span.c | ||||
* | swrast: remove dstType param from _swrast_read_rgba_span() | Brian Paul | 2012-01-24 | 3 | -7/+7 |
| | | | | It was always GL_FLOAT. | ||||
* | swrast: remove unused _swrast_put_row() | Brian Paul | 2012-01-24 | 2 | -40/+0 |
| | |||||
* | mesa: Don't resurrect deleted ARB VAOs in glPopClientAttrib | Ian Romanick | 2012-01-24 | 1 | -11/+42 |
| | | | | | | | | | | | | | | When ARB VAOs are used, glPopClientAttrib does not resurrect a deleted VAO or VBO. This difference between the two spec is, unfortunately, not very well spelled out in the specs. Fixes oglc vao(advanced.pushPop.deleteVAO) and vao(advanced.pushPop.deleteVBO) tests. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: Rename gl_array_object::VBOonly to ::ARBsemantics | Ian Romanick | 2012-01-24 | 4 | -8/+29 |
| | | | | | | | | | | | | | | There are more differences between Apple and ARB than just requiring that all arrays be stored in VBOs. Additional uses will be added in following commits. Also, set the flag at Bind time instead of Gen time. The ARB_vao spec specifies that behavior. NOTE: This is a candidate for release branches. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | swrast: Use fixed-function processing instead _TexEnvProgram for DrawPixels | Ian Romanick | 2012-01-24 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | This is a hack to work around drivers such as i965 that: - Set _MaintainTexEnvProgram to generate GLSL IR for fixed-function fragment processing. - Don't call _mesa_ir_link_shader to generate Mesa IR from the GLSL IR. - May use swrast to handle glDrawPixels. Since _mesa_ir_link_shader is never called, there is no Mesa IR to execute. Instead do regular fixed-function processing. Even on platforms that don't need this, the software fixed-function code is much faster than the software shader code. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44749 | ||||
* | mesa: Make sure _TexEnvProgram points at the current ff fragment program | Ian Romanick | 2012-01-24 | 1 | -0/+9 |
| | | | | | | | | | | | | | At least one place, the _mesa_need_secondary_color function in state.h, uses this to make decisions. The next patch in this series will add another dependency. Ideally, this field would go away and be replace by a flag or something. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]> | ||||
* | softpipe: move var initialization to silence warning | Brian Paul | 2012-01-24 | 1 | -2/+1 |
| | |||||
* | r600g: remove unused variable | Brian Paul | 2012-01-24 | 1 | -1/+0 |
| | |||||
* | glsl: Don't use newlocale on Haiku | Alexander von Gluck | 2012-01-24 | 1 | -1/+2 |
| | | | | | | NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]> |