Brian Paul
c35e021f37
code refactoring (draw_frame(0, handle_event())
17 anos atrás
Brian Paul
c5342ad0d0
remove references to incorrect -winwidth/-winheight, replace with -geometry
17 anos atrás
Brian Paul
12a317b93a
updated options/help
17 anos atrás
Dan Nicholson
a2b73c74b0
Ignore xdemos/sharedtex
17 anos atrás
Brian Paul
9a43570f8c
added xdemos/sharedtex.c test
Test that modifications to a texture object in one rendering context are seen
in a second rendering context.
Press 't' to change the texture's image/colors.
17 anos atrás
Brian
96b4ac05be
silence warning
17 anos atrás
Eric Anholt
bcb61987fb
Fix xdemos build on FreeBSD: <sys/types.h> before <netinet/tcp.h>
17 anos atrás
Jeremy Huddleston
7c7fece977
Darwin: Config/source fixes to now build glxdemo apps and OSMesa
Also added darwin-fat-32bit darwin-fat-all configs and deleted old darwin-x86ppc config
(cherry picked from commit 7120c0089d
)
17 anos atrás
Kristian Høgsberg
51cd168da4
glxgears: oops, remove accidental commit of glFinish() hack.
17 anos atrás
Kristian Høgsberg
6cb3f5c4d8
Use __DRIextension mechanism providing loader functionality to the driver.
Instead of passing in a fixed struct, the loader now passes in a list
of __DRIextension structs, to advertise the functionality it can provide
to the driver. Each extension is individually versioned and can be
extended or phased out as the interface develops.
17 anos atrás
Dan Nicholson
8c8107118e
Ignore glxgears_pixmap
17 anos atrás
Kristian Høgsberg
5961ed5fbc
Add GLXPixmap version of glxgears to show case new GLX Pixmap functionality.
17 anos atrás
Adam Jackson
e1ae5b89fc
glxinfo: Fix multisample visual reporting.
strstr() == 0 tests for the string _not_ being present. Originally
Red Hat bug #351871 .
17 anos atrás
Brian
6bd32cbcf3
Don't build yuvrect_client by default
Added 'extra' rule to build optional yuvrect_client, shape, xdemo programs
17 anos atrás
Brian
60dd3b1d9a
remove unused var
17 anos atrás
Alexey Sokolov
e58c365cda
define M_PI if needed
17 anos atrás
Brian
f6ab1347d6
remove dependency on libGLU
18 anos atrás
Dan Nicholson
c05aa5ec4c
specify app lib dependencies in Makefiles (patch 1/3)
18 anos atrás
Dan Nicholson
8578534f48
Ignore new programs
18 anos atrás
Kristian Høgsberg
a074857cdc
glxinfo: Try creating a GLX context using an fbconfig if no visuals are available.
18 anos atrás
Kristian Høgsberg
aad5c0fdc7
pbutil: Do not require GLX_SGIX_pbuffer for fbconfig only-functions.
18 anos atrás
Kristian Høgsberg
a5b4bb393f
glxinfo: Also print number of fbconfigs.
18 anos atrás
Kristian Høgsberg
87966baa8d
Fixup a couple of thinkos in glxinfo changes.
18 anos atrás
Kristian Høgsberg
791ad0e77f
Implement support for printing glx fbconfigs in glxinfo.
18 anos atrás
Kristian Høgsberg
f7d1d554b1
glxinfo: Only print visuals that actually support GLX.
18 anos atrás
Kristian Høgsberg
c095f7e46a
Do XSync() before resetting error handler.
18 anos atrás
Brian
72c888869f
Example of cooperative rendering into one window by two processes
18 anos atrás
Brian
f1104b079f
New glxsnoop demo to display another window's z/stencil/back buffer.
18 anos atrás
Dan Nicholson
b182613f2f
Ignore more generated files in progs/
Many of the directories in progs/ were missing .gitignore files or
were tracking generated files. This patch is basically the process of
running `make' in each directory and then finding the untracked files
with `git-ls-files -o --exclude-per-directory=.gitignore'. The existing
files were also sorted.
18 anos atrás
Dan Nicholson
2a3e33865d
add support for LDFLAGS env var
18 anos atrás
Eric Anholt
b74140db66
Update .gitignore for tests and xdemos.
18 anos atrás
Brian
24cd84162e
clean-up (see bug 12317)
18 anos atrás
Xiang, Haihao
5dab3bf4bc
xdemo case: Wei Wang's patch for bug#9759
18 anos atrás
Brian
e45b40381c
parse standard -geometry option
18 anos atrás
Ingo Molnar
4a8ad16ec0
glxgears: Add an x/y window size parameter.
18 anos atrás
Brian
ffc633c469
fix logic error, typos
18 anos atrás
Brian
34f6243bef
Improve this demo in a few ways.
1. Use more reasonable hither/yon clip planes to make better use of shallow
(16-bit) z buffers.
2. Use different colors on cube faces to help detect Z fighting if it occurs.
3. Report GL_DEPTH_BITS on start-up.
18 anos atrás
Brian
0c5662acc7
use glXGetProcAddress to get extension funcs
18 anos atrás
Brian
b4f8d4455b
set texcoords depending on GLX_Y_INVERTED_EXT
18 anos atrás
Brian
4465377ca3
GLX_EXT_texture_from_pixmap test
18 anos atrás
Brian
6c305c0831
Remove the xdemo.c program from PROGS since it doesn't work with GLX/DRI.
19 anos atrás
Brian
73eee2402e
Use XDisplayName() when reporting errors (bug 8079).
19 anos atrás
Michel Dänzer
b46e359f58
glxinfo: When direct rendering is not enabled, print some hints.
If indirect rendering is forced, say how. Otherwise, suggest setting
LIBGL_DEBUG=verbose.
Inspired by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379323 .
19 anos atrás
Michel Dänzer
14f92636b0
Make git ignore files only generated at build time.
19 anos atrás
Brian Paul
8dff54e71d
Added -clip option to test glCopyPixels beyond window bounds.
Clear dest window to black before copying.
Use glWindowPos2iARB().
19 anos atrás
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
19 anos atrás
Brian Paul
4c6319db9c
call reshape() after init() to set initial projection/viewing transform (see bug 6941)
19 anos atrás
Tilman Sauerbeck
601c02f783
bug 6941: fixed initial rendering problems in glxgears
19 anos atrás
Brian Paul
2ca741ad4b
added a few extension #ifdef tests
19 anos atrás
Brian Paul
c8ea111166
usage() function
19 anos atrás