Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
To ensure its destruction is deferred until it's no longer current.
|
|
Fixes https://github.com/apitrace/apitrace/issues/445
|
|
This module will have more than just description of OpenGL profiles, but
actual features.
|
|
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.
|
|
|
|
|
|
And share some code with glXCreateContextAttribsARB.
|
|
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.
|
|
Handling adapted from retrace_wglDeleteContext
|
|
glXCreateContextAttribsARBG call.
Should fix issue #176.
|
|
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.
|
|
apitrace can be built with without RTTI (runtime type information)
providing that dynamic_cast isn't used.
|
|
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.
|
|
They are often very numerous, making it hard to see the final rendering.
|
|
Use currentContext->drawable instead.
|
|
|
|
|
|
|
|
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.
|
|
Less code duplication.
|
|
|
|
|