Commit Graph

5013 Commits

Author SHA1 Message Date
baldurk 71c05ed572 Remove some of the redundant places where git commit hash is #define'd 2017-02-16 17:10:02 +00:00
baldurk 845450848a Add RENDERDOC_SUPPORT_GL define to VS build 2017-02-16 17:09:37 +00:00
Peter Gal 8366da4a6b Add new OpenGL ES driver type
Introduce the OpenGL ES driver type and use it in the
EGL replay code path. Also propagate the GLES mode info
into the OpenGL driver class.
2017-02-16 15:00:12 +01:00
Peter Gal a70bcb8ad3 Add EGL replay implementation 2017-02-15 22:38:26 +00:00
baldurk af6b4cf68c Add new linux files to vcxproj 2017-02-14 19:16:54 +00:00
baldurk f416f4770e Implement UI side of detecting vulkan layer problems and fixing as admin
* Stub functions for the actual detection/fixing part.
2017-02-14 19:14:53 +00:00
baldurk 206d9e0b34 Don't clear selection for eventbrowser when losing focus 2017-02-14 19:14:53 +00:00
baldurk 9cf9c1e8b1 Add file list to shader viewer when enough files are visible 2017-02-14 19:14:53 +00:00
baldurk 79f1edc6f0 When dragging off a tab/tabs to a new float window, default to same size
* This isn't perfect, but it at least prevents the case where you drag
  off a full-size panel and the new window is tiny and crushed.
2017-02-14 19:14:53 +00:00
baldurk cba5606a83 Add middle-click-to-close for tabs in ToolWindowManager 2017-02-14 19:14:53 +00:00
baldurk 0cc4e6e909 Change some separators not hiding/showing properly in tex viewer toolbar 2017-02-14 19:14:52 +00:00
baldurk 3423c2e0d9 Fix a string format to refer to the right parameters 2017-02-14 19:14:52 +00:00
baldurk a1a3d7dfdb Reset hover/pick swatch back to black when closing a log 2017-02-14 19:14:52 +00:00
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