Unknown W. Brackets
|
3a7edd8cac
|
Switch viewport overage to the new world of sanity.
|
2015-11-02 20:11:58 +01:00 |
|
Henrik Rydgard
|
099f62b503
|
Fix some typos in D3D9 blits (removed parameter).
Add some missing projection matrix flips (flipped viewport emulation)
Fix issue with DrawPixels in non-buffered in D3D9
|
2015-11-02 20:11:48 +01:00 |
|
Henrik Rydgard
|
14652f0650
|
Make some optional arguments non-optional.
|
2015-11-02 20:10:29 +01:00 |
|
Henrik Rydgard
|
6b2862284b
|
Minor cleanups
|
2015-11-02 20:09:59 +01:00 |
|
Henrik Rydgard
|
0266211b88
|
Two wrongs can appently make a right. Remove an inadvertent flip, add flips where we actually need them.
|
2015-11-02 20:09:24 +01:00 |
|
Henrik Rydgard
|
86bfce4006
|
Remove more obsolete v-flip support
|
2015-11-02 20:09:12 +01:00 |
|
Henrik Rydgard
|
069a7b0d2f
|
Move the viewport to the right place.
|
2015-11-02 20:08:00 +01:00 |
|
Henrik Rydgard
|
f4248cb550
|
Remove a whole lot of flipping special cases
|
2015-11-02 20:07:30 +01:00 |
|
LunaMoo
|
526d0b04b9
|
Add video fix in non buffered mode for D3D backend as well.
|
2015-10-31 21:07:53 +01:00 |
|
LunaMoo
|
ae1cf1d85d
|
Add Display layout editor to use for example on tablets, but also includes automatic screen cropping for 16:9 cases(default).
//Rebased & removed atlas stuff which was added with #8096
//squashed with some improvements
|
2015-10-31 20:50:02 +01:00 |
|
Unknown W. Brackets
|
6b905e8e18
|
d3d9: Remove the old shader id gen.
|
2015-10-24 21:26:40 -07:00 |
|
Henrik Rydgard
|
838e53f482
|
Delete disabled code to use built-in alpha test on DX9.
|
2015-10-25 01:26:38 +02:00 |
|
Henrik Rydgard
|
85229efef4
|
D3D9: Generate shaders directly from shader IDs, just like we do in GL.
|
2015-10-25 00:34:23 +02:00 |
|
Henrik Rydgard
|
edafa9bc17
|
Centralize the GPU state conversion functions
|
2015-10-24 23:49:05 +02:00 |
|
Henrik Rydgard
|
92389a4966
|
Use a common ShaderId class. Start moving shader ID code to GPU/Common
|
2015-10-24 23:24:06 +02:00 |
|
Henrik Rydgard
|
d3b265a3e4
|
Fix render resolution race condition. Should help #8002
|
2015-09-27 20:00:47 +02:00 |
|
Henrik Rydgard
|
b07b002040
|
Introduce "Compatibility Flags".
These should be used very restrictively, see comment in Compatibility.h.
Should help #8004, by disabling depth rounding in Fight Night round 3.
|
2015-09-27 01:23:20 +02:00 |
|
Henrik Rydgard
|
70cb4372c1
|
Assorted fixes to auto resolution. Fixes too low resolution and also #8002, plus notification spam
|
2015-09-25 19:10:09 +02:00 |
|
Henrik Rydgård
|
eed2f9d9d5
|
Merge pull request #8000 from unknownbrackets/gpu-minor
Allow framebufs to get smaller and affect the offset texture code
|
2015-09-25 09:47:16 +02:00 |
|
Henrik Rydgård
|
d8b43dd9e9
|
Fix #7999
|
2015-09-24 11:22:20 +02:00 |
|
Unknown W. Brackets
|
400b8886e6
|
Use the framebuf->height for offset calculation.
This way if we shrunk the framebuffer, it'll still work.
|
2015-09-23 23:59:39 -07:00 |
|
Henrik Rydgard
|
ec63663ad5
|
More consistent handling of resolution changes. Should help #7995
|
2015-09-23 12:25:38 +02:00 |
|
Henrik Rydgard
|
3232e46c36
|
Make debug build nearly warning free in MSVC 2015
|
2015-09-17 22:02:15 +02:00 |
|
Unknown W. Brackets
|
dff4aeb30f
|
Correct uv bound pointers in arm vertexjit.
|
2015-09-13 14:55:10 -07:00 |
|
Unknown W. Brackets
|
93e9d6cd56
|
Respect framebuffer offset in fb copies.
We need to offset the copy coordinates also, or we'll copy the wrong
thing.
|
2015-09-13 11:35:15 -07:00 |
|
Unknown W. Brackets
|
62de281e35
|
Use texture UV range to optimize framebuf copies.
|
2015-09-13 11:34:52 -07:00 |
|
Unknown W. Brackets
|
f4df7f076e
|
Hash less of 512 tall textures when possible.
This allows xBRZ to work better on such textures, and also may reupload
them less frequently.
|
2015-09-13 11:15:57 -07:00 |
|
Unknown W. Brackets
|
88eea00fe4
|
Add a safety against vertcache breaking uv checks.
|
2015-09-13 11:09:21 -07:00 |
|
Unknown W. Brackets
|
5c233fa545
|
Add initial decoding check for uv bounds.
|
2015-09-13 10:00:33 -07:00 |
|
Unknown W. Brackets
|
52c3fc221b
|
Also split DirectX9's texture cache.
|
2015-09-13 09:36:17 -07:00 |
|
Unknown W. Brackets
|
a3078a6ae1
|
Move late state apply after sw transform decode.
Need this so ApplyDrawStateLate() can use data from the decode.
|
2015-09-13 06:53:55 -07:00 |
|
Unknown W. Brackets
|
5360422310
|
Defer bind of shader blend copy until after verts.
|
2015-09-13 06:52:47 -07:00 |
|
Unknown W. Brackets
|
71afaffc20
|
Pack texture cache entries just a bit tighter.
|
2015-09-13 06:43:47 -07:00 |
|
Unknown W. Brackets
|
7d63a10fdd
|
Centralize texture cache entry structures.
|
2015-09-13 06:43:37 -07:00 |
|
Unknown W. Brackets
|
e1df8fc45f
|
Centralize sampling params and test optimizations.
|
2015-09-13 06:38:07 -07:00 |
|
Unknown W. Brackets
|
85533dad6e
|
Native merge part 2: update build files.
And a couple minor stragglers.
|
2015-09-06 13:06:57 -07:00 |
|
Henrik Rydgard
|
d822cbf60b
|
Move fbo.cpp/h from native into PPSSPP
|
2015-09-06 13:13:37 +02:00 |
|
Henrik Rydgard
|
72ae497350
|
Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP.
|
2015-09-06 12:42:15 +02:00 |
|
Henrik Rydgard
|
186d624ef3
|
Cleanup of FBO+blit flags. Requires the change in native to stop lying.
|
2015-09-05 22:40:45 +02:00 |
|
Henrik Rydgard
|
86a02fed61
|
Minor cleanup
|
2015-09-05 19:42:58 +02:00 |
|
Henrik Rydgard
|
08b340f423
|
More D3D hackery: Take inverted Z in proj matrix into account.
Also, *2 breaks it for no good reason so don't do that.
|
2015-08-30 22:45:24 +02:00 |
|
Henrik Rydgard
|
488c62e534
|
This makes slightly more sense than the last commit.
|
2015-08-29 20:38:19 +02:00 |
|
Henrik Rydgard
|
7b0a31ade5
|
Adjust D3D depth calculations to get them to match OpenGL as close as I can get it.
|
2015-08-29 17:43:09 +02:00 |
|
Henrik Rydgard
|
76eacf32f4
|
Change the offset to 0.0
|
2015-08-27 18:02:45 +02:00 |
|
Henrik Rydgard
|
2b7d08e3af
|
Also apply the GT fix in D3D, doh
|
2015-08-27 18:01:00 +02:00 |
|
Henrik Rydgard
|
bf6aef44cd
|
Oops, didn't finish the D3D code
|
2015-08-26 17:45:21 +02:00 |
|
Henrik Rydgard
|
d89da71057
|
Get rid of a division in the vertex shader by precomputing the inverse.
|
2015-08-26 17:40:06 +02:00 |
|
Henrik Rydgard
|
44ce0c8dee
|
Implement vertex shader depth rounding in DX9
|
2015-08-26 16:07:40 +02:00 |
|
Henrik Rydgard
|
1e8a1b801f
|
Rename viewportX1/X2 etc to scale + center, which is what they actually are.
|
2015-08-26 15:24:35 +02:00 |
|
Henrik Rydgard
|
29fc9e81a4
|
Use the gstate.getViewport* accessors.
|
2015-08-26 15:24:35 +02:00 |
|