tools/apitrace.git
13 years agoSilence some warnings.
José Fonseca [Wed, 23 Mar 2011 16:44:47 +0000 (16:44 +0000)]
Silence some warnings.

13 years agoUnbreak tracing glDrawElements with VBOs.
José Fonseca [Wed, 23 Mar 2011 16:44:30 +0000 (16:44 +0000)]
Unbreak tracing glDrawElements with VBOs.

13 years agoHandle older traces gracefully.
José Fonseca [Wed, 23 Mar 2011 13:22:55 +0000 (13:22 +0000)]
Handle older traces gracefully.

13 years agoDocument -w option.
José Fonseca [Wed, 23 Mar 2011 13:21:01 +0000 (13:21 +0000)]
Document -w option.

13 years agoHandle glget*(GL_PIXEL_{PACK,UNPACK}_BUFFER_BINDING)
José Fonseca [Wed, 23 Mar 2011 13:20:43 +0000 (13:20 +0000)]
Handle glget*(GL_PIXEL_{PACK,UNPACK}_BUFFER_BINDING)

13 years agoFix WGL trace build.
José Fonseca [Tue, 22 Mar 2011 22:22:27 +0000 (22:22 +0000)]
Fix WGL trace build.

13 years agoMore complete glDrawArrays and glDrawElements support.
José Fonseca [Tue, 22 Mar 2011 22:15:46 +0000 (22:15 +0000)]
More complete glDrawArrays and glDrawElements support.

13 years agoBasic DrawArrays support.
José Fonseca [Sun, 20 Feb 2011 23:32:22 +0000 (23:32 +0000)]
Basic DrawArrays support.

13 years agoFurther separate dispatching from tracing.
José Fonseca [Sun, 20 Feb 2011 13:32:19 +0000 (13:32 +0000)]
Further separate dispatching from tracing.

13 years agoInitial stab at glDrawArrays implementation.
José Fonseca [Sun, 20 Feb 2011 09:05:10 +0000 (09:05 +0000)]
Initial stab at glDrawArrays implementation.

13 years agoUse glproc.hpp also for both tracing and retracing.
José Fonseca [Sun, 20 Feb 2011 11:25:25 +0000 (11:25 +0000)]
Use glproc.hpp also for both tracing and retracing.

13 years agoget_function_by_name shortcut
José Fonseca [Sun, 20 Feb 2011 09:01:25 +0000 (09:01 +0000)]
get_function_by_name shortcut

13 years agoPut function signatures outside function bodies.
José Fonseca [Sun, 20 Feb 2011 09:01:07 +0000 (09:01 +0000)]
Put function signatures outside function bodies.

13 years agoMore D3D flags.
José Fonseca [Wed, 16 Feb 2011 21:36:10 +0000 (21:36 +0000)]
More D3D flags.

13 years agoUse D3DUSAGE enum.
José Fonseca [Wed, 16 Feb 2011 17:56:06 +0000 (17:56 +0000)]
Use D3DUSAGE enum.

13 years agoAlso dump call no.
José Fonseca [Wed, 16 Feb 2011 13:39:55 +0000 (13:39 +0000)]
Also dump call no.

13 years agoSimple python script to compare images and output a HTML summary.
José Fonseca [Tue, 15 Feb 2011 12:19:11 +0000 (12:19 +0000)]
Simple python script to compare images and output a HTML summary.

13 years agoTake the screenshots from the current draw buffer, and before swapping buffers.
José Fonseca [Wed, 9 Feb 2011 15:58:51 +0000 (15:58 +0000)]
Take the screenshots from the current draw buffer, and before swapping buffers.

13 years agoDon't leak all over the place.
José Fonseca [Wed, 9 Feb 2011 15:15:08 +0000 (15:15 +0000)]
Don't leak all over the place.

13 years agoSilence more messages in benchmark mode.
José Fonseca [Wed, 9 Feb 2011 15:11:12 +0000 (15:11 +0000)]
Silence more messages in benchmark mode.

13 years agoAdd a benchmark mode.
José Fonseca [Wed, 9 Feb 2011 14:51:07 +0000 (14:51 +0000)]
Add a benchmark mode.

13 years agoFix thinko.
José Fonseca [Wed, 9 Feb 2011 14:49:50 +0000 (14:49 +0000)]
Fix thinko.

13 years agoDrop deprecate -p option.
José Fonseca [Tue, 8 Feb 2011 16:27:51 +0000 (16:27 +0000)]
Drop deprecate -p option.

