José Fonseca
c28fdf3096
Use a consistent number to identify undefined vertices.
2007-11-07 13:41:00 +00:00
José Fonseca
3922baede2
Reuse the vertex buffer until the vertex size changes.
2007-11-07 13:40:47 +00:00
José Fonseca
f39a520892
Track hardware vertex buffer state changes.
2007-11-07 13:40:35 +00:00
Brian
85c7683f1f
Improved logic for setting up depth/stencil buffers in st_create_framebuffer()
2007-11-06 17:34:32 -07:00
Brian
b0e7da86ab
restore dispatch/extension code (without, dynamic entrypoints aren't added)
2007-11-06 17:24:45 -07:00
Brian
a895910d88
disable PIPE_FORMAT_U_Z32, doesn't work ATM
2007-11-06 16:40:05 -07:00
Brian
2b0d1b6eda
Update xmesa_is_format_supported()
2007-11-06 15:22:56 -07:00
Brian
3470d819fd
realloc surface if format changes, remove dead code
2007-11-06 15:22:56 -07:00
Brian
a151ad21bb
rename xmesa_create_softpipe() xmesa_create_context()
2007-11-06 15:22:56 -07:00
Brian
54b43da7e9
rename xmesa_create_softpipe() xmesa_create_context()
2007-11-06 15:22:56 -07:00
Brian
5fb6ebf85d
disable finish_or_flush() for now
2007-11-06 15:22:56 -07:00
Brian
d35cb1a121
remove dead code in softpipe_is_format_supported()
2007-11-06 15:22:55 -07:00
Brian
db01ff6a19
document flags param to region_alloc()
2007-11-06 15:22:55 -07:00
Brian
37624458e4
remove more dependencies on Mesa types/functions
2007-11-06 15:27:14 -07:00
Brian
4cf56a4183
implement context sharing code
2007-11-06 15:27:14 -07:00
Brian
5e24e3c426
code clean-up
2007-11-06 15:27:14 -07:00
Brian
ea286d4df2
need to call pipe->flush() in finish_or_flush()
2007-11-06 13:58:25 -07:00
Brian
da3994988b
init luminance/intensity_bits to zero in st_get_format_info()
2007-11-06 13:53:32 -07:00
Brian
fa44b74f4e
define CLIP_TILE as in sp_surface.c
2007-11-06 13:52:57 -07:00
Brian
0862df2154
remove debug abort() call
2007-11-06 13:42:37 -07:00
Brian
2e784848e6
Call xmesa_init_driver_functions() to install xmesa_viewport() function.
...
Fixes failed assertion in glxgears.
2007-11-06 13:39:36 -07:00
José Fonseca
26eb608a35
Handle the corner case of 24bit depth buffer with 0bit stencil buffer.
2007-11-06 20:10:18 +00:00
Kristian Høgsberg
286ce27193
Fix compilation for !GLX_DIRECT_RENDERING.
2007-11-06 14:34:15 -05:00
Kristian Høgsberg
001de0ac4e
Remove a couple of "deprecated" fields from __GLXcontextRec.
...
The __GLXcontextRec struct is internal to the libGL implementation. No point
in "deprecating", just get rid of it.
2007-11-06 13:32:33 -05:00
Kristian Høgsberg
866d271aa8
Don't return 0 in a void function.
2007-11-06 13:32:33 -05:00
Michel Dänzer
7b358e8ea9
Fix build error: dereferencing pointer to incomplete type
2007-11-06 19:00:23 +01:00
Michel Dänzer
badc061a65
r200: Re-expose SetTexOffset functionality.
...
This seems to have been mismerged with the DRI interface changes.
2007-11-06 18:24:46 +01:00
Michel Dänzer
5a322bc1b4
r200: Fix SetTexOffset format for 16 bit pixmaps/textures.
...
Use symbolic array indices to clarify.
2007-11-06 18:22:42 +01:00
Brian
eef6783537
Remove use of Mesa/GL types/functions (s/GLuint/uint/ etc)
2007-11-06 10:10:50 -07:00
Brian
c80d17b68d
don't include mtypes.h
2007-11-06 10:07:31 -07:00
Brian
0800342296
Remove last of core Mesa dependencies in intel_swapbuffers.c
...
Use the "dummyContext" pointer (for now) instead of GET_CURRENT_CONTEXT().
2007-11-06 10:05:01 -07:00
Brian
e2feb80a90
Remove pipe->max_texture_size(), use get_param() instead.
...
Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
2007-11-06 09:41:45 -07:00
Kristian Høgsberg
559ae0ab1b
Pass the visual id to XF86DRICreateContextWithConfig(), not fbconfig id.
2007-11-06 11:23:27 -05:00
Brian
24ac9c30eb
check for __i386__ or __386__ instead of USE_X86_ASM
2007-11-06 08:53:25 -07:00
José Fonseca
a06dcfd75b
Allow custom pipe driver buffer usage flags.
2007-11-06 14:52:39 +00:00
José Fonseca
fa1a66d7fc
Supply buffer usage hints to winsys.
...
Winsys driver needs some hints in order to allocate the appropriate kind of
memory for the buffer.
2007-11-06 14:49:38 +00:00
Michel Dänzer
4f79dbd5aa
Convert format bitfields to shifts and masks.
...
The memory layout of bitfields depends on the ABI.
2007-11-06 10:17:59 +01:00
Michel Dänzer
0ab2c84ce9
Fix non-x86 build.
2007-11-06 10:16:34 +01:00
Brian
c6499a741c
Determine GL extensions/limits by making pipe queries.
...
The state tracker calls pipe->get_param() to determine the GL limits and
which OpenGL extensions are supported.
This is an initial implementation that'll probably change...
2007-11-05 18:04:30 -07:00
Brian
01e7165530
clean ups
2007-11-05 17:15:12 -07:00
Brian
d31d93f477
change includes, minor simplification in intelDisplaySurface()
2007-11-05 17:10:12 -07:00
Brian
cadaa4330e
include mtypes.h (temporary)
2007-11-05 16:45:49 -07:00
Brian
ced9c0f8c4
don't include mtypes.h in st_public.h
2007-11-05 16:38:07 -07:00
Brian
9b0f71e37f
move st_invalidate_state() prototype to st_context.h
2007-11-05 16:34:47 -07:00
Brian
91564eedcc
Remove some temporary state tracker context/framebuffer_create functions.
2007-11-05 16:15:43 -07:00
Brian
e39f1b4cbe
Update xlib driver to use newer state tracker context/framebuffer functions.
...
XMesaContext has an st_context * which contains a mesa context.
2007-11-05 15:59:55 -07:00
Brian
9a563d5e69
no-op glCopyPixels if width or height is zero
2007-11-05 15:42:55 -07:00
Oliver McFadden
cd59600c7b
Renamed the R300_VAP_UNKNOWN_221C to R300_VAP_CLIP_CNTL.
2007-11-05 22:17:34 +00:00
Dave Airlie
35d28ce12e
r300: initial user clipping for TCL paths
...
I've no idea if this code might break something or how it should interact
with vertex shaders, it makes the clip demo work for me
2007-11-05 22:17:34 +00:00
Kristian Høgsberg
8e66c3d755
Lookup visual in visual list, not fbconfig list.
...
Also, handle visual not found error case by throwing X error.
2007-11-05 17:02:29 -05:00