Commit Graph

1988 Commits

Author SHA1 Message Date
Vinson Lee ba8f4c5d36 progs/demos: Add arbocclude2 to Makefile and .gitignore. 2010-03-05 23:18:01 -08:00
Jesse Barnes f846a008e9 progs/xdemos: fix up GLX extension checking
A few of my programs were using the client string in addition to the
main extensions string to see if a feature was present.  Correct this to
only check for the currently available and working extensions.
2010-03-05 11:22:05 -08:00
Jesse Barnes 77bc721a52 xdemos/omlsync: add waitformsc and swap interval code 2010-03-05 11:22:04 -08:00
Michal Krol 2b15f4fc68 progs: Add arbocclude2 demo. 2010-03-05 18:42:42 +01:00
Jesse Barnes b6456dc234 xdemos: add OML sync test
Add program to test glXSwapBuffersMscOML behavior.  Based on glsync.c.
2010-03-04 13:14:59 -08:00
George Sapountzis aae81a7681 fix getprocaddress test 2010-03-04 16:34:01 +02:00
José Fonseca be1b7d1a04 progs/gallium/unit: Test (un)pack_4ub.
Most of them are failing.
2010-03-03 13:47:42 +00:00
José Fonseca c2ba284386 progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases. 2010-03-03 13:07:43 +00:00
José Fonseca 8598cebf43 progs/gallium/unit: Add test cases for single precision floats. 2010-03-02 12:47:16 +00:00
José Fonseca 77d9e93901 progs/gallium/unit: Add test cases for Nx16 and Nx32 integer formats. 2010-03-02 12:40:09 +00:00
José Fonseca 915bbc8b0b progs/gallium/unit: Add more test cases. 2010-03-02 11:30:46 +00:00
José Fonseca 4e1aa4a812 progs/gallium/python: Rename pipe formats. 2010-03-02 10:22:35 +00:00
José Fonseca 3b67f87970 gallium/unit: Rename pipe formats. 2010-03-02 10:22:35 +00:00
José Fonseca 496aa4793a rbug: Rename pipe formats. 2010-03-02 10:21:55 +00:00
José Fonseca b152abe914 progs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM. 2010-03-01 18:47:36 +00:00
José Fonseca c05c675de6 progs/gallium: Make a phony target "unit" to run unit tests. 2010-03-01 13:08:06 +00:00
José Fonseca 5b3c0c151b progs/gallium: Add unit tests for pixel format packing/unpacking. 2010-02-27 20:29:14 +00:00
Kristian Høgsberg 69a0f375cc eglinfo: Wrap extension string 2010-02-26 15:11:29 -05:00
Kristian Høgsberg a509b8cc24 xeglgears: Add an case that exercises EGL_KHR_gl_renderbuffer_image 2010-02-26 14:52:14 -05:00
Brian Paul b056e15662 progs/tests: add compile-time option for coloring texture corners
When debugging wrap modes it's helpful to set each corner of the texture
image to a distinct color.
2010-02-26 12:32:04 -07:00
Dan Nicholson 3a650ba3a2 progs/glsl: Ensure CFLAGS are passed during linking
Commit ab6825b3e3 fixed an issue where the
architecture option -m32 wasn't being passed to the compiler when
linking .o files. This would only fix the issue with user's building
with the hacky --enable-32-bit. The right way to fix this is to pass
CFLAGS to the linker, which the GNU make builtin rules unfortunately
don't do.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Tested-by: Török Edwin <edwintorok@gmail.com>
2010-02-26 11:05:54 -08:00
Kristian Høgsberg 88c174d182 xeglgears: Clean up the code a bit
Still a mess...
2010-02-26 13:18:47 -05:00
Brian Paul 68205bf5b4 progs/xdemos: fix typo in glxinfo help 2010-02-26 08:17:37 -07:00
Michel Dänzer 0c20b30333 Fix up more stale references to gl(X)_API.xml which have moved.
AFAICT the getproc* stanzas in progs/{fp,trivial}/Makefile are completely
unused at this point, so just remove them.
2010-02-26 10:48:07 +01:00
Wil Reichert 2da7f1af38 fix test progs from gl_API move
Looks like these got missed.
2010-02-26 10:48:06 +01:00
George Sapountzis 9a4a219d20 drop header files and demos for dropped window systems 2010-02-26 04:02:41 +02:00
Török Edvin ab6825b3e3 progs/glsl: add ARCH_FLAGS to LDLIBS
Allows building 32-bit demos on 64-bit Debian host.

Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-25 18:58:55 -07:00
Kristian Høgsberg 74377c8d1b Remove windml progs 2010-02-25 17:40:11 -05:00
Kristian Høgsberg a9e3669683 Remove remaining miniglx references 2010-02-25 17:40:11 -05:00
Kristian Høgsberg 230d263aca Remove GGI support 2010-02-25 17:40:10 -05:00
Kristian Høgsberg 4387580e50 Remove directfb support 2010-02-25 17:40:09 -05:00
Kristian Høgsberg b7041db8f8 xeglgears: Update help text 2010-02-24 20:08:54 -05:00
Kristian Høgsberg f272a780af xeglgears: Remove borrowed GL_OES_EGL_image types
These are now in gl.h.
2010-02-24 14:36:56 -05:00
Kristian Høgsberg 61cc18a866 xeglgears: Add test case for texturing from an EGLImage 2010-02-24 14:28:42 -05:00
José Fonseca e9ac0fbe9b python/retrace: Dump all vertices for verbosity level 3. 2010-02-22 21:46:12 +00:00
Brian Paul 52cc3b03c3 glxinfo: Fix User error in glGetProgramivARB
glxinfo needed fixing after commit 4bccd69.

