Brian
fde755aefb
In softpipe_set_viewport() use ordinary (struct) assignment to update softpipe->viewport.
The previous memcpy() was incorrect since it only copied 4 bytes instead of 32.
With struct assignment we avoid data size errors.
18 anni fa
Brian
8f6b6eed35
initial framebuffer state
18 anni fa
Brian
fe1f94f26c
framebuffer state
18 anni fa
Michel Dänzer
9cde7fb61d
i915tex: Missing piece of SetTexOffset hook implementation for I830 generation.
18 anni fa
Keith Whitwell
477e18cb02
Add GLUT_ALPHA for softpipe
18 anni fa
Keith Whitwell
943964a1e5
Rename directories again?!
Some git wierdness going on.
18 anni fa
Keith Whitwell
6393cda676
Renamed softpipe directories and files to something less confusing.
softpipe/state_tracker --> state_tracker/
softpipe/ --> pipe/
softpipe/generic --> pipe/softpipe/
I don't think pipe is a great name, but I disliked all the others too.
Luckily it's fairly easy to rename with git, so this can be revisited
later.
18 anni fa
Keith Whitwell
7050a4a7bc
Small optimization for line drawing.
And some comments on point sprites.
18 anni fa
Keith Whitwell
790ec6ad3f
Remove some dead code.
18 anni fa
Dave Airlie
bc81885bb2
Initial r300 modes for swtcl it compiles!!
18 anni fa
Stephane Marchesin
f6963f57d9
nouveau: remove useless viewport xform with id matrix.
18 anni fa
Dave Airlie
40cc47f8ee
move clip to r300 emit
18 anni fa
Brian
144e1e439f
fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of a goto
18 anni fa
Brian
261ed74074
fix make clean commands so missing subdirs don't cause infinite loops
18 anni fa
Brian
d70fa021d5
added memcpy() to-do item
18 anni fa
Brian
ef82f004fa
fix comment
18 anni fa
Brian
edf07417be
Fix TEXREL issues when using GLX_USE_TLS (see bug 7459).
18 anni fa
Brian
c1ba308e64
fix GLX_USE_TLS breakage, fix a warning
18 anni fa
Brian
6378dc3ae3
simple line drawing code
18 anni fa
Brian
0fbc4c51a0
Rework _mesa_update_texture_compare_function() to only be called during
state validation/update.
Note that we're still temporarily skipping the test for an active fragment
program. Need to fix shadow2D() ...
18 anni fa
Brian
495e2c8327
rename/clean-up _mesa_validate_texture_wrap_mode
18 anni fa
Brian
84e051b6a0
fix typo, added comment
18 anni fa
Brian
227315278d
Replace texobj->Complete with texobj->_Complete since it's a derived field.
18 anni fa
Brian
a28977a4c7
typo: s/derrived/derived/
18 anni fa
Brian
0186f1bc83
Temporarily disable the calls to _mesa_update_texture_compare_function().
This fixes the depth-peel regression reported by Brad King.
18 anni fa
Brian
cf239ced0d
In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug.
18 anni fa
Brian
c56588407c
remove dead code
18 anni fa
Dave Airlie
b96dbd2a3e
r300: i can't see why we fallback for polygon offset line/fill
18 anni fa
Brian
86eecc701e
In supported_buffer_bitmask(), use framebuffer's visual, not context's visual
18 anni fa
Brian
ee170f2955
disable depthBits test in check_compatible(), see bug 11161
18 anni fa
Brian
39d221ef14
fix glReadPixels parameters to handle odd-width windows correctly
18 anni fa
Brian
5e9cff0b97
disable shader program before glDrawPixels
18 anni fa
Brian
009ddb4e50
remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS
18 anni fa
Ian Romanick
7b559a9102
Add support for GL_ARB_fragment_program_shadow.
18 anni fa
Ian Romanick
84d1b24647
Fix ARB_fp spec conformance bug WRT shadow sampling.
The ARB_fp (and other assembly-level fragment program specs) say that the
depth comparison function is always GL_NONE in fragment program mode.
18 anni fa
Ian Romanick
359c6eada7
Add support for shadow mapping with vertex and fragment programs
18 anni fa
Ian Romanick
2260c245fd
Refactor shadow map modelview and projection code
Explicitly store the modelview matrix and projection matrix used when the
shadow map is created. These matrices only need be updated when
RenderShadowMap is called. Previously, slightly different code was used to
draw and project the shadow map.
18 anni fa
Ian Romanick
f575d4fa7f
Remove '#if defined' tests for ARB extensions.
18 anni fa
Oliver McFadden
871f57365e
r300: Added a comment regarding the R300_VAP_CLIP registers.
18 anni fa
Oliver McFadden
65b45d6d58
r300: Removed a "don't think this is needed" comment, it actually is needed.
According to the comment you do not need to setup INPUT_CNTL when using vertex
buffers. However, not doing so results in a lockup.
18 anni fa
Oliver McFadden
9c50d84775
r300: Explain the R300_VAP_OUTPUT_VTX_FMT_1 register.
18 anni fa
Oliver McFadden
10d5dd685c
r300: Cleaned up long lines in r300Choose8888TexFormat.
18 anni fa
Wang Zhenyu
8331d9d7aa
Add PCI IDs for the G33, Q33, and Q35 chipsets.
18 anni fa
Michel Dänzer
08a2cc2d23
i915tex: Better attempt to release miptree when overriding texture image.
The previous approach could lead to crashes in FBO code that dereferences the
miptree struct pointer unconditionally.
18 anni fa
Michel Dänzer
89f070b3bb
Remove dubious compile-time test for pre-2.4 Linux kernels.
LINUX_VERSION_CODE shouldn't be used by userspace code, it can be defined empty
these days.
If anybody still cares about 2.2 kernels, they should reinstate this as a
proper runtime test.
18 anni fa
Ian Romanick
69358e73ce
Updates for array texture shadow targets.
18 anni fa
Dave Airlie
0b11203038
miniglx: implement GetProcAddressARB in miniglx as an alias for GPA
18 anni fa
Dave Airlie
b2dde0a783
miniglx: update defines in linux-solo config
18 anni fa
Dave Airlie
90630feeec
r300: fix non-tcl rs4xx again.
18 anni fa
Wang Zhenyu
ad6351a994
i915tex: Add support for 945GME
18 anni fa