Home
last modified time | relevance | path

Searched refs:gl30 (Results 1 – 22 of 22) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/profiling/
DGL30Profiler.java31 public final GL30 gl30; field in GL30Profiler
33 protected GL30Profiler (GL30 gl30) { in GL30Profiler() argument
34 this.gl30 = gl30; in GL30Profiler()
38 int error = gl30.glGetError(); in check()
41 error = gl30.glGetError(); in check()
48 gl30.glActiveTexture(texture); in glActiveTexture()
56 gl30.glBindTexture(target, texture); in glBindTexture()
63 gl30.glBlendFunc(sfactor, dfactor); in glBlendFunc()
70 gl30.glClear(mask); in glClear()
77 gl30.glClearColor(red, green, blue, alpha); in glClearColor()
[all …]
DGLProfiler.java79 Gdx.gl30 = Gdx.gl30 == null ? null : new GL30Profiler(Gdx.gl30); in enable()
80 Gdx.gl20 = Gdx.gl30 != null ? Gdx.gl30 : new GL20Profiler(Gdx.gl20); in enable()
87 …if (Gdx.gl30 != null && Gdx.gl30 instanceof GL30Profiler) Gdx.gl30 = ((GL30Profiler)Gdx.gl30).gl30; in disable()
94 return Gdx.gl30 instanceof GL30Profiler || Gdx.gl20 instanceof GL20Profiler; in isEnabled()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DVertexBufferObjectWithVAO.java141 GL30 gl = Gdx.gl30; in bind()
231 GL30 gl = Gdx.gl30; in unbind()
241 bufferHandle = Gdx.gl30.glGenBuffer(); in invalidate()
251 GL30 gl = Gdx.gl30; in dispose()
262 Gdx.gl30.glGenVertexArrays(1, tmpHandle); in createVAO()
271 Gdx.gl30.glDeleteVertexArrays(1, tmpHandle); in deleteVAO()
DFileTextureArrayData.java90 …Gdx.gl30.glTexSubImage3D(GL30.GL_TEXTURE_2D_ARRAY, 0, 0, 0, i, pixmap.getWidth(), pixmap.getHeight… in consumeTextureArrayData()
DMipMapGenerator.java70 || Gdx.graphics.supportsExtension("GL_EXT_framebuffer_object") || Gdx.gl30 != null) { in generateMipMapDesktop()
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
DVertexBufferObjectWithVAO.java137 GL30 gl = Gdx.gl30; in bind()
227 GL30 gl = Gdx.gl30; in unbind()
247 GL30 gl = Gdx.gl30; in dispose()
257 Gdx.gl30.glGenVertexArrays(1, tmpHandle); in createVAO()
266 Gdx.gl30.glDeleteVertexArrays(1, tmpHandle); in deleteVAO()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
DLwjgl3Graphics.java42 private final GL30 gl30; field in Lwjgl3Graphics
76 this.gl30 = new Lwjgl3GL30(); in Lwjgl3Graphics()
77 this.gl20 = this.gl30; in Lwjgl3Graphics()
80 this.gl30 = null; in Lwjgl3Graphics()
128 return gl30 != null; in isGL30Available()
138 return gl30; in getGL30()
DLwjgl3Application.java119 Gdx.gl30 = window.getGraphics().getGL30(); in loop()
120 Gdx.gl20 = Gdx.gl30 != null ? Gdx.gl30 : window.getGraphics().getGL20(); in loop()
121 Gdx.gl = Gdx.gl30 != null ? Gdx.gl30 : Gdx.gl20; in loop()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidGraphics.java81 GL30 gl30; field in AndroidGraphics
248 if (gl30 != null) return; in setupGL()
249 gl20 = gl30 = new AndroidGL30(); in setupGL()
251 Gdx.gl = gl30; in setupGL()
252 Gdx.gl20 = gl30; in setupGL()
253 Gdx.gl30 = gl30; in setupGL()
691 return gl30 != null; in isGL30Available()
696 return gl30; in getGL30()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglGraphics.java53 GL30 gl30; field in LwjglGraphics
338 gl30 = new LwjglGL30(); in initiateGLInstances()
339 gl20 = gl30; in initiateGLInstances()
355 Gdx.gl30 = gl30; in initiateGLInstances()
601 return gl30 != null; in isGL30Available()
606 return gl30; in getGL30()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DTextureArray.java59 if (Gdx.gl30 == null) { in TextureArray()
82 …Gdx.gl30.glTexImage3D(GL30.GL_TEXTURE_2D_ARRAY, 0, data.getInternalFormat(), data.getWidth(), data… in load()
DMesh.java137 if (Gdx.gl30 != null) { in makeVertexBuffer()
/external/libgdx/gdx/src/com/badlogic/gdx/
DGdx.java38 public static GL30 gl30; field in Gdx
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DVBOWithVAOPerformanceTest.java65 if (Gdx.gl30 == null) { in create()
395 GL30 gl = Gdx.gl30; in bind()
461 GL30 gl = Gdx.gl30; in unbind()
475 GL30 gl = Gdx.gl30; in dispose()
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/
DIOSGraphics.java62 GL30 gl30; field in IOSGraphics
112 gl20 = gl30 = new IOSGLES30(); in init()
119 gl30 = null; in init()
DIOSApplication.java161 Gdx.gl30 = graphics.gl30; in didFinishLaunching()
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/
DIOSGraphics.java140 GL30 gl30; field in IOSGraphics
179 gl20 = gl30 = new IOSGLES30(); in IOSGraphics()
186 gl30 = null; in IOSGraphics()
DIOSApplication.java154 Gdx.gl30 = graphics.gl30; in didFinishLaunching()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
DDecalBatch.java92 if(Gdx.gl30 != null) { in initialize()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
DMultipleRenderTargetTest.java561 Gdx.gl30.glDrawBuffers(3, buffer); in build()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DSpriteBatch.java99 …VertexDataType vertexDataType = (Gdx.gl30 != null) ? VertexDataType.VertexBufferObjectWithVAO : de… in SpriteBatch()
DPolygonSpriteBatch.java120 if (Gdx.gl30 != null) { in PolygonSpriteBatch()