e9b9dca2ca
After this commit, if the target system does have modern OpenGL drivers installed, ANGLE is configured to use them, bypassing most translation (shaders still have to be translated from ESSL to GLSL). If there are no OpenGL drivers, such as if the graphics drivers were installed via Windows Update, DirectX translation is still used. This results in a very noticeable startup delay and minor performance degradation. In addition it is no longer necessary to build with -DOPENGL=1 to be able to run the binary in wine; everything works out of the box. Before, wine's incomplete HLSL translator would crash. This change required renaming the variable `texture` in shaders, since it shadows the Core GLSL function with the same name, and ANGLE translates texture2D() calls to texture() calls. |
||
---|---|---|
.. | ||
edge.frag | ||
edge.vert | ||
imesh.frag | ||
imesh.vert | ||
imesh_point.frag | ||
imesh_point.vert | ||
imesh_tex.frag | ||
imesh_tex.vert | ||
imesh_texa.frag | ||
mesh.frag | ||
mesh.vert | ||
mesh_fill.frag | ||
mesh_fill.vert | ||
outline.vert |