Kristian Høgsberg
d282128ff6
intel: Remove struct intel_framebuffer
...
With the vsync fields no longer relevant and by refactoring the code
to no longer use color_rb[0-1] we can just use struct gl_framebuffer
directly.
2010-01-04 11:48:02 -05:00
Kristian Høgsberg
a6e1d3edac
intel: Remove client-side vblank code
2010-01-04 11:48:02 -05:00
Kristian Høgsberg
5bc4b886e4
intel: Drop intelWindowMoved()
...
Everything this functions does under DRI2 is also taken care of
by intel_draw_buffer(), which is always called where intelWindowMoved()
is called.
2010-01-04 11:48:02 -05:00
Kristian Høgsberg
5203b7227c
intel: Drop batchbuffer cliprect_mode tracking
2010-01-04 11:48:02 -05:00
Kristian Høgsberg
f55d0920cd
intel: Drop DRI1 static regions
2010-01-04 11:48:01 -05:00
Kristian Høgsberg
ee49ac8742
intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()
...
This function was using intel->depth_region, which is the static region
for the DRI1 depth buffer. This code has always been broken with DRI2
but I suspect it doesn't get excersized much.
2010-01-04 11:48:01 -05:00
Kristian Høgsberg
01dc463e5d
intel: Drop LOCK/UNLOCK_HARDWARE()
2010-01-04 11:48:01 -05:00
Kristian Høgsberg
3566bc7584
intel: Drop DRI1 SwapBuffer implementation
2010-01-04 11:48:01 -05:00
Kristian Høgsberg
4611f08c07
intel: Drop DRI1 CopySubBuffer implementation
2010-01-04 11:48:01 -05:00
Kristian Høgsberg
48c0ff1424
intel: Drop DRI1 support
...
The DDX driver stopped supporting DRI1 so we're dropping support for
that from the DRI driver too.
2010-01-04 11:48:00 -05:00
Kristian Høgsberg
39a0e4e7de
Push __driDriverExtensions out of dri_util.c and into the drivers
...
This lets the individual drivers select which extensions to advertise.
Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2
but the shared extension list in dri_util.c does list the DRI2 extension.
Pushing the list into the drivers, lets us avoid listing the DRI2
extension for drivers that don't support it.
2010-01-04 11:48:00 -05:00
Kristian Høgsberg
d61f07318c
Remove leftover __DRI{screen,drawable,context}Private references
...
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
2010-01-04 11:48:00 -05:00
Kristian Høgsberg
8616cec5c9
Check for libdrm_$chipset.pc when needed
...
This adds missing pkg-config lookup for intel and moves the radeon
lookup into a case...esac so it's only looked up when one or more of
the radeon drivers are enabled.
2010-01-04 11:47:59 -05:00
Michel Dänzer
1e414df894
st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.
...
This was already done in st_TexImage() but was missed between incremental
changes to st_TexSubimage().
2010-01-04 16:54:29 +01:00
Alan Hourihane
a3abb9d1cc
silence compiler warning
2010-01-04 12:42:51 +00:00
Alan Hourihane
4a531fb46a
Fix test
2010-01-04 12:41:33 +00:00
Michal Krol
86b336f71b
docs: Explain TGSI_SEMANTIC_NORMAL.
2010-01-04 13:38:58 +01:00
Michal Krol
8ab89d7681
docs: Fix indent.
2010-01-04 13:23:41 +01:00
Michal Krol
07f416cdc9
docs: Clarify what truncate means.
2010-01-04 13:21:32 +01:00
Michal Krol
cef218062a
docs: Replace bogus `\times' back with `*'.
2010-01-04 13:15:28 +01:00
Michal Krol
c929664fdf
docs: TGSI SIN and COS are scalar instructions.
2010-01-04 13:12:27 +01:00
Michel Dänzer
acd1451393
svga: Fix debug build crash when rendering to depth/stencil renderbuffer only.
2010-01-04 13:05:43 +01:00
Michel Dänzer
c114f000df
st/xorg: Proper calculation of screen pitch.
2010-01-04 13:04:05 +01:00
Michel Dänzer
8282185752
vmware/xorg: Fix SCons build.
2010-01-04 13:02:40 +01:00
Michal Krol
b3567fc983
docs: Clarify math description of TGSI LRP instruction operation.
2010-01-04 12:59:17 +01:00
Michal Krol
b6659681f2
docs: Correct TGSI acronym expansion.
2010-01-04 12:52:43 +01:00
Andre Maasikas
e04a818606
r600: support vertex_array_bgra
...
Use vertex program key mechanism and swizzle during vertex fetch - is there
a better way?
2010-01-04 12:39:37 +02:00
Vinson Lee
d1e2fc19cc
r300: Use C-style comments.
2010-01-03 23:33:32 -08:00
Vinson Lee
8a29e3f8e8
progs/egl: Silence uninitialized variable warnings.
2010-01-03 21:39:20 -08:00
Vinson Lee
3ea5a95078
progs/samples: Silence compiler warnings.
2010-01-03 21:29:33 -08:00
Vinson Lee
b14cbfaebc
r300: Silence 'mixed declarations and code' warnings.
2010-01-03 20:51:23 -08:00
Kristian Høgsberg
2b218d94b5
Only enable verbose NoOp dispatch if DEBUG is defined
...
By default we generate a function per GL entry point to warn if it's
called without a context set. This is to allow the function to print
it's name in the warning. By using a generic function that doesn't print
the function name in the non-DEBUG case, we reduce libGL size from
320008 bytes to 283144 bytes (11%).
2010-01-03 23:24:13 -05:00
Vinson Lee
0214b7b3c1
r300: Silence 'mixed declarations and code' warning.
2010-01-03 20:16:59 -08:00
Kristian Høgsberg
c3047e73f7
Noop dispatch: move warning code out of the generated functions
...
This reduces libGL size by 11% here, going from 360968 bytes to
320008 bytes.
2010-01-03 23:01:23 -05:00
Vinson Lee
58531029e6
r300: Silence 'mixed declarations and code' warning.
2010-01-03 18:32:07 -08:00
Vinson Lee
3e196f433d
r300g: Silence 'mixed declarations and code' warning.
2010-01-03 18:05:12 -08:00
Kristian Høgsberg
b8326b011d
Fix glut to work with -fvisibility=hidden
...
The GLUTAPI #define used in the header file to mark the font structs
visible wasn't kicking in because of the #define glutBitmap9By15 XXX
prior to #include <GL/glut.h>. High quality code... worked around by
copying the GLUTAPI specifier to the invidual C files.
2010-01-03 20:59:56 -05:00
Kristian Høgsberg
8d62eb4599
Export a few glapi functions used by gallium and r300
...
Fixes breakage from -fvisibility-hidden commit.
2010-01-03 19:53:01 -05:00
Vinson Lee
fe3ea299bf
r300g: Remove comma at end of enumerator list.
2010-01-03 15:07:35 -08:00
Vinson Lee
0bfc579bd4
llvmpipe: Remove comma at end of enumerator list.
2010-01-03 14:42:36 -08:00
Kristian Høgsberg
e388d62b47
Compile with -fvisibility-hidden by default
...
We have all functions that need to be visible marked with PUBLIC and
this is trimming around 4% off the DRI driver .so size.
2010-01-03 15:40:59 -05:00
José Fonseca
eb5d9e6f70
mesa: Cope with the degenerate case of zero length ranges.
...
Fixes assertion failures on glean's bufferObject test.
2010-01-03 20:00:19 +00:00
José Fonseca
f3739bdb60
gdi: Don't generate import libraries for opengl32.dll.
...
Both MinGW and MSVC include opengl32 import libraries, and its safer to
always use those.
2010-01-03 20:00:19 +00:00
Francis Galiegue
a60084088b
mesa: fix blend enable/disable calls in meta.c code
...
Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes.
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-03 09:43:24 -07:00
Jeremy Huddleston
287cbba9b7
apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSX
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-01-03 08:58:13 -05:00
Jeremy Huddleston
32305e3a9f
glxcmds: Fix comment about __DRI_ALLOCATE
...
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-01-03 08:58:13 -05:00
Vinson Lee
1d95544446
trace: Remove comma at end of enumerator list.
2010-01-03 03:08:40 -08:00
José Fonseca
66c1de77ed
rtasm: Play nicely with Windows's Data Execution Prevention.
2010-01-03 11:03:13 +00:00
Vinson Lee
1da47ac20e
progs/vp: Ensure null-terminated byte string.
2010-01-03 02:38:22 -08:00
Vinson Lee
c9c6e9a39e
progs/tests: Silence uninitialized variable warning.
2010-01-02 21:58:40 -08:00