]> git.cworth.org Git - apitrace/log
apitrace
12 years agoUse markdown syntax.
José Fonseca [Thu, 30 Jun 2011 13:32:57 +0000 (14:32 +0100)]
Use markdown syntax.

12 years agoUpdate glext headers.
José Fonseca [Thu, 30 Jun 2011 12:40:28 +0000 (13:40 +0100)]
Update glext headers.

12 years agoPut all thirdparty code into a separate subdirectory.
José Fonseca [Thu, 30 Jun 2011 12:28:42 +0000 (13:28 +0100)]
Put all thirdparty code into a separate subdirectory.

12 years agoFix NV_vertex_program detection logic.
José Fonseca [Wed, 29 Jun 2011 16:41:02 +0000 (17:41 +0100)]
Fix NV_vertex_program detection logic.

12 years agoAttempt to use glVertexAttribPointerNV when NV_vertex_program is used.
José Fonseca [Wed, 29 Jun 2011 15:43:36 +0000 (16:43 +0100)]
Attempt to use glVertexAttribPointerNV when NV_vertex_program is used.

12 years agoUse the glGetVertexAttrib*ARB as well.
José Fonseca [Wed, 29 Jun 2011 11:57:06 +0000 (12:57 +0100)]
Use the glGetVertexAttrib*ARB as well.

12 years agoUse glVertexAttribPointerARB when VERTEX_PROGRAM_ARB is enabled.
José Fonseca [Tue, 28 Jun 2011 19:50:49 +0000 (20:50 +0100)]
Use glVertexAttribPointerARB when VERTEX_PROGRAM_ARB is enabled.

12 years agoDistinguish different glVertexAttribPointer* functions (WIP).
José Fonseca [Tue, 10 May 2011 09:38:19 +0000 (10:38 +0100)]
Distinguish different glVertexAttribPointer* functions (WIP).

12 years agoFix gl*Uniform* array lengths.
José Fonseca [Wed, 22 Jun 2011 01:03:37 +0000 (02:03 +0100)]
Fix gl*Uniform* array lengths.

A lot of inconsistencies.

This fixes (re)tracing of Heroes of Newerth.

12 years agoAdd support for GL_APPLE_flush_render
Jeff Muizelaar [Tue, 21 Jun 2011 23:22:48 +0000 (00:22 +0100)]
Add support for GL_APPLE_flush_render

12 years agoFix GREMEDY's extensions description.
José Fonseca [Tue, 21 Jun 2011 23:01:12 +0000 (00:01 +0100)]
Fix GREMEDY's extensions description.

12 years agoAlways use bundled zlib and libpng sources.
José Fonseca [Tue, 21 Jun 2011 22:58:22 +0000 (23:58 +0100)]
Always use bundled zlib and libpng sources.

Dynamically linking against them can cause conflicts when tracing
applications that dynamically link against different versions.

12 years agoDelete dead file.
José Fonseca [Tue, 21 Jun 2011 22:44:00 +0000 (23:44 +0100)]
Delete dead file.

12 years agoAllow saving of surface snapshots to png's.
Zack Rusin [Mon, 20 Jun 2011 23:46:17 +0000 (19:46 -0400)]
Allow saving of surface snapshots to png's.

idea from Terry Hendrix II

12 years agoMerge branch 'trace-snapshot'
José Fonseca [Sun, 19 Jun 2011 11:43:16 +0000 (12:43 +0100)]
Merge branch 'trace-snapshot'

12 years agoHandle gracefully errors when trying to read glXCreatewindow drawables.
José Fonseca [Sun, 19 Jun 2011 11:34:33 +0000 (12:34 +0100)]
Handle gracefully errors when trying to read glXCreatewindow drawables.

12 years agotracerepack: Don't fail when temp file is in different filesystem.
José Fonseca [Mon, 13 Jun 2011 18:41:31 +0000 (19:41 +0100)]
tracerepack: Don't fail when temp file is in different filesystem.

12 years agoAbility to take snapshots while tracing.
José Fonseca [Mon, 13 Jun 2011 09:18:31 +0000 (10:18 +0100)]
Ability to take snapshots while tracing.

Mostly for purposes of validating the trace/retrace process.

12 years agos/__dlsym/__libgl_sym/
José Fonseca [Sat, 11 Jun 2011 11:26:39 +0000 (12:26 +0100)]
s/__dlsym/__libgl_sym/

