Unknown W. Brackets
d2df54153d
d3d: Fix some issues with the vertex cache.
2014-09-14 13:35:19 -07:00
Unknown W. Brackets
bccb8dfb1e
d3d: Correct render-to-texture effects.
...
Was checking the corners wrong.
2014-09-14 09:37:59 -07:00
Henrik Rydgard
8175c014e2
Warning fixes
2014-09-14 17:38:49 +02:00
Unknown W. Brackets
afd9d864be
Clear alpha only when clearing stencil.
...
Not sure if this will fix anything.
2014-09-14 08:00:35 -07:00
Unknown W. Brackets
bb7f3c0762
d3d: Fix silly typo in stencil handling.
...
Now it works.
2014-09-14 07:56:48 -07:00
Henrik Rydgard
a074bf1677
Delete some dead and duplicated code
2014-09-14 13:23:36 +02:00
Unknown W. Brackets
71e310aff8
d3d: Initial attempt to upload stencil.
2014-09-14 02:21:41 -07:00
Henrik Rydgård
2b4ff04c32
Merge pull request #6902 from unknownbrackets/gpu-convergence
...
d3d: Handle block transfers
2014-09-14 11:06:15 +02:00
Unknown W. Brackets
db4fedcbc0
d3d: Fix a missing include.
2014-09-14 02:01:17 -07:00
Unknown W. Brackets
692cc8dbf1
d3d: Support the Breath of Fire 3 hack.
...
Since framebuffers are not always flipped.
2014-09-14 00:49:40 -07:00
Unknown W. Brackets
d48fb04a18
d3d: Declare a couple overrides.
2014-09-14 00:34:52 -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
d332452077
d3d: Track memory copies/uploads/downloads.
2014-09-13 17:59:21 -07:00
Unknown W. Brackets
9d24de3269
d3d: Oops, switch over block transfer logic.
2014-09-13 17:28:35 -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
Henrik Rydgard
170e88838f
Slightly improve GPU disassembly
2014-09-13 23:51:07 +02:00
Henrik Rydgard
02a89306d1
Warning fixes, sprintf->snprintf
2014-09-13 23:51:07 +02: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
c21c432486
Merge pull request #6855 from unknownbrackets/vertexcache
...
Use a minihash in the vertex cache, treat unreliable arrays more carefully
2014-09-13 23:20:26 +02:00
Henrik Rydgard
82bb5c1227
d3d: Tiny crashfix
2014-09-13 23:03:52 +02:00
Unknown W. Brackets
d60fd955d6
Vertex cache a bit more frequently.
...
Rely upon the minihashing a bit more.
2014-09-13 14:03:13 -07:00
Unknown W. Brackets
456b2613f0
Avoid full rehashes when failures are frequent.
2014-09-13 14:03:13 -07:00
Unknown W. Brackets
c8e6a809c3
Use a more frequent mini hash in the vertex cache.
2014-09-13 14:03:12 -07:00
Unknown W. Brackets
37b9af75b1
Refactor vertex caching a little.
2014-09-13 14:03:12 -07:00
Unknown W. Brackets
bcc6b4027a
Limit unreliable vertexes uncached per frame.
...
Remember them longer, and avoid slamming too many in the same frame.
2014-09-13 14:03:11 -07:00