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
Henrik Rydgård
700921deb3
Fix rendering on MacOSX (shader compiler very fussy...). Minor prep for hw transform.
2012-12-05 10:55:06 +07:00
Sacha
5316f856d1
Blackberry 10 Port
...
* Replace SDL with asound backend (removes the only dependency)
* Remove all references to SDL in bar-descriptor.xml, blackberry_build.sh
* Greatly simplify blackberry_build.sh
* Modify CMakeLists.txt to account for removal of SDL
* Remove redundancy in CMakeLists.txt (EGLv2)
* Refactor nativeExtra's and setting targets
* Remove android/CMakeLists.txt (unrelated file)
* Update for latest Blackberry NDK (1088)
* Handle bug with VSync in latest NDK
* Update bar-descriptor.xml to version 0.4
* Fix define on iOS in FragmentShaderGenerator.cpp
* Specify NDK used in Credits by target platform, add contributor, remove redundancy
2012-12-02 14:48:00 +10:00
Henrik Rydgård
67f9f3f73f
SDL port: Add DEBUG option to set _DEBUG, add ability to log gfx stuff
2012-12-01 23:38:18 +01:00
Henrik Rydgard
6e32b30afd
DisplayDrawer->FramebufferManager
2012-12-01 10:17:34 +01:00
Henrik Rydgard
d4cc0bada7
Revert broken optimization in TextureCache (there are still memory savings to be had though)
2012-12-01 10:17:33 +01:00
Henrik Rydgard
aa04eaec31
TextureCache: Cleanup, memory savings
2012-11-30 22:32:50 +01:00
Henrik Rydgard
37f28ab4eb
Buildfix (?)
2012-11-28 17:09:19 +01:00
Henrik Rydgard
7a7548a70f
Warning fixes etc
2012-11-28 16:20:38 +01:00
Henrik Rydgard
5fb8e6dfb0
DXT textures now mostly working-ish (work left to do on alpha for DXT3/5)
2012-11-28 16:12:29 +01:00
Henrik Rydgard
6ff2964170
Fix mistake in gpu signals, add more logging
2012-11-28 14:01:28 +01:00
Henrik Rydgard
980d13fe50
Assorted GPU fixes: Advance vertex pointer, fixes missing triangles in SPT. More logging. Separate proj matrices for through and normal mode (through matrix don't need to get updated as often). Some cleanup.
2012-11-28 13:45:22 +01:00
Henrik Rydgard
a74af8f372
Some new NIDs, log fix, very minor bugfix.
2012-11-27 11:40:30 +01:00
Henrik Rydgard
2822ce2737
Temporarily disable most of the viewport code as it broke some games. Kept the flip detection.
2012-11-26 20:38:26 +01:00
Henrik Rydgard
d8c92caad9
Safer matrix loading. Change default G3D log level from Notice to Error.
2012-11-26 18:04:34 +01:00
Henrik Rydgard
870ea6628b
Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working).
2012-11-26 17:35:08 +01:00
Sacha
b76152d88a
Use gl_common from native.
2012-11-26 20:38:39 +10:00