List of usage examples for org.lwjgl.opengl GL15 glEndQuery
public static void glEndQuery(@NativeType("GLenum") int target)
From source file:com.badlogic.gdx.backends.jglfw.JglfwGL30.java
License:Apache License
@Override public void glEndQuery(int target) { GL15.glEndQuery(target); }
From source file:io.root.gfx.glutils.GL.java
License:Apache License
public static void glEndQuery(int target) { GL15.glEndQuery(target); }
From source file:jpcsp.graphics.RE.RenderingEngineLwjgl.java
License:Open Source License
@Override public void endQuery() { GL15.glEndQuery(GL15.GL_SAMPLES_PASSED); }
From source file:org.terasology.logic.world.Chunk.java
License:Apache License
public void executeOcclusionQuery() { GL11.glColorMask(false, false, false, false); GL11.glDepthMask(false);//from w ww . j av a 2 s . c o m if (_activeMeshes != null) { for (int j = 0; j < VERTICAL_SEGMENTS; j++) { if (!isSubMeshEmpty(j)) { if (_queries[j] == 0) { _queries[j] = GL15.glGenQueries(); GL15.glBeginQuery(GL15.GL_SAMPLES_PASSED, _queries[j]); getSubMeshAABB(j).renderSolid(); GL15.glEndQuery(GL15.GL_SAMPLES_PASSED); } } } } GL11.glColorMask(true, true, true, true); GL11.glDepthMask(true); }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static void glEndQuery(int a) { GL15.glEndQuery(a); }