mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
update to glew1.9, win binaries also from official release
This commit is contained in:
parent
2108529120
commit
f677b8cba3
BIN
Externals/GLew/glew32s.lib
vendored
Normal file → Executable file
BIN
Externals/GLew/glew32s.lib
vendored
Normal file → Executable file
Binary file not shown.
BIN
Externals/GLew/glew64s.lib
vendored
Normal file → Executable file
BIN
Externals/GLew/glew64s.lib
vendored
Normal file → Executable file
Binary file not shown.
32475
Externals/GLew/include/GL/glew.h
vendored
32475
Externals/GLew/include/GL/glew.h
vendored
File diff suppressed because it is too large
Load Diff
3174
Externals/GLew/include/GL/glxew.h
vendored
3174
Externals/GLew/include/GL/glxew.h
vendored
File diff suppressed because it is too large
Load Diff
2684
Externals/GLew/include/GL/wglew.h
vendored
2684
Externals/GLew/include/GL/wglew.h
vendored
File diff suppressed because it is too large
Load Diff
32173
Externals/GLew/src/glew.c
vendored
32173
Externals/GLew/src/glew.c
vendored
File diff suppressed because it is too large
Load Diff
18926
Externals/GLew/src/glewinfo.c
vendored
18926
Externals/GLew/src/glewinfo.c
vendored
File diff suppressed because it is too large
Load Diff
2351
Externals/GLew/src/visualinfo.c
vendored
2351
Externals/GLew/src/visualinfo.c
vendored
File diff suppressed because it is too large
Load Diff
@ -164,6 +164,7 @@ struct VideoConfig
|
||||
|
||||
bool bSupportsGLSLUBO;
|
||||
bool bSupportsGLSLCache;
|
||||
bool bSupportsGLPinnedMemory;
|
||||
} backend_info;
|
||||
|
||||
// Utility
|
||||
|
@ -301,20 +301,22 @@ Renderer::Renderer()
|
||||
bSuccess = false;
|
||||
}
|
||||
|
||||
s_bHaveCoverageMSAA = glewIsSupported("GL_NV_framebuffer_multisample_coverage");
|
||||
s_bHaveCoverageMSAA = GLEW_NV_framebuffer_multisample_coverage;
|
||||
|
||||
g_Config.backend_info.bSupportsDualSourceBlend = glewIsSupported("GL_ARB_blend_func_extended");
|
||||
g_Config.backend_info.bSupportsDualSourceBlend = GLEW_ARB_blend_func_extended;
|
||||
|
||||
g_Config.backend_info.bSupportsGLSLUBO = glewIsSupported("GL_ARB_uniform_buffer_object");
|
||||
g_Config.backend_info.bSupportsGLSLUBO = GLEW_ARB_uniform_buffer_object;
|
||||
|
||||
g_Config.backend_info.bSupportsGLPinnedMemory = GLEW_AMD_pinned_memory;
|
||||
|
||||
//TODO: revert this after cache is fixed itself
|
||||
g_Config.backend_info.bSupportsGLSLCache = false; // glewIsSupported("GL_ARB_get_program_binary")
|
||||
g_Config.backend_info.bSupportsGLSLCache = false; // GLEW_ARB_get_program_binary
|
||||
|
||||
UpdateActiveConfig();
|
||||
OSD::AddMessage(StringFromFormat("Supports Blending: %s UBOs: %s Cache: %s",
|
||||
OSD::AddMessage(StringFromFormat("Supports Blending: %s UBOs: %s PinnedMem: %s",
|
||||
g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "True" : "False",
|
||||
g_ActiveConfig.backend_info.bSupportsGLSLUBO ? "True" : "False",
|
||||
g_ActiveConfig.backend_info.bSupportsGLSLCache ? "True" : "False").c_str(), 5000);
|
||||
g_ActiveConfig.backend_info.bSupportsGLPinnedMemory ? "True" : "False").c_str(), 5000);
|
||||
|
||||
s_LastMultisampleMode = g_ActiveConfig.iMultisampleMode;
|
||||
s_MSAASamples = GetNumMSAASamples(s_LastMultisampleMode);
|
||||
|
@ -38,7 +38,7 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
|
||||
|
||||
if(m_uploadtype == STREAM_DETECT)
|
||||
{
|
||||
if(glewIsSupported("GL_AMD_pinned_memory"))
|
||||
if(g_Config.backend_info.bSupportsGLPinnedMemory)
|
||||
m_uploadtype = PINNED_MEMORY;
|
||||
else
|
||||
m_uploadtype = MAP_AND_SYNC;
|
||||
|
Loading…
x
Reference in New Issue
Block a user