mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-13 10:14:20 +00:00
Fix NoWX build, use a different define in CoreParameter, the one we all know and love, and add a Function call to VertexManager which can boost performance, tells the drivers that we don't care about the current data, because we are putting new data in it anyway. This gives quite a performance boost on OSX since it bypasses a call in the drivers that takes around 24% CPU time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5179 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
cc7c6cd35f
commit
2049caa9fc
@ -87,7 +87,7 @@ void SCoreStartupParameter::LoadDefaults()
|
||||
// These are required for the JIT cores to work in OSX
|
||||
// Older revs (~4854) Only required LoadStorePaired to be turned off
|
||||
// Newer revs (~4890) require both turned off
|
||||
#ifdef __x86_64__
|
||||
#ifdef _M_X64
|
||||
// These work fine in 32bit OSX
|
||||
// Since the reason why 64bit OSX fails out is due to casting (u32)(u64)
|
||||
// Since all 64bit applications are above the 32bit memory boundary
|
||||
|
@ -230,7 +230,6 @@ int main(int argc, char* argv[])
|
||||
std::string bootFile(args_info.inputs[0]);
|
||||
|
||||
updateMainFrameEvent.Init();
|
||||
cpu_info.Detect();
|
||||
|
||||
LogManager::Init();
|
||||
EventHandler::Init();
|
||||
|
@ -222,6 +222,7 @@ void Flush()
|
||||
|
||||
|
||||
glBindBuffer(GL_ARRAY_BUFFER, s_vboBuffers[s_nCurVBOIndex]);
|
||||
glBufferData(GL_ARRAY_BUFFER, s_pCurBufferPointer - LocalVBuffer, NULL, GL_STREAM_COPY);
|
||||
glBufferSubData(GL_ARRAY_BUFFER,0, s_pCurBufferPointer - LocalVBuffer, LocalVBuffer);
|
||||
GL_REPORT_ERRORD();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user