blob: 70413a630d7198a1f47b145705ab0e89a3a8c6f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
public final boolean matchesProfile() {
return matchesProfile(GLProfile.getProfile());
}
public final boolean matchesProfile(String test_profile) {
if(null==test_profile) {
return false;
}
if(test_profile.equals(GLProfile.GL2)) {
return isGL2();
}
if(test_profile.equals(GLProfile.GLES1)) {
return isGLES1();
}
if(test_profile.equals(GLProfile.GLES2)) {
return isGLES2();
}
return false;
}
public int glGetBoundBuffer(int target) {
return bufferStateTracker.getBoundBufferObject(target, this);
}
public boolean glIsVBOArrayEnabled() {
return checkArrayVBOEnabled(false);
}
public boolean glIsVBOElementEnabled() {
return checkElementVBOEnabled(false);
}
|