Commit Graph

5000 Commits

Author SHA1 Message Date
baldurk fbae19f622 Add custom shader handling to texture viewer 2017-02-14 19:14:52 +00:00
baldurk bc2ef77405 Centralise object file dirs in VS so they're not all over the tree 2017-02-14 19:14:52 +00:00
baldurk 2ce133812f Set font size to 12 on pipeline flowchart 2017-02-14 19:14:52 +00:00
baldurk edaf0ef0de Don't rely on GL driver to store object name, store ourselves. Refs #509 2017-02-14 19:14:52 +00:00
Michael Rennie e19f547f25 Allow GLX and EGL hooks to be compiled together.
GLHookSet is moved into shared code, and will be populated by whichever
API is used by the app.
2017-02-14 14:19:47 +00:00
baldurk ebb348962c Breakpoint/dump on error/fatal messages as appropriate 2017-02-13 19:20:25 +00:00
baldurk 871a48d7fa Add flowchart custom widget to show select pipeline stages 2017-02-13 19:20:25 +00:00
baldurk 399a9f5a1e For QTDebug target, copy in debug versions of Qt dlls to output folder 2017-02-13 19:20:24 +00:00
baldurk 1fe36fc90f Connect up the simple help menu entries for opening websites/docs/log 2017-02-13 19:20:24 +00:00
baldurk 2bbbeb3369 Reskin the about dialog slightly, switch to an SVG logo 2017-02-13 19:20:23 +00:00
baldurk ea7cee9d13 Make the find behaviour in event browser to be a bit more 'sticky'
* Clicking away from the find box doesn't lose your highlight/search,
  and if you open find again it has the previous search text there.
2017-02-13 19:20:23 +00:00
baldurk f8ed197318 Add static resources collection with pre-constructed QPixmaps & QIcons
* Apart from making the code cleaner when accessing them, creating these
  from strings can be slow if you do it often enough (e.g. once per
  resources for action/action_hover in pipeline state view).
2017-02-13 19:20:22 +00:00
baldurk fa33d883ac Don't make a blocking call to the UI from render thread 2017-02-13 19:20:21 +00:00
baldurk 99fc18e162 Add "min-max" naming in EID column for marker regions 2017-02-13 19:20:21 +00:00
baldurk 3841af5697 Add fake profile markers if a capture doesn't have any markers at all 2017-02-13 19:20:20 +00:00
baldurk 1100f36d77 Add toolbar buttons for previous/next drawcall step 2017-02-13 19:20:20 +00:00
baldurk 4a9b5ae60c Add support for direct mode display extensions
* Minor change made to vulkan.h to avoid including Xrandr.h directly and
  adding a new dependency, when all we need is the RROutput typedef
2017-02-13 19:20:19 +00:00
baldurk 4cb9fb4fe3 Add support for display control extensions
* VK_EXT_display_surface_counter and VK_EXT_display_control
2017-02-13 19:20:18 +00:00
baldurk 3d23dbe82c Add pass-through support for VK_KHR_get_physical_device_properties2
* Subsequent extensions *using* this method may need unwrapping/wrapping
  for the input/output structures, but as a base extension it doesn't
  need any work.
2017-02-13 19:20:18 +00:00
baldurk 4bd1ff19fa Add 'free' to support extensions 2017-02-13 19:20:17 +00:00
baldurk e51a2d221f Add support for VK_KHR_maintenance1
* We can silently support 3D slice rendering and copies to 2D, this is
  just a driver-side change.
* Ditto for supporting vkCmdFillBuffer on transfer queues.
* We don't have anything to do with format queries or error returns.
* We already support negative viewport height for
  VK_AMD_negative_viewport_height.
* So it's only the new command for trimming command pools that we need
  to support - and that is just passthrough/non-recorded.
