1. 04 Mar, 2021 1 commit
    • ameerj's avatar
      renderer_opengl: Swizzle BGR textures on copy · 0639244d
      ameerj authored
      OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped.
      
      This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.
      0639244d
  2. 03 Mar, 2021 2 commits
  3. 02 Mar, 2021 4 commits
  4. 01 Mar, 2021 3 commits
  5. 28 Feb, 2021 4 commits
    • comex's avatar
      [network] Error handling reform · 2910aa77
      comex authored
      `network.cpp` has several error paths which either:
      - report "Unhandled host socket error=n" and return `SUCCESS`, or
      - switch on a few possible errors, log them, and translate them to
        Errno; the same switch statement is copied and pasted in multiple
        places in the code
      
      Convert these paths to use a helper function `GetAndLogLastError`, which
      is roughly the equivalent of one of the switch statements, but:
      - handling more cases (both ones that were already in `Errno`, and a few
        more I added), and
      - using OS functions to convert the error to a string when logging, so
        it'll describe the error even if it's not one of the ones in the
        switch statement.
        - To handle this, refactor the logic in `GetLastErrorMsg` to expose a
          new function `NativeErrorToString` which takes the error number
          explicitly as an argument.  And improve the Windows version a bit.
      
      Also, add a test which exercises two random error paths.
      2910aa77
    • bunnei's avatar
      Merge pull request #6007 from bunnei/ldn-error · 9e9341f4
      bunnei authored
      core: hle: ldn: Error out on call to Initialization.
      9e9341f4
    • Morph's avatar
      Merge pull request #5276 from german77/gestures · ee9ebeeb
      Morph authored
      HID: Implement gestures
      ee9ebeeb
    • german's avatar
      e895ab7d
  6. 27 Feb, 2021 4 commits
  7. 26 Feb, 2021 1 commit
  8. 25 Feb, 2021 1 commit
  9. 24 Feb, 2021 1 commit
  10. 23 Feb, 2021 2 commits
    • Jan Beich's avatar
      video_core: add missing header after 468bd9c1 · 1841ca4b
      Jan Beich authored
      src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkShaderComplete()':
      src/video_core/shader_notify.cpp:33:10: error: 'unique_lock' is not a member of 'std'
         33 |     std::unique_lock lock{mutex};
            |          ^~~~~~~~~~~
      src/video_core/shader_notify.cpp:6:1: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
          5 | #include "video_core/shader_notify.h"
        +++ |+#include <mutex>
          6 |
      src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkSharderBuilding()':
      src/video_core/shader_notify.cpp:38:10: error: 'unique_lock' is not a member of 'std'
         38 |     std::unique_lock lock{mutex};
            |          ^~~~~~~~~~~
      src/video_core/shader_notify.cpp:38:10: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
      1841ca4b
    • Jan Beich's avatar
      common: add missing header after f3805376 · 71526ecf
      Jan Beich authored
      In file included from src/video_core/dma_pusher.cpp:5:
      src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
         69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
            |                                               ^~~~~~
      src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
         73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
            |                                                       ^~~~~~
      src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
         77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
            |                                                        ^~~~~~
      src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
         80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
            |                                               ^~~~~~
      src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
         84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
            |                                                       ^~~~~~
      71526ecf
  11. 22 Feb, 2021 3 commits
  12. 21 Feb, 2021 5 commits
  13. 20 Feb, 2021 3 commits
  14. 19 Feb, 2021 6 commits