Brian
9f797d8cb3
Added accum function/files.
2007-10-14 11:52:00 -06:00
George Sapountzis
f33e1a4403
typo
2007-10-14 20:33:56 +03:00
George Sapountzis
fe20ac2a6b
Add GL_CORE_WINDOWS define to glcore.h
...
This is for consistency with glproto. The GL_CORE defines should probably be
dropped.
----
Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
Date: Mon Jun 21 13:35:05 2004 +0000
Bug 782: Merge native OpenGL for Windows from CYGWIN branch
2007-10-14 20:11:00 +03:00
George Sapountzis
d7c137b0df
Drop include "dri_interface.h" from xf86dri.h
...
Thanks to dri2, xf86dri no longer uses __DRI types.
2007-10-14 20:08:31 +03:00
Kristian Høgsberg
c095f7e46a
Do XSync() before resetting error handler.
2007-10-13 18:46:01 -04:00
Kristian Høgsberg
d0b68b215d
Uncomment GLX_SGIX_pbuffer definition.
2007-10-13 18:45:05 -04:00
Kristian Høgsberg
8b20411915
Get the width and height from the attrib list in glXCreatePbuffer.
2007-10-13 18:44:52 -04:00
Brian
69466c60a5
GL_STENCIL_INDEX support
2007-10-13 12:29:11 -06:00
Brian
fa1d442879
GL_STENCIL_INDEX support
2007-10-13 12:28:53 -06:00
Brian
12f41c8884
format info for Z16/Z32
2007-10-13 12:28:34 -06:00
Brian
1e2770e2e6
inequality tests were backward
2007-10-13 12:27:10 -06:00
Brian
a2c8b0e861
glDrawPixels support for GL_DEPTH_COMPONENT
2007-10-13 11:11:59 -06:00
Brian
d75acc8ffa
Check texture format in get_texel() to handle depth textures.
2007-10-13 11:11:11 -06:00
Brian
eb389aaf72
get_tile() of Z surfaces returns floats now
2007-10-13 09:05:20 -06:00
Brian
a1e332950b
added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ignore stencil
2007-10-13 09:04:35 -06:00
Kristian Høgsberg
f9c6dfc4d1
Merge branch 'dri2'
...
Conflicts:
src/mesa/drivers/dri/i915/intel_screen.c
2007-10-12 19:35:04 -04:00
Brian
89414d951d
Use KIL in glBitmap shader to cull the fragments for 0 bits.
2007-10-12 16:16:20 -06:00
Brian
47fc06753e
added assertion to be sure we don't exceed bitfield size
2007-10-12 16:13:15 -06:00
Brian
2a699038dc
added code to print extended swizzles
2007-10-12 16:12:22 -06:00
Brian
4becfdfdd8
change exec_kilp() to only touch lowest four bits in kilmask
2007-10-12 16:11:58 -06:00
Brian
e552b9bd09
initial use of KIL for glBitmap rendering
2007-10-12 09:42:06 -06:00
Dave Airlie
bf805d3bf5
Merge branch 'master' into i915-superioctl
2007-10-12 11:02:46 +10:00
Dave Airlie
9e06cf00cf
i915: only enable TTM path if drm minor is > 11 for superioctl
2007-10-12 11:01:27 +10:00
Dave Airlie
ea2278bc79
dri: remove ttm common code since superioctl is device specific
2007-10-12 10:59:38 +10:00
Dave Airlie
7fc5c0307a
i915: fixup reloc header defines
2007-10-12 10:56:25 +10:00
Brian
72c888869f
Example of cooperative rendering into one window by two processes
2007-10-11 18:25:12 -06:00
Brian
f1104b079f
New glxsnoop demo to display another window's z/stencil/back buffer.
2007-10-11 16:39:02 -06:00
Brian
3fb88639af
Init draw->prim = ~0
...
We weren't rendering correctly if the first thing drawn was a point (PRIM_MODE_POINT=0).
2007-10-11 11:09:36 -06:00
Kristian Høgsberg
a2494462cb
Drop no longer implemented MESA allocate extension from i915.
2007-10-11 12:49:26 -04:00
Brian
f05c76ec1a
remove unneeded cast
2007-10-11 10:33:31 -06:00
Brian
afd6bd3cb0
rename some vars, updated comments
2007-10-11 10:03:59 -06:00
Brian
3ab326e1d7
remove unused tgsi_attrib_to_mesa_attrib()
2007-10-11 10:01:17 -06:00
Brian
55dd7d7947
update st_feedback_draw_vbo()
2007-10-11 10:00:54 -06:00
Brian
4d79f2c4a2
streamline st_draw_vbo() a bit more, free user-space buffers at end
2007-10-11 09:48:06 -06:00
Kristian Høgsberg
ccff0cb263
Add a version field to __DRIextension.
2007-10-11 11:30:39 -04:00
Kristian Høgsberg
f29f0ae838
Move new texOffset extension to the new extension mechanism.
2007-10-11 11:28:38 -04:00
Kristian Høgsberg
ecdb45cb29
Convert a left-over private void * to __DRIcontext *.
2007-10-11 11:27:51 -04:00
Kristian Høgsberg
3eaec7dc5d
Move enabling of DRI extensions into glxextensions.c
2007-10-11 11:26:47 -04:00
Kristian Høgsberg
594006d8b2
Remove now unused getProcAddress from DRIinterfaceMethods.
2007-10-11 11:25:37 -04:00
Kristian Høgsberg
f968f67e62
Add a DRI_ReadDrawable marker extension to signal read drawable capability.
2007-10-11 11:22:55 -04:00
Kristian Høgsberg
106a6f29bb
Move media stream counter entry points to new extension.
2007-10-11 11:21:29 -04:00
Brian
71efb6cf69
clean-up, streamline st_draw_vbo()
2007-10-11 09:11:13 -06:00
Kristian Høgsberg
a7a0a2beb5
Move GLX_MESA_swap_frame_usage DRI entry points to the new mechanism.
2007-10-11 11:11:12 -04:00
Brian
98e638aa8d
implement intel_user_buffer_create()
2007-10-11 09:10:43 -06:00
Brian
cdc156d52f
Initial support for user-space buffer objects.
...
Basically, add userBuffer/Data/Size fields to _DriBufferObject, check those
fields in driBOMap/Unmap().
New driGenUserBuffer() function.
2007-10-11 09:10:19 -06:00
Kristian Høgsberg
78a6aa57a0
Move GLX_MESA_allocate_memory related functions to new extension mechanism.
2007-10-11 11:09:57 -04:00
Brian
453ac4b1eb
Use winsys->user_buffer_create() to wrap user-space vertex arrays and element buffers.
...
Now client-side vertex arrays and glDrawElements work.
More testing/debug/clean-up to come...
2007-10-10 18:00:12 -06:00
Brian
66ab569590
implement the user_buffer_create() function
2007-10-10 17:58:12 -06:00
Brian
fcdd34de4b
Added user_buffer_create() method
...
This is used to wrap user-space data in a pipe buffer object to allow more
uniform treatment of various things. For example, wrapping client-side
vertex arrays so they look like VBOs.
2007-10-10 17:57:47 -06:00
Brian
3f226d4baf
added SSCALED cases in fetch_attrib4()
2007-10-10 17:50:31 -06:00