Re: [JAVA2D] Exactly which graphics surfaces get HW accelerated?

2009-04-15 Thread java2d
Hi Jim,

I perfectly agree with your analysis.
My point was not to have it in the same class as the Porter Duff rules 
implementation.
The only thing I am looking after is having these advanced blending modes 
working with hardware acceleration pipelines.

Given the latest evaluation of RFE 6541868, it seems that this will only happen 
for the ADD mode and maybe for the MULTIPLY mode also. 
However, for all the other modes, it seems that it is no longer in the plan to 
implement them as a Composite (was known as PhotoComposite API) that could be 
given to the Graphics2D object but rather delegated to the use of the JavaFX 
Blend classes. Unfortunately the JavaFX Blend classes cannot be used without a 
direct access to the destination surface and in my application I can only draw 
onto it through the Graphics2D returned by the BufferStrategy.
This is why I am trying to understand if there is another way I am not aware of 
to use the hardware accelerated blending performed by JavaFX classes directly 
with the BufferStrategy backbuffer without using an additional VolatileImage 
that would decrease the rendering performances as compared to what we can 
achieve with page flipping in BufferStrategy.

Any hint ?
[Message sent by forum member 'vync79' (vync79)]

http://forums.java.net/jive/thread.jspa?messageID=342252

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] Exactly which graphics surfaces get HW accelerated?

2009-04-15 Thread Dmitri Trembovetski

jav...@javadesktop.org wrote:

Hi Jim,

I perfectly agree with your analysis.
My point was not to have it in the same class as the Porter Duff rules 
implementation.
The only thing I am looking after is having these advanced blending modes 
working with hardware acceleration pipelines.

Given the latest evaluation of RFE 6541868, it seems that this will only happen for the ADD mode and maybe for the MULTIPLY mode also. 
However, for all the other modes, it seems that it is no longer in the plan to implement them as a Composite (was known as PhotoComposite API) that could be given to the Graphics2D object but rather delegated to the use of the JavaFX Blend classes. Unfortunately the JavaFX Blend classes cannot be used without a direct access to the destination surface and in my application I can only draw onto it through the Graphics2D returned by the BufferStrategy.

This is why I am trying to understand if there is another way I am not aware of 
to use the hardware accelerated blending performed by JavaFX classes directly 
with the BufferStrategy backbuffer without using an additional VolatileImage 
that would decrease the rendering performances as compared to what we can 
achieve with page flipping in BufferStrategy.


  There's no such way that I know of besides implementing your UI in JavaFX.

  Thanks,
Dmitri




Any hint ?
[Message sent by forum member 'vync79' (vync79)]

http://forums.java.net/jive/thread.jspa?messageID=342252

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


[JAVA2D] How to read a .txt file using 2D array?

2009-04-15 Thread java2d
plz any body do help me :(
i have to submit the assignment day after tomorrow and am the beginner.
[Message sent by forum member 'sana123' (sana123)]

http://forums.java.net/jive/thread.jspa?messageID=342284

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] How to read a .txt file using 2D array?

2009-04-15 Thread java2d
Java2D (this forum) is about putting pixels on screens and has little to do 
with two-dimensional arrays.
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=342288

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] How to read a .txt file using 2D array?

2009-04-15 Thread java2d
somebody do hep me!!!
thanking you all!
[Message sent by forum member 'sana123' (sana123)]

http://forums.java.net/jive/thread.jspa?messageID=342294

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] How to read a .txt file using 2D array?

2009-04-15 Thread java2d
http://www.catb.org/~esr/faqs/smart-questions.html#homework
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=342296

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] How to read a .txt file using 2D array?

2009-04-15 Thread java2d
M sorry :(
[Message sent by forum member 'sana123' (sana123)]

http://forums.java.net/jive/thread.jspa?messageID=342300

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.