Commit Graph
1443 Commits
Author SHA1 Message Date
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
baldurk 1ae7bc73bf Compile in core.cpp 2015-07-10 16:38:31 +02:00
baldurk 19784f6554 Add a utility class/func to allow easy lambda invokes onto GUI thread 2015-07-10 16:38:31 +02:00
baldurk 005d1d0875 Change RenderManager invoke method to be std::function to allow lambdas 2015-07-10 16:38:30 +02:00
baldurk 93dfd014a2 Fix pathing on resources.qrc from EventBrowser being moved 2015-07-10 16:38:29 +02:00
baldurk 172372a2f1 Add skeleton (untested) of RenderManager handling its own thread 2015-07-10 16:38:28 +02:00
baldurk 58f5e1181d Fixups for compiling with new file organisation 2015-07-10 16:38:28 +02:00
baldurk ea4350f52f Expose C++ interface via API headers, for C++ UI
* Since the exported C functions just take an explicit 'this' parameter
  and call the corresponding function, we can just make it contractual
  via a virtual interface that the pointer can be dereferenced.
2015-07-10 16:38:27 +02:00
baldurk 56c4b23c7a Organise source files a bit more, add Core class 2015-07-10 16:38:26 +02:00
baldurk 2d9ca94316 Fix some clang warnings with constructor initialise order 2015-07-10 16:38:26 +02:00
baldurk 355729aaad Put QRC intermediate files in .obj as well 2015-07-10 16:38:25 +02:00
baldurk 5ba1ae0730 Fix linux compiling by enabling C++11 (for initializer lists) 2015-07-10 16:38:24 +02:00
baldurk 29efd6df2f Add X11 support for rendering to Qt windows via native handle 2015-07-10 16:38:23 +02:00
baldurk ae113bffe1 Update case on header files for Qt custom widgets 2015-07-10 16:38:23 +02:00
baldurk bb137371e3 Set up event browser QTreeWidget and allow browsing through the frame 2015-07-10 16:38:22 +02:00
baldurk a96167a110 Add resources to qrenderdoc (identical to renderdocui resources) 2015-07-10 16:38:21 +02:00