aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: remove target parameter from nouveau_bufferobj_map_range()Brian Paul2011-09-091-1/+1
| | | | | This was missed back when the target parameter was removed from all the buffer-related driver hooks.
* dri: Remove MESA_FORMAT_CI8 bits from drivers that don't do paletted texturesIan Romanick2011-08-294-19/+0
| | | | | | | This came from the "kill it with fire" discussion at XDS 2010. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* nouveau: Add MapTextureImage() implementation.Eric Anholt2011-08-291-0/+81
| | | | | | | This is untested, but should be close to working since it's basically a copy of nouveau_teximage_map(). Reviewed-by: Brian Paul <[email protected]>
* mesa: Rename FreeTexImageData to FreeTextureImageBuffer.Eric Anholt2011-08-291-1/+1
| | | | | | | | This was produced by sed, except for one hunk in driverfuncs.c where trailing whitespace was dropped. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mesa: Eliminate dd_function_table::MapBufferIan Romanick2011-08-231-17/+0
| | | | | | | | | | Replace all calls to dd_function_table::MapBuffer with appropriate calls to dd_function_table::MapBufferRange, then remove all the cruft. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove target parameter from dd_function_table::MapBufferRangeIan Romanick2011-08-231-2/+1
| | | | | | | | | | No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove target parameter from dd_function_table::GetBufferSubDataIan Romanick2011-08-231-1/+1
| | | | | | | | | | No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove target parameter from dd_function_table::BufferSubDataIan Romanick2011-08-231-1/+1
| | | | | | | | | | No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove target parameter from dd_function_table::MapBufferIan Romanick2011-08-231-2/+2
| | | | | | | | | | No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove target parameter from dd_function_table::UnmapBufferIan Romanick2011-08-231-1/+1
| | | | | | | | | | No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* dri/nouveau: nv10: fix vertex format for GL_UNSIGNED_BYTEAndrew Randrianasulu2011-07-111-1/+1
| | | | | | | | Broken accidentally in f4efc256fd90beaff86321e4c6ce00f9be55092d, the switch to rnn headers. NV10TCL_VTXFMT_TYPE_BYTE_RGBA became U8_UNORM but B8G8R8A8_UNORM was used instead.
* mesa: Switch generate_mipmaps_compressed() to using TexImage2D to upload.Eric Anholt2011-06-141-2/+4
| | | | | | | | | | | | | The code was playing fast and loose with rowstrides, which meant that if a driver chose anything different for its alignment requirements, the generated mipmaps came out garbage. Unlike the uncompressed case, we can't generate mipmaps directly into image->Data, so by using TexImage2D we cut out most of the weird logic that existed to generate in-place into ->Data. The up/downside is that the driver recovery code for the fact that _mesa_generate_mipmaps whacked ->Data has to be turned off for compressed now. Fixes 6 piglit tests about compressed mipmap gen.
* dri/nouveau: fix gnome-shell segfaultBen Skeggs2011-06-061-1/+1
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr2011-06-021-4/+5
| | | | | | | | | - Based on the work of Себастьян Gliţa Κατινα <[email protected]> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <[email protected]>
* nouveau_vieux: fix build since sampler objects mergeDave Airlie2011-04-123-12/+12
|
* mesa: move sampler state into new gl_sampler_object typeBrian Paul2011-04-104-21/+21
| | | | | | gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
* dri: Remove driver date from renderer stringIan Romanick2011-04-052-2/+1
| | | | | | Reviewed-by: Corbin Simpson <[email protected]> Reviewed-by: Brian Paul <[email protected]> Tested-by: Sedat Dilek <[email protected]>
* nouveau: Fix serious compiler warningsJohannes Obermayr2011-03-181-0/+1
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025 Signed-off-by: Brian Paul <[email protected]>
* nouveau: Build fixAdam Jackson2011-03-111-0/+1
| | | | nouveau_vieux_dri.so.tmp: undefined reference to `_mesa_need_secondary_color'
* mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlinesBrian Paul2011-03-113-4/+4
| | | | and rename them.
* mesa: remove _mesa_initialize_context_for_api()Brian Paul2011-02-081-1/+2
| | | | Just add the gl_api parameter to _mesa_initialize_context().
* dri/nouveau: allow multiple maps of surface buffersBen Skeggs2011-01-191-2/+4
| | | | | | | | | Can happen during swrast fallbacks if a buffer is somehow bound as a render target and a texture. Fixes gnome-shell on nv20, and gets it mostly working on nv10. Signed-off-by: Ben Skeggs <[email protected]>
* mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul2011-01-152-7/+7
|
* dri/nouveau: Include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-092-0/+3
|
* nouveau: fix includes for latest libdrmBen Skeggs2010-12-211-1/+1
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* dri/nouveau: Clean up magic numbers in get_rt_formatViktor Novotný2010-11-193-13/+13
| | | | | Signed-off-by: Viktor Novotný <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* mesa: pass gl_format to _mesa_init_teximage_fields()Brian Paul2010-11-181-2/+3
| | | | | | | | | | | This should prevent the field going unset in the future. See bug http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background. Also remove unneeded calls to clear_teximage_fields(). Finally, call _mesa_set_fetch_functions() from the _mesa_init_teximage_fields() function so callers have one less thing to worry about.
* dri/nouveau: Kill a bunch of ternary operators.Francisco Jerez2010-11-157-24/+33
|
* dri/nouveau: Fix typo.Francisco Jerez2010-11-152-2/+1
|
* dri/nouveau: Remove nouveau_class.h, finishing switch to rules-ng-ng headersViktor Novotný2010-11-151-4961/+0
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau nv20: Use rules-ng-ng headersViktor Novotný2010-11-158-250/+248
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný2010-11-159-231/+228
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: nv04: Use rules-ng-ng headersViktor Novotný2010-11-158-17/+23
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Import headers from rules-ng-ngViktor Novotný2010-11-156-0/+6200
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Split hardware/software TNL instantiation more cleanly.Francisco Jerez2010-11-119-66/+84
|
* dri/nouveau: Silence uninitialized variable warning.Vinson Lee2010-11-031-0/+5
| | | | | | | Fixes this GCC warning. nouveau_vbo_t.c: In function 'nv10_vbo_render_prims': nouveau_render_t.c:161: warning: 'max_out' may be used uninitialized in this function nouveau_render_t.c:161: note: 'max_out' was declared here
* dri/nouveau: Re-emit the BO state when coming back from a software fallback.Francisco Jerez2010-10-311-2/+4
|
* dri/nouveau: Validate the framebuffer state on read buffer changes.Francisco Jerez2010-10-311-0/+7
|
* dri/nouveau: Fix type promotion issue on 32bit platforms.Francisco Jerez2010-10-311-1/+1
| | | | Fixes some VTX protection errors introduced by e89af209261.
* dri/nouveau: Pipeline glTexSubImage texture transfers.Francisco Jerez2010-10-312-19/+68
|
* dri/nouveau: Keep small DYNAMIC_DRAW vertex buffers in system ram.Francisco Jerez2010-10-314-13/+35
|
* dri/nouveau: Optimize VBO binding re-emission.Francisco Jerez2010-10-313-26/+84
|
* dri/nouveau: Split out array handling to its own file.Francisco Jerez2010-10-319-165/+244
|
* dri/nouveau: Use a macro to iterate over the bound vertex attributes.Francisco Jerez2010-10-315-112/+83
|
* dri/nouveau: Avoid recursion in nouveau_bo_context_reset().Francisco Jerez2010-10-311-5/+5
|
* dri/nouveau: Split out the scratch helpers to a separate file.Francisco Jerez2010-10-319-78/+165
|
* dri/nouveau: Tell the vbo module we want real hardware BOs.Francisco Jerez2010-10-311-0/+1
|
* dri/nouveau: Honor the access flags in nouveau_bufferobj_map_range.Francisco Jerez2010-10-311-32/+40
|
* dri/nouveau: Call _mesa_update_state() after framebuffer invalidation.Francisco Jerez2010-10-302-1/+6
| | | | | Previously nouveau_state_emit() was being called directly, sometimes that doesn't work because it doesn't update the derived GL context.
* dri/nv25: Bind a hierarchical depth buffer.Francisco Jerez2010-10-305-8/+34
|