aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.cpp
Commit message (Expand)AuthorAge
* Android: add OpenGL ES 2 support (#9715)Maksim2020-04-22
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
* Overall improvements to log messages (#9598)sfan52020-04-08
* Unify OpenGL ES supportsfan52019-08-04
* Add styles to most elementsrubenwardy2019-08-03
* Add custom colorable GUIButton implementationrubenwardy2019-08-03
* Fix crash if display resolution is not set (#7950)Martin Renold2018-12-08
* Provide Xorg/net wm process ID (#7445)thoughtjigs2018-06-17
* Android build fixes for c++11stujones112018-03-11
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-20
* Add confirmation on new player registration (#6849)Muhammad Rifqi Priyo Susanto2018-01-13
* Rewrite rendering engine (#6253)Vitaliy2017-10-31
* Initial Haiku support (#6568)miqlas2017-10-30
* Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot2017-10-09
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-16
* Modernize client code (#6250)Loïc Blot2017-08-15
* Isolate irrlicht references and use a singleton (#6041)Loïc Blot2017-06-26
class="hl kwd">find_library(OPENGLES2_LIBRARY libGLESv2) else() if(BORLAND) set(OPENGLES2_LIBRARY import32 CACHE STRING "OpenGL ES 2.x library for Win32") else() # TODO # set(OPENGLES_LIBRARY ${SOURCE_DIR}/Dependencies/lib/release/libGLESv2.lib CACHE STRING "OpenGL ES 2.x library for win32" endif() endif() elseif(APPLE) create_search_paths(/Developer/Platforms) findpkg_framework(OpenGLES2) set(OPENGLES2_LIBRARY "-framework OpenGLES") else() find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(OPENGLES2_LIBRARY NAMES GLESv2 PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) if(NOT BUILD_ANDROID) find_path(EGL_INCLUDE_DIR EGL/egl.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(EGL_LIBRARY NAMES EGL PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) # On Unix OpenGL usually requires X11. # It doesn't require X11 on OSX. if(OPENGLES2_LIBRARY) if(NOT X11_FOUND) include(FindX11) endif() if(X11_FOUND) set(OPENGLES2_LIBRARIES ${X11_LIBRARIES}) endif() endif() endif() endif() set(OPENGLES2_LIBRARIES ${OPENGLES2_LIBRARIES} ${OPENGLES2_LIBRARY}) if(BUILD_ANDROID) if(OPENGLES2_LIBRARY) set(EGL_LIBRARIES) set(OPENGLES2_FOUND TRUE) endif() else() if(OPENGLES2_LIBRARY AND EGL_LIBRARY) set(OPENGLES2_LIBRARIES ${OPENGLES2_LIBRARY} ${OPENGLES2_LIBRARIES}) set(EGL_LIBRARIES ${EGL_LIBRARY} ${EGL_LIBRARIES}) set(OPENGLES2_FOUND TRUE) endif() endif() mark_as_advanced( OPENGLES2_INCLUDE_DIR OPENGLES2_LIBRARY EGL_INCLUDE_DIR EGL_LIBRARY ) if(OPENGLES2_FOUND) message(STATUS "Found system OpenGL ES 2 library: ${OPENGLES2_LIBRARIES}") else() set(OPENGLES2_LIBRARIES "") endif()