« Return to Thread: Scala UI futures

Re: Re: Scala UI futures

by Ingo Maier-3 :: Rate this Message:

Reply to Author | View in Thread

Ismael Juma wrote:

> Ingo Maier <ingo.maier <at> epfl.ch> writes:
>> On a side note, the Java platform right now lacks a lot of things for
>> modern UIs, such as cross platform, efficient graphics hardware support
>> that is exposed in public APIs
>
> An interesting development is the Java Shader Language used by the effects
> framework in JavaFX:
>
> "JSL is simliar in syntax to GLSL/HLSL/Cg, but in practice it's closer
> to Cg in that it can be compiled down into various targets (GLSL,
> HLSL, Java, C, etc)."[1]

I have a prototype of a shader language in Scala as well. But that's not
the point. JSL GPU acceleration doesn't work on all major platforms on
graphics drivers of all three major vendors. And as you pointed out,
it's not public API. Just as the OpenGL/Java2D bridge is not public API.

>
> Unfortunately, it seems like there are no plans to expose it as a public API.
>
>> as well as modern media APIs.
>
> Available in JavaFX. Hopefully it will trickle down to the plain JDK in JDK7

Well, there is a start in JavaFX 1.2. We'll see how it works out. I was
postitive when they started the Java OpenGL pipeline as well. Years
passed and it's still not reliable.

Ingo

.
>
> Best,
> Ismael
>
> [1] http://forums.java.net/jive/thread.jspa?threadID=45674&tstart=0
>
>

 « Return to Thread: Scala UI futures