12 years agoDon't resize the window on glViewport if there's a FBO bound.
José Fonseca [Sat, 11 Jun 2011 11:19:44 +0000 (12:19 +0100)]
Don't resize the window on glViewport if there's a FBO bound.

12 years agoHandle ARB_pixel_buffer_object correctly.
José Fonseca [Sat, 11 Jun 2011 11:19:05 +0000 (12:19 +0100)]
Handle ARB_pixel_buffer_object correctly.

When a pack buffer object is bound, the pack functions *have*
side-effects.

12 years agoTrace remaining ARB_imaging functions correctly.
José Fonseca [Sat, 11 Jun 2011 11:13:14 +0000 (12:13 +0100)]
Trace remaining ARB_imaging functions correctly.

12 years agoRecognize printf format string in OS::DebugMessage.
José Fonseca [Sat, 11 Jun 2011 11:11:12 +0000 (12:11 +0100)]
Recognize printf format string in OS::DebugMessage.

12 years agoAdd a note about reseting imaging state.
José Fonseca [Sat, 11 Jun 2011 11:10:12 +0000 (12:10 +0100)]
Add a note about reseting imaging state.

12 years agoFix nasty alignment bug in image size computation.
José Fonseca [Fri, 10 Jun 2011 15:05:29 +0000 (16:05 +0100)]
Fix nasty alignment bug in image size computation.

12 years agoRetrace glConvolutionFilter*
José Fonseca [Thu, 9 Jun 2011 19:56:22 +0000 (20:56 +0100)]
Retrace glConvolutionFilter*

12 years agoRecognize a few esoteric formats.
José Fonseca [Thu, 9 Jun 2011 19:45:44 +0000 (20:45 +0100)]
Recognize a few esoteric formats.

12 years agoRecognize uniform buffer object parameters.
José Fonseca [Thu, 9 Jun 2011 19:44:56 +0000 (20:44 +0100)]
Recognize uniform buffer object parameters.

12 years agoFix another fail value assertion.
José Fonseca [Thu, 9 Jun 2011 12:37:19 +0000 (13:37 +0100)]
Fix another fail value assertion.

12 years agoMore assorted description fixes.
José Fonseca [Thu, 9 Jun 2011 09:14:35 +0000 (10:14 +0100)]
More assorted description fixes.

12 years agoFix GL_ARB_sampler_objects description.
José Fonseca [Thu, 9 Jun 2011 08:54:21 +0000 (09:54 +0100)]
Fix GL_ARB_sampler_objects description.

12 years agoFix assertion failure due to bad fail value.
José Fonseca [Wed, 8 Jun 2011 23:41:27 +0000 (00:41 +0100)]
Fix assertion failure due to bad fail value.

12 years agoRemove duplicate glAddSwapHintRectWIN.
José Fonseca [Wed, 8 Jun 2011 23:34:20 +0000 (00:34 +0100)]
Remove duplicate glAddSwapHintRectWIN.

12 years agoRetrace glXCreateContextAttribsARB.
José Fonseca [Wed, 8 Jun 2011 23:29:19 +0000 (00:29 +0100)]
Retrace glXCreateContextAttribsARB.

And simplify the glX* dispatch code in the process.

12 years agoAdd missing GLX extensions.
José Fonseca [Wed, 8 Jun 2011 23:27:27 +0000 (00:27 +0100)]
Add missing GLX extensions.

12 years agoAdd a bunch of missing GL extensions.
José Fonseca [Wed, 8 Jun 2011 23:27:12 +0000 (00:27 +0100)]
Add a bunch of missing GL extensions.

Quick'n'dirty, just to silence the warnings about unknwon functions on
GLEW applications.

12 years agoA few improvements to the C declaration parser.
José Fonseca [Wed, 8 Jun 2011 23:22:55 +0000 (00:22 +0100)]
A few improvements to the C declaration parser.

12 years agoDescribe a few GL 3 parameters.
José Fonseca [Wed, 8 Jun 2011 23:20:45 +0000 (00:20 +0100)]
Describe a few GL 3 parameters.

12 years ago(Re)trace glClearBuffer*v properly.
José Fonseca [Wed, 8 Jun 2011 23:11:13 +0000 (00:11 +0100)]
(Re)trace glClearBuffer*v properly.

