]> git.cworth.org Git - apitrace/log
apitrace
10 years agoretrace: Implement glxCopySubBufferMESA glx-copy-sub-buffer
Carl Worth [Thu, 17 Oct 2013 21:52:21 +0000 (14:52 -0700)]
retrace: Implement glxCopySubBufferMESA

This enables replay of a trace captured on ChromeOS.

Note: Replaying on EGL is not supported, (will trigger an abort),
since, as far as I know, EGL does not provide an equivalent function.

10 years agocli: use $LIB to handle multilib automagically on glibc
Alexander Monakov [Wed, 16 Oct 2013 16:51:47 +0000 (20:51 +0400)]
cli: use $LIB to handle multilib automagically on glibc

10 years agoglretrace: reapply fix for #178 to original GLX code
Alexander Monakov [Wed, 16 Oct 2013 16:17:15 +0000 (20:17 +0400)]
glretrace: reapply fix for #178 to original GLX code

10 years agoUpdate to zlib version 1.2.8.
José Fonseca [Tue, 15 Oct 2013 22:35:52 +0000 (15:35 -0700)]
Update to zlib version 1.2.8.

10 years agogui: Group on glPush/PopGroupMarkerEXT too.
José Fonseca [Mon, 14 Oct 2013 23:41:25 +0000 (16:41 -0700)]
gui: Group on glPush/PopGroupMarkerEXT too.

10 years agoreadme: Mention KHR_debug for GLES too.
José Fonseca [Mon, 14 Oct 2013 23:37:47 +0000 (16:37 -0700)]
readme: Mention KHR_debug for GLES too.

10 years agogui: Prevent assertion failure on debug builds.
José Fonseca [Mon, 14 Oct 2013 23:29:20 +0000 (16:29 -0700)]
gui: Prevent assertion failure on debug builds.

10 years agoreadme: Provide a GLEW_KHR_debug example instead of GLEW_GREMEDY_string_marker.
José Fonseca [Mon, 14 Oct 2013 23:17:37 +0000 (16:17 -0700)]
readme: Provide a GLEW_KHR_debug example instead of GLEW_GREMEDY_string_marker.

10 years agoapitrace README.markdown correct some typos
Lawrence L Love [Sat, 12 Oct 2013 20:31:00 +0000 (13:31 -0700)]
apitrace README.markdown correct some typos

Reading through some of the documentation, spotted some typos
and thought might as well correct them while reading

Mostly missing or incomplete words. One section that meant to
display code didn't have the correct format to display it as such.

Signed-off-by: Lawrence L Love <lawrencex.l.love@intel.com>
10 years agogui: Fix debug build.
José Fonseca [Mon, 14 Oct 2013 22:44:11 +0000 (15:44 -0700)]
gui: Fix debug build.

10 years agocli: Fix invalid option message.
José Fonseca [Sat, 12 Oct 2013 00:24:47 +0000 (17:24 -0700)]
cli: Fix invalid option message.

ascii code was being printed.

10 years agogui: fix pixel info on flipped images
Zack Rusin [Fri, 11 Oct 2013 22:32:25 +0000 (18:32 -0400)]
gui: fix pixel info on flipped images

Flipped images were still using the original image instead of
flipping the coordinates, thus returning the wrong data. Let's just
flip the y-axis to find the right location in the original image.

10 years agogltrace: Better tracing of GLX context attribs.
José Fonseca [Fri, 11 Oct 2013 21:21:39 +0000 (14:21 -0700)]
gltrace: Better tracing of GLX context attribs.

We were missing some cases.

10 years agoImplement grouping of calls.
Zack Rusin [Fri, 11 Oct 2013 22:02:26 +0000 (18:02 -0400)]
Implement grouping of calls.

Use glPushDebugGroup and glPopDebugGroup to create nested groups
of calls. It makes it easy to neatly group related calls (e.g.
from nested function calls) into subgroups.

