Commit Graph
12523 Commits
Author SHA1 Message Date
kaienfr 4792b6dc3b Avoid type cast issue - pass mpeg context address instead of context pointer in function args. 2014-04-07 05:16:45 +02:00
kaienfr fdf8d5c9f1 Cast issue again on Unix = =, try void* 2014-04-05 00:16:08 +02:00
kaienfr 44ef7f7180 try reinterpret_cast 2014-04-04 23:50:18 +02:00
kaienfr 1f297d82ac fix cast issue for unix 2014-04-04 23:33:33 +02:00
kaienfr de84c51d51 change some warn_log to debug_log 2014-04-04 23:10:33 +02:00
kaienfr 04756b91e0 Do State PMP media, and some other updates to PMP media. 2014-04-04 23:01:25 +02:00
kaienfr 626ad2d678 update for supporting pmp video 2014-04-02 07:20:52 +02:00
kaienfr 03898fd1e6 updates 2014-04-01 04:58:56 +02:00
kaienfr 17174d0d24 fix for AAC audio playing 2014-04-01 00:37:01 +02:00
kaienfr c03e591ecd Cleanup SimpleAudioDec
and remove unused AudioCreate fonction, it can be down in the class constructor.
2014-04-01 00:33:46 +02:00
kaienfr f5d4b7bcb4 PMP Video
Not ready for merge, only for discussion about the current stage.
The video frame seems been decoded into RGB24 by my decodePmpVideo function, and the dumped ppm output file have also something.
But in ppsspp, we can just see some nonsense noise on the screen, but already hear AAC audio :)
I still have no idea what's wrong. Can somebody help? Thanks!
2014-04-01 00:33:31 +02:00
Henrik Rydgård e6b2c66640 Merge pull request #5775 from kaienfr/patch-1
Update sceMpeg.cpp
2014-03-31 18:07:42 +02:00
kaienfr c7cfa7d061 Update sceMpeg.cpp
change to right macro
2014-03-31 17:59:11 +02:00
Henrik Rydgård 656f5bf9dd Merge pull request #5774 from Kingcom/StatusBarLabels
Display label name in status bar
2014-03-31 17:14:51 +02:00
Kingcom 6256f64507 Display label name in status bar 2014-03-31 17:00:48 +02:00
Unknown W. Brackets 943bc7ee78 Oops, close the dir after listing it in ms0:/.
This was affecting some savedata modes, and showed up on tests.  Not sure
how it might've affected games, probably not much.
2014-03-30 19:34:19 -07:00
Unknown W. Brackets 6677d96a38 Fix memory leak in memory arenas on x64. 2014-03-30 17:30:11 -07:00
Henrik Rydgård 4f6072332c Merge pull request #5771 from unknownbrackets/leaks
Stick a cork in some memory leaks
2014-03-30 19:03:15 -04:00
Unknown W. Brackets aea26f666c Clean up some atrac/mp3 potential leaks. 2014-03-30 15:08:38 -07:00
Unknown W. Brackets 0ba0dba63d Correctly free a few FFmpeg resources. 2014-03-30 13:44:32 -07:00
Unknown W. Brackets c6f52db194 Fix some scePsmf leaks. 2014-03-30 13:14:17 -07:00
Unknown W. Brackets ea9a6c1b58 Fix leaks in sceMpeg demuxing. 2014-03-30 13:06:42 -07:00
Unknown W. Brackets 917af7b571 Fix some memory leaks in sceFont.
Which were highlighted quite well by tests.
2014-03-30 12:55:40 -07:00
Unknown W. Brackets f55c81f096 Add some basic bounds checking for power freq sets. 2014-03-29 19:56:49 -07:00
Unknown W. Brackets 0af153efb4 Avoid a crash with a huge user memory font size.
Fixes tests.
2014-03-29 19:39:10 -07:00
Unknown W. Brackets 7cde2311e0 Include sceKernelThread.h in less headers. 2014-03-29 17:02:41 -07:00
Unknown W. Brackets a4327702f1 Reduce some includes under GPU/. 2014-03-29 16:51:38 -07:00
Henrik Rydgard 58237d976f Fix performance issue in BlockCache due to an instance of std::vector in every block:
Avoid creating the vector when not necessary.