12 years agoUniformize the debug messages.
José Fonseca [Wed, 8 Jun 2011 23:07:18 +0000 (00:07 +0100)]
Uniformize the debug messages.

12 years agoAdd some sanity checks to catch state clobering.
José Fonseca [Tue, 7 Jun 2011 19:58:52 +0000 (20:58 +0100)]
Add some sanity checks to catch state clobering.

12 years agoRecognize a few more misc draw function names.
José Fonseca [Tue, 7 Jun 2011 19:49:56 +0000 (20:49 +0100)]
Recognize a few more misc draw function names.

12 years agoUse the right framebuffer size also when generating snapshots.
José Fonseca [Tue, 7 Jun 2011 19:49:40 +0000 (20:49 +0100)]
Use the right framebuffer size also when generating snapshots.

12 years agoDo error checking in glCheckFramebufferStatus.
José Fonseca [Tue, 7 Jun 2011 19:48:55 +0000 (20:48 +0100)]
Do error checking in glCheckFramebufferStatus.

12 years agotracediff: Allow to control the call limit.
José Fonseca [Tue, 7 Jun 2011 19:48:37 +0000 (20:48 +0100)]
tracediff: Allow to control the call limit.

12 years agoDump framebuffer images with their true size.
José Fonseca [Tue, 7 Jun 2011 14:50:49 +0000 (15:50 +0100)]
Dump framebuffer images with their true size.

12 years agoMore accurate include/linkage in Mac OS X.
José Fonseca [Mon, 6 Jun 2011 20:06:29 +0000 (21:06 +0100)]
More accurate include/linkage in Mac OS X.

A bit of a mess because unfortunately we depend on GLX to retrace on MacOSX.

12 years agoDump framebuffer parameters.
José Fonseca [Mon, 6 Jun 2011 19:54:16 +0000 (20:54 +0100)]
Dump framebuffer parameters.

12 years agoWarn instead of aborting for missing entry-points.
José Fonseca [Mon, 6 Jun 2011 18:38:22 +0000 (19:38 +0100)]
Warn instead of aborting for missing entry-points.

12 years agoRecognize CGLFlushDrawable as a swapbuffer.
José Fonseca [Mon, 6 Jun 2011 18:37:09 +0000 (19:37 +0100)]
Recognize CGLFlushDrawable as a swapbuffer.

12 years agoGenerate .tar.bz2 packages on Linux.
José Fonseca [Mon, 6 Jun 2011 18:36:37 +0000 (19:36 +0100)]
Generate .tar.bz2 packages on Linux.

12 years agoAdjust default precision threshold.
José Fonseca [Sun, 5 Jun 2011 00:44:42 +0000 (01:44 +0100)]
Adjust default precision threshold.

12 years agoUse CMAKE_SHARED_LIBRARY_C_FLAGS instead of -fPIC.
José Fonseca [Sun, 5 Jun 2011 00:32:16 +0000 (01:32 +0100)]
Use CMAKE_SHARED_LIBRARY_C_FLAGS instead of -fPIC.

12 years agoAccept python 2.7 too.
José Fonseca [Sun, 5 Jun 2011 00:00:46 +0000 (01:00 +0100)]
Accept python 2.7 too.

12 years agoFail when trace file in command line can't be openend.
José Fonseca [Sat, 4 Jun 2011 21:55:42 +0000 (22:55 +0100)]
Fail when trace file in command line can't be openend.

12 years agoSet snapshot frequency with -c option too.
José Fonseca [Sat, 4 Jun 2011 21:52:27 +0000 (22:52 +0100)]
Set snapshot frequency with -c option too.

For backwards compatability.

12 years agoScript to run glretrace in parallel, comparing generated snapshots.
José Fonseca [Sat, 4 Jun 2011 21:51:45 +0000 (22:51 +0100)]
Script to run glretrace in parallel, comparing generated snapshots.

12 years agoformat.py is not executable.
José Fonseca [Sat, 4 Jun 2011 13:48:57 +0000 (14:48 +0100)]
format.py is not executable.

12 years agoDon't generate redundant strings.
José Fonseca [Sat, 4 Jun 2011 13:23:53 +0000 (14:23 +0100)]
Don't generate redundant strings.

12 years agoPer thirdparty library CMakeLists.xt
José Fonseca [Sat, 4 Jun 2011 13:10:54 +0000 (14:10 +0100)]
Per thirdparty library CMakeLists.xt

