summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-21112-934/+1325
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * util: fix obvious util_blitter_copy bugs...Roland Scheidegger2010-05-191-4/+3
| |
| * nv50: fix typo: s/_/./Brian Paul2010-05-191-1/+1
| |
| * util: util_blitter_fill no longer needs to handle overlapRoland Scheidegger2010-05-191-52/+2
| |
| * i915g: remove unused flip parameterRoland Scheidegger2010-05-193-3/+0
| |
| * docs: update differences to d3d11Roland Scheidegger2010-05-181-13/+7
| |
| * util: fix some leftover util_surface_fill/copy callsRoland Scheidegger2010-05-182-8/+18
| |
| * st/mesa: fix wrong argument orderRoland Scheidegger2010-05-181-2/+3
| |
| * gallium: implement set_sample_mask() in all driversRoland Scheidegger2010-05-1816-1/+116
| | | | | | | | | | | | | | | | prevents segfault when state trackers try to set default mask. Other option would be to make this required only for drivers supporting multisampling, but this seems more clean. Only dummy implementations (for normal drivers) provided (no driver supports multisampling yet neither).
| * st/egl: adapt to interface changesRoland Scheidegger2010-05-174-27/+21
| |
| * st/dri: adapt to interface changesRoland Scheidegger2010-05-173-32/+61
| |
| * st/glx: adapt to interface changesRoland Scheidegger2010-05-172-11/+11
| |
| * st/wgl: adapt to interface changesRoland Scheidegger2010-05-171-3/+3
| |
| * st/vega: adapt to interface changesRoland Scheidegger2010-05-174-57/+37
| |
| * st/xorg: adapt to interface changesRoland Scheidegger2010-05-174-76/+54
| |
| * st/python: adapt to interface changesRoland Scheidegger2010-05-176-27/+49
| | | | | | | | | | | | | | compile tested only. Should probably change the python surface_copy/fill functions also into resource_copy/fill_region functions and adapt the code using them.
| * svga: adapt to interface changesRoland Scheidegger2010-05-172-19/+42
| | | | | | | | | | might need further cleanup. Using surfaces internally just to be able to use the existing code might cause unnecessary copies afaict.
| * r300g: adapt to interface changesRoland Scheidegger2010-05-175-61/+89
| | | | | | | | | | might need further cleanup. Using surfaces internally for the u_blitter code seems nonoptimal.
| * nouveau: adapt to interface changesRoland Scheidegger2010-05-178-30/+72
| | | | | | | | | | this probably needs further cleanup (just getting a surface for the resource seems quite nonoptimal and potentially cause unnecessary copies I think)
| * fo: adapt to interface changesRoland Scheidegger2010-05-171-2/+2
| |
| * identity: adapt to interface changesRoland Scheidegger2010-05-172-51/+65
| |
| * trace: adapt to interface changesRoland Scheidegger2010-05-172-28/+40
| |
| * i965g: adapt to interface changesRoland Scheidegger2010-05-174-4/+13
| |
| * i915g: adapt to interface changesRoland Scheidegger2010-05-172-21/+67
| |
| * softpipe: adapt to interface changesRoland Scheidegger2010-05-172-16/+7
| |
| * llvmpipe: adapt to interface changesRoland Scheidegger2010-05-172-20/+27
| |
| * cell: adapt to interface changesRoland Scheidegger2010-05-172-16/+8
| | | | | | | | not even compile tested but fairly trivial
| * mesa/st: adapt to interface changesRoland Scheidegger2010-05-1723-194/+316
| | | | | | | | | | adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
| * gallium/util: adapt util code to interface changesRoland Scheidegger2010-05-178-143/+145
| | | | | | | | | | | | | | | | | | | | | | The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
| * gallium: clean up resource_copy_region functionRoland Scheidegger2010-05-172-6/+3
| | | | | | | | | | | | | | | | | | | | Previously, surface_copy was said to allow overlapping blits, and it was "optional". However, some state trackers actually assumed it is always present, and quite some code (like in u_blit) assumed overlapping isn't allowed. Hence, resource_copy_region (and in the same spirit, resource_fill_region) is now mandatory, but overlapping blits are no longer allowed. A driver can plug in the cpu fallback util_resource_copy_region if it does not want to provide its own implementation, though this is not optimal.
| * gallium: another interface change for multisamplingRoland Scheidegger2010-05-172-21/+5
| | | | | | | | | | | | | | | | | | | | due to popular request, use nr_samples parameter in is_format_supported() instead of new is_msaa_supported() query. This makes it easily possible to query if a format with a given sample count is also supported not only as render target, but for sampler views (note that texture sampling from multisampled resources isn't supported yet). It is not quite how dx10 format msaa queries work, but we might need to revisit format queries completely in the future anyway.
| * Merge commit 'origin/master' into gallium-msaaRoland Scheidegger2010-05-04217-5927/+6756
| |\
| * \ Merge commit 'origin/master' into gallium-msaaRoland Scheidegger2010-04-30196-1351/+56115
| |\ \
| * | | gallium: fix glaring bugs in last commitRoland Scheidegger2010-04-272-3/+2
| | | |
| * | | gallium: interface changes for multisamplingRoland Scheidegger2010-04-268-26/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add function to set sample mask, and state for alpha-to-coverage and alpha-to-one. Also make it possible to query for supported sample count with is_msaa_supported(). Use explicit resource_resolve() to resolve a resource. Note that it is illegal to bind a unresolved resource as a sampler view, must be resolved first (as per d3d10 and OGL APIs, binding unresolved resource would mean that special texture fetch functions need to be used which give explicit control over what samples to fetch, which isn't supported yet). Also change surface_fill() and surface_copy() to operate directly on resources. Blits should operate directly on resources, most often state trackers just used get_tex_surface() then did a blit. Note this also means the blit bind flags are gone, if a driver implements this functionality it is expected to handle it for all resources having depth_stencil/render_target/sampler_view bind flags (might even require it for all bind flags?). Might want to introduce quality levels for MSAA later. Might need to revisit this for hw which does instant resolve.
* | | | nouveau/nvfx: Fill more PIPE_CAP_MAX_ valuesPatrice Mandin2010-05-211-13/+14
| | | | | | | | | | | | | | | | Signed-off-by: Patrice Mandin <[email protected]>
* | | | Add __DragonFly__ in querymatrix for fpclassify()David Shao2010-05-211-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | | | cell: assorted compilation fixesBrian Paul2010-05-214-14/+32
| | | |
* | | | cell: fix breakage from earlier draw module changesBrian Paul2010-05-212-2/+2
| | | |
* | | | gallium: remnants of old ccw stateKeith Whitwell2010-05-216-10/+6
| | | |
* | | | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-2133-411/+401
|\ \ \ \
| * | | | docs: update rasterizer for ccw changesKeith Whitwell2010-05-211-55/+80
| | | | | | | | | | | | | | | | | | | | Also rearrange some of the fields into point/line/polygon categories.
| * | | | llvmpipe: fix front/back tri culling mix-upBrian Paul2010-05-171-2/+2
| | | | |
| * | | | draw: fix front/back error in unfilled pipeline stageKeith Whitwell2010-05-141-3/+4
| | | | |
| * | | | draw: fix typo checking for unfilled polygonsKeith Whitwell2010-05-141-1/+1
| | | | |
| * | | | softpipe: restore culling codeKeith Whitwell2010-05-141-3/+21
| | | | |
| * | | | gallium: more work on ccw flag removalKeith Whitwell2010-05-1411-74/+79
| | | | | | | | | | | | | | | | | | | | The linux-debug target builds...
| * | | | gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-1428-293/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
* | | | | Make TLS EGL dri2 driver search path behavior match TLS GLX dri2 behavior.Eric Anholt2010-05-201-9/+12
| | | | |
* | | | | Fix a substitution in glesv1_cm.pcEric Anholt2010-05-201-1/+1
| | | | |