Move fragment program only parameters into their own list
so that they are not queried for a vertex program.

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>

(cherry picked from commit b0e5dcb859692707fec8752dd21fc61fc4c3dbcc)
2010-02-22 08:56:18 -07:00
Ray Kohler 701ac58a0c Link egl progs to libm as necessary.
Signed-off-by: Ray Kohler <ataraxia937@gmail.com>
2010-02-22 01:26:12 +08:00
Vinson Lee 6cfdb61f73 progs/redbook: Silence warn_unused_result warnings. 2010-02-20 01:34:16 -08:00
Brian Paul 3ef51b4bd9 progs/tests: new zbitmap.c test to exercize Z testing of glBitmap 2010-02-19 11:12:20 -07:00
Brian Paul e9df31fac9 progs/demos: sort filenames 2010-02-19 11:09:05 -07:00
Brian Paul 86bf224cac progs/demos: update arbocclude.c to do multiple queries at once
Issue a whole bunch of queries then get the results and render.
Draw the test object in red instead of orange if the result was not
ready when we first queried it.
2010-02-18 16:58:38 -07:00
Vinson Lee 82e5a11077 progs/trivial: Update .gitignore. 2010-02-18 01:24:20 -08:00
Vinson Lee 7f7b7b9a02 progs/redbook: Fix array out-of-bounds access. 2010-02-18 01:17:26 -08:00
Vinson Lee 64d18b819b progs/rbug: Silence printf format warning. 2010-02-17 23:22:51 -08:00
Vinson Lee 869896f162 progs/rbug: Add missing headers. 2010-02-17 23:19:24 -08:00
Vinson Lee 8266f1e5a5 progs/rbug: Use util_format_name(). 2010-02-17 22:55:16 -08:00
Vinson Lee 20a11722a2 progs/rbug: Add missing header. 2010-02-17 22:10:04 -08:00
Vinson Lee 56b7a6f632 progs/rbug: s/read/rbug_read/
read conflicts with read in /usr/include/unistd.h.
2010-02-17 21:50:38 -08:00
Ian Romanick 7ccbeb41ac Merge commit '381d5e209815235911c4aab516037c868c8f695f'
This merges the patches from the series "[PATCH 00/14] More
client-side GLX house cleaning" that were posted to the mesa3d-dev
mailing list.  See
http://marc.info/?l=mesa3d-dev&m=126582985214612&w=2

Patches 01 through 04 eliminate a bunch of annoying warnings that I
get when building Mesa.

Patch 05 fixes an inconsistency between the implementation of
glXSwapIntervalMESA and the spec.  I chose to favor the code over the
spec in this case.  This also eliminated a warning.

Patches 06 through 12 clean up the way that context creation is
performed on the client.  When support for GLX_SGIX_fbconfig and the
related GLX 1.3 functions was added, I refactored a bunch
nuts-and-bolts of context creation to CreateContext.  The refactor was
a good idea, I just didn't do it right.

Patches 13 and 14 update glxgears_fbconfig to use GLX 1.3 interfaces.
2010-02-17 11:40:38 -08:00
Brian Paul 0583c29313 progs/demos: update GL version test to accept GL 3.x 2010-02-17 09:02:33 -07:00