10 years agod3dretrace: Dump D3D10 depth stencil surfaces as float.
José Fonseca [Fri, 11 Oct 2013 01:43:33 +0000 (18:43 -0700)]
d3dretrace: Dump D3D10 depth stencil surfaces as float.

10 years agoglretrace: Fix object label dumping.
José Fonseca [Fri, 11 Oct 2013 01:13:51 +0000 (02:13 +0100)]
glretrace: Fix object label dumping.

GetObjectLabel returns length excluding zero terminator.

10 years agocli: Don't use the DLL injection method for OpenGL on Windows 8.
José Fonseca [Thu, 10 Oct 2013 23:22:34 +0000 (16:22 -0700)]
cli: Don't use the DLL injection method for OpenGL on Windows 8.

Works around issue #172.

10 years agoglstate: Dump more object labels.
José Fonseca [Thu, 10 Oct 2013 18:10:26 +0000 (11:10 -0700)]
glstate: Dump more object labels.

10 years agoUpdate documentation for object label support.
José Fonseca [Thu, 10 Oct 2013 17:06:04 +0000 (10:06 -0700)]
Update documentation for object label support.

10 years agoeglretrace: Fix window size hints problem.
José Fonseca [Thu, 10 Oct 2013 16:48:12 +0000 (09:48 -0700)]
eglretrace: Fix window size hints problem.

As suggested by Adrinael and confirmed by Alexander Monakov in issue #178.

10 years agospecs: Recognize GL_PROGRAM_BINARY_LENGTH
Chad Versace [Thu, 10 Oct 2013 16:33:24 +0000 (09:33 -0700)]
specs: Recognize GL_PROGRAM_BINARY_LENGTH

This fixes tracing the WebGL Aquarium demo on Chrome OS. Without the
fix, the demo window remains black during tracing.

10 years agoglstate: Dump a few object labels.
José Fonseca [Thu, 10 Oct 2013 01:40:14 +0000 (18:40 -0700)]
glstate: Dump a few object labels.

10 years agotrace: Protect against uninitialized pointers if debug extensions are not exposed...
Peter Lohrmann [Fri, 12 Jul 2013 20:15:25 +0000 (16:15 -0400)]
trace: Protect against uninitialized pointers if debug extensions are not exposed by the underlying driver and the user is attempting to query for a message log or object label.

Sets the return parameters to NULL

10 years agotrace: Better fallback of glGetDebugMessageLog*
Peter Lohrmann [Mon, 17 Jun 2013 20:20:04 +0000 (16:20 -0400)]
trace: Better fallback of glGetDebugMessageLog*

If glGetDebugMessageLog* is not exposed by the underlying driver during
tracing, the function should return a value of 0 (meaning that no
strings were in the log) instead of aborting.

10 years agotrace: Additional support for GL_KHR_debug, GL_ARB_debug_output, and GL_AMD_debug_output.
Peter Lohrmann [Mon, 3 Jun 2013 21:58:41 +0000 (14:58 -0700)]
trace: Additional support for GL_KHR_debug, GL_ARB_debug_output, and GL_AMD_debug_output.

* Mark some of the entrypoints as having sideeffects so that they will
  be replayed and can be seen in other 3rd party tools.

* Add the three additional extensions to the supported extensions list.

* Create new list of debug_entrypoints which may be implemented by a
  driver. These entrypoints need to be handled differently from the
  marker_entrypoints in that debug_entrypoints may be exposed by the
  driver via wglGetProcAddress and apitrace should pass the calls along
  if they are available. The marker_extensions are not expected to be
  implemented by the driver, so wglGetProcAddress(..) does not need to
  be called on them.

Note that even though this causes apitrace to return the extension
strings, the full extension implementation has not been completed, but
the entrypoints are exposed for the application to call.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
10 years agoglretrace: Remove spurious line in previous commit.
José Fonseca [Thu, 26 Sep 2013 17:12:25 +0000 (18:12 +0100)]
glretrace: Remove spurious line in previous commit.

