José Fonseca [Tue, 24 May 2011 08:13:56 +0000 (09:13 +0100)]
Move snapshooting to glstate.
José Fonseca [Tue, 24 May 2011 07:42:59 +0000 (08:42 +0100)]
trace_write -> trace_writer
José Fonseca [Mon, 23 May 2011 20:20:53 +0000 (21:20 +0100)]
Warning for glMap*Buffer* failures.
José Fonseca [Mon, 23 May 2011 20:20:31 +0000 (21:20 +0100)]
Handle vertex attriv locations correctly.
However, this does nothing for old traces which do not use
glBindAttribLocation, except than an warning message.
José Fonseca [Mon, 23 May 2011 20:15:12 +0000 (21:15 +0100)]
Silence warnings due to unused variables.
José Fonseca [Mon, 23 May 2011 20:14:54 +0000 (21:14 +0100)]
Interpret some missing GLbitfields.
José Fonseca [Mon, 23 May 2011 20:14:03 +0000 (21:14 +0100)]
Use the process ID as process name when /proc/self/exe can't be read.
/proc/self/exe is not available on setuid processes.
José Fonseca [Mon, 23 May 2011 09:08:03 +0000 (10:08 +0100)]
More control over the diffing output.
José Fonseca [Sat, 21 May 2011 23:37:12 +0000 (00:37 +0100)]
Beginning of a Python reimplementation of tracediff script.
José Fonseca [Sat, 21 May 2011 23:10:50 +0000 (00:10 +0100)]
Update trace binary format description.
José Fonseca [Sat, 21 May 2011 22:57:40 +0000 (23:57 +0100)]
Remove EVENT_MESSAGE.
Never emitted.
José Fonseca [Sat, 21 May 2011 21:59:50 +0000 (22:59 +0100)]
Reimplement tracerepack script in Python.
José Fonseca [Sat, 21 May 2011 17:47:21 +0000 (18:47 +0100)]
Use just PIL on snapdiff, instead of relying on ImageMagick.
José Fonseca [Sat, 21 May 2011 09:14:01 +0000 (10:14 +0100)]
Dump D3D8 shaders too.
José Fonseca [Sat, 21 May 2011 09:04:46 +0000 (10:04 +0100)]
Remove dead code.
José Fonseca [Sat, 21 May 2011 09:03:51 +0000 (10:03 +0100)]
PNG portability fixes.
José Fonseca [Sat, 21 May 2011 00:56:08 +0000 (01:56 +0100)]
Disable _all_ error checking when benchmarking.
José Fonseca [Sat, 21 May 2011 00:36:31 +0000 (01:36 +0100)]
Remap handles on several GL calls.
José Fonseca [Fri, 20 May 2011 22:54:13 +0000 (23:54 +0100)]
Don't show windows until they are first resized.
José Fonseca [Fri, 20 May 2011 22:24:16 +0000 (23:24 +0100)]
Fix spacing of error message.
José Fonseca [Fri, 20 May 2011 16:45:26 +0000 (17:45 +0100)]
Handle explicit flushes better.
José Fonseca [Fri, 20 May 2011 09:34:38 +0000 (10:34 +0100)]
Reset store state before ReadPixels.
José Fonseca [Fri, 20 May 2011 09:28:42 +0000 (10:28 +0100)]
Tell the window manager to respect the requested window size
José Fonseca [Thu, 19 May 2011 16:57:18 +0000 (17:57 +0100)]
Determine drawable sizes on MacOSX.
Not sure it works correctly on Cocoa apps.
José Fonseca [Thu, 19 May 2011 09:45:04 +0000 (10:45 +0100)]
Reorganize glstate code.
José Fonseca [Wed, 18 May 2011 08:54:36 +0000 (09:54 +0100)]
Reset the scissor after resizing the window.
José Fonseca [Wed, 18 May 2011 08:33:37 +0000 (09:33 +0100)]
Start making glstate an independent module.
José Fonseca [Wed, 18 May 2011 07:17:56 +0000 (08:17 +0100)]
Use alpha visuals.
José Fonseca [Tue, 17 May 2011 19:43:14 +0000 (20:43 +0100)]
Print a warning on incomplete calls.
Useful for GL crashes.
José Fonseca [Tue, 17 May 2011 19:39:02 +0000 (20:39 +0100)]
Fix context sharing when replaying CGL.
José Fonseca [Tue, 17 May 2011 08:58:42 +0000 (09:58 +0100)]
Don't count frames in MakeCurrent if the context/drawable don't change.
José Fonseca [Tue, 17 May 2011 08:43:36 +0000 (09:43 +0100)]
Start with a smaller default window size; avoid race conditions on resize.
Because most mesa demos use a 250x250 window, and the window only grows
to accomodate the viewport (never shrinks) so we end up retracing with
a larger framebuffer.
But for this to work all the time, especially with DRI drivers which do
not hook into glViewport, it was necessary to do more event processing
to ensure that by the time the resize is done, the new window size is
visible to GL.
José Fonseca [Mon, 16 May 2011 08:53:59 +0000 (09:53 +0100)]
Recognize more parameters.
José Fonseca [Mon, 16 May 2011 08:33:50 +0000 (09:33 +0100)]
Remap buffer handles in glBindBuffer*
José Fonseca [Sun, 15 May 2011 10:50:01 +0000 (11:50 +0100)]
Make snapdiff.py smarter and more flexible to use.
José Fonseca [Sun, 15 May 2011 12:52:28 +0000 (13:52 +0100)]
Rudimentary CGL retracing.
José Fonseca [Sun, 15 May 2011 12:20:56 +0000 (13:20 +0100)]
Ensure the libGL.system symlink actually gets built.
José Fonseca [Sun, 15 May 2011 11:56:59 +0000 (12:56 +0100)]
Basic MacOSX tracing support (WIP).
José Fonseca [Sun, 15 May 2011 11:49:30 +0000 (12:49 +0100)]
Remove dead code.
José Fonseca [Sun, 15 May 2011 11:00:10 +0000 (12:00 +0100)]
Get the process name correctly on MacOSX.
José Fonseca [Sat, 14 May 2011 13:56:08 +0000 (14:56 +0100)]
Add snapshot comparison criteria in tracecheck.py
José Fonseca [Sat, 14 May 2011 13:12:43 +0000 (14:12 +0100)]
Remove status section from README.
Out of date.
José Fonseca [Sat, 14 May 2011 13:05:47 +0000 (14:05 +0100)]
Put license in a separate file.
José Fonseca [Sat, 14 May 2011 13:02:45 +0000 (14:02 +0100)]
Mention tracy, reformat links.
José Fonseca [Sat, 14 May 2011 09:46:24 +0000 (10:46 +0100)]
Include README & TODO in the package.
José Fonseca [Sat, 14 May 2011 09:34:08 +0000 (10:34 +0100)]
Revert "Set default build type to debug."
This reverts commit
d75f6073101486e05b6cb4aedb4a923352330309.
José Fonseca [Sat, 14 May 2011 09:31:54 +0000 (10:31 +0100)]
Fix spec of arrays in D3D.
José Fonseca [Sat, 14 May 2011 07:48:59 +0000 (08:48 +0100)]
Add some notes about building GUI on Windows.
José Fonseca [Sat, 14 May 2011 07:35:24 +0000 (08:35 +0100)]
QJSON_INCLUDE_DIRS -> QJSON_INCLUDE_DIR
As documented in FindQJSON.cmake.
Thanks to crobi to point this out in issue 2.
José Fonseca [Thu, 12 May 2011 20:52:52 +0000 (21:52 +0100)]
Trace GL_SGIS_point_parameters.
José Fonseca [Thu, 12 May 2011 20:18:05 +0000 (21:18 +0100)]
Don't link with unnecessary X11 libraries.
José Fonseca [Thu, 12 May 2011 19:59:37 +0000 (20:59 +0100)]
Correct types of several parameters.
José Fonseca [Thu, 12 May 2011 16:21:34 +0000 (17:21 +0100)]
Dump shader objects too.
José Fonseca [Wed, 11 May 2011 13:56:36 +0000 (14:56 +0100)]
Add helper script to use with git-bisect.
José Fonseca [Tue, 10 May 2011 19:37:27 +0000 (20:37 +0100)]
Add script to recompress traces.
José Fonseca [Tue, 10 May 2011 19:36:40 +0000 (20:36 +0100)]
Code formatting.
Brackets help read generated code, given that indenting is totally broken.
José Fonseca [Tue, 10 May 2011 19:36:11 +0000 (20:36 +0100)]
Take snapshot but don't count glReadPixels as frames.
Based on a change by Michel Danzer.
José Fonseca [Tue, 10 May 2011 19:33:43 +0000 (20:33 +0100)]
Symbolic names for GLX string queries.
José Fonseca [Tue, 10 May 2011 19:33:17 +0000 (20:33 +0100)]
Object handles chosen by the implementation and need to be remapped.
José Fonseca [Tue, 10 May 2011 19:32:34 +0000 (20:32 +0100)]
Attrib locations are specified by the user.
Unlike uniform locations they don't need to be remaped. This also fixes
collision between vertex attrib locations and uniform locations on the
same program.
José Fonseca [Tue, 10 May 2011 19:27:00 +0000 (20:27 +0100)]
Remove dependency from GL headers on the GUI.
Therefore avoiding depending on Windows headers.
Furthermore, we'll eventually replace GL_XXX types names with more generic
ones when we support more than GL on the GUI.
José Fonseca [Tue, 10 May 2011 09:03:15 +0000 (10:03 +0100)]
Fix typo in glVertexAttribPointerNV's parameter name.
José Fonseca [Mon, 9 May 2011 22:43:39 +0000 (23:43 +0100)]
More GLX attrib names
José Fonseca [Mon, 9 May 2011 22:43:16 +0000 (23:43 +0100)]
Minor tweaks to ARB_shader_object tracing.
José Fonseca [Mon, 9 May 2011 22:42:30 +0000 (23:42 +0100)]
Reset all pixel store state before snapshoting.
José Fonseca [Mon, 9 May 2011 20:27:02 +0000 (21:27 +0100)]
Merge branch 'master' into multi-context
Conflicts:
glretrace.hpp
glretrace_main.cpp
José Fonseca [Mon, 9 May 2011 19:54:31 +0000 (20:54 +0100)]
Take a snapshots on glReadPixels.
José Fonseca [Mon, 9 May 2011 19:53:10 +0000 (20:53 +0100)]
Check status of glProgramString{ARB,NV}/glCompileShaderARB/glLinkProgramARB
José Fonseca [Mon, 9 May 2011 19:21:21 +0000 (20:21 +0100)]
Describe glGetShader params.
José Fonseca [Mon, 9 May 2011 19:20:55 +0000 (20:20 +0100)]
Show info log when glCompileShader/glLinkProgram fails.
José Fonseca [Mon, 9 May 2011 19:12:39 +0000 (20:12 +0100)]
Describe glGetProgram params.
José Fonseca [Mon, 9 May 2011 10:33:47 +0000 (11:33 +0100)]
Fix programObj type.
José Fonseca [Mon, 9 May 2011 10:32:15 +0000 (11:32 +0100)]
Don't try to use more samples than the implementation supports
José Fonseca [Mon, 9 May 2011 10:22:54 +0000 (11:22 +0100)]
Many corrections to the retracing of programs and uniforms.
José Fonseca [Mon, 9 May 2011 10:13:33 +0000 (11:13 +0100)]
Dump the call when issuing warnings if verbosity is not set.
José Fonseca [Mon, 9 May 2011 10:11:37 +0000 (11:11 +0100)]
Handle user pointer arrays in more draw calls.
José Fonseca [Mon, 9 May 2011 08:21:34 +0000 (09:21 +0100)]
Improve gl*Map* description.
José Fonseca [Mon, 9 May 2011 08:16:16 +0000 (09:16 +0100)]
Interpret glRenderMode return as a GLenum.
José Fonseca [Mon, 9 May 2011 08:10:18 +0000 (09:10 +0100)]
Allow to do GLlocation mapping in more places.
José Fonseca [Mon, 9 May 2011 08:06:02 +0000 (09:06 +0100)]
s/GLvertexArray/GLarray/
José Fonseca [Mon, 9 May 2011 08:03:55 +0000 (09:03 +0100)]
Unset sideeffects of glIs* and glAre* functions.
José Fonseca [Sun, 8 May 2011 23:54:39 +0000 (00:54 +0100)]
Prevent different enums from obtaining the same id.
Regression introduced whith the merge of glenum,py and glparams, because
we manipulate enums after creating then,
Thanks to Zack for spotting this
José Fonseca [Sun, 8 May 2011 10:50:31 +0000 (11:50 +0100)]
Update links.
Zack Rusin [Sun, 8 May 2011 04:52:13 +0000 (00:52 -0400)]
Show call name on glGetError warning messages.
Zack Rusin [Sun, 8 May 2011 04:52:13 +0000 (00:52 -0400)]
Show call name on glGetError warning messages.
Zack Rusin [Sun, 8 May 2011 04:52:13 +0000 (00:52 -0400)]
Implement context sharing.
early support for sharing contexts.
José Fonseca [Sun, 8 May 2011 10:12:08 +0000 (11:12 +0100)]
Use CPack for packaging.
José Fonseca [Sun, 8 May 2011 09:45:05 +0000 (10:45 +0100)]
Ensure our prototypes match those in glext.
José Fonseca [Sun, 8 May 2011 08:54:47 +0000 (09:54 +0100)]
Use handle mapping in EXT_direct_state_access.
José Fonseca [Sun, 8 May 2011 07:29:30 +0000 (08:29 +0100)]
Trace right number of parameters in GL_EXT_direct_state_access.
José Fonseca [Sun, 8 May 2011 06:40:30 +0000 (07:40 +0100)]
Texture border has no relevance to texture image size.
José Fonseca [Sun, 8 May 2011 06:39:31 +0000 (07:39 +0100)]
Fix build with MSVC 2005.
Thanks to horte for pointing this out on geeks3d comment.
José Fonseca [Sun, 8 May 2011 05:39:39 +0000 (06:39 +0100)]
Trace blobs in glNamedBuffer(Sub)DataEXT.
José Fonseca [Sat, 7 May 2011 10:54:39 +0000 (11:54 +0100)]
Update to-do.
José Fonseca [Sat, 7 May 2011 10:54:31 +0000 (11:54 +0100)]
Retrace wglCreateContextAttribsARB.
José Fonseca [Sat, 7 May 2011 08:25:50 +0000 (09:25 +0100)]
Be robust against premature EOF in more places.
Zack Rusin [Sat, 7 May 2011 05:41:33 +0000 (01:41 -0400)]
Show the lookup state menu on frames.
Zack Rusin [Sat, 7 May 2011 00:26:54 +0000 (20:26 -0400)]
Word wrap the surfaces description.
José Fonseca [Sat, 7 May 2011 00:17:49 +0000 (01:17 +0100)]
Fully segregate Floats from doubles.
José Fonseca [Sat, 7 May 2011 00:09:19 +0000 (01:09 +0100)]
Stop using implicit casts.
C++ implicit cast semantics don't match precisely what we need.