baldurk
822a235349
Make sure not to try and use compressed reader for non-compressed logs
2015-09-15 18:52:43 +02:00
baldurk
2100344636
Fix logic to ensure we don't silently drop manual update checks
2015-09-15 18:43:06 +02:00
baldurk
1f3a83cf38
Don't make UpdateDialog TopMost, that's globally always-on-top
2015-09-15 18:42:42 +02:00
baldurk
219bd2d434
Refactor serialisation format with new version
...
* The main improvement is that instead of just callstack resolving DB
and frame capture data, some arbtirary number of sections can be
included, for e.g. adding notes or saving the bookmarks or whatever
use the user wants.
* Sections (namely the frame capture data) can now be (de)compressed on
I/O, which leads to much smaller file sizes.
* Also the default internal alignment has changed from 16 to 64 to be
more future proof (I decided not to go with completely arbitrary
alignment).
* A path for loading previous version logs remains and will be removed
at some point in the future, maybe a version or two down the line.
2015-09-14 09:25:46 +02:00
baldurk
011178cdf1
Update LZ4 to latest
2015-09-13 21:21:14 +02:00
baldurk
e6621c8956
Don't recreate callstacks, instead re-set stack in consistent instance
2015-09-13 21:20:29 +02:00
baldurk
c136dcfcfe
Disable SPIR-V disassembly in non-release as it's non-functional atm
2015-09-13 14:06:38 +02:00
baldurk
5fccf87d43
Only check that DDPF_FOURCC flag is set, not that it's the only flag
2015-09-13 14:06:13 +02:00
baldurk
a01b3badfa
Create initial state for textures/VAOs that don't have it. Refs #148
2015-09-12 18:18:45 +02:00
baldurk
d16a8024d5
Make sure we have some fallback for locating position element. Refs #149
...
* If no position element is selected at all that's really confusing, so
worst case we just pick the first attribute.
* Making it intuitive/obvious that you can change which attribute is
displayed as mesh - that's a different problem.
2015-09-12 17:30:35 +02:00
baldurk
96b43aa54d
Allow the queued capturing of frame 1 immediately. Refs #150
2015-09-12 17:23:30 +02:00
baldurk
193aa5addd
Do lazy disassembling of shaders, only when needed. Refs #136
...
* This is a slightly simpler implementation of the above pull request.
Only the disassembly is done lazily since everything else is pretty
much always requested during log reading.
* I didn't measure much difference of this but I think it depends on
having a lot of shaders with heavyweight shader debug info.
2015-09-12 17:18:49 +02:00
baldurk
4f67e825cf
Store DXBCs in WrappedShader for input layouts. Refs #136
...
* This will allow lazy shader interpretation to just happen in one place
2015-09-12 14:41:13 +02:00
baldurk
1ca3685668
Don't autofit if no texture is viewed (e.g. if a buffer is up)
...
* This fixes a bug from a crash upload
2015-09-11 11:52:02 +02:00
baldurk
a35d18467d
Make sure to set default capture options
2015-09-10 21:36:55 +02:00
Baldur Karlsson
311c7486fd
Manually thumbnail images in README
...
* They don't render correctly in firefox the old way
2015-09-03 20:30:07 +02:00
baldurk
a63c0217dc
Tweak empty array debug prints and add newline
2015-09-02 11:38:08 +02:00
baldurk
65dbac28f0
Change array serialisation functions to explicitly be uint32/uint64.
2015-09-02 09:00:00 +02:00
baldurk
a763656302
Compile fix for linux
2015-09-02 10:36:18 +02:00
baldurk
d2fc251b58
Add a serialise function that calls Serialise on each array element
...
* Basically for the case where an array element isn't POD and needs
special handling for serialisation
2015-08-31 17:53:48 +02:00
baldurk
b9ba4099ba
Rename Serialise() overload that does array to SerialisePODArray()
...
* To emphasise that it's serialised as a blob of memory, and that
Serialise isn't called on each member.
* Restore the ToStr()
2015-08-31 17:39:49 +02:00
baldurk
c1e8df576c
Compile fix
2015-08-31 17:23:39 +02:00
baldurk
277b97efb6
Rename OS module loading function as it clashes with define on win32
2015-08-31 17:12:21 +02:00
baldurk
32b028e5a6
If elems count is 0 when reading array, set resulting pointer to NULL
2015-08-31 17:11:16 +02:00
baldurk
2d12d5abee
Add an update dialog that shows update notes & does upgrade smoothly
2015-08-30 00:11:48 +02:00
baldurk
efc5c92e1a
Add miniz reader functions to header and add wchat ver of file extract
2015-08-30 00:00:12 +02:00
baldurk
95be5454f9
Add a "Find in all files" dialog on ctrl-shift-f to shader viewer
2015-08-29 19:26:50 +02:00
baldurk
9f43f12135
Add a list of all files in shader viewer when there are more than 3
2015-08-29 17:18:28 +02:00
baldurk
24b0f04f17
Remove double loop increment
2015-08-28 22:04:06 +02:00
baldurk
455797f93e
Change dllexport'd RENDERDOC_GetAPI to a function pointer typedef
...
* Apps don't link against renderdoc so a dllexport is meaningless, they
need a typedef to declare the function pointer they will
GetProcAddress().
2015-08-27 17:57:18 +02:00
baldurk
9d25afbfa0
Change OnEventSelected callbacks to be blocking invoke
...
* Fixes a race condition you could hit running from e.g. Python or some
other non-UI thread.
2015-08-24 21:56:46 +02:00
baldurk
85a343c24b
Speculative fix for bizarre crash where wglGetProcAddress_hook is NULL
2015-08-24 20:41:10 +02:00
baldurk
6a488a1ae7
Make sure linux replay also checks for ARB_buffer_storage presence
2015-08-24 20:09:12 +02:00
baldurk
726a937312
Check against gridview being disposed (from crash report)
2015-08-24 20:06:01 +02:00
baldurk
28c7772e69
Fix some missing export functions that are needed for capturing
...
* These were removed from the public API but are still needed directly
for the capturing process.
2015-08-24 20:05:41 +02:00
baldurk
abdec82be1
Guarantee struct type field ordering
2015-08-24 08:39:56 +02:00
baldurk
ef6dcaf8b4
If numStrides is 0, make sure BufStrides is NULL
2015-08-24 01:07:26 +02:00
baldurk
cb64c16895
Don't care about streamout counters that were stripped from the log
2015-08-24 01:07:25 +02:00
baldurk
d1c24b0138
Handle glXCreateContextAttribsARB not being an exported module symbol
...
* This is true for e.g. mesa drivers
2015-08-23 22:32:43 +02:00
baldurk
0738850719
Enforce ordering in global constructors, with 'dllmain'-alike last
2015-08-23 22:23:53 +02:00
baldurk
6cdbf807fe
Make sure all libraries are included and not removed as unreferenced
2015-08-23 22:23:53 +02:00
baldurk
ce00be0075
Make global GetRealFunctions more unique (don't want to collide)
2015-08-23 22:23:53 +02:00
baldurk
62f7362e92
Move dlopen to be hooked centrally on linux, to be multi-API friendly
2015-08-23 22:23:53 +02:00
baldurk
3d47587957
Add Process::LoadLibrary OS-specific function
2015-08-23 21:51:06 +02:00
baldurk
fb496db764
Move ResourceId tracking to common location for all drivers to share
2015-08-23 21:44:45 +02:00
baldurk
d643c4bc50
Disable array serialisation since it requires ToStr for elements
2015-08-23 21:44:45 +02:00
baldurk
dfd800c0f8
Add serialiser utility functions checking read/write mode externally
2015-08-23 21:44:45 +02:00
baldurk
357735d1d2
Linux compile fixes
2015-08-23 20:38:13 +02:00
baldurk
6c9120ff61
Update official GL headers to latest
2015-08-23 15:36:46 +02:00
baldurk
4ae911c9f9
Add 'easy' to support new GL extensions, note future ones. Refs #146
2015-08-23 15:36:33 +02:00