Ben Skeggs
eeada48497
Implement enough of ARB_fragment_program for Keith's texenv program
generation in Mesa. Requires most recent Mesa cvs to work correctly.
Swizzle code is possibly slow/buggy and will probably be replaced.
Old behaviour can be controlled by a #define in r300_context.h, if
no-one minds I'll remove the old code later on.
Also, disabled cube map extension. AFAIK We don't support it yet,
and it causes issues with UT2004.
20 년 전
Keith Whitwell
0c4731b27c
Use SSE for vertex emit -- another good speedup.
20 년 전
Keith Whitwell
17bcf9f816
Import Thomas Helstrom's SSE memcpy code from the via X.org driver.
Add a TextureMemCpy callback, called from texstore.c when copying
texture data via the memcpy_texture() path.
Enable this code in the via driver - 100% speedup in texdown.c results.
20 년 전
Keith Whitwell
eb9d6f44a9
silence gcc warnings
20 년 전
Keith Whitwell
241b6b7ab1
Detect use of disabled textures as tex_env_crossbar sources.
20 년 전
Keith Whitwell
2dea6df80b
Support ARB_texture_env_crossbar. Changes the way programs are
generated somewhat, with all TEX instructions now emitted at the head
of the program.
20 년 전
Keith Whitwell
6fe176a648
Restore the negate() function.
Add Ben Skegg's ATI_texture_env_combine3 support.
20 년 전
Jerome Glisse
eb8be5d923
Small change to handle native case (7 natives case)
20 년 전
Jerome Glisse
446980473d
Adding r300 fragment program swizzle tab. Please some
one reread macro at begining see if i made any error.
A full reread would also be usefull there may be some
errors for some swizzle despite the great care i took
to done them :)
20 년 전
Ian Romanick
b70a47736a
Add support for modes with a depth-buffer but no stencil-buffer. This
eliminates various "3D driver claims to not support visual" messages in
16-bit color mode.
20 년 전
Keith Whitwell
3cc2f82bb5
Remove debug printfs
20 년 전
Keith Whitwell
923515b3f8
Re-enable X11 optimized triangle funcs.
20 년 전
Brian Paul
e3e8067db7
use MAX_SCREENS instead of hard-coded number
20 년 전
Brian Paul
8f384f0b67
fix reversed strstr() args, print mode string
20 년 전
Brian Paul
e58d32947e
replace // with /* */
20 년 전
Jouk Jansen
063efce6ee
Committing in .
Update openVMS compile support
Modified Files:
Mesa/progs/demos/descrip.mms
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
20 년 전
Jon Smirl
bab559b1fa
Remove some debug output
Add #if DEBUG_FRAG in s_nvfragprog.c
20 년 전
Adam Jackson
8f8e0f0b01
Use the 1.3 names for FogCoord*
20 년 전
Keith Whitwell
18a74321aa
Invalidate current fastpath on changes to attribute size or offset within
the vertex.
Use existing facilities to check for sse2 and enable when available.
Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is
defined. Disable with "MESA_NO_CODEGEN=t".
20 년 전
Keith Whitwell
c2745ffa49
Cope with the common 3ub and 1ub cases.
Fix a few typos.
Note that sse_movss sets high dwords to zero when reading from memory.
Fix a few related bugs.
20 년 전
Keith Whitwell
9557401a98
Re-initialize viewport shadows each time.
20 년 전
Keith Whitwell
67cc1f6ba6
move osmesa demos to their own directory
20 년 전
Jon Smirl
c70dace694
Fix EGL fbdev palette problem. demo3 can save ppm of screen
20 년 전
Keith Whitwell
6040d34109
Rename emit functions to reflect instruction set in use (ie
x86,sse,sse2,mmx). Add paths for sse+mmx vs. the initial version
which assumed sse2 was available everywhere.
20 년 전
Brian Paul
8608978aba
remove the XFree86 ID line
20 년 전
Michal Krol
02168254a8
intermediate code generator (not finished);
generic back-end interpreter (interprets directly intermediate code)
20 년 전
Michal Krol
e5ff2b94ff
add static_assert macro
20 년 전
Michal Krol
216f89318e
fix info log grabbing
20 년 전
Aapo Tahkola
e3cdbca63f
Ditch unused code and features that arent in subject to get supported any near time.
20 년 전
Ian Romanick
6bc9ea1df9
In addition to dead-code removal and other clean-up, bump the required DDX
version from 1.0.0 to 1.1.1. 1.1.1 is over a year and a half old at this
point, so it should be pretty widespread. This allows the linecomp_sane
field to be eliminated from mga_screen_private_s.
20 년 전
Jon Smirl
9a1b5af333
Fix inverted y for egl fbdev, add egl demo3
20 년 전
Brian Paul
8818eae253
To better exercise pixel packing, replace regular glReadPixels with four
ReadPixels that get the image piece by piece.
20 년 전
Keith Whitwell
2b2bd08589
Remove old t_vertex.c codegen infrastructure, tie in new code.
Currently disabled, can enable with MESA_EXPERIMENTAL=t.
20 년 전
Keith Whitwell
dc7fc17396
Fix a few typos, initialize p->identity.
20 년 전
Keith Whitwell
96582f4f28
Eliminate a couple of swizzles.
20 년 전
Keith Whitwell
dd4c1dd038
Generates working SSE code for gears under the swrast driver.
20 년 전
Keith Whitwell
b745bf08cd
Checkpoint commit: Preliminary version of a facility to emit x86/sse code
to implement vertex emit functions for the t_vertex.c mechanism.
20 년 전
Aapo Tahkola
2f74adc41f
Stick texture LOD back on.
20 년 전
Aapo Tahkola
e53fc72f67
Polygon mode fixes.
20 년 전
Jon Smirl
bd565e4bb7
Fix for writing the wrong sysfs variable when blanking
20 년 전
Jon Smirl
9a3da7ea7b
Implement fbdev swapbuffers()
20 년 전
Ian Romanick
6e56f905d0
More comments. More dead-code removed. More clean-up.
20 년 전
Keith Whitwell
2860e5f536
Disable leftover debug statements
20 년 전
Brian Paul
22652f952f
fix some BCOMP/ACOMP typos (fixes Brad King's vtk failures)
20 년 전
Brian Paul
ae818ed1da
don't include strings.h
20 년 전
Brian Paul
198d6d05b0
remove eglQueryDisplayMESA()
20 년 전
Brian Paul
5a0cb726d1
fix pbuffer sample code
20 년 전
Brian Paul
d2ab4eb2c2
remove glmode stuff
20 년 전
Jon Smirl
2ec2e94e2e
Check error return from _eglInitPbufferSurface() correctly
20 년 전
Jon Smirl
40c1c723fb
Compute stride in the right order
20 년 전