Unknown W. Brackets
3f8ef6dacd
Ensure stride in bytes matches FBO up/download.
...
Even if we should do the copy, we'll currntly use the wrong x/y/w/h.
This fixes incorrect uploads in God of War, which hurt performance a lot.
Unfortunately, in this game there's zero information to tell us the right
size of some small temp framebuffers it uses, so we overestimate their
sizes and the block transfer appears to fall into range.
2014-06-07 22:40:41 -07:00
Unknown W. Brackets
ed39bb7a9c
When projecting textures, flip V in frag shader.
...
Slower, but this way we actually project correctly.
2014-06-07 19:32:19 -07:00
Unknown W. Brackets
da438b7c68
Fix clamping to the correct texel.
...
This fixes things when edges bleed in from a larger framebuffer. We need
to clamp to the internal texels of the range.
2014-06-07 19:30:46 -07:00
Unknown W. Brackets
7226aad903
Don't allow the buf name cache to get too full.
2014-06-07 16:28:24 -07:00
Unknown W. Brackets
5f521bcfb0
Reuse buffer objects when possible.
...
glBufferData() recreates anyway.
2014-06-07 16:20:12 -07:00
Unknown W. Brackets
4971206e92
Allocate vertexcache buffer names in chunks.
...
Partially implements #6045 .
2014-06-07 16:15:37 -07:00
Unknown W. Brackets
0896c3412d
Allocate textures names in blocks.
...
May improve performance slightly when loading or recycling textures.
Probably uploading the texture is bigger anyway.
2014-06-07 16:13:53 -07:00
Henrik Rydgård
8dbc4078cc
Merge pull request #6251 from unknownbrackets/framebuf-clamp
...
Apply clamp and wrap to tex projection as well
2014-06-07 23:28:45 +02:00
Unknown W. Brackets
33b4cc2bcc
Apply clamp and wrap to tex projection as well.
...
Not sure if this is the correct method or not, since it doesn't really
work properly right now.
2014-06-07 14:19:53 -07:00
mildlysec
c3dfb64839
Added ability to press analog keys lightly using shift button
2014-06-07 22:21:54 +02:00
Henrik Rydgård
f6f8d1df8f
Merge pull request #6250 from unknownbrackets/framebuf-clamp
...
Apply tex wrap/clamp in shader for render-to-tex
2014-06-07 22:14:58 +02:00
Unknown W. Brackets
cc841bbe4c
Apply tex wrap/clamp in shader for render-to-tex.
...
Fixes graphical artifacts in Wild Arms XF (which depends on how you get
there, because it's based on the size of the framebuffer.)
2014-06-07 13:13:58 -07:00
Sacha
c9261b77f7
Silly typos.
2014-06-08 05:18:29 +10:00
Sacha
cb04c073b9
Update ArmCPUDetect to fix potential crashes. Merge from Dolphin.
2014-06-08 05:10:10 +10:00
Henrik Rydgård
e69130b591
Merge pull request #6248 from sum2012/Replace-table
...
Fix Replace_memcpy crash
2014-06-07 19:13:16 +02:00
sum2012
cfa0e752e1
Fix Replace_memcpy crash
...
Fix Replace_memcpy crash in #5496
2014-06-08 01:01:47 +08:00
Sacha
8ac1c17f74
Fix a warning. Update native (fix SDL joystick). Fixes #6241 .
2014-06-08 00:56:57 +10:00
Unknown W. Brackets
90b30f8bfe
Use module start func, not entry, if specified.
...
Fixes #5539 , Ranshima Monogatari Rare Land Story. Still logging in case
it causes a problem.
2014-06-07 06:28:23 -07:00
Unknown W. Brackets
a53f165c06
Oops, update render size when resizing down too.
...
Hopefully #6247 .
2014-06-07 06:26:03 -07:00
Unknown W. Brackets
d8e98786f7
Oops, fix logging on FBO creation.
2014-06-07 01:35:39 -07:00
Unknown W. Brackets
cda98334f8
Fix some crashes when switching rendering mode.
2014-06-07 00:52:58 -07:00
Henrik Rydgård
2696710dbd
Merge pull request #6245 from unknownbrackets/gpu-minor
...
Support displaying from an offset in a framebuf
2014-06-07 09:25:29 +02:00
Henrik Rydgård
0f168723bc
Merge pull request #6246 from unknownbrackets/replace-funcs
...
Enable function replacements by default
2014-06-07 09:22:39 +02:00
Unknown W. Brackets
2a2935003d
Oops, fix stencil upload at non-1x resolutions.
2014-06-07 00:18:49 -07:00
Unknown W. Brackets
a7b9ce205b
Enable function replacements by default.
...
So things like Star Ocean work, and game memcpy()'s to GPU work.
This will make game start on mobile a bit slower, though. And there could
still be bugs so leaving as an option, but seems pretty stable. Didn't
realize it wasn't enabled by default.
2014-06-07 00:13:45 -07:00
Unknown W. Brackets
0bbeab28ec
Verify fbo exists when copying depth.
...
Should fix #5343 based on stack trace.
2014-06-06 22:35:34 -07:00
Unknown W. Brackets
7a299fb1f2
Avoid displaying a wrong-format framebuf.
2014-06-06 21:11:58 -07:00
Unknown W. Brackets
8ec87040df
Detect staggered/interleaved rendering.
...
Not sure why you'd do this, maybe to simultaneously render? Should help
the Silent Hill games which seem to do this.
2014-06-06 21:08:14 -07:00
Unknown W. Brackets
8d1b3ae7aa
Fix a vertexdec crash from the ge debugger.
2014-06-06 21:06:29 -07:00
Unknown W. Brackets
171629ba48
Separate fbo resize logic from creation.
2014-06-06 20:54:16 -07:00
Henrik Rydgård
986d54039c
Merge pull request #6240 from pal1000/work
...
Have control mapper override the default shortcut keys for save states related commands. Fixes #6214 .
2014-06-06 20:43:28 +02:00
Henrik Rydgård
96787a95d7
Merge pull request #6239 from unknownbrackets/bof3-workaround
...
Try to workaround Breath of Fire 3's render-to-tex
2014-06-06 20:42:13 +02:00
Unknown W. Brackets
48d0b8fb0b
Fix a crash in non-buffered rendering.
2014-06-06 10:28:18 -07:00
pal1000
8d9ecbb6b3
Do not map these keys. They are hard-coded. It just a waste. They are leftover from before finding the proper solution.
2014-06-06 18:19:10 +03:00
pal1000
a3c7c90517
Control mapper now overrides default shortcuts for saved states related commands
2014-06-06 11:52:36 +03:00
pal1000
c9983fb3da
Add some defines to separate hardcoded shortcuts from the mapped ones
2014-06-06 11:52:35 +03:00
pal1000
ca21c1d076
Fix a typo
2014-06-06 11:52:34 +03:00
pal1000
a41737ebe7
Save state, load state and next save slot shortcuts are no longer hardcoded.
2014-06-06 11:52:33 +03:00
Unknown W. Brackets
3d8f078b6c
Try to workaround Breath of Fire 3's render-to-tex.
...
It renders to two areas but textures with a high V to reach the second
texture. We've been wrapping the V around but this may show the right
buffer.
2014-06-06 00:28:12 -07:00
Sacha
b57c3e0fe5
Qt: Some bug fixes. Get Meego Harmattan compiling with gcc4.8.2
2014-06-06 14:17:47 +10:00
Henrik Rydgard
f1a225728c
Update native with framebuffer_blit_nv fix for tegra.
...
This appears to fix some but not all issues with blit on Tegra.
May affect #2135 and fix issues broken by #6115 .
(also throw in a link in a comment)
2014-06-05 21:30:45 +02:00
Henrik Rydgard
a64fe6324a
Remove report I don't think we need anymore
2014-06-05 21:18:08 +02:00
Henrik Rydgård
312e4b91cd
Merge pull request #6235 from xsacha/master
...
Use OpenCPPFile for iostream open
2014-06-05 17:10:46 +02:00
Sacha
ed96d73187
Use OpenCPPFile for iostream open without the ifdef's.
2014-06-06 00:22:43 +10:00
Henrik Rydgård
80301ef053
Merge pull request #6231 from thedax/cwcheats-minor
...
Win32/CWCheats: Make sure to convert paths properly so that non-English paths are supported.
2014-06-05 13:26:18 +02:00
Sacha
d50f08fb6e
Fix Symbian debug build.
2014-06-05 18:15:24 +10:00
Unknown W. Brackets
aa3a429a0b
Avoid unaligned 32 bit reads.
...
They make Symbian do odd things.
2014-06-05 01:12:27 -07:00
Henrik Rydgård
7c70f71dac
Merge pull request #6233 from unknownbrackets/gpu-minor
...
Fix a few glitches since framebuf estimation changes
2014-06-05 09:35:16 +02:00
Unknown W. Brackets
5ab416981c
Ignore vfb->format for older display buffers.
...
Fixes video in Tales of Phantasia X.
2014-06-05 00:29:32 -07:00
Unknown W. Brackets
115b959ef7
Stop clearing the buffer after blitting to it.
...
This only appeared to work because destroying an fbo unbinds the active
one.
2014-06-05 00:29:04 -07:00