Commit Graph

89 Commits (b893c0abf5710f8e6fddf60843b19898c3643d91)

Author SHA1 Message Date
Connor McLaughlin b893c0abf5 GPU/Software: Fix copies when overlapping and oversized 6 years ago
Connor McLaughlin 1757932b3a GPU: Implement FIFO and timings
This will cause a slight performance loss. I've left some knobs in which
can be tweaked to mitigate this, but the goal is to be compatible with
all games which require them.
6 years ago
Connor McLaughlin 7779a54bc5 GPU: Rename 'Force Progressive Scan' to 'Disable Interlacing'
It affects rendering as well as display/scanout now, after all.
6 years ago
Connor McLaughlin 9e024b7a51 GPU: Handle VRAM wrap-around behavior on scanout 6 years ago
Connor McLaughlin fbfd838e22 GPU: Add pixel aspect ratio option
Can display in 4:3, 16:9, 1:1 ratios.
6 years ago
Connor McLaughlin 3325d2c42c GPU: Add Force NTSC timings option
This option forces NTSC timings for PAL games, causing them to either
run faster (more likely) or smoother (less likely).
6 years ago
Connor McLaughlin c483a78889 GPU: Implement interlaced VRAM fills 6 years ago
Connor McLaughlin 2aecb570c1 GPU: Implement interlaced rendering in hardware backends 6 years ago
Connor McLaughlin 7f5c6f8b4f GPU/HW: Move some flush checks to command time 6 years ago
Connor McLaughlin 48fba47ee6 GPU: Implement skip-drawing-to-active-field for interlaced mode
Currently only in the software renderer.
6 years ago
Connor McLaughlin 643e429ad2
Merge pull request #211 from ggdrt/patch-0
GPU: Fix "Draw To Display Area" debug reporting
6 years ago
Connor McLaughlin 2a6e04988f GPU/HW: Simplify 24-bit scanout and interlacing shader
Has the added bonus of being faster (no downscale copy) and fixes the
edge case where the image is cropped in VRAM.
6 years ago
Albert Liu b27e030059 GPU: Fix "Draw To Display Area" debug reporting 6 years ago
Connor McLaughlin 8439e1c54e GPU: Adjust visible ticks/lines, fix underflow in height 6 years ago
Connor McLaughlin eaf13a1461 GPU: Fix flipped MSB/LSB for single pixel reads 6 years ago
Connor McLaughlin 148279e2f2 GPU: Rewrite CRTC display modeling and overscan handling 6 years ago
Connor McLaughlin e6d5a9d3e4 GPU: Add missing blitter ticks reset to SoftReset() 6 years ago
Connor McLaughlin 54abd37daa GPU: Let the GPU drive DMA transfers for large time slices
Fixes FMV breakage... again.
6 years ago
Connor McLaughlin 452c6e16d1 GPU: Fix blitter ticks not being counted
Fixes Monkey Hero, again...
6 years ago
Connor McLaughlin 40d6be7142 System: Frame pacing improvements 6 years ago
Connor McLaughlin e2e2b573c0 GPU/HW: Move drawing offset to CPU-side
Saves updating the uniform buffer.
6 years ago
Connor McLaughlin 904ab982e6 GPU: Fix crash when fill rectangles are out-of-bounds 6 years ago
Connor McLaughlin d67bcd654c GPU: Prevent emulator locking up when switching between PAL/NTSC mode 6 years ago
Connor McLaughlin f9a298f1b7 GPU: Fix incorrect handling of check mask bit
Fixes boxes in Silent Hill in Software Renderer.
6 years ago
Connor McLaughlin 34f1c644f5 GPU: Update GPUSTAT if raster has passed to the next line
Fixes games which poll GPUSTAT, including The Next Tetris (Europe).
6 years ago
Connor McLaughlin b0b1fd8f1a GPU: Timing for CPU->VRAM transfers
Fixes Monkey Hero, probably others.
6 years ago
Connor McLaughlin 6b9c6d3750 GPU: Add a helper function to determine how many GPU ticks are pending 6 years ago
Connor McLaughlin 7412e78aa1 GPU: Move software copy/fill functions to base class so it can be used as fallback 6 years ago
Connor McLaughlin aa56a59f58 GPU: Make resolution info less spammy 6 years ago
Connor McLaughlin fcc0ae9571 GPU: Implement "Crop Mode" (none, overscan, all borders) 6 years ago
Connor McLaughlin 82eb14efb1 Core: Apply DPI scaling to debug windows 6 years ago
Connor McLaughlin 9148581213 GPU: Narrowing warning fix 6 years ago
Connor McLaughlin c820ddba79 HostInterface: Move throttle and perf stats to System class 6 years ago
Connor McLaughlin 88936463d7 GPU: Toggle vblank timer gate for full frame
Regression from event system. Fixes Ridge Racer.
6 years ago
Connor McLaughlin 1b9609ef61 Implement event-based scheduler instead of lock-step components 6 years ago
Connor McLaughlin 71c1e243fe Remove YBaseLib dependency 6 years ago
Connor McLaughlin c52040434a Core: Linux warning fixes 6 years ago
Connor McLaughlin f5d65448d6 GPU: Improve structure alignment 6 years ago
Connor McLaughlin 8f624afb59 GPU: Fix handling of GP1(09h) 6 years ago
Connor McLaughlin ffe90083d3 GPU: Refactor draw mode setting 6 years ago
Connor McLaughlin df6e079920 GPU: Add a Force Progressive Scan option (disable interlacing) 6 years ago
Connor McLaughlin 8930383c96 GPU: Use start address in computation of drawing_even_line 6 years ago
Connor McLaughlin 9d6d00480c GPU: Implement mask bit handling in software renderer
Still needs implementation in the hardware renderers.
6 years ago
Connor McLaughlin 613e4f4a2a GPU: Set PAL mode on soft reset if region is PAL 6 years ago
Connor McLaughlin 49ab9467df GPU: Set throttle frequency based on mode config 6 years ago
Connor McLaughlin 4e9d5b77f8 GPU: Fix swapped bytes for VRAM->CPU transfers 6 years ago
Connor McLaughlin 49569d29aa GPU: Refactor command execution/VRAM->CPU transfers
Simpler, and handles odd sizes correctly.
6 years ago
Connor McLaughlin 9d66638bce GPU: Handle oversized transfers (wrap around behavior) 6 years ago
Connor McLaughlin 9ea7a8418c GPU: Eliminate temporary buffer when reading back 6 years ago
Connor McLaughlin 7152d54104 GPU: Simplify 480i mode handling in CRTC 6 years ago