This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Failed to call clEnqueueCopyImage between src(clCreateFromEGLImageKHR) and dst(clCreateImage)

Recently, I tried to use clEnqueueCopyImage for OpenGL/ES interop with OpenCL. However, it just return -59(CL_INVALID_OPERATION) after calling clEnqueueCopyImage

  1. Use glGenTextures to generate input_gl_tex and check( glGetError() )
  2. Use eglCreateImageKHR to generate input_egl_image with input_gl_tex as parameter and check( eglGetError() )
  3. Use clCreateFromEGLImageKHR to generate input_cl_egl_image with input_egl_image as parameter and check
  4. Use clEnqueueAcquireEGLObjectsKHR to acquire for input_cl_egl_image
  5. Use clEnqueuecopImage  between src(input_cl_egl_image) and dst(clCreateImage), it just return CL_INVALID_OPERATION

How could i fix it ?

Parents
  • Before any development begins, the software partner must evaluate the needs of the business and determine the technical requirements. This is known as the product roadmap, which outlines the timetable, budget, and technical plan. Workshops are held to determine the software's design, which is then converted into interactive prototypes and wireframes. User research validates the design, and testing ensures the software meets expectations. Once the prototype is ready, the software developers will start writing code. These hours are accounted for when calculating the cost of custom software development https://mlsdev.com/services/custom-software-development

Reply
  • Before any development begins, the software partner must evaluate the needs of the business and determine the technical requirements. This is known as the product roadmap, which outlines the timetable, budget, and technical plan. Workshops are held to determine the software's design, which is then converted into interactive prototypes and wireframes. User research validates the design, and testing ensures the software meets expectations. Once the prototype is ready, the software developers will start writing code. These hours are accounted for when calculating the cost of custom software development https://mlsdev.com/services/custom-software-development

Children
No data