Add some stats to get some idea of much alpha tested drawing we do.

Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
This commit is contained in:
Henrik Rydgard committed 2013-08-27 21:01:17 +02:00
1 parent d6709a0b32
commit 6360fcb0ae
6 files changed
+17 -16

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#include <algorithm>
#include "base/logging.h"
#include "LogManager.h"
#include "ConsoleListener.h"
#include "Timer.h"
@@ -280,6 +280,6 @@ void FileLogListener::Log(LogTypes::LOG_LEVELS, const char *msg)
void DebuggerLogListener::Log(LogTypes::LOG_LEVELS, const char *msg)
{
#if _MSC_VER
::OutputDebugStringA(msg);
OutputDebugStringUTF8(msg);
#endif
}