2017-02-13 19:20:17 +00:00
baldurk 8f84564d46 Update for new enum values, dispatch table structs in latest headers 2017-02-13 19:20:16 +00:00
baldurk c326145834 Remove a local modification to vulkan.h defining type-safe 32-bit handle
* This is possible now because VK_NON_DISPATCHABLE_WRAPPER_STRUCT isn't
  redefined in vulkan.h if defined externally
2017-02-13 19:20:15 +00:00
baldurk 9d349d48ae Update to vulkan headers from 1.0.39 2017-02-13 19:20:14 +00:00
baldurk 0c79d778e9 Add shortcuts for functionality in event browser 2017-02-13 19:20:13 +00:00
baldurk 55e5bcca61 Implement bookmark handling in the event browser 2017-02-13 14:29:13 +00:00
baldurk 801547ac16 Delete stub gl_*_android files, and add gl_*_egl to VS project 2017-02-13 10:23:53 +00:00
baldurk 49e6ee5c13 Add locking around context creation/activation/deletion on GL
* The GL back-end will do work for each of these operations and in
  particular the case of MakeCurrent while capturing will cause the
  state of that context to be serialised as a context switch. We don't
  want that to happen while we're also serialising draw data on another
  thread.
2017-02-13 10:23:27 +00:00
baldurk 8f38951621 Print a logfile error if we regularly see SwapBuffers() with no context 2017-02-13 10:11:11 +00:00
baldurk 6ac729c230 Add a log message when dbghelp.dll is detected & callstacks are disabled 2017-02-13 10:06:30 +00:00
baldurk 6f60442d1b Fix a missed case using glTextureStorage2DEXT not glTexImage2D 2017-02-13 10:04:16 +00:00
baldurk 5f36a16612 atomic operations on buffers aren't writeonly 2017-02-13 10:00:37 +00:00
baldurk 214450227e Add ../lib to LD_LIBRARY_PATH when capturing programs 2017-02-10 21:58:27 +00:00
baldurk 8630f82db3 Update shader viewer to support editing and debugging of shaders 2017-02-10 21:48:50 +00:00
baldurk 235167f6df Extract out shader saving code into common pipeline state viewer 2017-02-10 21:48:49 +00:00
baldurk 73a694904a Fix pixel history context menu not appearing 2017-02-10 21:48:49 +00:00
baldurk 545d712946 Add icons for run-to-NaN and run-to-sample 2017-02-10 21:48:48 +00:00
baldurk 4d699a2068 Allow overriding the variable type when formatting a shader variable 2017-02-10 21:48:48 +00:00
baldurk 354a2707ae Avoid copying large structs, prefer to pass by reference 2017-02-10 21:48:46 +00:00
baldurk 0dfe6e3a8e Rename enum to be a bit more concise 2017-02-10 21:05:33 +00:00
baldurk c698fe5add install LICENSE.md, README and renderdoc_app.h (as renderdoc.h) 2017-02-10 13:41:55 +00:00
baldurk ab5da24cae Copy renderdoc_app.h to destination folder as part of the VS build 2017-02-10 13:41:40 +00:00
baldurk 456b117a76 Don't copy support files as executable programs 2017-02-10 12:41:24 +00:00
baldurk 313af857ab Add README for linux binary distributions 2017-02-10 12:12:10 +00:00
baldurk 7caf12aea4 Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc 2017-02-10 12:09:05 +00:00
baldurk af0faeea44 Fix compilation on OS X - include headers for powf 2017-02-10 12:08:49 +00:00
baldurk 7c53c6a0e0 Add RDTreeView to qmake project 2017-02-10 01:53:36 +00:00
baldurk 59b28e6843 Fix compilation warning about int/uintptr casts 2017-02-10 01:52:26 +00:00
baldurk 5588686fd7 Mitigate remote probe thread delaying full shutdown of program 2017-02-09 23:22:09 +00:00
baldurk 4d8e799a0e Add pixel history window 2017-02-09 23:21:45 +00:00