Commit Graph
80 Commits
Author SHA1 Message Date
Henrik Rydgard cae58cafee Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
This reverts commit f1b57dabf5, reversing
changes made to 41001637ce.
2015-01-22 19:53:32 +01:00
Henrik Rydgard 2623a48b4a Centralize color conversion functions in Common/ColorConv. 2015-01-20 17:32:54 +01:00
Unknown W. Brackets 0d6c002cb0 Fix a very unlikely sign extend glitch. 2015-01-19 08:41:53 -08:00
Unknown W. Brackets ee1085b060 Oops, deleted too early. 2015-01-18 13:18:17 -08:00
Unknown W. Brackets 3fcf695159 Fix an unlikely leak on error. 2015-01-17 18:45:03 -08:00
Henrik Rydgard a4a95c9b4b D3D9: Restore accidentally-commented-out blit functionality 2015-01-06 13:00:03 +01:00
Henrik Rydgard a9b010b0cd Add a basic debug console UI to the devmenu that shows some log scrollback and has a little command line.
Useful for debugging on non-Windows in the future. For now non-mobile only (although may lift that restriction later)
2015-01-05 01:25:23 +01:00
Unknown W. Brackets 46717fa266 dx9: Correct off-by-one to the right on tex upload.
As seen in tests.  But I'm pretty sure we're still off.
2014-12-30 15:25:40 -08:00
Unknown W. Brackets b9e78dab9c dx9: Small optimization to viewport scaling. 2014-12-21 10:35:04 -08:00
Unknown W. Brackets 962d8c5224 dx9: Take screenshots (fixes #7197.) 2014-12-20 08:31:56 -08:00
Unknown W. Brackets 7ce431067b dx9: Correct framebuffer download scaling.
Fixes the menu background in Tales of Phantasia X.
2014-12-18 23:03:19 -08:00
Henrik Rydgard 3377db4910 D3D: Reduce logspam 2014-10-31 00:18:40 +01:00
Unknown W. Brackets 4e50eed85b d3d9: Specify tex stage for binding framebuf color. 2014-09-21 12:11:17 -07:00
Henrik RydgardandUnknown W. Brackets 718d7e291f d3d9: Add BindFramebufferColor(). 2014-09-21 12:05:29 -07:00
Unknown W. Brackets 6d08b363c2 d3d9: Use a half-pixel offset when drawing a tex.
Fixes half pixel offset issues (center of pixels is 0,0 in d3d9, but
texels are at 0.5/w,0.5/h.)
2014-09-20 08:30:30 -07:00
Unknown W. Brackets dc1013ad67 d3d: Add a not-working experiment to blit depth. 2014-09-14 11:54:55 -07:00
Unknown W. Brackets 2c88935755 d3d: Support depth and stencil in the GE debugger.
But, not with our current depth surfaces.
2014-09-14 11:15:37 -07:00
Unknown W. Brackets 71e310aff8 d3d: Initial attempt to upload stencil. 2014-09-14 02:21:41 -07:00
Unknown W. Brackets b0cad8ecac d3d: StretchRect properly at > 1x. 2014-09-14 00:26:35 -07:00
Unknown W. Brackets 26978ad7e0 d3d: Allow blit to self in block transfers/etc. 2014-09-13 22:39:54 -07:00
Unknown W. Brackets 8c4c9e554e d3d: Cache offscreen surfaces. 2014-09-13 22:28:39 -07:00
Unknown W. Brackets ff3c5075fa d3d: Apply a half pixel offset when rendering.
Makes things a lot sharper, although there still seem to be problems.
This makes it so the viewport aligns with pixel edges rather than centers
at whole integers.
2014-09-13 22:08:43 -07:00
Unknown W. Brackets 0d1a529b01 d3d: Fix 4444 framebuffer data upload. 2014-09-13 21:50:38 -07:00
Unknown W. Brackets 95bf3a71dd d3d: Properly cache the DrawPixels tex size. 2014-09-13 21:45:18 -07:00
Unknown W. Brackets abb2ce325c d3d: If possible, use StretchRect() to display.
May be faster, has less half-pixel offset issues.  Still seeing blurriness
problems, but they're better.
2014-09-13 20:31:01 -07:00
Unknown W. Brackets 822c5d9e75 d3d: Use StretchRect() when possible. 2014-09-13 20:08:29 -07:00
Unknown W. Brackets 003aaed9a7 d3d: Dirty the shader when drawing textures. 2014-09-13 20:05:41 -07:00
Unknown W. Brackets 98549aeb51 d3d: Fix download of small sections, oops. 2014-09-13 19:57:49 -07:00
Unknown W. Brackets e4d5eb5d6c d3d: Dynamically size the drawPixelsTex_ like gl. 2014-09-13 19:56:08 -07:00
Unknown W. Brackets 6490a4ef44 d3d: Report errors on download/blit/upload. 2014-09-13 19:21:59 -07:00
Unknown W. Brackets ec4e96b870 d3d: Expliticly bind after fbo_create().
In GLES, this is a tiny call that checks a cache, but it's necessary in
Direct3D 9.
2014-09-13 18:46:59 -07:00
Unknown W. Brackets 2d530a916f d3d: Always download 8888, at least for now. 2014-09-13 18:25:45 -07:00
Unknown W. Brackets ddc9aaa4e8 d3d: Download from the specified region only. 2014-09-13 17:28:05 -07:00
Unknown W. Brackets c17931c179 d3d: Fix flipped y in framebuf blit. 2014-09-13 17:10:57 -07:00
Unknown W. Brackets b9d7ffe484 d3d: Support the Danganronpa hack. 2014-09-13 16:47:23 -07:00
Unknown W. Brackets 1f44bf2396 d3d: Don't flip blits when downloading. 2014-09-13 16:39:31 -07:00
Unknown W. Brackets 7f89723d2b d3d: Initial implementation of framebuf download.
Not working, or not working properly...
2014-09-13 16:37:59 -07:00
Unknown W. Brackets 2463074530 d3d: Converge block transfer logic. 2014-09-13 15:40:55 -07:00
Unknown W. Brackets 971dd5df1e d3d: Unify BlitFramebuffer() as well. 2014-09-13 15:12:59 -07:00
Unknown W. Brackets a4d33d77b7 d3d: Unify ReadFramebufferToMemory() signature. 2014-09-13 15:09:30 -07:00
Unknown W. Brackets f33515723b Move ForgetLastTexture() into DrawPixels(). 2014-09-13 14:58:05 -07:00
Unknown W. Brackets 96b497f955 d3d: Support arbitrary size framebuf uploads. 2014-09-13 14:54:53 -07:00
Unknown W. Brackets b79062339b d3d: Fix colors in UpdateFromMemory(). 2014-09-13 14:53:43 -07:00
Unknown W. Brackets 3dfdddfc5f d3d: Move UpdateFromMemory() to common. 2014-09-13 14:44:18 -07:00
Unknown W. Brackets 9af3befc59 d3d: Add RebindFramebuffer(). 2014-09-13 14:26:39 -07:00
Unknown W. Brackets 6f991a1042 d3d: Add FlushBeforeCopy(). 2014-09-13 14:23:18 -07:00
Unknown W. Brackets dc5afe9b38 d3d: Converge DrawPixels() logic.
This makes render to offset actually work properly.
2014-09-13 13:09:26 -07:00
Unknown W. Brackets de6a168c97 d3d: Flip v correctly when buffer swapping. 2014-09-13 12:21:39 -07:00
Unknown W. Brackets f3dbe526a9 d3d: Support offset rendering. 2014-09-13 12:08:14 -07:00
Unknown W. Brackets ca33ddd4db d3d: Fix some missing Releases() in debug code. 2014-09-11 23:52:06 -07:00