-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
+ * License. You may obtain a copy of the License at\r
+ * \r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
+ * governing permissions and limitations under the License.\r
+ */\r
+\r
package com.badlogic.gdx.backends.jogl;\r
\r
import java.awt.Toolkit;\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
+ * License. You may obtain a copy of the License at\r
+ * \r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
+ * governing permissions and limitations under the License.\r
+ */\r
+\r
package com.badlogic.gdx.backends.jogl;\r
\r
import java.awt.image.BufferedImage;\r
import com.badlogic.gdx.graphics.Texture.TextureWrap;\r
import com.badlogic.gdx.math.WindowedMean;\r
import com.badlogic.gdx.utils.GdxRuntimeException;\r
-import com.sun.opengl.util.Animator;\r
\r
public abstract class JoglGraphicsBase implements Graphics, GLEventListener {\r
GLCanvas canvas;\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
+ * License. You may obtain a copy of the License at\r
+ * \r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
+ * governing permissions and limitations under the License.\r
+ */\r
+\r
package com.badlogic.gdx.backends.jogl;\r
\r
import java.awt.event.KeyListener;\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
+ * \r
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
+ * License. You may obtain a copy of the License at\r
+ * \r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * \r
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
+ * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
+ * governing permissions and limitations under the License.\r
+ */\r
+\r
package com.badlogic.gdx.backends.jogl;\r
\r
import java.io.BufferedOutputStream;\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
import java.io.BufferedInputStream;\r
import java.io.ByteArrayOutputStream;\r
-import java.io.FileInputStream;\r
import java.io.IOException;\r
import java.io.InputStream;\r
import java.nio.ByteBuffer;\r
-/*******************************************************************************\r
- * Copyright 2010 Mario Zechner (contact@badlogicgames.com)\r
+/*\r
+ * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)\r
* \r
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the\r
* License. You may obtain a copy of the License at\r
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"\r
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language\r
* governing permissions and limitations under the License.\r
- ******************************************************************************/\r
+ */\r
\r
package com.badlogic.gdx.backends.jogl;\r
\r
import javax.media.opengl.GL;\r
import javax.media.opengl.GLContext;\r
\r
-import com.badlogic.gdx.Gdx;\r
import com.badlogic.gdx.graphics.Pixmap;\r
import com.badlogic.gdx.graphics.Texture;\r
-import com.badlogic.gdx.graphics.Texture.TextureFilter;\r
-import com.badlogic.gdx.graphics.Texture.TextureWrap;\r
import com.badlogic.gdx.utils.GdxRuntimeException;\r
import com.sun.opengl.util.texture.TextureData;\r
import com.sun.opengl.util.texture.TextureIO;\r