aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* st/xorg: Add debug for fallbacksJakob Bornecrantz2009-09-284-34/+54
|
* st/xorg: Make debug printing optionalJakob Bornecrantz2009-09-282-2/+15
|
* meta: Fix invalid PBO access from DrawPixels when trying to just alloc.Eric Anholt2009-09-281-6/+15
| | | | | | | | | This whole reuse of buffers (TexSubImage instead of TexImage, SubData instead of Data) is bad for hardware drivers, but it's even worse when we accidentally try to access the 2x2 PBO to fill the new 16x16 texture we're creating, producing GL errors. Fixes piglit pbo-drawpixels. Bug #14163.
* intel: Drop my generatemipmap code in favor of the new shared code.Eric Anholt2009-09-288-309/+1
|
* intel: Remove some dead metaops code.Eric Anholt2009-09-287-68/+2
|
* st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmemBrian Paul2009-09-281-0/+3
| | | | | In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap field as another hint as to whether to allocate space for a whole mipmap.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-286-56/+112
|\
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-285-56/+111
| |\
| | * Fix build on non GLIBC platforms (FreeBSD at least)Robert Noland2009-09-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build was broken by commit 9666529b5a5be1fcde82caadc2fe2efa5ea81e49 I'm not certain that this is entirely the correct fix since the demo from bug #23774 seemed to work before the commit that broke the build. Signed-off-by: Robert Noland <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| | * st/mesa: fix st_generate_mipmap() issuesBrian Paul2009-09-281-2/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | The main issue is we didn't always have a gallium texture object with enough space to store the to-be-generated mipmap levels. When that's the case, allocate a new gallium texture and use st_texure_finalize() to copy images from the old texture to the new one. We also had the baseLevel parameter to st_render_mipmap() wrong.
| | * st/mesa: fix/simplify st_texture_object::lastLevel calculationBrian Paul2009-09-281-53/+9
| | | | | | | | | | | | | | | | | | | | | Don't compute the st_texture_object::lastLevel field based on the texture filters. Use the _MaxLevel value that core Mesa computes for us. When called from the GenerateMipmap path, we'll use the lastLevel field as-is.
| | * gallium/util: add sanity check assertionsBrian Paul2009-09-281-0/+11
| | |
| | * i915: Fix GetBufferSubData in the case of a system-memory BO.mesa_7_5_2_rc1Eric Anholt2009-09-241-1/+4
| | | | | | | | | | | | Bug #23760 (crashes in wine)
| * | intel: Handle GL_RGB8 for glCopyTex(Sub)Image.Michel Dänzer2009-09-251-0/+1
| | | | | | | | | | | | Avoids an unnecessary fallback.
* | | mesa: use _mesa_get_current_tex_unit() helperBrian Paul2009-09-282-3/+4
| | |
* | | llvmpipe: Grab a ref when the fb is set.Younes Manton2009-09-282-4/+9
| | | | | | | | | | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
* | | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| | |
* | | g3dvl: Fix MSVC build.José Fonseca2009-09-285-52/+95
| | | | | | | | | | | | pipe/p_compiler for integer types. No declarations out of scope.
* | | r300g: fix r300g cause GPU hang issue.Cooper Yuan2009-09-281-3/+2
| | | | | | | | | | | | | | | | | | | | | why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
* | | xvmc: Fail on unsupported formats, operations.Younes Manton2009-09-281-2/+21
| | |
* | | g3dvl: Missing semicolon.Younes Manton2009-09-271-1/+1
| | |
* | | g3dvl: Formatting and cleanups.Younes Manton2009-09-279-457/+313
| | |
* | | g3dvl: Move XvMC under the Xorg state tracker.Younes Manton2009-09-2720-69/+46
| | |
* | | g3dvl: Implement XvMC using pipe_video_context.Younes Manton2009-09-2716-784/+1209
| | |
* | | g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton2009-09-2722-3/+3559
| | |
* | | util: Add util_next_power_of_two() for rounding a uint up to a POT.Younes Manton2009-09-271-0/+20
| | |
* | | r300g: fix erroneous conditionMaciej Cencora2009-09-271-1/+1
| | |
* | | r300g: don't force vertex position for HW TCL pathMaciej Cencora2009-09-271-1/+3
| | | | | | | | | | | | It could be generated by vertex shader.
* | | r300g: add some assertionsMaciej Cencora2009-09-271-0/+3
| | | | | | | | | | | | Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
* | | r300g: plug memory leakMaciej Cencora2009-09-271-1/+1
| | |
* | | r300g: add some debugging infoMaciej Cencora2009-09-271-10/+20
| | |
* | | r300g: fix r300 rs pathDave Airlie2009-09-281-2/+2
| | |
* | | r300g: rewrite RS state setup.Dave Airlie2009-09-281-24/+13
| | | | | | | | | | | | | | | Not 100% sure this is correct, but its more correct than what was here previous however it may require changes in the input routing for the frag shader.
* | | r300g: silence compiler warningDave Airlie2009-09-281-1/+1
| | |
* | | i915g: Submit direct vertex buffersJakob Bornecrantz2009-09-271-2/+31
| | |
* | | i915g: Fix warningJakob Bornecrantz2009-09-271-1/+1
| | |
* | | i915g: Tile shared buffers as wellJakob Bornecrantz2009-09-271-0/+47
| | |
* | | i915g: Make sure to map tiled buffers via the gttJakob Bornecrantz2009-09-272-1/+12
| | |
* | | i915g: Use booleanJakob Bornecrantz2009-09-271-1/+1
| | |
* | | i915g: Enable reuse of buffersJakob Bornecrantz2009-09-271-0/+1
| | |
* | | st/egl: Remove buffer from screenJakob Bornecrantz2009-09-272-5/+3
| | | | | | | | | | | | | | | | | | | | | It is no longer needed since the new drm api code, and it incorrectly checked if the buffer where there for testing completeness when it should have checked the texture instead.
* | | r600 : Enable draw_prim.Richard Li2009-09-271-2/+0
| | |
* | | softpipe: Grab a ref when the fb is set.Younes Manton2009-09-272-4/+9
| | | | | | | | | | | | | | | | | | | | | Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture.
* | | r300g: add tx depth support in register.Dave Airlie2009-09-262-0/+8
| | | | | | | | | | | | also enable cube/3d bits in txformat reg
* | | r300g: only pass complete texture state to hw setup functionDave Airlie2009-09-261-15/+12
| | | | | | | | | | | | | | | No point passing things twice here, also allows more state to be setup properly.
* | | r300g: add missing break in OQ emitDave Airlie2009-09-261-0/+1
| | |
* | | llvmpipe: Allow building with LLVM 2.6 too.José Fonseca2009-09-263-0/+15
| | |
* | | r300g: report GL1.5, enable cap bits for OQ and shadow.Dave Airlie2009-09-261-4/+2
| | | | | | | | | | | | | | | | | | | | | Its not like it works well on 1.3 so may as well reach for greater heights. Signed-off-by: Dave Airlie <[email protected]>
* | | r300g: add z16 unorm texture formatDave Airlie2009-09-261-0/+2
| | |
* | | r300g: fix texture pitch to correct value.Dave Airlie2009-09-261-1/+1
| | | | | | | | | | | | pitch is pixels - 1, not bytes.