Aapo Tahkola
181f2b92cb
Couple changes that were missed.
20 år sedan
Brian Paul
023c95481b
check/print EGL_SCREEN_BIT_MESA, fix eglGetDisplay() call
20 år sedan
Brian Paul
957b517c4f
Choose the display mode / surface size in an intelligent way.
Fix // comments.
More error checking, etc.
20 år sedan
Brian Paul
39591da355
update some comments
20 år sedan
Brian Paul
a3d2c69e61
fixed wrong return value in radeonShowSurfaceMESA()
20 år sedan
Brian Paul
b8829facc7
change error message
20 år sedan
Brian Paul
b711eb793b
use _eglLog()
20 år sedan
Brian Paul
f049ca4e33
New _eglLog() function to replace fprintf/printf calls for debug/info.
20 år sedan
Brian Paul
9bcc9e9174
reference bug 5131 in comment in _tnl_free_vertices()
20 år sedan
Brian Paul
286f3fbb3a
disable freeing of fp->func, see comment (bug 5131)
20 år sedan
Keith Whitwell
e6e1c3fc11
Use correct enums for program output variables. Fixes
fp/tri-depthwrite.
20 år sedan
Keith Whitwell
ec1ffd9f25
track state flags which might invalidate parameter lists
20 år sedan
Keith Whitwell
5a771857d9
Make sure tnl->_DoVertexFog is kept uptodate. Fixes fog in i915
driver.
20 år sedan
Dave Airlie
bf44f6cfac
bit 31 of this inserts a nop after the current instruction
20 år sedan
Dave Airlie
1ea61b5cad
get rid of some of those unknowns figured out from reg dumper
20 år sedan
Brian Paul
ec770b8c60
move _mesa_init_instruction() to program.c
20 år sedan
Brian Paul
1a61462318
s/Saturate/SaturateMode/
20 år sedan
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.
20 år sedan
Brian Paul
22db535776
additional clean-ups and improvements
20 år sedan
Brian Paul
55194df035
remove incorrect cast
20 år sedan
Brian Paul
1353ebed81
Saturate is a 1-bit boolean field
20 år sedan
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().
20 år sedan
Brian Paul
1ad3b7e28b
call gluDeleteQuadric() to fix mem leak
20 år sedan
Brian Paul
6f445a1061
in run_texnorm_stage() check if the texture unit is really enabled before trying to normalize the texcoords
20 år sedan
Brian Paul
41c8eabe0f
update some vars
20 år sedan
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.
20 år sedan
Brian Paul
430c469c5b
remove #include arbfragparse.h
20 år sedan
Brian Paul
47e511c36d
remove #include arbfragparse.h, s/PI/M_PI/
20 år sedan
Brian Paul
9fd133511c
removed arbfragparse.[ch] arbvertparse.[ch]
20 år sedan
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.
20 år sedan
Brian Paul
5754809421
update comments, remove ^M chars
20 år sedan
Brian Paul
8c765ad312
move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h
20 år sedan
Aapo Tahkola
ddf61bfec9
Try to detect when native support to given texture width is not available.
20 år sedan
Aapo Tahkola
f31448f3c8
Fix typo causing secondary color not to work properly.
20 år sedan
Aapo Tahkola
40ca5b455f
Reduce stderr noise.
20 år sedan
Brian Paul
311bcf5090
In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.
Simplify _mesa_GetRenderbufferParameterivEXT() queries.
20 år sedan
Brian Paul
948ab5d8a9
move _mesa_update_state() calls before error tests that depend on framebuffer completeness
20 år sedan
Brian Paul
74e9a43a2a
optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer
20 år sedan
Brian Paul
5ba41dfa81
s/MEMCPY/_mesa_memcpy/ and fix typo
20 år sedan
Brian Paul
11f179e01b
optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL renderbuffer
20 år sedan
Brian Paul
f81c78f87d
delete frame/renderbuffers upon exit, more error checking
20 år sedan
Brian Paul
547113c16c
improved error checking in error_check_format_type()
20 år sedan
Thomas Hellström
154cc16d08
Fixes for x86_64 Unichrome.
20 år sedan
Thomas Hellström
0ba7be0a50
Bring in last minute 6_4 branch changes to the unichrome driver
to the trunk.
20 år sedan
Brian Paul
32fe233d54
added -ds option to test GL_EXT_packed_depth_stencil with framebuffer objects
20 år sedan
Brian Paul
0f29ef6092
additional comments about GL_DEPTH_STENCIL buffers
20 år sedan
Brian Paul
94f70fab64
added depthstencil.[ch]
20 år sedan
Brian Paul
1a5f1bdb42
Use new gl_framebuffer _Depth/_StencilBuffer fields instead of
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers
around combined depth/stencil renderbuffers attached at the later points.
20 år sedan
Brian Paul
909e8a7abb
added depthstencil.c
20 år sedan
Brian Paul
847160466c
Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
depthstencil.c provides wrappers for treating depth/stencil buffers either
as regular depth or stencil renderbuffers.
20 år sedan