10 years agoglretrace: Always pass a format appropriate for the internalFormat when reading pixels.
José Fonseca [Thu, 26 Sep 2013 16:54:52 +0000 (17:54 +0100)]
glretrace: Always pass a format appropriate for the internalFormat when reading pixels.

Fixes dumping of GL_RGBA8I framebuffers.

10 years agod3dretrace: Dump D3DFMT_D32F_LOCKABLE too.
José Fonseca [Mon, 23 Sep 2013 13:15:56 +0000 (14:15 +0100)]
d3dretrace: Dump D3DFMT_D32F_LOCKABLE too.

10 years agod3dretrace: Dump D3D9 depth stencil.
José Fonseca [Fri, 20 Sep 2013 16:03:36 +0000 (17:03 +0100)]
d3dretrace: Dump D3D9 depth stencil.

Only works for D3DFMT_D16_LOCKABLE though.

10 years agobacktrace: Allow to build without libbacktrace.
José Fonseca [Fri, 20 Sep 2013 09:50:45 +0000 (10:50 +0100)]
backtrace: Allow to build without libbacktrace.

For apitrace integrated into Regal they want to opt-out of backtrace
support, for now.  One reason is that it's fairly platform-specific.
Another concern is potential build issue across various Linux flavors.

Based on Nigel Stewart patch on issue #168.

10 years agocmake: Link ${LIBBACKTRACE_LIBRARIES} once.
José Fonseca [Fri, 20 Sep 2013 14:37:17 +0000 (15:37 +0100)]
cmake: Link ${LIBBACKTRACE_LIBRARIES} once.

10 years agoos: Fix missing os::dump_backtrace symbol in Android builds.
José Fonseca [Fri, 20 Sep 2013 14:27:12 +0000 (15:27 +0100)]
os: Fix missing os::dump_backtrace symbol in Android builds.

10 years agocommon: dump backtrace on signals
Alexander Monakov [Fri, 12 Jul 2013 20:37:17 +0000 (00:37 +0400)]
common: dump backtrace on signals

10 years agocommon: carve out RawStackFrame::dump
Alexander Monakov [Fri, 12 Jul 2013 20:17:12 +0000 (00:17 +0400)]
common: carve out RawStackFrame::dump

10 years agocommon/backtrace: move namespace trace -> os
Alexander Monakov [Fri, 12 Jul 2013 19:13:47 +0000 (23:13 +0400)]
common/backtrace: move namespace trace -> os

10 years agocommon: rename trace_backtrace.* -> os_backtrace.*
Alexander Monakov [Fri, 12 Jul 2013 17:26:25 +0000 (21:26 +0400)]
common: rename trace_backtrace.* -> os_backtrace.*

10 years agothirdparty/libbacktrace: update from upstream
Alexander Monakov [Fri, 12 Jul 2013 21:05:39 +0000 (01:05 +0400)]
thirdparty/libbacktrace: update from upstream

10 years agod3dretrace: Eliminate buffer overflow converting D3DFMT_R5G6B5.
José Fonseca [Thu, 19 Sep 2013 17:19:22 +0000 (18:19 +0100)]
d3dretrace: Eliminate buffer overflow converting D3DFMT_R5G6B5.

10 years agoMerge branch 'hdr-dump'
José Fonseca [Tue, 17 Sep 2013 15:21:56 +0000 (16:21 +0100)]
Merge branch 'hdr-dump'

Support for high-dynamic-range surface dumps.

10 years agoRescale the image pixels using the full precision.
José Fonseca [Tue, 17 Sep 2013 14:22:50 +0000 (15:22 +0100)]
Rescale the image pixels using the full precision.

10 years agod3dretrace: Make --driver work correctly on DXGI1.1
José Fonseca [Mon, 16 Sep 2013 13:58:34 +0000 (14:58 +0100)]
d3dretrace: Make --driver work correctly on DXGI1.1