12 years agoDon't generate import libraries for wrapper DLLs.
José Fonseca [Sat, 4 Jun 2011 13:10:06 +0000 (14:10 +0100)]
Don't generate import libraries for wrapper DLLs.

12 years agoTweak the include order to avoid symbol conflicts.
José Fonseca [Sat, 4 Jun 2011 13:01:11 +0000 (14:01 +0100)]
Tweak the include order to avoid symbol conflicts.

Due to __out macro being defined.

12 years agoUse -isystem to DirectX SDK headers on MinGW.
José Fonseca [Sat, 4 Jun 2011 13:00:26 +0000 (14:00 +0100)]
Use -isystem to DirectX SDK headers on MinGW.

Otherwise there will be many warnings and duplicate definitions when
using recent DirectX SDK headers.

12 years agoRemove dead ImageMagick's compare invocation code.
José Fonseca [Fri, 3 Jun 2011 18:51:56 +0000 (19:51 +0100)]
Remove dead ImageMagick's compare invocation code.

12 years agoSpecify fuzz as a ratio instead of percentage.
José Fonseca [Fri, 3 Jun 2011 18:50:34 +0000 (19:50 +0100)]
Specify fuzz as a ratio instead of percentage.

12 years agoMore convenient debug output on scripts/trace.py
José Fonseca [Fri, 3 Jun 2011 18:36:02 +0000 (19:36 +0100)]
More convenient debug output on scripts/trace.py

12 years agoTrace EXT_texture_from_pixmap.
José Fonseca [Fri, 3 Jun 2011 18:34:55 +0000 (19:34 +0100)]
Trace EXT_texture_from_pixmap.

No replay support.

12 years agoSupport glMulti*.
José Fonseca [Fri, 3 Jun 2011 18:34:29 +0000 (19:34 +0100)]
Support glMulti*.

12 years agoSupport glMap*
José Fonseca [Fri, 3 Jun 2011 18:33:56 +0000 (19:33 +0100)]
Support glMap*

12 years agoActually set double buffer as default...
José Fonseca [Fri, 3 Jun 2011 08:57:00 +0000 (09:57 +0100)]
Actually set double buffer as default...

12 years agoConsider glPixelStore state in image size computation.
José Fonseca [Thu, 2 Jun 2011 23:42:25 +0000 (00:42 +0100)]
Consider glPixelStore state in image size computation.

12 years agoRecognize offsets instead of blobs when PBOs are bound.
José Fonseca [Thu, 2 Jun 2011 22:15:11 +0000 (23:15 +0100)]
Recognize offsets instead of blobs when PBOs are bound.

12 years agoReset GL_PIXEL_PACK_BUFFER state too when reading images.
José Fonseca [Thu, 2 Jun 2011 22:12:58 +0000 (23:12 +0100)]
Reset GL_PIXEL_PACK_BUFFER state too when reading images.

12 years agoGenerate a .dmg package on Mac OS X.
José Fonseca [Thu, 2 Jun 2011 13:48:38 +0000 (14:48 +0100)]
Generate a .dmg package on Mac OS X.

12 years agoMake windows build user friendlier.
José Fonseca [Thu, 2 Jun 2011 13:38:34 +0000 (14:38 +0100)]
Make windows build user friendlier.

12 years agoSmarter detection of DirectX SDK.
José Fonseca [Thu, 2 Jun 2011 13:09:33 +0000 (14:09 +0100)]
Smarter detection of DirectX SDK.

12 years agoAllow to specify the snapshot frequency.
José Fonseca [Thu, 2 Jun 2011 09:04:52 +0000 (10:04 +0100)]
Allow to specify the snapshot frequency.

Based on a patch by Michel Dänzer <daenzer@vmware.com>

12 years agoUse double buffer visuals by default.
José Fonseca [Wed, 1 Jun 2011 18:49:13 +0000 (19:49 +0100)]
Use double buffer visuals by default.

By far the most common case.

12 years agoParse traces directly from python.
José Fonseca [Mon, 30 May 2011 10:40:06 +0000 (11:40 +0100)]
Parse traces directly from python.

Mostly for prototyping, as it 4x slower, and eats more memory.

12 years agoRemove unused header.
José Fonseca [Sat, 28 May 2011 17:18:52 +0000 (18:18 +0100)]
Remove unused header.

