Commit Graph
6154 Commits
Author SHA1 Message Date
baldurk 7bb9c36de4 Switch from QList to QVector for internal storage. 2016-10-04 19:54:28 +02:00
baldurk 00c5546198 Bump GL serialise version to account for added buffer initial states 2016-10-04 19:54:27 +02:00
baldurk ed56e3a603 Default to 0,0 picked location so the pixel context doesn't flicker 2016-10-04 19:54:27 +02:00
baldurk f930154be7 Rename thumb lists to input/output 2016-10-04 19:54:26 +02:00
baldurk 1db8aaca5f ResourcePreview changed to fixed size (sized by thumbstrip) & clickable 2016-10-04 19:54:25 +02:00
baldurk ca8cc98be6 Add RDLabel, an expanded QLabel 2016-10-04 19:54:25 +02:00
baldurk 7ec3049844 Rename LineEditFocusWidget to RDLineEdit
* It seems due to deficiencies in Qt's design, there will be a
  substantial need for these small custom subclasses just to add basic
  functionality that should have been present in the original. So we'll
  adopt a naming scheme of QFooBar -> RDFooBar for this 'almost the
  same widget' type subclassing, compared to more custom/changed ones.
2016-10-04 19:54:24 +02:00
baldurk 39cd42882b Add a ResourcePreview widget 2016-10-04 19:54:24 +02:00
baldurk c8015b9e99 Populate mip/slice dropdowns and allow selecting which is visible 2016-10-04 19:54:23 +02:00
baldurk 9489e4e4d1 Don't try to close & delete a NULL thread 2016-10-04 19:54:23 +02:00
baldurk df77ef6cbe Make sure thread is closed before shutdown 2016-10-04 19:54:22 +02:00
baldurk 97130b25d8 Add selection of background colour (or checkerboard pattern) 2016-10-04 19:54:22 +02:00
baldurk 5135fd6a56 When selecting a marker, select the next 'real' draw instead 2016-10-04 19:54:21 +02:00
baldurk 7f3a61d3fa Add pixel context view 2016-10-04 19:54:20 +02:00
baldurk 54225f1133 Hook up channels and overlay widgets 2016-10-04 14:40:10 +02:00
baldurk 62e18306de Add a helper macro for simple async render thread invokes 2016-10-04 14:40:09 +02:00
baldurk 6d22781610 Set a timeout on the render manager thread 2016-10-04 14:40:09 +02:00
baldurk 1b4e1acea9 Add remaining resources from renderdocui 2016-10-04 14:40:08 +02:00
baldurk 59c5267e24 Set up remaining widgets etc in texture viewer 2016-10-04 14:40:07 +02:00
Baldur Karlsson ef79b3452e Update date on Archlinux dependencies 2016-10-03 13:04:00 +02:00
Hubert Jarosz 3c5305719c update ArchLinux dependencies
* `libx11-xcb` was renamed to `libxcb`
* `libgl` should be used instead of `mesa-libgl` (`libgl` is also provided by `nvidia-libgl`)
2016-10-03 13:03:29 +02:00
baldurk 8c09722d67 Fix variable shadow warnings 2016-10-02 20:25:19 +02:00
baldurk 9ee4653a7a Add triangle size overlay, showing heatmap of triangles < 4x4 in area 2016-10-02 20:04:43 +02:00
baldurk b959b0ce30 Specify TRANSFER_DST usage for overlay image, to allow clears 2016-10-02 20:01:32 +02:00
baldurk f7113e94ae Make sure image view formats match properly for dummy views 2016-10-02 20:01:31 +02:00
baldurk 010917c787 Fixes to quad overdraw overlay on GL 2016-10-02 18:26:19 +02:00
baldurk eaed889e62 Implement zooming and scaling 2016-09-30 18:18:07 +02:00
baldurk 827815d34e Implement scrolling the texture 2016-09-30 16:20:24 +02:00
baldurk 96fce23e69 Update the texture details part of the status bar 2016-09-30 14:24:12 +02:00
baldurk 158c67439b Set to last event on startup in EventBrowser 2016-09-30 14:22:23 +02:00
baldurk 6b26535659 Set cursors properly on render container, make status bar a flowlayout 2016-09-30 13:57:16 +02:00
James Fulop 317e01c22f fix file line endings 2016-09-30 11:01:35 +02:00
James Fulop bd14750702 ignore w component in default path 2016-09-30 10:58:30 +02:00
James Fulop ceeba57c12 vk handles unproject sign more robustly
vk format

vk handles unproject sign more robustly
2016-09-30 10:58:29 +02:00
James Fulop 8054365bd6 picking works on tiny/detailed VS_Out meshes 2016-09-30 10:58:29 +02:00
James Fulop d71e7340e1 d3d11 handles unproject sign flip more robustly
float2 to vec2f

d3d11 handles unproject sign flip more robustly
2016-09-30 10:58:28 +02:00
James Fulop 5f178bd765 gl handles unproject sign flip more robustly
gl format

gl handles unrpoject sign flip more robustly
2016-09-30 10:58:28 +02:00
James Fulop bfd1d96f8f ignoring w component on VS_In 2016-09-30 10:58:27 +02:00
James Fulop d306f27c72 minor tidying 2016-09-30 10:58:13 +02:00
James Fulop 67246868f5 vs_out tri picking works from all angles 2016-09-30 10:55:01 +02:00
James Fulop 15978532e3 updated vertex picking for d3d11 2016-09-30 10:55:00 +02:00
James Fulop a8b2be5643 minor comment/logic changes 2016-09-30 10:55:00 +02:00
James Fulop 770843554d triangle picking for Vulkan
Essentially a straight copypaste from the GL version.

VS_Out picking isn't working correctly in the triangle path.
2016-09-30 10:54:59 +02:00
James Fulop 03fdfc7593 triangle selection path works in VSOut stage now 2016-09-30 10:54:58 +02:00
James Fulop 11563d770f fixed bug were index buffers with a width less than 4 were truncated
indexes with a size less than uint32 were being ugpraded to uint32,
but the buffer range size was still dependent on the original width.
Before this change, when doing selection on indexed meshes with a
width of 2, the second half of the mesh would be unpickable.
2016-09-30 10:54:26 +02:00
James Fulop f630e4a7d6 all mesh types functioning in opengl 2016-09-30 10:51:59 +02:00
James Fulop becf01701f triangle fan support 2016-09-30 10:51:59 +02:00
James Fulop ea861ed3e1 fixed bug were it would pick vertices behind the camera 2016-09-30 10:51:58 +02:00
James Fulop 8851da66af added original picking back in as a fallback. 2016-09-30 10:51:57 +02:00
James Fulop bdfd44ebc9 triangle lists pick correctly 2016-09-30 10:51:57 +02:00