Skip to content
Snippets Groups Projects
  1. Mar 30, 2020
  2. Mar 26, 2020
  3. Mar 25, 2020
    • James Rowe's avatar
      Frontend/GPU: Refactor context management · 282adfc7
      James Rowe authored
      Changes the GraphicsContext to be managed by the GPU core. This
      eliminates the need for the frontends to fool around with tricky
      MakeCurrent/DoneCurrent calls that are dependent on the settings (such
      as async gpu option).
      
      This also refactors out the need to use QWidget::fromWindowContainer as
      that caused issues with focus and input handling. Now we use a regular
      QWidget and just access the native windowHandle() directly.
      
      Another change is removing the debug tool setting in FrameMailbox.
      Instead of trying to block the frontend until a new frame is ready, the
      core will now take over presentation and draw directly to the window if
      the renderer detects that its hooked by NSight or RenderDoc
      
      Lastly, since it was in the way, I removed ScopeAcquireWindowContext and
      replaced it with a simple subclass in GraphicsContext that achieves the
      same result
      282adfc7
  4. Feb 26, 2020
  5. Jan 29, 2020
  6. Jan 06, 2020
  7. Jun 03, 2019
  8. May 30, 2019
  9. May 26, 2019
  10. May 21, 2019
  11. May 20, 2019
  12. May 17, 2019
  13. Apr 20, 2019
  14. Apr 17, 2019
  15. Apr 01, 2019
  16. Mar 25, 2019
  17. Mar 15, 2019
  18. Mar 07, 2019
  19. Mar 02, 2019
    • James Rowe's avatar
      Input: Remove global variables from SDL Input · 09ac6638
      James Rowe authored
      Changes the interface as well to remove any unique methods that
      frontends needed to call such as StartJoystickEventHandler by
      conditionally starting the polling thread only if the frontend hasn't
      started it already. Additionally, moves all global state into a single
      SDLState class in order to guarantee that the destructors are called in
      the proper order
      09ac6638
  20. Feb 07, 2019
  21. Jan 21, 2019
  22. Jan 20, 2019
    • James Rowe's avatar
      QT Frontend: Add a Loading screen with progressbar · 08fcf41b
      James Rowe authored
      With shader caches on the horizon, one requirement is to provide visible
      feedback for the progress. The shader cache reportedly takes several
      minutes to load for large caches that were invalidated, and as such we
      should provide a loading screen with progress.
      
      Adds a loading screen widget that will be shown until the first frame of
      the game is swapped. This was chosen in case shader caches are not being
      used, several games still take more than a few seconds to launch and
      could benefit from a loading screen.
      08fcf41b
  23. Dec 18, 2018
    • zhupengfei's avatar
      yuzu, video_core: Screenshot functionality · a2be4930
      zhupengfei authored
      Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
      a2be4930
  24. Nov 21, 2018
  25. Oct 24, 2018
  26. Oct 09, 2018
    • NeatNit's avatar
      implemented touch in Qt and SDL · 4f24343f
      NeatNit authored
      change TouchToPixelPos to return std::pair<int, int>
      
      static_cast (SDL)
      
      various minor style and code improvements
      
      style - PascalCase for function names
      
      made touch events private
      
      const pointer arg in touch events
      
      make TouchToPixelPos a const member function
      
      did I do this right?
      
      braces on barely-multiline if
      
      remove question comment (confirmed in Discord)
      
      fixed consts
      
      remove unused parameter from TouchEndEvent
      
      DRY - High-DPI scaled touch put in separate function
      
      also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom.
      
      implicit conversion from QPoint to QPointF, apparently
      
      I have no idea what const even means but I'll put it here anyway
      
      remove unused or used-once variables
      
      make touch scaling functions const, and put their implementations together
      
      removed unused FingerID parameters
      
      QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit
      
      better DRY in SDL
      
      To do -> TODO(NeatNit)
      
      remove unused include
      4f24343f
Loading