12 years agoAbility to write a new call to trace file.
José Fonseca [Sat, 28 May 2011 17:13:39 +0000 (18:13 +0100)]
Ability to write a new call to trace file.

12 years agoSet FunctionSig's id.
José Fonseca [Sat, 28 May 2011 16:46:41 +0000 (17:46 +0100)]
Set FunctionSig's id.

12 years agoMove signatures to trace_model.hpp where they belong.
José Fonseca [Sat, 28 May 2011 12:33:32 +0000 (13:33 +0100)]
Move signatures to trace_model.hpp where they belong.

12 years agoMake Trace::Writer methods a bit more consistent.
José Fonseca [Sat, 28 May 2011 12:25:55 +0000 (13:25 +0100)]
Make Trace::Writer methods a bit more consistent.

12 years agoBetter naming for bitmask signature.
José Fonseca [Sat, 28 May 2011 12:20:01 +0000 (13:20 +0100)]
Better naming for bitmask signature.

12 years agoUnify Call::Signature into FunctionSig.
José Fonseca [Sat, 28 May 2011 12:10:13 +0000 (13:10 +0100)]
Unify Call::Signature into FunctionSig.

12 years agoUnify Struct::Signature into StructSig
José Fonseca [Sat, 28 May 2011 12:01:16 +0000 (13:01 +0100)]
Unify Struct::Signature into StructSig

12 years agoUnify Enum::Signature into EnumSig.
José Fonseca [Sat, 28 May 2011 11:45:56 +0000 (12:45 +0100)]
Unify Enum::Signature into EnumSig.

12 years agoDrop dead value unwrap code.
José Fonseca [Sat, 28 May 2011 11:37:02 +0000 (12:37 +0100)]
Drop dead value unwrap code.

12 years agoUnify Bitmask::Signature with BitmaskSig.
José Fonseca [Sat, 28 May 2011 11:33:24 +0000 (12:33 +0100)]
Unify Bitmask::Signature with BitmaskSig.

12 years agoUnify Bitmask::Pair with BitmaskVal.
José Fonseca [Sat, 28 May 2011 11:21:15 +0000 (12:21 +0100)]
Unify Bitmask::Pair with BitmaskVal.

12 years agoUse clear instead of empty assignment to reset writer private data.
José Fonseca [Sat, 28 May 2011 10:56:53 +0000 (11:56 +0100)]
Use clear instead of empty assignment to reset writer private data.

12 years agoUse regular C strings everywhere.
José Fonseca [Sat, 28 May 2011 10:47:48 +0000 (11:47 +0100)]
Use regular C strings everywhere.

12 years agoRemove the empty default state message box.
José Fonseca [Sat, 28 May 2011 10:13:01 +0000 (11:13 +0100)]
Remove the empty default state message box.

The answer is not remembered across multiple qapitrace processes, and
reading the default state is so fast that it's not even really worth
asking.

12 years agoFix D3D shader dumping after trace writing refactoring.
José Fonseca [Sat, 28 May 2011 10:06:35 +0000 (11:06 +0100)]
Fix D3D shader dumping after trace writing refactoring.

12 years agoTurn trace writer into a class.
José Fonseca [Sat, 28 May 2011 09:37:12 +0000 (10:37 +0100)]
Turn trace writer into a class.

12 years agoCleanup pointless abort variations.
José Fonseca [Fri, 27 May 2011 23:27:47 +0000 (00:27 +0100)]
Cleanup pointless abort variations.

12 years agoIgnore assertion failure on Mac OS X.
José Fonseca [Fri, 27 May 2011 19:25:41 +0000 (20:25 +0100)]
Ignore assertion failure on Mac OS X.

12 years agoTrace the whole OpenGL framework on Mac OS X.
José Fonseca [Fri, 27 May 2011 19:14:31 +0000 (20:14 +0100)]
Trace the whole OpenGL framework on Mac OS X.

12 years agoTemporarily revert "Upgrade bundled zlib to 1.2.5."
José Fonseca [Fri, 27 May 2011 16:53:30 +0000 (17:53 +0100)]
Temporarily revert "Upgrade bundled zlib to 1.2.5."

It's causing regressions on Windows. Most likely due to build
misconfiguration.

This reverts commit a9a5a2bdbf342493f1a397e885dbd5a25b0c4cf9.