13 years agoIgnore alpha channel.
José Fonseca [Tue, 8 Feb 2011 16:23:56 +0000 (16:23 +0000)]
Ignore alpha channel.

Until we are able to pick a visual that matches the traces.

13 years agoAllow to snapshot and compare simultanously.
José Fonseca [Tue, 8 Feb 2011 16:01:10 +0000 (16:01 +0000)]
Allow to snapshot and compare simultanously.

13 years agoDon't wait for a keypress by default.
José Fonseca [Tue, 1 Feb 2011 19:35:41 +0000 (19:35 +0000)]
Don't wait for a keypress by default.

13 years agoTrace glBlendFuncSeparateINGR
José Fonseca [Tue, 14 Dec 2010 14:40:48 +0000 (14:40 +0000)]
Trace glBlendFuncSeparateINGR

13 years agoSilence unitialized variable warning
José Fonseca [Tue, 14 Dec 2010 14:13:53 +0000 (14:13 +0000)]
Silence unitialized variable warning

13 years agoSilence warnings a little bit.
José Fonseca [Mon, 13 Dec 2010 20:26:51 +0000 (20:26 +0000)]
Silence warnings a little bit.

13 years agoAllow to specify the snapshot prefix.
José Fonseca [Mon, 13 Dec 2010 20:18:39 +0000 (20:18 +0000)]
Allow to specify the snapshot prefix.

13 years agoUpdate to-do list.
José Fonseca [Sun, 12 Dec 2010 12:24:14 +0000 (12:24 +0000)]
Update to-do list.

13 years agoCompare screenshots.
José Fonseca [Sun, 12 Dec 2010 11:13:33 +0000 (11:13 +0000)]
Compare screenshots.

13 years agoUse Python 2.6
José Fonseca [Mon, 6 Dec 2010 23:15:07 +0000 (23:15 +0000)]
Use Python 2.6

13 years agoRemove spurious left over code.
José Fonseca [Mon, 6 Dec 2010 19:26:58 +0000 (19:26 +0000)]
Remove spurious left over code.

13 years agoHandle uniform locations correctly.
José Fonseca [Mon, 6 Dec 2010 18:50:52 +0000 (18:50 +0000)]
Handle uniform locations correctly.

It requires a two-level table.

13 years agoPNG read support.
José Fonseca [Sun, 5 Dec 2010 15:55:17 +0000 (15:55 +0000)]
PNG read support.

13 years agoUpdate to-do list
José Fonseca [Sat, 4 Dec 2010 15:57:13 +0000 (15:57 +0000)]
Update to-do list

13 years agoAdd missing include.
José Fonseca [Sat, 4 Dec 2010 13:24:17 +0000 (13:24 +0000)]
Add missing include.

13 years agoWrite PNG images instead.
José Fonseca [Sat, 4 Dec 2010 13:13:47 +0000 (13:13 +0000)]
Write PNG images instead.

13 years agoReturn value on writeBMP.
José Fonseca [Sat, 4 Dec 2010 13:13:33 +0000 (13:13 +0000)]
Return value on writeBMP.

13 years agoBumple libpng source.
José Fonseca [Sat, 4 Dec 2010 13:11:39 +0000 (13:11 +0000)]
Bumple libpng source.

13 years agoAdd an image class.
José Fonseca [Sat, 4 Dec 2010 12:21:12 +0000 (12:21 +0000)]
Add an image class.

13 years agoUse 4 spaces as indent everywhere.
José Fonseca [Sat, 4 Dec 2010 10:59:52 +0000 (10:59 +0000)]
Use 4 spaces as indent everywhere.

Makes it easier.

13 years agoTreat pointers specially.
José Fonseca [Sat, 4 Dec 2010 10:47:15 +0000 (10:47 +0000)]
Treat pointers specially.

13 years agoUse d3dx9.dll if available.
José Fonseca [Sun, 14 Nov 2010 20:47:54 +0000 (20:47 +0000)]
Use d3dx9.dll if available.

13 years agoRecognize internalFormat as GLenum
José Fonseca [Fri, 3 Dec 2010 18:50:30 +0000 (18:50 +0000)]
Recognize internalFormat as GLenum

13 years agoFix d3d9 bad bitmasks.
José Fonseca [Wed, 1 Dec 2010 19:52:14 +0000 (19:52 +0000)]
Fix d3d9 bad bitmasks.

13 years agoUse a map for uniform locations.
José Fonseca [Tue, 30 Nov 2010 20:50:36 +0000 (20:50 +0000)]
Use a map for uniform locations.

