utests: add a simple test case for cl_khr_gl_sharing.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 11:44:19 +0000 (19:44 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 12 Apr 2013 06:13:36 +0000 (14:13 +0800)
commit393090a4762114748d4206475354393b00053f8c
tree44e55e636f572ee6b87b1053775c25d029fb5752
parent3d2147443651e0edfdecc71635ea3730b8a3ac0c
utests: add a simple test case for cl_khr_gl_sharing.

This test case creates a OCL image from a OGL texture.
Then use a OCL kernel to fill the image. Then it back
to OGL to read the pixels back and verify the color.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Lu, Guanqun <guanqun.lu@intel.com>
kernels/test_fill_gl_image.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_fill_gl_image.cpp [new file with mode: 0644]