Need to intercept IDXGIFactory1::EnumAdapters1 too.

10 years agoretracediff: Dump mismtached float images to stdout.
José Fonseca [Mon, 16 Sep 2013 13:59:33 +0000 (14:59 +0100)]
retracediff: Dump mismtached float images to stdout.

Should have an option in the future, as it will be too verbose in general.

10 years agod3dretrace: Make --driver work correctly on DXGI1.1
José Fonseca [Mon, 16 Sep 2013 13:58:34 +0000 (14:58 +0100)]
d3dretrace: Make --driver work correctly on DXGI1.1

Need to intercept IDXGIFactory1::EnumAdapters1 too.

10 years agoimage: Non-standard PNM format variant for 4-float images.
José Fonseca [Mon, 16 Sep 2013 13:57:30 +0000 (14:57 +0100)]
image: Non-standard PNM format variant for 4-float images.

10 years agoretracediff: Support floating point images.
José Fonseca [Mon, 16 Sep 2013 13:21:39 +0000 (14:21 +0100)]
retracediff: Support floating point images.

Via numpy.

10 years agoimage: Yet another fix for the PFM dumping.
José Fonseca [Mon, 16 Sep 2013 13:18:05 +0000 (14:18 +0100)]
image: Yet another fix for the PFM dumping.

10 years agoimage: Write the scale factor / endianness line for PFM too.
José Fonseca [Mon, 16 Sep 2013 12:07:00 +0000 (13:07 +0100)]
image: Write the scale factor / endianness line for PFM too.

10 years agoimage: Fix PNM dumping for 2/4 channels.
José Fonseca [Mon, 16 Sep 2013 11:21:37 +0000 (12:21 +0100)]
image: Fix PNM dumping for 2/4 channels.

10 years agod3dretrace: Dump DXGI_FORMAT_R32G32B32A32_FLOAT images in floating point.
José Fonseca [Mon, 16 Sep 2013 11:20:40 +0000 (12:20 +0100)]
d3dretrace: Dump DXGI_FORMAT_R32G32B32A32_FLOAT images in floating point.

10 years agogui: make sure that the alpha channel is initialized
Zack Rusin [Thu, 12 Sep 2013 21:41:57 +0000 (17:41 -0400)]
gui: make sure that the alpha channel is initialized

For surfaces with less than four channels we weren't
initializing the alpha channel resulting in an image
that had garbage for alpha.

10 years agogui: show the original pixel values in the surface viewer
Zack Rusin [Thu, 12 Sep 2013 21:21:51 +0000 (17:21 -0400)]
gui: show the original pixel values in the surface viewer

Image viewer now holds the original image surface which means
that even though it has to display the flattened version it
can correctly report the exact pixel value on every surface.

10 years agoglretrace: Dump depth buffers as floating point images.
José Fonseca [Thu, 12 Sep 2013 16:27:04 +0000 (17:27 +0100)]
glretrace: Dump depth buffers as floating point images.

10 years agoui: Handle float images in dumps.
José Fonseca [Thu, 12 Sep 2013 16:26:34 +0000 (17:26 +0100)]
ui: Handle float images in dumps.

10 years agoimage: Support reading PFM images.
José Fonseca [Thu, 12 Sep 2013 16:25:04 +0000 (17:25 +0100)]
image: Support reading PFM images.

10 years agoimage: Fix allocation of floating point images.
José Fonseca [Thu, 12 Sep 2013 16:21:37 +0000 (17:21 +0100)]
image: Fix allocation of floating point images.

10 years agod3dretrace: Fix MinGW build.
José Fonseca [Wed, 11 Sep 2013 17:45:43 +0000 (18:45 +0100)]
d3dretrace: Fix MinGW build.

10 years agod3dretrace: Fix MinGW build.
José Fonseca [Wed, 11 Sep 2013 17:45:43 +0000 (18:45 +0100)]
d3dretrace: Fix MinGW build.

