Logical Graphics Operations

T

Thorsten Kiefer

Hi,
I want to do some logical computations with my graphics cards.
And now I'm wondering if all 16 logical operations of the GPU
are available in Java. Are they ?
There is something like Graphics.setPaintMode() and
Graphics.setXORMode(...).
But these are not sufficient for me. I guess Oracel doesn't find
the 2D logical operations very useful and did not implement them.
Is that the case ?

Best Regards
Toki
 
L

Lew

Thorsten said:
But these are not sufficient for me. I guess Oracel doesn't find
the 2D logical operations very useful and did not implement them.
Is that the case ?

No.

These libraries antedate Oracle's acquisition of Java, and no one knows if Sun
found these operations "very useful" or not. And don't
I want to do some logical computations with my graphics cards.
And now I'm wondering if all 16 logical operations of the GPU
are available in Java. Are they ?
There is something like Graphics.setPaintMode() and
Graphics.setXORMode(...).

There is no direct relationship between 'java.awt.Graphics' and the graphics
card. The Java class depends on the OS's libraries to do its dirty work. If
those OS libraries use the graphics card's capabilities, then Java does on
their coattails.

As for the "16 logical operations", what do they have that
'java.awt.geom.AffineTransform' doesn't provide?
 
R

Roedy Green

I want to do some logical computations with my graphics cards.
And now I'm wondering if all 16 logical operations of the GPU
are available in Java. Are they ?
There is something like Graphics.setPaintMode() and
Graphics.setXORMode(...).

It would be very slow, but you can process images bitwise and do the
logical operation in Java.
 
J

Jeff Higgins

Hi,
I want to do some logical computations with my graphics cards.

And now I'm wondering if all 16 logical operations of the GPU
are available in Java. Are they ?

What GPU? What operations? Are you speaking of raster operations?
There is something like Graphics.setPaintMode() and
Graphics.setXORMode(...).

But these are not sufficient for me.

Shrug. Chomp Chomp

I guess Oracel doesn't find

Do you mean Oragel? Teething pain? Denture pain?
the 2D logical operations very useful and did not implement them.
Is that the case ?

Shrug. BLT
 
K

Knute Johnson

What GPU? What operations? Are you speaking of raster operations?




Shrug. Chomp Chomp

I guess Oracel doesn't find

Do you mean Oragel? Teething pain? Denture pain?


Shrug. BLT

BLT?
 
J

Jeff Higgins

A bacon, lettuce and tomato sandwich! Now I'm hungry.

Have to something with all of these tomatoes. Zucchini anyone?
I love technology. Sliced bread. Microwave bacon.
Yum.
 
J

John B. Matthews

Jeff Higgins said:
Which Microsoft must have found less than useful as they are not
implemented in GDI+.

This GPU binding looks interesting for numeric applications, but it
doesn't seem to include the "logical computations" mentioned by the OP.

<http://www.jcuda.de/>

On reflection, I wondered if this might refer to the composite
operations defined by Porter & Duff, but there's only 12 of them.

<http://sites.google.com/site/drjohnbmatthews/composite>
 
J

Jeff Higgins

This GPU binding looks interesting for numeric applications, but it
doesn't seem to include the "logical computations" mentioned by the OP.

<http://www.jcuda.de/>

I think the reference to graphics card and GPU in the OP was an
(unintentional?) red herring.
On reflection, I wondered if this might refer to the composite
operations defined by Porter& Duff, but there's only 12 of them.

The reference to 16 operations brought back faint memories of Windows
GDI API.

And may explain the somewhat caustic last sentences of the OP.
I think my oversensitivity is due to an excess of caffeine and sugar in
my diet.

Nice, thanks.

I'm putting these here just for my own future reference.
<http://www.enchantia.com/software/graphapp/doc/tech/wintrans.html>
<http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,798
Messages
2,569,651
Members
45,384
Latest member
GOLDY

Latest Threads

Top