Brian Paul
024b5896f0
use ADD_POINTERS macro instead of (uintptr_t) cast
hace 20 años
Keith Whitwell
96bf6abb66
Use _mesa_exec_free for fp->func.
hace 20 años
Brian Paul
2a76d952b8
use new _egl_api struct
hace 20 años
Brian Paul
1ac1c1c423
use _egl_api struct, make some functions static
hace 20 años
Brian Paul
daf585d0f0
Move all the EGL API function pointers into a new _egl_api struct.
hace 20 años
Brian Paul
d2c64e0b83
report error token in message printed in _eglError()
hace 20 años
Brian Paul
b1abf1ea8e
change error test in _eglParseConfigAttribs()
hace 20 años
Brian Paul
ff707ead2b
init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
hace 20 años
Aapo Tahkola
181f2b92cb
Couple changes that were missed.
hace 20 años
Brian Paul
023c95481b
check/print EGL_SCREEN_BIT_MESA, fix eglGetDisplay() call
hace 20 años
Brian Paul
957b517c4f
Choose the display mode / surface size in an intelligent way.
Fix // comments.
More error checking, etc.
hace 20 años
Brian Paul
39591da355
update some comments
hace 20 años
Brian Paul
a3d2c69e61
fixed wrong return value in radeonShowSurfaceMESA()
hace 20 años
Brian Paul
b8829facc7
change error message
hace 20 años
Brian Paul
b711eb793b
use _eglLog()
hace 20 años
Brian Paul
f049ca4e33
New _eglLog() function to replace fprintf/printf calls for debug/info.
hace 20 años
Brian Paul
9bcc9e9174
reference bug 5131 in comment in _tnl_free_vertices()
hace 20 años
Brian Paul
286f3fbb3a
disable freeing of fp->func, see comment (bug 5131)
hace 20 años
Keith Whitwell
e6e1c3fc11
Use correct enums for program output variables. Fixes
fp/tri-depthwrite.
hace 20 años
Keith Whitwell
ec1ffd9f25
track state flags which might invalidate parameter lists
hace 20 años
Keith Whitwell
5a771857d9
Make sure tnl->_DoVertexFog is kept uptodate. Fixes fog in i915
driver.
hace 20 años
Dave Airlie
bf44f6cfac
bit 31 of this inserts a nop after the current instruction
hace 20 años
Dave Airlie
1ea61b5cad
get rid of some of those unknowns figured out from reg dumper
hace 20 años
Brian Paul
ec770b8c60
move _mesa_init_instruction() to program.c
hace 20 años
Brian Paul
1a61462318
s/Saturate/SaturateMode/
hace 20 años
Brian Paul
e31ac05223
Make Saturate a 2-bit field again, renamed to SaturateMode with three
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
hace 20 años
Brian Paul
22db535776
additional clean-ups and improvements
hace 20 años
Brian Paul
55194df035
remove incorrect cast
hace 20 años
Brian Paul
1353ebed81
Saturate is a 1-bit boolean field
hace 20 años
Brian Paul
5d7b49f7e7
Bunch of little fixes:
Fix mem leaks in _mesa_TexEnvProgramCacheDestroy().
Check if ctx->Driver.BindProgram is non-null before calling.
s/unsigned/GLuint/
Use MAX_INSTRUCTIONS instead of magic 100, check program length after it's made.
Use _mesa_init_instruction() instead of _mesa_memset().
hace 20 años
Brian Paul
1ad3b7e28b
call gluDeleteQuadric() to fix mem leak
hace 20 años
Brian Paul
6f445a1061
in run_texnorm_stage() check if the texture unit is really enabled before trying to normalize the texcoords
hace 20 años
Brian Paul
41c8eabe0f
update some vars
hace 20 años
Brian Paul
63d683091f
No longer derive 'ati_fragment_shader' from 'program' class. Only the
program->Id and program->RefCount fields were used and ATI fragment shaders
didn't have too much in common with ARB/NV vertex/fragment programs anyway.
hace 20 años
Brian Paul
430c469c5b
remove #include arbfragparse.h
hace 20 años
Brian Paul
47e511c36d
remove #include arbfragparse.h, s/PI/M_PI/
hace 20 años
Brian Paul
9fd133511c
removed arbfragparse.[ch] arbvertparse.[ch]
hace 20 años
Brian Paul
8c41a14c5e
Remove the _mesa_parse_arb_vertex/fragment_program() functions into
arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch].
Clean up quite a bit of the arb parsing code.
Rewrite parser extension code to avoid a mess of string operations every
time the parser was used.
hace 20 años
Brian Paul
5754809421
update comments, remove ^M chars
hace 20 años
Brian Paul
8c765ad312
move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
hace 20 años
Aapo Tahkola
ddf61bfec9
Try to detect when native support to given texture width is not available.
hace 20 años
Aapo Tahkola
f31448f3c8
Fix typo causing secondary color not to work properly.
hace 20 años
Aapo Tahkola
40ca5b455f
Reduce stderr noise.
hace 20 años
Brian Paul
311bcf5090
In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.
Simplify _mesa_GetRenderbufferParameterivEXT() queries.
hace 20 años
Brian Paul
948ab5d8a9
move _mesa_update_state() calls before error tests that depend on framebuffer completeness
hace 20 años
Brian Paul
74e9a43a2a
optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer
hace 20 años
Brian Paul
5ba41dfa81
s/MEMCPY/_mesa_memcpy/ and fix typo
hace 20 años
Brian Paul
11f179e01b
optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL renderbuffer
hace 20 años
Brian Paul
f81c78f87d
delete frame/renderbuffers upon exit, more error checking
hace 20 años
Brian Paul
547113c16c
improved error checking in error_check_format_type()
hace 20 años