Commit Graph
347 Commits
Author SHA1 Message Date
The Dax 3239e27e84 Update GE_TEXMAP_ENVIRONMENT_MAP in Direct3D9 so it matches OpenGL's behaviour.
Improves the car colours in Outrun 2006, but like OpenGL, it's still got some areas with the wrong blue hue.
2015-02-17 02:17:24 -05:00
Henrik Rydgard 2df04bab3b Oops, fix mistake in spline drawing 2015-01-29 16:30:52 +01:00
Henrik Rydgard 3801062f76 Oops, forgot one in D3D 2015-01-29 16:06:02 +01:00
Henrik Rydgard 033798c796 Expand spline data into a separate buffer. Prevent overflowing it by reducing the size of spline draws if necessary (but shouldn't really happen).
Might help #7386
2015-01-29 16:04:00 +01:00
Unknown W. Brackets 0d9e0b16dd Fix textures leaking on game exit. 2015-01-24 20:36:01 -08:00
Luna 1c3903504b Remove leftovers 2015-01-23 16:48:50 +01:00
Luna ff9d33d2a7 Move the hack to FramebufferCommon.cpp and rename. 2015-01-23 10:40:49 +01:00
Luna 722d34e09a Add Bloom Effect Smoothing hack 2015-01-23 02:08:20 +01:00
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 9c64351578 Revert "Fix issues with scaling ARGB1555 textures in OpenGL, introduced by the recent merge"
This reverts commit 08eaa6e1f7.
2015-01-22 19:52:49 +01:00
Henrik Rydgard 08eaa6e1f7 Fix issues with scaling ARGB1555 textures in OpenGL, introduced by the recent merge 2015-01-20 22:48:39 +01:00
Henrik Rydgard 7faddd6100 Consolidate the two TextureScaler copies into one.
Also lets us clean up ColorConv slightly.
2015-01-20 17:32:55 +01:00
Henrik Rydgard 2623a48b4a Centralize color conversion functions in Common/ColorConv. 2015-01-20 17:32:54 +01:00
Unknown W. Brackets d1b3dcffd8 Fix another potential divide by zero. 2015-01-19 08:45:19 -08: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
Unknown W. Brackets 795088001c Avoid passing a GPUstate by value.
Only used by Qt GE debugger thing anyway.
2015-01-17 18:21:04 -08:00
Henrik Rydgard c2500744e1 D3D9 rectangle rendering fix (maxindex) 2015-01-15 23:58:07 +01:00
Unknown W. Brackets d663cda2de Transform rects using indices.
Not a hge difference.  Minor cleanup.
2015-01-15 12:26:35 -08:00
Henrik Rydgard df62bc42b7 D3D shader generator: Fix an issue with 4x3 vs 4x4 matrices that caused warnings to be reported (I think).
Make the GL code for this case (skinning without normal) more similar.
2015-01-12 20:37:33 +01: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
Henrik Rydgard 3d8e30e4c7 Fix #6898 - buttons could disappear in non-buffered rendering 2015-01-04 18:00:59 +01:00
Unknown W. Brackets a2385b5840 dx9: Only use anisotropic when filter was linear. 2014-12-30 15:28:55 -08:00
Unknown W. Brackets c37d41c88c Assert state on first frame.
This won't matter much for games, but makes tests run more sanely.
2014-12-30 15:26:16 -08: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 2a1279b521 dx9: Don't force alpha to 1.
This was removed from GLES also.  Depal ends up using this shader for
flipped blits, and it screws up alpha.
2014-12-30 13:18:36 -08:00
Henrik Rydgård f74add91e2 Merge pull request #7202 from unknownbrackets/cpu-thread
Allow switching cpu thread on/off ingame
2014-12-24 19:15:51 +01:00
Henrik Rydgård 3706414454 Merge pull request #7209 from unknownbrackets/texcache
Avoid killing textures unless we have several mb
2014-12-22 09:42:30 +01:00
Unknown W. Brackets d097999fad Avoid killing textures unless we have several mb. 2014-12-21 17:00:55 -08:00
Henrik Rydgard eaa1f0c23d Port over the fog NaN/inf fixes from OpenGL to Direct3D. Fixes skies in Outrun and probably a few other things 2014-12-22 00:48:16 +01:00
Unknown W. Brackets 8900f17f99 dx9: Correct half-pixel offset.
This fixes the pixel of blank space at the top, and the gpu/commands/basic
test.
2014-12-21 10:37:35 -08:00
Unknown W. Brackets b9e78dab9c dx9: Small optimization to viewport scaling. 2014-12-21 10:35:04 -08:00
Unknown W. Brackets 0a6a70f53f Allow switching cpu thread on/off ingame. 2014-12-20 17:39:42 -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
Unknown W. Brackets d0dd2cbb31 dx9: Fix a crash on textures used as RT.
We don't always have a texture pointer.
2014-12-18 22:51:46 -08:00
Unknown W. Brackets 0fc311a319 dx9: Compensate for viewport w/h adjustments.
Fixes text in Final Fantasy 4, world map in Star Ocean, etc.
2014-12-18 22:24:47 -08:00
xebra 1a6102178c [spline/bezier]Remove unnecessary initialization of array. 2014-12-16 22:30:06 +09:00
xebra 51afbdd490 [spline/bezier]Fix the remains of differences between dx9 and opengl. 2014-12-16 22:27:45 +09:00
Henrik Rydgard e2d2950865 Add a sanity check for shader linking, active in debug mode 2014-12-14 20:17:29 +01:00
Unknown W. Brackets 31ba44bc5d dx9: Clean up some differences in spline code.
Hmm, the spell effects look wrong.  Maybe a separate bug.
2014-12-14 09:26:12 -08:00
Unknown W. Brackets 74aec01d0f dx9: Fix splines and beziers in Direct3D.
Fixes #7181.
2014-12-14 09:26:12 -08:00
xebra 43e3028add [spline/bezier]Writing vertices to the buffer directly. 2014-12-14 01:08:00 +09:00
Henrik Rydgard a6eb4c7e73 Warning fix 2014-11-25 23:57:11 +01:00
Unknown W. Brackets 416182b4ba Update to xBRZ 1.1.
Keeping the channel swap stuff and other changes, though.
2014-11-02 14:17:24 -08:00
Henrik Rydgard 3377db4910 D3D: Reduce logspam 2014-10-31 00:18:40 +01:00
Henrik Rydgard 0df4afce67 Didn't mean to keep this check. 2014-10-30 01:04:08 +01:00
Henrik Rydgard 1fe2af3421 Fix D3D NFSU crash #7030 in a cleaner way than #7033 :) 2014-10-29 23:51:23 +01:00