Open eix128 opened 10 years ago
I'm still trying to understand your issue. What is a "aparapi compatible image"?
On Mon, Mar 10, 2014 at 7:54 AM, jduke32 notifications@github.com wrote:
Hello , the biggest problem on AMD Aparapi is , we don't have GPU side image. BufferedImage on AMD Aparapi Requires image go to cpu for render. But this is not good solution.
Can we make BufferedImage Wrapper for OpenGL side to directly communicate OpenCL without sending image to cpu back ?
here is sample from AMD :
But i think BufferedImage is not good solution for Java and OpenCL
maybe We can add glg2d aparapi compatible image to OpenCL ? I m still searching the way
— Reply to this email directly or view it on GitHubhttps://github.com/brandonborkholder/glg2d/issues/23 .
BufferedImage on java is cpu side image.The data stored on the CPU. But OpenCL & OpenGL interop has gpu stored data image.
Java does not have OpenCL&OpenGL interop image.
http://www.codeproject.com/Articles/685281/OpenGL-OpenCL-Interoperability-A-Case-Study-Using
Can we wrap or make new image that makes faster render on the Java2D?
I still don't understand. The point of glg2d is that it does all it's rendering on the GPU. It's not rendering an image on the CPU and then sending that to the GPU.
On Wed, Apr 2, 2014 at 1:22 PM, jduke32 notifications@github.com wrote:
BufferedImage on java is cpu side image.The data stored on the CPU. But OpenCL & OpenGL interop has gpu stored data image.
Java does not have OpenCL&OpenGL interop image.
http://www.codeproject.com/Articles/685281/OpenGL-OpenCL-Interoperability-A-Case-Study-Using
Can we wrap or make new image that makes faster render on the Java2D?
— Reply to this email directly or view it on GitHubhttps://github.com/brandonborkholder/glg2d/issues/23#issuecomment-39358204 .
Hello , the biggest problem on AMD Aparapi is , we don't have GPU side image. BufferedImage on AMD Aparapi Requires image go to cpu for render. But this is not good solution.
Can we make BufferedImage Wrapper for OpenGL side to directly communicate OpenCL without sending image to cpu back ?
here is sample from AMD : https://code.google.com/p/aparapi/source/browse/trunk/examples/javaonedemo/src/com/amd/aparapi/examples/javaonedemo/Life.java?r=675
But i think BufferedImage is not good solution for Java and OpenCL
maybe We can add glg2d aparapi compatible image to OpenCL ? I m still searching the way