13 years agoAdd brief comments.
José Fonseca [Tue, 30 Nov 2010 16:58:22 +0000 (16:58 +0000)]
Add brief comments.

13 years agoMore extensions.
José Fonseca [Tue, 30 Nov 2010 16:34:00 +0000 (16:34 +0000)]
More extensions.

13 years agoRemove dead code.
José Fonseca [Tue, 30 Nov 2010 16:10:12 +0000 (16:10 +0000)]
Remove dead code.

13 years agoTrace output of glGetProgram/Shaderiv
José Fonseca [Tue, 30 Nov 2010 16:09:44 +0000 (16:09 +0000)]
Trace output of glGetProgram/Shaderiv

13 years agoMore to do notes.
José Fonseca [Tue, 30 Nov 2010 16:09:10 +0000 (16:09 +0000)]
More to do notes.

13 years agoRetrace glDrawElements.
José Fonseca [Tue, 30 Nov 2010 12:09:12 +0000 (12:09 +0000)]
Retrace glDrawElements.

13 years agoGL_EXT_separate_shader_objects
José Fonseca [Tue, 30 Nov 2010 12:08:58 +0000 (12:08 +0000)]
GL_EXT_separate_shader_objects

13 years agoHandle unknown enums more gracefully.
José Fonseca [Tue, 30 Nov 2010 12:08:47 +0000 (12:08 +0000)]
Handle unknown enums more gracefully.

13 years agoMore extensions.
José Fonseca [Tue, 30 Nov 2010 09:44:27 +0000 (09:44 +0000)]
More extensions.

13 years agoHandle blobs better.
José Fonseca [Tue, 30 Nov 2010 01:04:19 +0000 (01:04 +0000)]
Handle blobs better.

13 years agoFix Makefile ignore pattern.
José Fonseca [Tue, 30 Nov 2010 00:57:45 +0000 (00:57 +0000)]
Fix Makefile ignore pattern.

13 years agoopengl32.cpp -> wgltrace.cpp
José Fonseca [Tue, 30 Nov 2010 00:48:34 +0000 (00:48 +0000)]
opengl32.cpp -> wgltrace.cpp

13 years agoTrace GL_NV_gpu_program4
José Fonseca [Tue, 30 Nov 2010 00:45:33 +0000 (00:45 +0000)]
Trace GL_NV_gpu_program4

13 years agoStandardize on 4 spaces.
José Fonseca [Mon, 29 Nov 2010 20:34:32 +0000 (20:34 +0000)]
Standardize on 4 spaces.

13 years agoHandle VBO draw elements .
José Fonseca [Mon, 29 Nov 2010 20:21:50 +0000 (20:21 +0000)]
Handle VBO draw elements .

13 years agoFix makefile patterns.
José Fonseca [Mon, 29 Nov 2010 20:21:34 +0000 (20:21 +0000)]
Fix makefile patterns.

13 years agoCleanup/remove dead code.
José Fonseca [Mon, 29 Nov 2010 16:09:13 +0000 (16:09 +0000)]
Cleanup/remove dead code.

13 years agoGet d3d9 in buildable state again.
José Fonseca [Mon, 29 Nov 2010 15:57:25 +0000 (15:57 +0000)]
Get d3d9 in buildable state again.

13 years agoUpdate comment.
José Fonseca [Mon, 29 Nov 2010 14:49:34 +0000 (14:49 +0000)]
Update comment.

13 years agoPortability fixes.
José Fonseca [Mon, 29 Nov 2010 14:43:06 +0000 (14:43 +0000)]
Portability fixes.

13 years agoDump bitmaps.
José Fonseca [Mon, 29 Nov 2010 14:21:06 +0000 (14:21 +0000)]
Dump bitmaps.

13 years agoMeasure frame rate.
José Fonseca [Mon, 29 Nov 2010 13:24:20 +0000 (13:24 +0000)]
Measure frame rate.

13 years agoGuess the window size from glViewPort.
José Fonseca [Mon, 29 Nov 2010 12:23:35 +0000 (12:23 +0000)]
Guess the window size from glViewPort.

13 years agoNo need to filter functions that don't exist in GLEW.
José Fonseca [Mon, 29 Nov 2010 11:56:58 +0000 (11:56 +0000)]
No need to filter functions that don't exist in GLEW.

13 years agoPut GL's *ext.h headers in GL subdir.
José Fonseca [Mon, 29 Nov 2010 11:51:23 +0000 (11:51 +0000)]
Put GL's *ext.h headers in GL subdir.

