Commit Graph

137 Commits

Author SHA1 Message Date
Henrik Rydgard
bb777f72ca Merge branch 'multi-draw'
Conflicts:
	GPU/GLES/DisplayListInterpreter.cpp
	GPU/Null/NullGpu.h
2012-12-22 00:25:11 +01:00
Henrik Rydgard
baa640ea02 Two more commands that get to trigger flush 2012-12-22 00:24:04 +01:00
Henrik Rydgard
252845ecb6 Bugfix, remove hack 2012-12-21 23:55:19 +01:00
Henrik Rydgard
e42af096c8 Merge 2012-12-21 23:43:48 +01:00
Henrik Rydgård
069c700e9b Merge pull request #219 from unknownbrackets/texcache
Darn, invalidate the dest not the src
2012-12-21 14:41:19 -08:00
Henrik Rydgard
0769eb4b64 Set gstate_c.textureChanged in a few more places. 2012-12-21 23:40:38 +01:00
Unknown W. Brackets
18fe1d4b19 Darn, invalidate the dest not the src. 2012-12-21 14:21:23 -08:00
Henrik Rydgård
8134a70531 Merge pull request #217 from Orphis/master
Fix some warnings (mostly printf errors)
2012-12-21 14:14:27 -08:00
Henrik Rydgård
a0cdf76fd1 Merge pull request #218 from unknownbrackets/texcache
Use sceKernelDcache*() to invalidate the texcache
2012-12-21 14:14:10 -08:00
Unknown W. Brackets
6a9a183dd3 Use sceKernelDcache*() to invalidate the texcache.
Also in the block transfer code.
2012-12-21 14:10:57 -08:00
Florent Castelli
c33eafd430 Warning fixes 2012-12-21 23:02:35 +01:00
Henrik Rydgard
e26083f702 Merge branch 'master' into multi-draw
Conflicts:
	GPU/GLES/IndexGenerator.cpp
	GPU/GLES/IndexGenerator.h
2012-12-21 22:58:39 +01:00
Henrik Rydgard
ea07c14c4c Add IndexGenerator.cpp/h which will later be used to combine small draw calls into large indexed draw calls, for better performance. 2012-12-21 22:53:24 +01:00
Henrik Rydgard
6b3ac02dae Now not flushing at every drawcall by mistake... 2012-12-21 22:52:09 +01:00
Henrik Rydgard
d663e28bde More work and optimization. Still not quite there. 2012-12-21 21:49:09 +01:00
Henrik Rydgard
3b114eb24a More work on indexed draws. Not combining yet. 2012-12-21 19:16:17 +01:00
Henrik Rydgard
2e9daa5f89 All drawing is now indexed lists, through IndexGenerator. 2012-12-21 18:46:15 +01:00
Henrik Rydgard
4eeab83389 Add IndexGenerator.cpp/h which will later be used to combine small draw calls into large indexed draw calls, for better performance. 2012-12-21 17:50:22 +01:00
Henrik Rydgard
4c23d668e1 Cleanup and reorganize gpu code a little 2012-12-21 16:50:14 +01:00
Henrik Rydgård
d42245482b Merge pull request #213 from raven02/ge_cmd
Change BBOX JUMP/TEST to DEBUG . This fix massive slowdown when hit them .
2012-12-21 04:00:29 -08:00
Henrik Rydgard
4efb66fdb6 Fix hw transform and audio on android, misc 2012-12-21 12:57:43 +01:00
raven02
ab2f0b89e6 Change to DEBUG for BBOX JUMP/TEST .Fix massive slowdown when hit them . 2012-12-21 19:57:38 +08:00
Henrik Rydgard
9db065a979 add #version to the framebuffer drawing shader for compat 2012-12-21 11:24:38 +01:00
Henrik Rydgard
4bf2e52623 HW transform: Avoid 4x3 matrices for GLES 2.0 compat. Add option to turn hw transform on. 2012-12-21 11:08:54 +01:00
Henrik Rydgard
4d4370232c Assorted minor cleanup and fixes. 2012-12-21 10:20:22 +01:00
Henrik Rydgard
52cf324e9e Try to fix "W1" vertex error 2012-12-21 10:19:37 +01:00
Unknown W. Brackets
9034cfbfd3 Defer HLE interrupts, vblank only when enabled.
Based on tests, vblank doesn't queue up (makes sense) while
interrupts are disabled.

I'm not 100% sure about the GPU stuff but it seems to only come
from HLE via sceGe, so this should fix those return values.
2012-12-20 21:54:40 -08:00
Henrik Rydgard
19391541fb HW transform: Fix too-harsh lighting 2012-12-20 23:47:19 +01:00
Henrik Rydgard
79bd4e3d41 Lighting fixes (sw + hw) 2012-12-20 23:28:58 +01:00
Henrik Rydgard
1551aea902 HW transform bugfixes 2012-12-20 22:45:26 +01:00
Henrik Rydgard
c3b778daab More work on hw transform. 2012-12-20 18:31:21 +01:00
Henrik Rydgard
7d949bbee0 VertexDecoder: Respect lowerbound of verts to transform. Make decoding a little safer. 2012-12-20 16:03:40 +01:00
Henrik Rydgard
6a7e77ce1d Prevent crashes on bad vertex / index addresses 2012-12-20 15:07:58 +01:00
Henrik Rydgard
4f376a2c34 Hardware vertex transform, preliminary and optional. No lighting yet. Disabled until it works right... 2012-12-20 15:07:58 +01:00
Henrik Rydgard
1b5407f505 Rewrite the vertex decoder a bit. Turn on SSE2 compiler flag etc. 2012-12-20 15:07:57 +01:00
Henrik Rydgard
c4ca9b5956 Get rid of the DecodedVertex struct. 2012-12-20 15:07:57 +01:00
Henrik Rydgard
13460b7aa6 Use flexible vertex formats pre-transform. Saves memory b/w. 2012-12-19 20:21:59 +01:00
Henrik Rydgard
b8d596cbec Add some infrastructure for flexible vertex formats 2012-12-19 18:35:37 +01:00
Henrik Rydgard
4046146164 Add experimental wireframe mode for debugging. Fix texenv color. Code cleanup. 2012-12-19 15:14:41 +01:00
Henrik Rydgard
ba476264db Fix GL_ZERO transparencies 2012-12-18 00:02:04 +01:00
Henrik Rydgard
3bd5cfed73 Work around for strange idling issue, various fixes 2012-12-17 23:33:24 +01:00
Henrik Rydgard
c3819ec721 Fix a possible crash in audio code 2012-12-17 21:59:43 +01:00
Henrik Rydgard
11279668ca Allow changing of zoom factor at runtime 2012-12-17 21:06:47 +01:00
Henrik Rydgard
34d28a9c5c Merge branch 'screen-fix' of https://github.com/raven02/ppsspp into raven02-screen-fix 2012-12-17 21:01:27 +01:00
Henrik Rydgard
8db1cef503 Fix GPU block transfer 2012-12-17 19:04:19 +01:00
Xele02
71839414ca Fix Android build cast error
Remove gl command for texture 2d
2012-12-16 13:07:11 +01:00
raven02
fb5a26b46d Enable correct viewport switching for screen 1x-4x and add Ctrl1-4 as shortcut key 2012-12-16 17:57:33 +08:00
Xele02
1ea6fe7e4d Correct texture display in save dialog on Android. 2012-12-14 01:04:45 +01:00
Henrik Rydgård
a0d8017c22 Fix for previous commit 2012-12-05 11:13:36 +07:00
Henrik Rydgård
36943db4ec Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	Core/Config.h
2012-12-05 10:57:30 +07:00