Giter Club home page Giter Club logo

libgdx-fx's People

Contributors

wrozwad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libgdx-fx's Issues

Pixel-path performance warning

In LwjglToJavaFX there is this code:

if (caps.GL_ARB_debug_output)
glDebugMessageCallbackARB(new ARBDebugOutputCallback());

Every frame it outputs the following on the console:

[LWJGL] ARB_debug_output message
ID: 131154
Source: API
Type: PERFORMANCE
Severity: MEDIUM
Message: Pixel-path performance warning: Pixel transfer is synchronized with 3D rendering.

Is it possible to fix this?

Exception in thread "LWJGL Application" java.lang.NullPointerException

Last commit was 4 years ago but I hope someone knows what's wrong.

I get this stacktrace every single time when running an LwjglFxApplication. (I tried the example code, still doesn't work)

Exception in thread "LWJGL Application" java.lang.NullPointerException
	at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.initiateGLInstances(LwjglGraphics.java:378)
	at com.badlogic.gdx.backends.lwjgl.LwjglFXGraphics.setupDisplay(LwjglFXGraphics.java:88)
	at com.badlogic.gdx.backends.lwjgl.LwjglFXApplication.mainLoop(LwjglFXApplication.java:65)
	at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

The exception causes libGDX to crash, the JavaFX Stage still works though

Trying to import this in IntelliJ Idea got ContextCapabilities not found

Hi there,

I'm trying to make this work in IntelliJ Idea. I have imported the project from Eclipse but couldn't build it. I have added org.lwjgl.lwjgl-3.2.0.jar and org.lwjgl.opengl-3.2.0.jar to the dependencies, but still I'm getting several errors of symbols not found, for example:

Error:(35, 24) java: cannot find symbol
symbol: class ContextCapabilities
location: package org.lwjgl.opengl

There are other missing classes, but I guess the issue is the same. For example, it cannot find GLContext class either, and some methods like:

Error:(214, 38) java: no suitable method found for glMapTexture2DINTEL(int,int,int,int,java.nio.IntBuffer,java.nio.IntBuffer,java.nio.ByteBuffer)
method org.lwjgl.opengl.INTELMapTexture.glMapTexture2DINTEL(int,int,int,int[],int[],long,java.nio.ByteBuffer) is not applicable
(argument mismatch; int cannot be converted to int[])
method org.lwjgl.opengl.INTELMapTexture.glMapTexture2DINTEL(int,int,int,java.nio.IntBuffer,java.nio.IntBuffer,long,java.nio.ByteBuffer) is not applicable
(argument mismatch; int cannot be converted to java.nio.IntBuffer)

I guess I'm not using the right version of the libraries or something like that. I have take a look at the eclipse configuration files on the project, but couldn't find a hint about the dependencies.

Could you tell me the library dependencies I would need to add to my IntelliJ Idea project to make this build?

Thanks a million in advance!

libGDX ImageView upside-down

I have the issue that the stuff that libGDX renders to the ImageView gets displayed upside-down. The input seems to be correctly though, but it just doesn't match the visuals. Any idea how to fix this?

Exception on resize

First of all thanks for publishing this! It really worked out of the box, but there seem to be a few bugs and unfortunately I have no clue how to solve those.

When resizing the window, I get the following error:

java.lang.IllegalArgumentException: Upload requires 1251840 elements, but only 743280 elements remain in the buffer
at com.sun.prism.impl.BaseTexture.checkUpdateParams(Unknown Source)
at com.sun.prism.d3d.D3DTexture.update(Unknown Source)
at com.sun.prism.impl.BaseTexture.update(Unknown Source)
at com.sun.prism.impl.BaseResourceFactory.getCachedTexture(Unknown Source)
at com.sun.javafx.sg.prism.NGImageView.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGImageView.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderForClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderRectClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderForClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderRectClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderClip(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PresentingPainter.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.javafx.tk.RenderJob.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The ImageView backed by libgdx still works after that, but most of the times, it breaks the rest of the UI. Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.