Brian Paul
b947377add
increate MaxTextureLevels to 11 (bug 3130)
2006-10-15 17:57:53 +00:00
Brian Paul
a20c0f293e
check if files exist before installing (Thierry Reding)
2006-10-15 16:38:09 +00:00
Brian Paul
07fd19f572
allow specifying image size on cmd line
2006-10-14 23:24:45 +00:00
Brian Paul
9cbe0e24ac
Some code movement so that the gl_framebuffer is fully initialized before
...
calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size()
stuff in context.c
2006-10-14 23:02:26 +00:00
Brian Paul
d21fa9cd79
Big re-org of buffer size management.
...
All buffer resizes now handled by xmesa_check_and_update_buffer_size() which
uses the _mesa_resize_framebuffer() function.
Moved all low-level XImage/Pixmap resizing into xm_buffers.c file.
Also, update lots of comments for Doxygen.
2006-10-14 22:52:17 +00:00
Brian Paul
2b46f4b853
cut and paste error: s/Width/Height/
2006-10-14 21:33:06 +00:00
Brian Paul
2458aba0e9
build fix: s/Table/TableUB/
2006-10-14 20:28:36 +00:00
Brian Paul
63f6802077
assorted clean-ups
2006-10-14 15:22:18 +00:00
Roland Scheidegger
cb977ae5f4
implement ARB_point_parameters and ARB_point_sprite on r200. The code is nearly the same as outlined in bug #4707 , except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord.
2006-10-13 22:10:05 +00:00
Brian Paul
40b88fd1f3
remove needless condition
2006-10-13 17:45:08 +00:00
Brian Paul
5b0edff412
Consolidate, move, fix code related to color index and stencil image transfer
...
operations (shift, offset, table lookup, etc).
2006-10-13 17:41:23 +00:00
Ian Romanick
4616513577
Fix dumb build errors.
...
I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is
required in some places because _glapi_Dispatch is declared there, but
_glapi_tls_Dispatch is declared in glthread.h.
2006-10-13 17:34:01 +00:00
Brian Paul
176501dfff
In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of
...
incoming colors when applying pixel transfer ops. In all cases, the
caller either indicates there's no pixel transfer ops, or the incoming
colors are coming from temporary storage already and can be safely
modified.
2006-10-13 16:34:25 +00:00
Brian Paul
8a9b5518fb
s/GLuint/GLbitfield/
2006-10-13 15:11:47 +00:00
Brian Paul
bf8647a58b
s/GL_FALSE/0x0/
2006-10-13 15:10:55 +00:00
Brian Paul
6b998c5584
removed obsolete _mesa_pack_rgba_span_chan()
2006-10-13 15:00:35 +00:00
Brian Paul
c28d0f779a
include glapi.h to fix broken build
2006-10-13 13:28:48 +00:00
Keith Whitwell
a2c50b0f4a
Upload of interleaved arrays currently assumes that position is the
...
first element in the interleaved group. Add a test to catch cases
where this isn't true and use per-array uploads instead. Fixes compiz
glitches on x64.
2006-10-13 11:21:55 +00:00
Keith Whitwell
fd6341e574
Make sure instructions are zero'd out before use.
2006-10-13 11:20:25 +00:00
Keith Whitwell
e595ce79d6
Use unsigned long batchbuffer offset, fixes x64 warnings.
2006-10-13 11:19:38 +00:00
Keith Whitwell
b236715769
Fix printf warning.
2006-10-13 11:17:37 +00:00
Keith Whitwell
0dceffce33
Use unsigned long cast for checking pointer alignment, fixes x64 warnings.
2006-10-13 11:16:45 +00:00
Keith Whitwell
f06b9e4a8d
Use mesa function to get opcode name rather than an internal table.
2006-10-13 11:14:43 +00:00
Michal Krol
201e6b9b75
Indent and cosmetic changes.
2006-10-13 08:44:32 +00:00
Brian Paul
e5a6fcc345
Revamp color table code.
...
Always store all color tables as both float and ubyte.
2006-10-13 00:44:31 +00:00
Brian Paul
e392c92250
adjust_colors() function replaces old _mesa_chan_to_float_span() function.
2006-10-12 23:48:57 +00:00
Brian Paul
0bfc56d7d3
use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()
2006-10-12 23:47:51 +00:00
Brian Paul
5bc33fe6f1
remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()
2006-10-12 23:47:19 +00:00
Brian Paul
556c2fa3a3
_mesa_map_ci_to_rgba_chan() no longer used
2006-10-12 23:18:05 +00:00
Brian Paul
76e778dce5
Lots of changes to support runtime renderbuffer depths.
...
_swrast_read_rgba_span() now takes a datatype parameter.
New optimization for glReadPixels(format=GL_RGB).
New glCopyPixels optimization for the simple, common cases.
2006-10-12 23:17:02 +00:00
Brian Paul
4bb9f4115c
don't use temp storage in _mesa_convert_colors() when possible
2006-10-12 23:14:19 +00:00
Brian Paul
57d719afb1
remove some debug code invalidated by prev check-in
2006-10-12 15:55:04 +00:00
Ian Romanick
f3f51bc844
Fix bug #4681 .
...
glDeleteTextures and glDeleteTexturesEXT were erroneously listed as
aliases of each other. For anything /except/ GLX protocol they are
aliases. This set of changes allows functions that are functionally
identical but have different GLX protocol to be listed as aliases.
When building with GLX_INDIRECT_RENDERING set, different static
functions are used. These functions determine whether the current
context is direct rendering or not. If the context is direct
rendering, the aliased function (e.g., glDeleteTextures in the case of
glDeleteTexturesEXT) is called. If the context is not direct
rendering, the correct GLX protocol is sent.
For a deeper explanation of what is changed, please see:
http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
2006-10-11 22:37:14 +00:00
Brian Paul
8a5871a98c
use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions
2006-10-11 22:21:55 +00:00
Brian Paul
55fa6a2fdb
rewrite/simplify the fast_draw_pixels() function
2006-10-11 22:07:01 +00:00
Brian Paul
f971e24cf0
use _mesa_convert_colors(), update some assertions
2006-10-11 22:03:34 +00:00
Brian Paul
32a966dad9
Added _mesa_convert_colors().
...
_mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
2006-10-11 22:02:36 +00:00
Brian Paul
86f0e0b9cc
support for runtime renderbuffer depths
2006-10-11 20:14:08 +00:00
Brian Paul
9440868270
In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer,
...
not a user-created FBO.
2006-10-11 17:45:06 +00:00
Brian Paul
c364c57a1c
added shaderobjects_3dlabs.c
2006-10-11 16:34:23 +00:00
Brian Paul
bb252d696f
remove 3dlabs.c
2006-10-11 16:26:09 +00:00
Brian Paul
ed52be8c3f
sources for X.org xserver build
2006-10-11 16:05:59 +00:00
Brian Paul
d3112d36d7
List of source (.c) files in each directory.
...
To be included by X.org Makefile.am files so that lists of files don't need
to be hardcoded and frequently updated there.
2006-10-11 15:52:00 +00:00
Brian Paul
81968ec49d
a step toward moving run-time vertex program state out of GLcontext
2006-10-10 22:45:50 +00:00
Brian Paul
c61ecf373e
fixed NV_position_invariant
2006-10-10 21:44:55 +00:00
Brian Paul
39c4daa6bc
Move the fp_machine struct into s_nvfragmprog.c since (except for program
...
debug) it's only used there.
2006-10-10 21:43:31 +00:00
Brian Paul
97a659337e
s/GLuint/GLbitfield/
2006-10-10 21:25:27 +00:00
Brian Paul
fe6947002f
If program is position invariant, set VERT_BIT_POS in InputsRead field.
...
Fixes broken "OPTION NV_position_invariant".
2006-10-10 21:23:23 +00:00
Keith Whitwell
d886423b3c
Use the mesa-provided texenv program rather than rolling our own.
...
Turn on texture crossbar support.
2006-10-10 08:58:43 +00:00
Ian Romanick
fcd758868b
Added dispatch.html.
...
This new file documents Mesa's implementation of GL function dispatch. It's
not quite complete, but I think there's enough there to make it useful.
2006-10-09 18:26:03 +00:00