Home
last modified time | relevance | path

Searched refs:clImage (Results 1 – 4 of 4) sorted by relevance

/external/OpenCL-CTS/test_conformance/gles/
Dtest_images_2D.cpp40 int test_cl_image_read( cl_context context, cl_command_queue queue, cl_mem clImage, in test_cl_image_read() argument
54 error = clGetImageInfo( clImage, CL_IMAGE_FORMAT, sizeof( cl_image_format ), outFormat, NULL ); in test_cl_image_read()
86 error = clSetKernelArg( kernel, 0, sizeof( clImage ), &clImage ); in test_cl_image_read()
95 error = (*clEnqueueAcquireGLObjects_ptr)( queue, 1, &clImage, 0, NULL, NULL); in test_cl_image_read()
109 error = (*clEnqueueReleaseGLObjects_ptr)( queue, 1, &clImage, 0, NULL, NULL ); in test_cl_image_read()
375 int test_cl_image_write( cl_context context, cl_command_queue queue, cl_mem clImage, in test_cl_image_write() argument
388 error = clGetImageInfo( clImage, CL_IMAGE_FORMAT, sizeof( cl_image_format ), outFormat, NULL ); in test_cl_image_write()
426 error = clSetKernelArg( kernel, 1, sizeof( clImage ), &clImage ); in test_cl_image_write()
431 error = (*clEnqueueAcquireGLObjects_ptr)( queue, 1, &clImage, 0, NULL, NULL); in test_cl_image_write()
445 error = (*clEnqueueReleaseGLObjects_ptr)( queue, 1, &clImage, 0, NULL, &event ); in test_cl_image_write()
[all …]
Dtest_renderbuffer.cpp21 extern int test_cl_image_write( cl_context context, cl_command_queue queue, cl_mem clImage,
25 extern int test_cl_image_read( cl_context context, cl_command_queue queue, cl_mem clImage,
/external/OpenCL-CTS/test_conformance/gl/
Dtest_images_write_common.cpp298 GLenum target, cl_mem clImage, size_t width, size_t height, size_t depth, in test_cl_image_write() argument
312 error = clGetImageInfo(clImage, CL_IMAGE_FORMAT, sizeof(cl_image_format), in test_cl_image_write()
373 error = clSetKernelArg( kernel, 1, sizeof( clImage ), &clImage ); in test_cl_image_write()
380 error = (*clEnqueueAcquireGLObjects_ptr)( queue, 1, &clImage, 0, NULL, NULL); in test_cl_image_write()
394 error = (*clEnqueueReleaseGLObjects_ptr)( queue, 1, &clImage, 0, NULL, &event ); in test_cl_image_write()
Dtest_renderbuffer.cpp57 GLenum target, cl_mem clImage, size_t width, size_t height, size_t depth,