summaryrefslogtreecommitdiff
path: root/retrace/glretrace_glx.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Clean up static maps after retrace.Mark Janes1-0/+10
retrace has a cleanup() routine which can be called to free resources after a retrace. However, it fails to free resources which are allocated in several static global data structures. Due to this shortcoming, a trace file cannot be traced twice in a single process. This directly affects gtests which need to execute a minimal trace file and check the results.
2017-03-27retrace: add wglMakeContextCurrentARB() supportBrian Paul1-1/+2
2016-06-07glretrace: Ignore GLX_MESA_query_renderer calls.Jose Fonseca1-1/+5
2016-04-16glretrace: Ref-count glretrace::Context.Jose Fonseca1-1/+1
To ensure its destruction is deferred until it's no longer current.
2016-04-11glretrace: Replay crashed glXMakeCurrent calls without crashing.Jose Fonseca1-6/+4
Fixes https://github.com/apitrace/apitrace/issues/445
2016-04-04helpers: rename glprofile to glfeatures.Jose Fonseca1-1/+1
This module will have more than just description of OpenGL profiles, but actual features.
2015-10-28glws: begin plumbing extra pbuffer info needed for WGL_ARB_render_textureBrian Paul1-1/+2
When we create a pbuffer we'll need to handle some additional informatation for WGL_ARB_render_texture, such as texture format, texture target, etc.
2015-01-21glretrace: Ignore glXSwapIntervalMESA.José Fonseca1-0/+1
2015-01-06glretrace: Drop deprecated glws::ProfileJosé Fonseca1-1/+1
2014-05-28glretrace: Honour recorded wglCreateContextAttribsARB attributes.José Fonseca1-50/+3
And share some code with glXCreateContextAttribsARB.
2014-05-27glretrace: Don't attempt to replay failed glX* calls.José Fonseca1-2/+31
This is particularly important when application attempts glXCreateContextAttribsARB with different profiles, as described in http://lists.freedesktop.org/archives/apitrace/2014-May/000950.html This change is just a first stab. There are more glX* calls (and cgl*/wgl* calls too) that need to be updates accordingly.
2014-01-22glretrace: Destroy Context only once via glXDestroyContextNigel Stewart1-4/+6
Handling adapted from retrace_wglDeleteContext
2013-10-30glretrace: Support more profiles; match the profile used in ↵José Fonseca1-6/+54
glXCreateContextAttribsARBG call. Should fix issue #176.
2013-10-28retrace: Implement glxCopySubBufferMESACarl Worth1-1/+11
This enables replay of a trace captured on ChromeOS. Note: Replaying on EGL is not supported, (will trigger a warning), since, as far as I know, EGL does not provide an equivalent function.
2013-07-11Replace dynamic_cast with virtual functions.Nigel Stewart1-1/+1
apitrace can be built with without RTTI (runtime type information) providing that dynamic_cast isn't used.
2013-05-10glretrace: Silence the warnings about unsupported ↵José Fonseca1-4/+4
GLX_EXT_texture_from_pixmap calls. They should work reasonably from now on. We should probably still warn for older traces, but it's quite obvious anyway.
2012-10-22Don't show pbuffers in windows.José Fonseca1-4/+1
They are often very numerous, making it hard to see the final rendering.
2012-10-19Kill currentDrawable.José Fonseca1-1/+5
Use currentContext->drawable instead.
2012-10-19Determine core32 from the traces.José Fonseca1-23/+3
2012-10-13retrace: ignore glXGetSwapIntervalMESA.José Fonseca1-0/+1
2012-10-04Basic retrace support for glXCreate/DestroyPbuffer (issue #94)José Fonseca1-2/+56
2012-08-09Create glretrace specific context.James Benton1-11/+11
This allows us to store per context variables whilst retracing. Altered the various glretrace window system implementations to use this new context. Updated the "activeProgram" tracking for profiling to use this.
2012-04-26Cleanup glretrace<->glws integration.José Fonseca1-46/+8
Less code duplication.
2012-04-22Share more code between glretrace and d3dretrace.José Fonseca1-7/+7
2012-04-14Move retracers to their own directory.José Fonseca1-0/+260