Because GL/gl.h often includes GL/glext.h first, which may be too old.

13 years agoMore compact code.
José Fonseca [Mon, 29 Nov 2010 00:13:05 +0000 (00:13 +0000)]
More compact code.

13 years agoMore extensions.
José Fonseca [Sun, 28 Nov 2010 18:46:12 +0000 (18:46 +0000)]
More extensions.

13 years agoEliminate GLEW dependency.
José Fonseca [Sun, 28 Nov 2010 16:43:04 +0000 (16:43 +0000)]
Eliminate GLEW dependency.

13 years agoUpdate docs.
José Fonseca [Sun, 28 Nov 2010 15:05:17 +0000 (15:05 +0000)]
Update docs.

13 years agoUpdate ignore.
José Fonseca [Sun, 28 Nov 2010 14:28:57 +0000 (14:28 +0000)]
Update ignore.

13 years agoUse bitmap instead of vector.
José Fonseca [Sun, 28 Nov 2010 13:12:20 +0000 (13:12 +0000)]
Use bitmap instead of vector.

13 years agoUse vectors instead of maps.
José Fonseca [Sun, 28 Nov 2010 12:32:12 +0000 (12:32 +0000)]
Use vectors instead of maps.

13 years agoKeep active calls in a list.
José Fonseca [Sun, 28 Nov 2010 12:16:52 +0000 (12:16 +0000)]
Keep active calls in a list.

13 years agoMore handle types.
José Fonseca [Sun, 28 Nov 2010 11:25:08 +0000 (11:25 +0000)]
More handle types.

13 years agoAvoid vector resizes.
José Fonseca [Sun, 28 Nov 2010 00:14:57 +0000 (00:14 +0000)]
Avoid vector resizes.

13 years agoEliminate more string comparisons.
José Fonseca [Sun, 28 Nov 2010 00:08:23 +0000 (00:08 +0000)]
Eliminate more string comparisons.

13 years agoMore efficient string switcher.
José Fonseca [Sat, 27 Nov 2010 15:30:40 +0000 (15:30 +0000)]
More efficient string switcher.

13 years agoBetter directory name.
José Fonseca [Sat, 27 Nov 2010 11:26:40 +0000 (11:26 +0000)]
Better directory name.

13 years agoRemove dead code.
José Fonseca [Fri, 26 Nov 2010 15:47:51 +0000 (15:47 +0000)]
Remove dead code.

13 years agoMore compact struct representation.
José Fonseca [Fri, 26 Nov 2010 15:46:36 +0000 (15:46 +0000)]
More compact struct representation.

13 years agoMore efficient enum representation.
José Fonseca [Fri, 26 Nov 2010 15:26:14 +0000 (15:26 +0000)]
More efficient enum representation.

13 years agoMore efficient call representation.
José Fonseca [Fri, 26 Nov 2010 15:01:29 +0000 (15:01 +0000)]
More efficient call representation.

13 years agoHumble start with glx api.
José Fonseca [Fri, 26 Nov 2010 15:01:18 +0000 (15:01 +0000)]
Humble start with glx api.

13 years agoMore efficient bitmask representation.
José Fonseca [Fri, 26 Nov 2010 14:14:45 +0000 (14:14 +0000)]
More efficient bitmask representation.

13 years agoAdd to do list.
José Fonseca [Fri, 26 Nov 2010 11:53:50 +0000 (11:53 +0000)]
Add to do list.

13 years agolog - > trace
José Fonseca [Fri, 26 Nov 2010 11:35:54 +0000 (11:35 +0000)]
log - > trace

13 years agoUpdate doc.
José Fonseca [Fri, 26 Nov 2010 11:28:55 +0000 (11:28 +0000)]
Update doc.

13 years agoDrop scons support.
José Fonseca [Fri, 26 Nov 2010 11:10:15 +0000 (11:10 +0000)]
Drop scons support.

13 years agoSplit glxapi.
José Fonseca [Thu, 25 Nov 2010 20:32:59 +0000 (20:32 +0000)]
Split glxapi.

13 years agoRename.
José Fonseca [Thu, 25 Nov 2010 20:28:47 +0000 (20:28 +0000)]
Rename.

13 years agoBail on pointer arrays.
José Fonseca [Thu, 25 Nov 2010 20:22:39 +0000 (20:22 +0000)]
Bail on pointer arrays.

13 years agoMore extensions.
José Fonseca [Thu, 25 Nov 2010 19:55:27 +0000 (19:55 +0000)]
More extensions.