Commit Graph

1458 Commits

Author SHA1 Message Date
baldurk 943ed67149 Fix memory leak when buffer orphaning with glBufferData 2015-07-11 23:44:22 +02:00
baldurk 233c8d07d6 Disable glslang use for SPIR-V compilation until it's proven more stable 2015-07-11 22:37:47 +02:00
baldurk 560c95cdc6 Updates from renderdoc branch on https://github.com/baldurk/glslang 2015-07-11 22:35:54 +02:00
baldurk ccb863b9c2 Check that we have a live texture before trying to fetch it 2015-07-11 22:35:11 +02:00
baldurk 49836d5fcc Make sure to mark programs bound to pipelines as frame referenced 2015-07-11 18:57:22 +02:00
baldurk a0d0a637b5 Be a little less aggressive marking framebuffers ReadBeforeWrite 2015-07-11 18:41:34 +02:00
baldurk e818c4e517 Don't bother with initial states for render buffers 2015-07-11 18:41:34 +02:00
baldurk 8bd6bcde8f Implement dirtying or referencing the whole state object at a time 2015-07-11 18:41:33 +02:00
baldurk c57334dad5 Disable the debug text file writing on capture 2015-07-11 17:58:22 +02:00
baldurk e6dfc4b721 Add calls to MarkResourceFrameReferenced in individual functions
* This might need future handling to catch the edge case where some
  parameters aren't marked referenced (e.g. textures when binding to
  FBO), and if those parameters aren't bound by the time of a draw, or
  used anywhere else, they'll be eliminated (as the call itself is
  redundant).
2015-07-11 17:19:08 +02:00
baldurk b192cc8666 Remove single frame capture limitation 2015-07-11 15:01:36 +02:00
baldurk 1c45b2b24e Handle failed captures and perform post-capture frame cleanup 2015-07-11 14:56:39 +02:00
baldurk 5d7a78a745 Add resources to list while capframing, that would be dirtied when idle 2015-07-11 14:47:54 +02:00
baldurk df931a7e20 Add functions (no impl yet) to mark bound state objects ref'd or dirty 2015-07-11 14:05:12 +02:00
baldurk 19490540d4 Remove RefAllResources enabling, as we'll fix things to work properly 2015-07-11 14:04:31 +02:00
baldurk 961820c155 Bump GL serialise version for these changes 2015-07-11 14:04:01 +02:00
baldurk 66b73c1784 Even if a framebuffer is high traffic, we need to mark bound tex dirty 2015-07-11 14:03:45 +02:00
baldurk a78800c88c Make sure copies propogate dirty state from source
* Also check high traffic resources
2015-07-11 14:02:54 +02:00
baldurk 5b9a8825d2 Add note about what to apt-get on Ubuntu 2015-07-11 11:45:42 +02:00
baldurk 573bfb6b86 Add qrenderdoc folder to folder structure listing 2015-07-11 01:49:04 +02:00
baldurk 87d748f4fb If we fail to debug a pixel, open the pixel history instead 2015-07-11 00:43:16 +02:00
baldurk ac55f93ff6 Fix matching ifs to endifs on d3d11 shader debugging 2015-07-10 23:55:32 +02:00
baldurk 4b0c1cbde8 Move the source data for tips online, a webpage will generate code 2015-07-10 23:31:52 +02:00
baldurk 1f5c8a450a linux compile fixes 2015-07-10 18:08:24 +02:00
baldurk 0cacba09ee Make EID column a little narrower 2015-07-10 17:54:41 +02:00
baldurk 45c9bfbc37 Add thumbnail strip placeholders 2015-07-10 17:54:07 +02:00
baldurk 87f085d588 A bit more placeholder UI around the texture display rect 2015-07-10 17:13:05 +02:00
baldurk 048e3ddb6e Add Qt to the license list - using LGPL 2.1 2015-07-10 16:49:25 +02:00
baldurk b0a168ef47 Use FlowLayout for texture viewer toolbars, do layout at runtime 2015-07-10 16:38:47 +02:00
baldurk 85e26b2e90 Add FlowLayout from Qt examples (BSD licensed) 2015-07-10 16:38:46 +02:00
baldurk 0837e66939 Placeholder UI of texture viewer toolbar 2015-07-10 16:38:46 +02:00
baldurk a922241b48 Bit more placeholder TextureViewer API 2015-07-10 16:38:45 +02:00
baldurk e548cb5cf7 Allow disabling a specific tab from being dragged
* Also cancels any re-arrangements that involve that tab (mostly useful
  for a fixed tab at the start of the tab list).
2015-07-10 16:38:44 +02:00
baldurk 4627ead8f2 Add custom properties to ToolWindowManager toolwindows, update titles
* Two properties added - DisallowUserDocking which completely prevents
  a toolwindow from being dragged or docked other than programmatically.
* HideCloseButton also hides the close button that normally appears on
  the tabs created
* Also tabs now watch for title change signals and update the titles in
  tabs.
2015-07-10 16:38:44 +02:00
baldurk 227e6feddd Add property to ToolWindowManager to disallow docking to float windows 2015-07-10 16:38:43 +02:00
baldurk c1344c2ff3 Implement jump and find functionality in event browser 2015-07-10 16:38:42 +02:00
baldurk 97920b7b31 re-indent Qt code to match rest of C++ code 2015-07-10 16:38:41 +02:00
baldurk 9276cb875f Hook up the jump/find bars 2015-07-10 16:38:41 +02:00
baldurk fa4e98d1f7 Add UI for find, jump to event and bookmark toolbars (not implemented) 2015-07-10 16:38:40 +02:00
baldurk 7eded723a9 Implement event browser time drawcalls button 2015-07-10 16:38:39 +02:00
baldurk af5c40cf7b Need to allocate memory via callback to renderdoc.dll as well as freeing
* This whole interface really needs a tidy-up at some point, but for now
  this is enough.
2015-07-10 16:38:39 +02:00
baldurk d7c4c0be7d Give counter result union a name 2015-07-10 16:38:38 +02:00
baldurk 4f5673941d Implement load-log-by-commandline behaviour 2015-07-10 16:38:37 +02:00
baldurk 47d509749b Fix for upstream changes 2015-07-10 16:38:37 +02:00
baldurk 162269451a Make sure to properly initialise member variables 2015-07-10 16:38:36 +02:00
baldurk 459272d790 Disable annoying warning on linux too 2015-07-10 16:38:35 +02:00
baldurk e2d8bb1283 Make some destructors virtual, though we don't delete through parents
* It keeps compiling happy and warning-free
2015-07-10 16:38:34 +02:00
baldurk a405ee13ca Loads of changes, fix thread & invoke helpers, skeleton of Core working
* GUIInvoke helper changed to use QMetaObject::invokeMethod which works
  on threads better.
* LambdaThread helper class now has a thread member, it doesn't derive
  from thread (this seems to be recommended practice).
2015-07-10 16:38:34 +02:00
baldurk f6400f383e Remove annoying warning 2015-07-10 16:38:33 +02:00
baldurk 7dcb079389 Temporary (non-running) test of invoking via lambdas GUI->Renderer->GUI
* This won't run properly but it's just to test that we can get this
  compiling.
2015-07-10 16:38:32 +02:00