10 years agogui: load image data via the Image class.
José Fonseca [Wed, 11 Sep 2013 17:42:07 +0000 (18:42 +0100)]
gui: load image data via the Image class.

A bit hackish.

A stepping stone to store images with Image class instead of QImage.

10 years agoimage: Add floating point support.
José Fonseca [Wed, 11 Sep 2013 17:41:00 +0000 (18:41 +0100)]
image: Add floating point support.

WIP. Not throughly tested.

10 years agoimage: Allow to read PNG from a C++ stream.
José Fonseca [Wed, 11 Sep 2013 17:16:18 +0000 (18:16 +0100)]
image: Allow to read PNG from a C++ stream.

10 years agoimage: Move helpers to respective modules.
José Fonseca [Wed, 11 Sep 2013 17:14:22 +0000 (18:14 +0100)]
image: Move helpers to respective modules.

10 years agoimage: Fix reading of PNG images with different number of channels.
José Fonseca [Wed, 11 Sep 2013 17:10:50 +0000 (18:10 +0100)]
image: Fix reading of PNG images with different number of channels.

10 years agoBuild fixes for VS2013
Nigel Stewart [Mon, 19 Aug 2013 15:58:47 +0000 (10:58 -0500)]
Build fixes for VS2013

https://github.com/p3/regal/pull/97

Signed-off-by: José Fonseca <jfonseca@vmware.com>
10 years agod3dretrace: Fix MSVC build.
José Fonseca [Wed, 11 Sep 2013 13:15:13 +0000 (14:15 +0100)]
d3dretrace: Fix MSVC build.

10 years agod3dretrace: Dump textures of all shader stages.
José Fonseca [Wed, 4 Sep 2013 09:49:32 +0000 (10:49 +0100)]
d3dretrace: Dump textures of all shader stages.

10 years agogui: Implement a new surface viewer
Zack Rusin [Wed, 11 Sep 2013 00:30:59 +0000 (20:30 -0400)]
gui: Implement a new surface viewer

Adds support for showing individual pixels and zooming in on the
image itself. All ready to be used for showing the actual original
pixel values, rather than the fake qimage pixels which it shows
right now.

10 years agoretracediff: Only diff state if specified by command line option.
José Fonseca [Thu, 22 Aug 2013 16:39:11 +0000 (17:39 +0100)]
retracediff: Only diff state if specified by command line option.

As it can be very slow.

10 years agoCheck for ARB_sampler_objects before dumping its state.
José Fonseca [Mon, 19 Aug 2013 15:42:07 +0000 (16:42 +0100)]
Check for ARB_sampler_objects before dumping its state.

Tested-by: Min-Yu Huang <min-yuhuang@vmware.com>
10 years agoTake GL_SAMPLER_BINDING in consideration.
Min-Yu Huang [Mon, 19 Aug 2013 14:41:52 +0000 (15:41 +0100)]
Take GL_SAMPLER_BINDING in consideration.

Fixed the issue that GL_SAMPLER_BINDING is only shown globally under
'Parameters' for the last activated texture unit.  We should show
GL_SAMPLER_BINDING for each texture unit.

In this change, we also introduce GL_SAMPLER under each texture unit if
the sampler is bound.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
10 years agocli: Fix sed message.
José Fonseca [Thu, 25 Jul 2013 19:18:58 +0000 (20:18 +0100)]
cli: Fix sed message.

10 years agoUse EGLAttribArray all the time.
José Fonseca [Mon, 22 Jul 2013 18:26:01 +0000 (19:26 +0100)]
Use EGLAttribArray all the time.

10 years agoTrivial formatting / consistency fixes.
Andreas Hartmetz [Mon, 22 Jul 2013 17:57:50 +0000 (19:57 +0200)]
Trivial formatting / consistency fixes.

