Commit Graph

  • 322c341fa2 Make it more obvious when input assembler buffers are not set. baldurk 2014-11-29 00:36:06 +00:00
  • 696eddaf22 Respect MSAA resolve when downcasting from HDR format. Refs #83 baldurk 2014-11-28 22:52:49 +00:00
  • 4de6080b06 Use the right variable consistently baldurk 2014-11-28 22:26:58 +00:00
  • 3f89f12a8d Make sure numSlices doesn't become 0. Refs #83 baldurk 2014-11-28 22:21:45 +00:00
  • 98856f5b62 Don't use MAX_LEVEL to calc mips for non-immutable textures baldurk 2014-11-28 21:15:21 +00:00
  • 4a79ac8039 Move CalcNumMips to common header so GL code can access it baldurk 2014-11-28 21:12:17 +00:00
  • c1c6d635d9 Bugfixes for wchar_t handling baldurk 2014-11-28 21:11:49 +00:00
  • 35b670d37c Fetch number of active subroutine uniform locations from right place baldurk 2014-11-28 21:11:08 +00:00
  • 31b965c61c Fix enum typo in GL render state baldurk 2014-11-28 21:10:26 +00:00
  • e0a0c88972 Only fetch clip control states when available, else use default vals baldurk 2014-11-28 21:09:41 +00:00
  • 800751f267 Compile fixes for release, wchar_t use in crash handler baldurk 2014-11-28 15:30:06 +00:00
  • d5439a59a6 Compile fix for 64-bit baldurk 2014-11-28 14:18:44 +00:00
  • 4b3f016cbd Merge pull request #111 from kvark/build Baldur Karlsson 2014-11-28 07:47:00 +00:00
  • 2cf42bd889 minor build fix for Linux Dzmitry Malyshau 2014-11-27 21:44:34 -05:00
  • ea8203e160 Add backface culling overlay baldurk 2014-11-27 23:36:06 +00:00
  • 19d2eeb33f Handle instances when stream-out'ing an indexed mesh baldurk 2014-11-27 23:19:47 +00:00
  • ad352cebc3 Only apply vertexOffset when fetching input vertex data baldurk 2014-11-27 23:16:20 +00:00
  • c7e83dcaf2 Ignore shader op restype, and copy 32byte types literally baldurk 2014-11-27 22:24:50 +00:00
  • 2040a57e5d Check for new versions even if we think one is available baldurk 2014-11-27 21:08:41 +00:00
  • de7cabe6f3 Don't read off end of indices buffer data if it's not big enough baldurk 2014-11-27 21:02:27 +00:00
  • 5ad5a0af49 Potentially overestimate compressed image size to avoid crashes baldurk 2014-11-27 19:52:26 +00:00
  • c22a1bb82c Handle invalid UTF-8 bytes without infinite loop baldurk 2014-11-27 19:41:17 +00:00
  • 3c40d9ab72 Check for functions that might not be present in renderstate apply baldurk 2014-11-27 19:37:45 +00:00
  • cdf9146a3e Fix typo where scope was fetched twice baldurk 2014-11-27 19:33:11 +00:00
  • 3efa9378cf Add compile time asserts on number of pnames, add missing pname baldurk 2014-11-27 19:30:46 +00:00
  • 8b4475c73d Update mesh columns properly, and use correct stage when specified baldurk 2014-11-27 19:26:29 +00:00
  • 0892989b4b Handle B8G8R8A8 as R8G8B8A8 in pixel history. Refs #110 baldurk 2014-11-27 19:03:25 +00:00
  • d585c25633 Slightly expand pixel history column widths baldurk 2014-11-27 18:50:51 +00:00
  • 237744a6dd Simple implementation of capturing transform feedback baldurk 2014-11-27 08:29:38 +00:00
  • d4bc4e2999 Fix R11G11B10 decode - it's a truncated half format baldurk 2014-11-27 00:49:05 +00:00
  • 16dd0b77f4 Move bound vertex buffers from general state to VAO state baldurk 2014-11-25 23:58:04 +00:00
  • 11d6ca5956 Fix a few cases that were mistakenly not calling via 'real' funcptrs baldurk 2014-11-25 22:40:56 +00:00
  • c79fb99434 Implement some missing query/conditional render functions baldurk 2014-11-25 22:40:38 +00:00
  • 3f33541132 Implement glBindFragDataLocationIndexed and glUniformSubroutines baldurk 2014-11-25 22:18:24 +00:00
  • cbc4c4cc43 Implement missing glMultiDraw functions baldurk 2014-11-25 21:43:42 +00:00
  • eccde9c8b6 Add glMemoryBarrierByRegion and glTextureBarrier baldurk 2014-11-25 21:16:56 +00:00
  • 67140ee100 Add glMinSampleShading and renderstate value baldurk 2014-11-25 21:14:16 +00:00
  • f4851a292a Add integer forms of glTexParameter* baldurk 2014-11-25 21:10:54 +00:00
  • e9320b1987 Add ARB alias for glDebugMessageInsert baldurk 2014-11-25 21:05:34 +00:00
  • ee5a81739b "Implement" shader/program binary functions, but don't allow them baldurk 2014-11-25 21:03:38 +00:00
  • e6b5516776 Implement glFramebfuferParameteri baldurk 2014-11-23 19:55:10 +00:00
  • 56d500ffdb Implement glDrawRangeElementsBaseVertex baldurk 2014-11-23 19:39:10 +00:00
  • 403456a82f Add some missing hooked gl state functions baldurk 2014-11-23 19:30:23 +00:00
  • bdcde1b3f6 Add 2D multisampled array texture storage functions. baldurk 2014-11-23 18:37:50 +00:00
  • c1a5fc9a62 Implement glInvalidate* just by marking resource as GPU dirty baldurk 2014-11-23 17:06:15 +00:00
  • 81c7f985f3 Add glClampColor and glReadnPixels baldurk 2014-11-23 16:41:44 +00:00
  • 841d77485c Add glActiveShaderProgram and direct glUniform* to right program baldurk 2014-11-23 16:37:23 +00:00
  • e3bc5bb84b Make sure to specify buffer size large enough for NULL terminator baldurk 2014-11-23 15:13:09 +00:00
  • 652e875db2 Bugfix - function doesn't take wchar_t* any more! baldurk 2014-11-23 15:00:12 +00:00
  • 2484bc8bc7 Use UTF-8 everywhere possible and only use wchar_t where required. baldurk 2014-11-23 14:45:16 +00:00
  • 6b9287470d Refactor log printing to use new custom printf. baldurk 2014-11-22 23:45:44 +00:00
  • 9d164826da Implement custom printf function, use it in favour of OS *printf baldurk 2014-11-22 23:45:33 +00:00
  • 3abdff49a7 Catch & ignore InvalidOperationException when scrolling baldurk 2014-11-22 09:50:19 +00:00
  • caa5e06644 Fix for crash report - check that event label is non-null baldurk 2014-11-22 09:49:36 +00:00
  • 54a8554439 Force texture format to typed one for pixel history. baldurk 2014-11-21 18:19:18 +00:00
  • dea6b64e0b Reference count FrameCapturers. Closes #108 baldurk 2014-11-18 21:49:29 +00:00
  • ea9a81e44f Implement DisplayRendererPreview in renderdoccmd for linux baldurk 2014-11-16 23:17:44 +00:00
  • 86dc50c4fb Go directly to real glBindFrameBuffer when binding real backbuffer baldurk 2014-11-16 23:06:14 +00:00
  • 8ef2505e77 Normalise texture target enum when first set baldurk 2014-11-16 21:45:24 +00:00
  • 7c3b74131c Make sure all secondary contexts share with replay context baldurk 2014-11-16 21:40:35 +00:00
  • 8f133984fe Number of mips is GL_TEXTURE_MAX_LEVEL+1 baldurk 2014-11-16 21:40:20 +00:00
  • 5ae3c0fd29 Don't memset to 0 a variable that contains an stl string! baldurk 2014-11-16 21:39:33 +00:00
  • 9440327dec Default values to GL_FILL in case driver refuses to return any baldurk 2014-11-16 21:39:22 +00:00
  • 6afe7b7cd1 Speculative change to prevent infinite loop of renderdoccmd.exe baldurk 2014-11-16 16:38:48 +00:00
  • 643447f521 Fix for hook fetching/populating on capture and replay baldurk 2014-11-16 12:34:55 +00:00
  • c7462dc69d With some regret, add hack on AMD to not use VERTEX_BINDING_BUFFER baldurk 2014-11-16 12:34:33 +00:00
  • bb4cbdf097 Check for version > 4.4 or GL_ARB_enhanced_layouts baldurk 2014-11-16 12:24:40 +00:00
  • 172a9bb9ff Globally store the GL core version and list of extensions baldurk 2014-11-16 12:24:10 +00:00
  • aaf525d254 Respect the maximum number of bindings for indexed buffer binds baldurk 2014-11-16 12:22:47 +00:00
  • 9ce6c242b2 Only set GL_DEPTH_STENCIL_TEXTURE_MODE if it has a valid value baldurk 2014-11-16 12:22:02 +00:00
  • 3c95803566 # mips should be calculated as GL_TEXTURE_MAX_LEVEL + 1 baldurk 2014-11-16 12:18:34 +00:00
  • c5f383bc65 Use sanitised texture target baldurk 2014-11-16 12:17:59 +00:00
  • 250570d90c Add function to go from binding or cube face to texture target baldurk 2014-11-16 12:15:47 +00:00
  • 201a25f459 Use correct serialised target enum for replay-side baldurk 2014-11-16 12:15:01 +00:00
  • 4a34f5961b GLSL compile fix, compare dot() result against scalar baldurk 2014-11-16 12:14:19 +00:00
  • 04b108efa0 Fix typo in serialise of glTexBuffer* baldurk 2014-11-15 14:34:28 +00:00
  • c44fca55a3 Suppress performance GL debug messages by default baldurk 2014-11-15 14:23:37 +00:00
  • b00cffddbd return GL_*_INTEGER base format for unnormalised integer types baldurk 2014-11-15 14:21:02 +00:00
  • c6378619d8 When a texture is bound to a framebuffer, consider it dirty baldurk 2014-11-15 14:04:14 +00:00
  • 5be7a4eef3 Save texture state parameters with initial state baldurk 2014-11-15 14:01:02 +00:00
  • 5acc53bae0 Add EXT_DSA glGetTextureParameter functions baldurk 2014-11-15 13:58:52 +00:00
  • 65df5a9192 Check file hasn't been removed out from under us before saving baldurk 2014-11-15 12:21:27 +00:00
  • 5b2a754196 Serialise a few more state change functions baldurk 2014-11-15 12:03:16 +00:00
  • b41b5e1f9a Handling for old style unsized texture internal formats baldurk 2014-11-15 11:03:08 +00:00
  • 0b888f2609 Serialise out whether data is provided to glTexImage* functions baldurk 2014-11-15 10:41:28 +00:00
  • 92d77e32b3 Add missing \s baldurk 2014-11-15 00:33:11 +00:00
  • 29b4c65162 Work around issue where application 'exports' gl symbols baldurk 2014-11-15 00:13:44 +00:00
  • 0f34fbd29a Check that for each new context we populate hooks to get func ptrs baldurk 2014-11-14 23:26:18 +00:00
  • c5e53f7473 pick up libGL dlsym handle when dlopen() is called baldurk 2014-11-14 23:25:15 +00:00
  • 9c0b89baae StringFormat::Fmt was re-using va-list incorrectly on linux baldurk 2014-11-14 23:22:50 +00:00
  • fd9d11bc6d Fix linux GetEmbeddedResource not using address of file start/end baldurk 2014-11-14 23:22:36 +00:00
  • ac89399c60 linux compile fixes baldurk 2014-11-14 14:16:05 +00:00
  • ecbd919d05 Try to preserve horizontal scroll between events on mesh view baldurk 2014-11-13 22:21:09 +00:00
  • 551b0372c8 Allow fully flexible display of position&other component on meshes baldurk 2014-11-13 18:37:58 +00:00
  • ef65ad65f1 Fix highlighting VS output verts with index buffers baldurk 2014-11-13 18:24:08 +00:00
  • 5abeee554f Generate generic input layout from correct VS bytecode baldurk 2014-11-13 13:49:13 +00:00
  • b255f5bc36 Protect against ArgumentException in Timeline Bar paint baldurk 2014-11-12 23:38:40 +00:00
  • f59ae15ad3 Defensively code against queries failing to create. baldurk 2014-11-12 23:30:48 +00:00
  • e4684baf20 Handle fetching DX11.2 interfaces, but just as passthru. Closes #106 baldurk 2014-11-12 23:28:19 +00:00
  • 65cee274eb Wrap/handle as appropriate new DXGI 1.2 & 1.3 ifaces. Refs #104 baldurk 2014-11-12 22:55:58 +00:00