Gregory King [Mon, 17 Mar 2014 20:15:37 +0000 (13:15 -0700)]
Reworked src/vogltrace/CMakeLists.txt to fix issue 16;
(1) requires a symbolic link between libturbojpeg.so.0 to
libturbojpeg.so (within the search path)
(2) Switched ${X11_X11_LIB} to ${X11_LIBRARIES}
(3) Moved project definition to top of the file;
Rich Geldreich [Sat, 15 Mar 2014 06:17:55 +0000 (23:17 -0700)]
- adding a missing entrypoint check, so traces made with NV extensions don't completely core dump on AMD (although the odds of them playing back right are kinda slim)
- adding darwinia trace
Rich Geldreich [Fri, 14 Mar 2014 21:35:20 +0000 (14:35 -0700)]
- Features for 10ft: PBO's, snapshotting/restoring mapped buffers during replaying
- Display lists snapshot/restoring: genned but still not-valid display lists are now handled properly
Peter Lohrmann [Fri, 14 Mar 2014 20:43:22 +0000 (13:43 -0700)]
UI: Fix unnecessary memory overhead when loading traces.
* A vogl_trace_packet can have lots of memory associated with it, so they should not be copied or assigned if it can be avoided. In this case, the loading was using a single trace packet instance to load the data from disk, then the packet was being copied into its associated node in the API call tree. This assignment / copy was temporarily (and unnecessarily) doubling the size of the packet, requiring extra memory allocations, and generally just causing excessive overhead. Instead, allocate a separate vogl_trace_packet for each packet that needs to be loaded from disk, and pass that memory off the apiCallItem for management. This greatly improves load times and allows us to load traces that would previously fail due to memory limitations.
* Also move a few allocations over to using vogl_new and vogl_delete so that vogl can track the memory usage.
Peter Lohrmann [Thu, 13 Mar 2014 21:41:28 +0000 (14:41 -0700)]
UI: Fix support for taking snapshots after an edited & outdated snapshot.
* Also fix algorithm that finds the previous snapshot for diff'ing purposes so that it only returns valid snapshots.
Andrew Wong [Fri, 14 Mar 2014 03:26:11 +0000 (23:26 -0400)]
voglcore: Add pthread as link library
This means any targets that use voglcore will automatically get pthread
include during linking. So we don't need to specify pthread in targets
that don't explicitly use them.
Peter Lohrmann [Thu, 13 Mar 2014 18:45:49 +0000 (11:45 -0700)]
UI: Initial support for saving and loading a debug session
* This saves a json document which links the initial trace file to a set of snapshots
* Edited / outdated / valid properties are stored with each snapshot so that the snapshot indicator in the UI can be restored properly.
* All 'rel_path' properties are relative to the location of the session file. This allows the trace file, session file, and session data folder be moved to a new location and still be loaded. Only relative paths are currently supported.
Future goals:
* Ideally, any state of the UI should be included in the session so that active tabs / drop-down selections / texture zoom settings / etc are restored when the session is loaded.
* Indications of which shaders are edited should also be included (after the UI itself supports indicators of these changes)
* The original trace file should NOT be changed when the initial snapshot is edited or if/when we support the insertion and removal of API calls, so any changes to the API calls should be stored in this session file as well.
Carl Worth [Sat, 22 Mar 2014 00:29:24 +0000 (17:29 -0700)]
Drop vogl_applaunchr.cpp and vogl_applauncher.h
Mike explained that these files are not actually being used at all.
Meanwhile, they are the only files that include anything from the
chromiumlib library which was recently removed (with history
rewriting!) from the git repository.
Carl Worth [Mon, 31 Mar 2014 23:08:00 +0000 (16:08 -0700)]
Don't attempt to build gltests nor OGLSuperBible directories.
These directories were recently removed in a git-filter-branch rewrite
of the Vogl history (as part of an effort to reduce repository size).
Since these directories no longer exist, we cannot build them.