Commit Graph

  • e2d228d5f2 Handle broken GetDeviceProcAddr behaviour ourselves baldurk 2018-07-16 11:32:04 +01:00
  • 6418efb7e8 Handle unsized SRGB formats baldurk 2018-07-13 20:06:40 +01:00
  • b470141322 Denote updates to prevent wasteful repeated work adding usage entries baldurk 2018-07-13 17:23:52 +01:00
  • 201dd1c9b4 Don't sort while inserting data into performance counter viewer table baldurk 2018-07-13 16:16:03 +01:00
  • 2bb263102b Set gl_CurChunk in release as well as development builds. baldurk 2018-07-13 15:43:46 +01:00
  • 7b8380cba7 Print out GL chunk value if it's unexpected baldurk 2018-07-13 15:34:01 +01:00
  • 10b82e6255 Fix possible race condition with capture loading baldurk 2018-07-13 13:05:32 +01:00
  • 71c104761a Fix sRGB handling on GLES baldurk 2018-07-12 15:53:12 +01:00
  • e8e7aea693 Fix off-by-one character error in immediate mode GL text rendering baldurk 2018-07-12 15:32:29 +01:00
  • b0378e9858 Don't try and fetch fbconfig for NULL context in glXMakeCurrent baldurk 2018-07-12 15:30:16 +01:00
  • 64006a856c Register library hook even if callback is NULL. Refs #1040 baldurk 2018-07-12 15:17:51 +01:00
  • fd5612e30a Change RENDERDOC_HOOK_EGL to a runtime option on an env var baldurk 2018-07-12 14:05:52 +01:00
  • 7670c125c0 Fix EGL order-of-operations on windows baldurk 2018-07-12 13:48:29 +01:00
  • ec81a0329a Fix original pointers not being fetched for modules fetched last-minute baldurk 2018-07-12 13:31:13 +01:00
  • 15bb970dd9 Don't try to create indirect draw buffer while structured exporting baldurk 2018-07-12 13:30:32 +01:00
  • ba78e08394 Fix crash if VkImportMemoryWin32HandleInfoKHR::name is NULL baldurk 2018-07-12 13:30:15 +01:00
  • 57f2cabc9b Initialize device properties that might not all be filled out to 0 baldurk 2018-07-12 13:29:58 +01:00
  • d72cfa58c7 Ensure we unwrap pNext chain on replay in vkQueueSubmit baldurk 2018-07-12 13:29:37 +01:00
  • 85cddfff07 Fix display calculation overflowing for large scrollbars baldurk 2018-07-12 13:29:23 +01:00
  • 3c7287cead Set driver for hooks earlier on WGL baldurk 2018-07-11 19:32:07 +01:00
  • b955ef0b52 Support a NULL window for functions that only need it for dialogs baldurk 2018-07-11 16:03:37 +01:00
  • 64c6c1affc Check for eglQueryString returning NULL baldurk 2018-07-11 14:58:48 +01:00
  • 504ebe5a1a Fill in compute shader inputs (thread/group ID variants). Refs #1038 baldurk 2018-07-10 14:48:32 +01:00
  • e50c6436a2 Fix crash if debugging pixel shader without EvaluateAt* operations baldurk 2018-07-10 14:48:19 +01:00
  • ac4bd2c6a2 Add GL ES on windows to supported APIs in readme baldurk 2018-07-09 17:03:47 +01:00
  • e976c0621f Linux compile fix baldurk 2018-07-09 16:53:59 +01:00
  • b00f62b976 Remove MaxImageAttachments on RP/FB, dynamically size. Closes #1033 baldurk 2018-07-09 16:26:03 +01:00
  • 650a80db47 When searching start at selected not current event. Closes #1030 baldurk 2018-07-09 16:19:05 +01:00
  • 3b05409eff Re-use glClear bitfield stringise for glBlitFramebuffer baldurk 2018-07-09 16:16:37 +01:00
  • 83355c521e Don't specify cache as derived resource if it's non-existant baldurk 2018-07-09 16:16:14 +01:00
  • 3acb726ed1 Specify the right texture target creating backbuffer depth/stencil baldurk 2018-07-09 16:15:59 +01:00
  • ad4f3ac864 Fix error message for unhandled format in GetByteSize baldurk 2018-07-09 15:48:25 +01:00
  • 1c510cb3a3 Don't crash if RemoteHost hostname is empty or short baldurk 2018-07-09 15:22:26 +01:00
  • 8c93750b00 Fix crash if texture tabs were open when restoring state. baldurk 2018-07-09 15:18:24 +01:00
  • 45a36c52e1 Limit recursion depth for IsUnmodified check baldurk 2018-07-09 15:03:39 +01:00
  • e334c805f8 Keep going after finding a specialization constant match baldurk 2018-07-09 15:01:29 +01:00
  • 7ca23e7a87 Set all mips to valid when GenerateMipMaps is called baldurk 2018-07-09 14:35:21 +01:00
  • 30c8f01a25 Handle implementations on capture without ARB_vertex_binding baldurk 2018-07-09 14:14:29 +01:00
  • eff35de81b Handle case where an implementation can't readback 'native' format/type baldurk 2018-07-09 13:18:50 +01:00
  • f2a2710823 save 'type' parameter as hint to internalformat baldurk 2018-07-09 13:18:01 +01:00
  • 14cb449886 Support EGL_ANGLE_surface_orientation flipped backbuffers baldurk 2018-07-09 09:59:45 +01:00
  • 00985986d1 Implement missing stub on apple baldurk 2018-07-07 01:13:01 +01:00
  • 4e57f295b7 Disable GLES support on mac baldurk 2018-07-07 00:38:14 +01:00
  • ff61bf8def Fix case when GLES is enabled but GL is disabled on linux, or vice-versa baldurk 2018-07-06 23:56:52 +01:00
  • e5f6b24696 Declare proper calling convention for EGL hooks baldurk 2018-07-06 23:55:37 +01:00
  • c49888424f Disable GLES compilation for docs build baldurk 2018-07-06 23:55:12 +01:00
  • eeeba59058 Remove unnecessary GL/EGL link in qrenderdoc baldurk 2018-07-06 23:55:02 +01:00
  • 1665495289 ARB_viewport_array was not made core in GLES 3.2 baldurk 2018-07-06 22:04:02 +01:00
  • 4040429fba Remove unnecessary link against libGL/libEGL in renderdoccmd baldurk 2018-07-06 20:53:34 +01:00
  • a53797fc51 Remap EGLSurface back to native window pointer baldurk 2018-07-06 20:42:55 +01:00
  • 296f84fb7e Change GL text rendering to be compatible with a wider set of versions baldurk 2018-07-06 19:38:02 +01:00
  • 08616c9ad1 Emulate ARB_program_interface_query using glslang's reflection baldurk 2018-07-06 17:09:11 +01:00
  • f00832f2f9 Fix vulkan shutdown crash, destroy GPUBuffer before device/instance baldurk 2018-07-06 16:44:20 +01:00
  • 178f61abd0 Separate out function to make shared context for vendor checks baldurk 2018-07-06 13:01:38 +01:00
  • 44f9b08e71 Tweak some core versions for extensions baldurk 2018-07-06 11:56:47 +01:00
  • 4bf028371d Check for geometry shaders before querying if framebuffer is layered baldurk 2018-07-06 11:55:15 +01:00
  • 5b0f51f9d9 Check extension for use of TEXTURE_BORDER_COLOR baldurk 2018-07-06 11:54:22 +01:00
  • 89a3da2171 Check for ARB_texture_multisample being available baldurk 2018-07-06 11:13:10 +01:00
  • 3794d3facc Emulate glGetTexLevelParameter on GLES baldurk 2018-07-05 17:55:02 +01:00
  • 20273c3854 Ensure that glBlitFramebuffer for internal copies has correct state baldurk 2018-07-05 17:53:04 +01:00
  • 3327b1f3e1 Don't set texture data when unbinding texture (name = 0) baldurk 2018-07-05 15:23:59 +01:00
  • b3eeadd256 Check for EXT_texture_sRGB_decode before using enums baldurk 2018-07-05 15:23:40 +01:00
  • 6f39bfd563 When capturing, only serialise current state after updating context baldurk 2018-07-05 12:59:14 +01:00
  • a1f21696fa Don't try to release empty/NULL GL resources baldurk 2018-07-05 12:58:26 +01:00
  • 031d8fd0e5 Enable GLES by default on linux, and display API/winsys status in cmake baldurk 2018-07-05 12:00:48 +01:00
  • d0ca83bf6c Support creating OpenGL ES contexts via WGL/GLX. Closes #1009 baldurk 2018-07-04 18:54:46 +01:00
  • 4299c29c8b Print message when registering library hooks baldurk 2018-07-04 16:00:12 +01:00
  • 9999ec25b8 Remove temporary compatibility hook helpers baldurk 2018-07-04 16:01:08 +01:00
  • a504389bd1 Add new cleaned up GL hooks baldurk 2018-07-04 17:10:44 +01:00
  • ee853f7f33 Move CheckConstParam into common code baldurk 2018-07-04 16:25:48 +01:00
  • 426a6cf3ac Add a log print when a new context is created baldurk 2018-07-04 16:21:43 +01:00
  • d9f439fbbe Add python script to replace bash/perl scripts generating GL hooks baldurk 2018-07-04 15:54:32 +01:00
  • 28ec4e4fb8 Remove bool returns from GL hook functions that cannot meaningfully fail baldurk 2018-06-26 14:20:28 +01:00
  • c70c116bd7 Refactor hooks towards more unified/clean approach baldurk 2018-06-26 13:54:02 +01:00
  • edd6ab4faa Hook initialisation can't fail, because it's just a registration baldurk 2018-06-26 12:54:31 +01:00
  • 6a30e63a46 LibraryHook classes self-register, without library name baldurk 2018-06-26 12:29:37 +01:00
  • 9ecad14932 Provide default implementation for LibraryHook::OptionsUpdated baldurk 2018-06-26 12:19:21 +01:00
  • 75623b4487 Clean up D3D/DXGI hooks. Reduce duplication and separate replay code baldurk 2018-06-26 12:14:46 +01:00
  • b47ce7d413 Remove the ability to enable/disable hooks baldurk 2018-06-26 11:49:33 +01:00
  • 73e1f7e770 Refactor GL hookset to only a single shared hookset baldurk 2018-06-29 16:50:56 +01:00
  • f849952ce9 Move global GL lock into common code baldurk 2018-06-29 14:00:01 +01:00
  • a7509dadb6 Remove Pre/Post Init/Shutdown of counters. Inline into normal flow baldurk 2018-06-29 13:55:29 +01:00
  • 152ebc2e2e Add handling for D3D12.1 - D3D12.3 interface UUIDs in queries baldurk 2018-07-05 11:39:37 +01:00
  • 02f3196935 Support integer and 16/32-bit alpha/intensity/luminance textures baldurk 2018-07-05 11:38:00 +01:00
  • 06d14ff62b Define safe comparisons for python bindings baldurk 2018-07-05 11:01:32 +01:00
  • b873728d49 Copy trailing null byte to keep GCC warnings happy. Closes #1028 baldurk 2018-07-04 17:45:55 +01:00
  • b8e3fe5f31 Don't unnecessarily require indexed functions - check for extensions baldurk 2018-07-03 15:25:43 +01:00
  • 96d53c162c Prefer glFramebufferTexture2D over glFramebufferTexture baldurk 2018-07-03 15:23:21 +01:00
  • ff619c8014 Ensure that vendor checks don't pollute global state baldurk 2018-07-03 15:24:39 +01:00
  • edbfdfb779 Ensure that local EGL headers include our platform headers, not system baldurk 2018-06-29 17:10:07 +01:00
  • 573ab82fbf Match varying names in case some GL driver doesn't link by location baldurk 2018-07-03 14:31:05 +01:00
  • 487ac04d83 When generating GLES shaders without uniforms, declare precision baldurk 2018-07-03 15:17:27 +01:00
  • 5477b289ac Only warn if glBindFragDataLocation is not supported baldurk 2018-07-03 15:27:06 +01:00
  • db551cd23d Fix missing apply of blend state when indexed blending is not available baldurk 2018-07-03 15:27:23 +01:00
  • dcfe93d5c6 EXT_draw_buffers2 equivalent isn't available until GLES 3.2 baldurk 2018-07-03 17:58:27 +01:00
  • 9c9e61a95e Remove unused this in lambdas of ShaderViewer Dzmitry MalyshauandBaldur Karlsson 2018-07-03 16:06:18 -04:00
  • 6e8218d0e0 When applying render state, don't assume UAVStartSlot == NumRTVs baldurk 2018-06-28 18:24:31 +01:00
  • 08e7eecd3b Cache EvaluateAttribute* per-sample data for debugging. Closes #1025 baldurk 2018-06-28 17:50:59 +01:00
  • 56c55da9f5 Bypass wrapper for a couple of buffer operations baldurk 2018-06-28 16:38:48 +01:00
  • bcafe108f6 Make it clear that GL 3.2 and up are supported baldurk 2018-06-28 16:30:19 +01:00