10 years agoUse the correct terminator EGL_NONE for eglChooseConfig attrib_list.
Andreas Hartmetz [Mon, 22 Jul 2013 17:56:40 +0000 (19:56 +0200)]
Use the correct terminator EGL_NONE for eglChooseConfig attrib_list.

10 years agoRe-enable rtti again.
José Fonseca [Sat, 20 Jul 2013 14:34:51 +0000 (15:34 +0100)]
Re-enable rtti again.

It causes problems with tr1/shared_ptr.h implementation on several platforms.

10 years agogltrace: Simplify AttribArray further.
José Fonseca [Sat, 20 Jul 2013 14:34:24 +0000 (15:34 +0100)]
gltrace: Simplify AttribArray further.

Make it look more like an Array.

10 years agocgltrace: Fix CGLChoosePixelFormat prototype.
José Fonseca [Sat, 20 Jul 2013 14:27:29 +0000 (15:27 +0100)]
cgltrace: Fix CGLChoosePixelFormat prototype.

And implify AttribList in the process.

10 years agoglretrace: Silence warning on wgl.
José Fonseca [Sat, 20 Jul 2013 14:06:01 +0000 (15:06 +0100)]
glretrace: Silence warning on wgl.

10 years agoBuild: Disable RTTI support at build-time to discourage the use of dynamic_cast, etc
Nigel Stewart [Fri, 19 Jul 2013 14:32:47 +0000 (09:32 -0500)]
Build: Disable RTTI support at build-time to discourage the use of dynamic_cast, etc

10 years agoglimports: Check for iOS and skip OpenGL and CGL as appropriate.
Nigel Stewart [Thu, 18 Jul 2013 00:40:25 +0000 (19:40 -0500)]
glimports: Check for iOS and skip OpenGL and CGL as appropriate.

The Regal build for iOS supporting apitrace needs this
change to avoid a compilation error.

10 years agoglretrace: GLX and WGL support for ES2/EGL traces.
Nigel Stewart [Fri, 12 Jul 2013 14:30:41 +0000 (09:30 -0500)]
glretrace: GLX and WGL support for ES2/EGL traces.

I was able to glretrace Gears for Android on x86 Linux with
NVIDIA (non-DRI supporting) driver by enabling
GLX_CONTEXT_ES2_PROFILE_BIT_EXT for the
glXCreateContextAttribsARB path.

Unfortunately eglretrace via Mesa es2/egl doesn't seem
to be compatible the NVIDIA desktop driver.

10 years agowgltrace: Simplify pixel format attrib description.
José Fonseca [Sat, 20 Jul 2013 13:54:02 +0000 (14:54 +0100)]
wgltrace: Simplify pixel format attrib description.

No point is keeping two separate tables.

10 years agoMerge branch 'attrib_list'
José Fonseca [Sat, 20 Jul 2013 13:53:14 +0000 (14:53 +0100)]
Merge branch 'attrib_list'

Conflicts:
specs/glxapi.py

10 years agowgltrace: Prevent duplicate variable declaration.
José Fonseca [Sat, 20 Jul 2013 13:05:10 +0000 (14:05 +0100)]
wgltrace: Prevent duplicate variable declaration.

10 years agoqapitrace: Add option to replay in singlethreaded mode
Peter Lohrmann [Wed, 10 Jul 2013 15:08:14 +0000 (11:08 -0400)]
qapitrace: Add option to replay in singlethreaded mode

Some traces fail to replay (hang) if glretrace does not have
--singelthread on the command line, this change makes a UI option
available.

10 years agoglstate: Try to match the number of channels in internal format.
José Fonseca [Fri, 19 Jul 2013 23:20:06 +0000 (00:20 +0100)]
glstate: Try to match the number of channels in internal format.

10 years agoglstate: Better support for integer textures dumps.
José Fonseca [Fri, 19 Jul 2013 22:30:48 +0000 (23:30 +0100)]
glstate: Better support for integer textures dumps.

