Unknown W. Brackets
4176ee241f
Reuse more code between GPUs for download.
2016-01-04 20:40:07 -08:00
gmvbif
f8f7dadba4
Delete fields from FrameBufferDX9 with the same names as in the FrameBufferCommon
2016-01-02 09:40:47 +03:00
Henrik Rydgard
3acdd4e237
We had two global types called FBO, which is not ok. Fix that.
...
This caused some very strange behaviour in the MSVC debugger when looking at this stuff.
2015-11-14 13:24:51 +01:00
Unknown W. Brackets
5ff3e6a5e7
Avoid polluting glstate in GetTempFBO().
...
Since we do this "late", we might overwrite important settings, such as
stencil, color masks, etc.
This affects both depal and fbo shader blending.
Didn't do it for all ClearBuffer()s, since I'm worried some might be
intentionally resetting state.
2015-11-03 22:37:19 -08:00
Henrik Rydgard
14652f0650
Make some optional arguments non-optional.
2015-11-02 20:10:29 +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
Unknown W. Brackets
62de281e35
Use texture UV range to optimize framebuf copies.
2015-09-13 11:34:52 -07:00
Henrik Rydgard
d822cbf60b
Move fbo.cpp/h from native into PPSSPP
2015-09-06 13:13:37 +02:00
Henrik Rydgard
d26b74d4d6
GPU refactor: Move accesses to gstate out of leaf functions
2015-08-05 01:03:49 +02:00
Unknown W. Brackets
2013034bd6
d3d9: Log better when offscreen surface fails.
...
We're getting reporting that this is happening.
2015-06-21 12:50:02 -07:00
Henrik Rydgard
3f7830743a
Implement basic screen rotation as requested in #297 . Does not work correctly in non-buffered rendering yet.
2015-05-12 21:01:15 +02:00
Unknown W. Brackets
eb98d89fc9
d3d9: clear alpha on switch from 565 buffer.
...
For parity with OpenGL.
2015-04-18 17:39:18 -07:00
Unknown W. Brackets
1dfecbf2b8
d3d: Actually upload the clut texture.
2015-03-01 11:27:28 -08:00
Unknown W. Brackets
962d8c5224
dx9: Take screenshots (fixes #7197.)
2014-12-20 08:31:56 -08:00
Unknown W. Brackets
4e50eed85b
d3d9: Specify tex stage for binding framebuf color.
2014-09-21 12:11:17 -07:00
Henrik Rydgard
718d7e291f
d3d9: Add BindFramebufferColor().
2014-09-21 12:05:29 -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
71e310aff8
d3d: Initial attempt to upload stencil.
2014-09-14 02:21:41 -07:00
Unknown W. Brackets
db4fedcbc0
d3d: Fix a missing include.
2014-09-14 02:01:17 -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
e4d5eb5d6c
d3d: Dynamically size the drawPixelsTex_ like gl.
2014-09-13 19:56:08 -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
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
e2a4a50511
d3d: Centralize framebuf creation/switch logic.
2014-09-09 22:58:43 -07:00
Unknown W. Brackets
ae2e8c5c7c
d3d: Migrate a few more things into common code.
2014-09-09 22:58:11 -07:00
Unknown W. Brackets
8c229e00b4
d3d: Begin centralizing framebuffer management.
2014-09-09 08:12:42 -07:00
Unknown W. Brackets
9af40cb14f
d3d: Update the texture cache to mostly match.
...
Now we can reduce the differences down.
2014-09-09 00:53:01 -07:00
Ced2911
49cc8e7312
[Gpu] Sync with gles
...
Conflicts:
GPU/Directx9/FramebufferDX9.cpp
GPU/Directx9/FramebufferDX9.h
GPU/Directx9/TransformPipelineDX9.cpp
2014-08-24 10:40:16 +02:00
Ced2911
6ee39c9abd
[Gpu] Update
...
Conflicts:
GPU/Directx9/FramebufferDX9.cpp
GPU/Directx9/FramebufferDX9.h
GPU/Directx9/VertexDecoderDX9.cpp
GPU/Directx9/helper/fbo.cpp
2014-08-24 10:29:47 +02:00
Henrik Rydgard
80702109f5
Move gpu vendor detection to native with the rest of the gl init.
...
Also disable vertical layout for mainscreen entirely.
2013-10-16 00:48:44 +02:00
Unknown W. Brackets
f55b6a0dbc
Put the DirectX9 stuff into a namespace.
...
This makes it almost build on Windows, but not quite. Some required files
excluded from build, still.
2013-09-15 08:56:12 -07:00
Henrik Rydgard
cc6681cd0b
Compile Ced's DX9 GPU on Windows. Not hooked up yet.
...
This needs work, has several problems that must be fixed to run on Windows.
Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00