Commit Graph

9567 Commits

Author SHA1 Message Date
raven02 b94bcad288 Fall back to original filter logic when filter option is off 2012-12-29 09:48:46 +08:00
Henrik Rydgård 75ce287213 Add more stuff to GeDisasm. Advance index pointer on indexed draws. 2012-12-28 20:54:00 +01:00
Henrik Rydgård e2cc226d0d Just some cleanup of GPU code 2012-12-28 20:54:00 +01:00
raven02 e407ec4314 User define linear filtering 2012-12-29 00:39:46 +08:00
Henrik Rydgård 3e8561ab5b ge: fix bug with indexed primitives 2012-12-27 23:45:06 +01:00
Henrik Rydgård 57b4d658cc Don't log display lists, instead dump them on demand.
Makes it fairly convenient to dump and look at display lists at run time
on non windows platforms. Adding a menu item on Windows should be
trivial.
2012-12-27 23:38:55 +01:00
Henrik Rydgård 750447793e Clamp colors before fragment shader. 2012-12-27 23:38:54 +01:00
Henrik Rydgård c1041cfff2 Apparently RECTANGLES shouldn't flip that way. 2012-12-26 09:23:15 +01:00
Henrik Rydgård 1b35964445 Add support for rotated UVs of flipped RECTANGLES. Avoid using indexed
draws when unnecessary.
2012-12-26 08:54:33 +01:00
Henrik Rydgård d95dbca9be Cleanup GPU init/shutdown a bit 2012-12-25 22:42:19 +01:00
Henrik Rydgård 7c64f9c61e Tiny optimization - only init the vertex decoder on vertex type change 2012-12-25 22:39:37 +01:00
Henrik Rydgård 9dce8b09a4 Move vertex arrays from globals to heap. 2012-12-25 22:39:37 +01:00
Henrik Rydgård d21647bbb9 Split code from GLES_GPU to TransformDrawEngine, cleanup 2012-12-25 22:39:37 +01:00
raven02 fb3649ea97 Remove flush() 2012-12-24 21:34:02 +08:00
raven02 6250348f06 Add GE_CMD_TEXBUFWIDTH0 to flush cmd list 2012-12-24 21:33:27 +08:00
Unknown W. Brackets d378b1c324 Deallocate properly in shutdown, not in init. 2012-12-24 01:41:15 -08:00
Unknown W. Brackets 2dfbc0fec3 Oops, don't need this here after all. 2012-12-24 01:38:29 -08:00
Unknown W. Brackets 2736012719 Cleanup some state on reset in the GPU code. 2012-12-23 23:12:53 -08:00
TMaul 976537d314 3 foats, not 3 bytes.... 2012-12-23 21:30:19 +00:00
TMaul e8f240c1d4 Fix some more possible errors
Shadowed var n in MIPSIntVFPU

Possible buffer overflow in vertexdecoder.h

fix valid address checking in sceRtc function
2012-12-23 20:51:05 +00:00
raven02 9af2325be5 Fix massive corrupted graphic in FF Type-0 2012-12-23 22:52:00 +08:00
Henrik Rydgård 0d6cfab61b Merge pull request #231 from raven02/sceAtrac
sceAtrac wrapped and change NOTICE to DEBUG for block transfer.
2012-12-23 02:52:01 -08:00
raven02 b6e865c694 sceAtrac wrapped and change NOTICE to DEBUG for block transfer. 2012-12-23 17:51:55 +08:00
Unknown W. Brackets 88f18b09e9 Revert incorrect warning fix. 2012-12-22 07:24:01 -08:00
Unknown W. Brackets 782d15ad1f Remove DL flush optimization causing wonky gfx. 2012-12-22 01:50:55 -08:00
Unknown W. Brackets 47e558d9ce Fix specular causing shader to fail to link. 2012-12-22 01:45:47 -08:00
Henrik Rydgård b437ea8e9a Merge pull request #221 from unknownbrackets/warnings
Misc. warnings
2012-12-22 00:12:27 -08:00
Unknown W. Brackets 15793fe532 More minor static analysis warning fixes. 2012-12-21 17:00:47 -08:00
Henrik Rydgard aabbbe9be4 IndexGenerator: fix triangle fans 2012-12-22 00:57:42 +01:00
Henrik Rydgard 8c267b0105 Didn't mean to remove these calls 2012-12-22 00:38:17 +01:00
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