10 years agoRemove the last helper for the old incomplete attrib_list support.
Andreas Hartmetz [Fri, 12 Jul 2013 09:51:45 +0000 (11:51 +0200)]
Remove the last helper for the old incomplete attrib_list support.

10 years agoWGL: Support float-based attrib_list parameters.
Andreas Hartmetz [Fri, 12 Jul 2013 09:50:39 +0000 (11:50 +0200)]
WGL: Support float-based attrib_list parameters.

Followup to making it possible in the code generator.

10 years agoAllow float-based attrib_lists as found in WGL.
Andreas Hartmetz [Fri, 12 Jul 2013 09:37:35 +0000 (11:37 +0200)]
Allow float-based attrib_lists as found in WGL.

It also turns out that no "type" member is needed in AttribArray,
so remove it.

10 years agoRemove the now unused _AttribList_size.
Andreas Hartmetz [Fri, 12 Jul 2013 09:07:41 +0000 (11:07 +0200)]
Remove the now unused _AttribList_size.

_AttribPairList_size is still used for WGL's float-based attribs.

10 years agoGLX: More consistent naming of an AttribArray.
Andreas Hartmetz [Fri, 12 Jul 2013 09:49:39 +0000 (11:49 +0200)]
GLX: More consistent naming of an AttribArray.

10 years agoUpdate GLX attrib_list support from GLX 1.3 to 1.4.
Andreas Hartmetz [Fri, 12 Jul 2013 08:46:51 +0000 (10:46 +0200)]
Update GLX attrib_list support from GLX 1.3 to 1.4.

10 years agoWarn on unknown attrib_list keys.
Andreas Hartmetz [Fri, 12 Jul 2013 08:12:11 +0000 (10:12 +0200)]
Warn on unknown attrib_list keys.

10 years agoAggregate all info on debugging into a single place.
José Fonseca [Fri, 12 Jul 2013 06:48:22 +0000 (07:48 +0100)]
Aggregate all info on debugging into a single place.

10 years agoReplace dynamic_cast with virtual functions.
Nigel Stewart [Wed, 10 Jul 2013 14:01:01 +0000 (09:01 -0500)]
Replace dynamic_cast with virtual functions.

apitrace can be built with without RTTI (runtime type information)
providing that dynamic_cast isn't used.

10 years agoMore WGL support. It's ugly and the resulting code probably doesn't compile.
Andreas Hartmetz [Tue, 9 Jul 2013 22:12:39 +0000 (00:12 +0200)]
More WGL support. It's ugly and the resulting code probably doesn't compile.

10 years agoattrib_list support for WGL function wglCreateContextAttribsARB.
Andreas Hartmetz [Tue, 9 Jul 2013 20:56:31 +0000 (22:56 +0200)]
attrib_list support for WGL function wglCreateContextAttribsARB.

10 years agoattrib_list support for glXChooseVisual, the last GLX function.
Andreas Hartmetz [Tue, 9 Jul 2013 20:54:49 +0000 (22:54 +0200)]
attrib_list support for glXChooseVisual, the last GLX function.

It is one of the two functions known to apitrace that can have
attrib_list keys not followed by a value.

10 years agoUse the right attrib_list terminator and support the remaining functions.
Andreas Hartmetz [Tue, 9 Jul 2013 20:52:46 +0000 (22:52 +0200)]
Use the right attrib_list terminator and support the remaining functions.

Remaining functions were

eglLockSurfaceKHR
eglCreateSyncKHR
eglCreateFenceSyncNV

10 years agoImprovements in AttribArray / attrib/list code generation.
Andreas Hartmetz [Tue, 9 Jul 2013 20:43:15 +0000 (22:43 +0200)]
Improvements in AttribArray / attrib/list code generation.

- Treat unknown keys the same way while counting elements and while
  processing them (they are assumed to be followed by an int value).
- Support custom terminators.
- Serialize the terminator.
- Reduce the line count of generated code a bit.
- Add forgotten begin/endElement() around writing the keys.
- Improve comment wording.