Class GlHeuristics
java.lang.Object
com.mojang.blaze3d.opengl.GlHeuristics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDeviceInfo(GLCapabilities capabilities, int maxSupportedAnisotropy, Set<String> enabledExtensions) private static intprivate DeviceTypeguessDeviceType(String renderer, String vendor) booleanisAmd()private static booleanbooleanprivate static booleanisGlOnDx12(String deviceName)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEVICE_NAMES_THAT_IMPLY_CPU
-
DEVICE_NAMES_THAT_IMPLY_VIRTUAL
-
isGlOnDx12
private final boolean isGlOnDx12 -
isAmd
private final boolean isAmd
-
-
Constructor Details
-
GlHeuristics
GlHeuristics(String deviceName)
-
-
Method Details
-
isGlOnDx12
public boolean isGlOnDx12() -
isAmd
public boolean isAmd() -
isGlOnDx12
-
isAmd
-
getMaxSupportedTextureSize
private static int getMaxSupportedTextureSize() -
createDeviceInfo
public DeviceInfo createDeviceInfo(GLCapabilities capabilities, int maxSupportedAnisotropy, Set<String> enabledExtensions) -
guessDeviceType
-