1 /*******************************************************************************
\r
2 * Copyright 2011 See AUTHORS file.
\r
4 * Licensed under the Apache License, Version 2.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
15 ******************************************************************************/
\r
17 package com.badlogic.gdx.tests.lwjgl;
\r
19 import com.badlogic.gdx.Gdx;
\r
20 import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
\r
21 import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
\r
22 import com.badlogic.gdx.graphics.Camera;
\r
23 import com.badlogic.gdx.graphics.GL10;
\r
24 import com.badlogic.gdx.graphics.OrthographicCamera;
\r
25 import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
\r
26 import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
\r
27 import com.badlogic.gdx.math.Vector2;
\r
28 import com.badlogic.gdx.scenes.scene2d.Stage;
\r
29 import com.badlogic.gdx.tests.Bresenham2Test;
\r
30 import com.badlogic.gdx.tests.DelaunayTriangulatorTest;
\r
31 import com.badlogic.gdx.tests.EarClippingTriangulatorTest;
\r
32 import com.badlogic.gdx.tests.MeshShaderTest;
\r
33 import com.badlogic.gdx.tests.MipMapTest;
\r
34 import com.badlogic.gdx.tests.PixelPerfectTest;
\r
35 import com.badlogic.gdx.tests.TextureAtlasTest;
\r
36 import com.badlogic.gdx.tests.TimerTest;
\r
37 import com.badlogic.gdx.tests.g3d.Basic3DSceneTest;
\r
38 import com.badlogic.gdx.tests.g3d.Basic3DTest;
\r
39 import com.badlogic.gdx.tests.g3d.FogTest;
\r
40 import com.badlogic.gdx.tests.g3d.MaterialTest;
\r
41 import com.badlogic.gdx.tests.g3d.ModelLoaderTest;
\r
42 import com.badlogic.gdx.tests.g3d.ModelTest;
\r
43 import com.badlogic.gdx.tests.g3d.ShaderCollectionTest;
\r
44 import com.badlogic.gdx.tests.g3d.voxel.VoxelTest;
\r
45 import com.badlogic.gdx.tests.net.NetAPITest;
\r
46 import com.badlogic.gdx.tests.utils.GdxTest;
\r
48 public class LwjglDebugStarter {
\r
49 public static void main (String[] argv) {
\r
50 // this is only here for me to debug native code faster
\r
51 // new SharedLibraryLoader("../../extensions/gdx-audio/libs/gdx-audio-natives.jar").load("gdx-audio");
\r
52 // new SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image");
\r
53 // new SharedLibraryLoader("../../extensions/gdx-freetype/libs/gdx-freetype-natives.jar").load("gdx-freetype");
\r
54 // new SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar").load("gdx-controllers-desktop");
\r
55 // new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");
\r
57 GdxTest test = new PixelPerfectTest();
\r
58 LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
\r
59 config.useGL20 = test.needsGL20();
\r
61 config.height = 240;
\r
62 new LwjglApplication(test, config);
\r