Commit Graph

14515 Commits

Author SHA1 Message Date
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
Henrik Rydgård
bdaabfe2f7 Merge pull request #6901 from unknownbrackets/gpu-convergence
Fix some issues with framebuffer sizing
2014-09-13 22:49:34 +02: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
Henrik Rydgard
9734fd1c1a Turn off scissor when rendering controls overlay 2014-09-13 21:52:10 +02:00
Unknown W. Brackets
4909122660 d3d: Flip viewport y within the top of the fb.
Fixes issues when the framebuffer is larger than the current render
target.
2014-09-13 12:37:19 -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
5a0f646916 Merge pull request #6900 from hrydgard/gpu-convergence-2
Gpu convergence 2 - break out much of the Spline code into GPU/Common, fixes some minor things
2014-09-13 12:06:35 -07:00
Henrik Rydgård
a6767e4bcf Merge pull request #6899 from unknownbrackets/gpu-convergence
d3d: Set texture only when enabled
2014-09-13 21:00:56 +02:00
Henrik Rydgard
db486f41e8 Only show the graphics API on the title screen in Windows 2014-09-13 20:56:25 +02:00
Henrik Rydgard
0818d8ea8d dx9: More execute functions 2014-09-13 20:55:29 +02:00
Unknown W. Brackets
36a49917d2 d3d: Set texture only when enabled.
This allows optimizations that were applied to the cmd flags.
2014-09-13 11:55:01 -07:00
Unknown W. Brackets
e6f1ca6582 d3d: Correct framebuffer sizing issues. 2014-09-13 10:34:45 -07:00
Henrik Rydgard
21545e31c6 More convergence (tex stuff) 2014-09-13 17:20:55 +02:00
Henrik Rydgård
7dcb84735a Merge pull request #6897 from sum2012/Android-build
Do not need to ask directory when build Android
2014-09-13 17:11:50 +02:00
sum2012
c6516e277f Do not need to ask directory when build Android 2014-09-13 22:48:28 +08:00
Henrik Rydgard
a4ae0f951a Move spline generation to SplineCommon, make SplineDX9.cpp identical to Spline.cpp (merge later somehow) 2014-09-13 15:13:34 +02:00
Henrik Rydgård
31ce0e7eb1 Merge pull request #6896 from hrydgard/gpu-convergence
GPU Convergence - more work on bringing the D3D and GL backends closer
2014-09-13 14:18:36 +02:00
Henrik Rydgard
2f569533f3 Fix burnout depth issue by dirtying the proj matrix on viewport change 2014-09-13 14:08:07 +02:00
Henrik Rydgard
63e3e95d58 Replace the DX9 software transform code with the new common one 2014-09-13 13:53:04 +02:00
Henrik Rydgard
19a9c4481f Move GLES' SoftwareTransform to Common 2014-09-13 13:27:42 +02:00
Henrik Rydgard
4212bbb51e Cleanup SoftwareTransform a bit more 2014-09-13 13:15:18 +02:00
Henrik Rydgard
ca3ed34b44 Move most GL code out of GLES/SoftwareTransform.cpp 2014-09-13 13:03:37 +02:00
Henrik Rydgard
b4690b23d6 Make D3D TransformDrawEngine more similar to GL 2014-09-13 12:27:20 +02:00
Henrik Rydgard
9b587bb144 Make the D3D backend cmd processing work more similar to the GL backend 2014-09-13 12:11:34 +02:00
The Dax
7a1be69ec0 Win32: Change --gfx to --graphics (and its suboptions) to be consistent with Headless.
Also, software force-activates OpenGL mode, since it does not work with Direct3D currently.
Thanks to @unknownbrackets for the suggestions.
2014-09-13 01:49:05 -04:00
Unknown W. Brackets
a892779f89 Merge pull request #6880 from daniel229/func_replace_sakurasou
Replace frame download in Sakurasou No Pet Na Kanojo

Conflicts:
	Core/HLE/ReplaceTables.cpp
2014-09-12 22:28:27 -07:00
daniel229
5f4a95cdd5 Update as unknown's suggestion 2014-09-13 10:21:00 +08:00
The Dax
e7a2225669 Update lang.
It's been a while.
2014-09-12 21:12:04 -04:00
Henrik Rydgard
010cf68545 If OpenGL is not supported properly on Windows, switch to D3D automatically.
Needs some lang work and probably better wording.
2014-09-13 02:46:27 +02:00
Henrik Rydgård
405f67fbef Merge pull request #6870 from hrydgard/vtxdec-centralize
Centralize the vertex decoder
2014-09-13 01:03:22 +02:00
Henrik Rydgard
c25815b904 DX9: Must turn off vertex caching for software skinned draws 2014-09-13 01:02:47 +02:00
Henrik Rydgård
2580fc625c Merge pull request #6885 from unknownbrackets/replace-funcs
Move a couple funcs replacements outside of loops
2014-09-12 23:20:13 +02:00
Henrik Rydgård
a323778dde Merge pull request #6889 from thedax/gpuBackendOption
Win32: Add a command-line argument to pick the GPU backend.
2014-09-12 23:19:50 +02:00
The Dax
1caaa59adf Small styling fixes. 2014-09-12 16:58:05 -04:00
The Dax
5fa929bbba Win32: Add a command-line argument to pick the GPU backend. 2014-09-12 16:16:37 -04:00
Unknown W. Brackets
c288a52975 d3d: Oops, fix dumb CheckAlpha() mistake. 2014-09-12 08:12:16 -07:00
Henrik Rydgård
60feb52e76 Merge pull request #6886 from unknownbrackets/d3d9
d3d: Fix CheckAlpha() for 16-bit formats
2014-09-12 15:41:18 +02:00
Henrik Rydgård
78e5291a3d Merge pull request #6887 from unknownbrackets/vtxdec-centralize
d3d: Fix switching between rendering modes
2014-09-12 09:12:59 +02:00
Unknown W. Brackets
ca33ddd4db d3d: Fix some missing Releases() in debug code. 2014-09-11 23:52:06 -07:00
Unknown W. Brackets
77cd49622b d3d: Fix switching between rendering modes. 2014-09-11 23:30:42 -07:00
Unknown W. Brackets
6ae6d53bd7 d3d: Fix CheckAlpha() for 16-bit formats.
Not reversed in d3d, unlike gles.  Fixes #6883.
2014-09-11 22:59:33 -07:00
Unknown W. Brackets
4bad83b12b Move a couple funcs outside of loops.
Will cut down on the performance hit.
2014-09-11 22:56:53 -07:00
Henrik Rydgard
e75551d5cd D3D vtxdec: Fix nrm stuff 2014-09-12 02:00:35 +02:00
Henrik Rydgard
38b803aba4 DX9: Enable vtxdec JIT, buildfix 2014-09-12 02:00:34 +02:00