This was especially noticeable in debug mode.
2014-03-29 22:26:51 +01:00
Henrik Rydgård 4c437218e4 Merge pull request #5766 from unknownbrackets/gpu-minor
Update some flags in GLES_GPU
2014-03-29 17:25:19 -04:00
Unknown W. Brackets 27550a2336 Update some flags in GLES_GPU.
It's useful to know if we need to have a correct PC value or downcount.
2014-03-29 14:10:35 -07:00
Henrik Rydgård 4b1499e57b Merge pull request #5762 from unknownbrackets/gpu-minor
Shader ID optimizations and alpha test optimization
2014-03-29 13:51:11 -04:00
Unknown W. Brackets 0950e7b86d Optimize ComputeVertexShaderID() a bit.
This is only like 1%.  Along the way found and fixed an overlap of bits.
2014-03-29 10:35:09 -07:00
Unknown W. Brackets 1209bc7ba4 Optimize ComputeFragmentShaderID() a bit.
I've seen it decently high on some profiles (1-2%).  This cuts it down by
12.5% when used in a tight loop.  The temporary was 8%, the ifs were the
other 4.5%.
2014-03-29 10:21:04 -07:00
Unknown W. Brackets 2b7d2fdc4b Optimize > and != 0 alpha tests.
There's no need to do rounding in this case.  These are very common.

Also, if the test was !=, convert it to >, which may work better on
PowerVR.
2014-03-29 10:16:06 -07:00
Henrik Rydgård aac5bab242 Merge pull request #5745 from sum2012/scempegbase-2
Correct sceMpegbase_BEA18F91 parameter
2014-03-29 12:32:31 -04:00
Henrik Rydgard f99925261d Merge branch 'raven02-patch-42'
Conflicts:
	GPU/GLES/FragmentShaderGenerator.cpp
2014-03-29 17:26:33 +01:00
Henrik Rydgård e270c3eafd Merge pull request #5760 from raven02/patch-43
Return false when alpha blending disabled
2014-03-29 12:00:47 -04:00
raven02 664efe6812 Return false when alpha blending disabled 2014-03-29 22:04:59 +08:00
raven02 2944856c42 FS : Add missing gstate.isTextureMapEnabled() 2014-03-29 21:03:28 +08:00
Henrik Rydgard 37e9fc59b3 2x alpha: Safer change than the last attempt. Still fixes P2. I think this can be simplified, anyway. 2014-03-29 12:10:44 +01:00
Henrik Rydgard 27767fa85c Revert "Rethink 2x src alpha->color doubling. Fixes #3379."
This reverts commit 47efded29f.
2014-03-29 12:01:47 +01:00
Henrik Rydgard 47efded29f Rethink 2x src alpha->color doubling. Fixes #3379. 2014-03-29 11:40:17 +01:00
Henrik Rydgård 04bcbfb9a3 Merge pull request #5754 from unknownbrackets/eclipse
Add CDT configuration to Eclipse project
2014-03-29 05:44:24 -04:00
Henrik Rydgard 94c1e56d9b Merge branch 'gpu-minor' of github.com:unknownbrackets/ppsspp into unknownbrackets-gpu-minor
Conflicts:
	GPU/GLES/VertexDecoder.cpp
2014-03-29 10:15:57 +01:00
Henrik Rydgard 74f593362b Non-jit vertex decoder, morph: Clamp colors to 0-255. 2014-03-29 10:07:51 +01:00
Unknown W. Brackets 4b1737b0cd vertexjit: Oops, don't use NEON when not supported. 2014-03-29 02:05:10 -07:00
Unknown W. Brackets 18f6407705 Clamp morph colors in non-vertexjit.
Not sure if any platforms use this...
2014-03-29 01:53:28 -07:00
Unknown W. Brackets eb7873bb97 Add CDT configuration to Eclipse project.
No longer need to add spaces in random places.  Was so annoying.

Note: you need to set the NDK path under Window -> Preferences -> Android
-> NDK.  This will not copy assets though, I don't think (maybe we can add
a make rule instead?)
2014-03-29 01:13:45 -07:00
Henrik Rydgård 717c1cd34e Merge pull request #5748 from unknownbrackets/armjit-minor
armjit: Allow R1 in regalloc, use LR as temp
2014-03-29 04:09:58 -04:00
Henrik Rydgård b49f2d50de Merge pull request #5753 from unknownbrackets/vertexjit
Fix some color morph issues
2014-03-29 04:07:18 -04:00