ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/OpenCL.pm
(Generate patch)

Comparing OpenCL/OpenCL.pm (file contents):
Revision 1.33 by root, Thu Apr 19 12:55:30 2012 UTC vs.
Revision 1.34 by root, Thu Apr 19 13:06:55 2012 UTC

960 960
961Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result. 961Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result.
962 962
963=for gengetinfo end mem 963=for gengetinfo end mem
964 964
965=item ($type, $name) = $mem->gl_object_info
966
967Returns the OpenGL object type (e.g. OpenCL::GL_OBJECT_TEXTURE2D) and the
968object "name" (e.g. the texture name) used to create this memory object.
969
970L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetGLObjectInfo.html>
971
965=back 972=back
966 973
967=head2 THE OpenCL::Buffer CLASS 974=head2 THE OpenCL::Buffer CLASS
968 975
969This is a subclass of OpenCL::Memory, and the superclass of 976This is a subclass of OpenCL::Memory, and the superclass of
1027=item $int = $image->depth 1034=item $int = $image->depth
1028 1035
1029Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result. 1036Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result.
1030 1037
1031=for gengetinfo end image 1038=for gengetinfo end image
1039
1040=for gengetinfo begin gl_texture
1041
1042=item $GLenum = $gl_texture->target
1043
1044Calls C<clGetGlTextureInfo> with C<CL_GL_TEXTURE_TARGET> and returns the result.
1045
1046=item $GLint = $gl_texture->gl_mipmap_level
1047
1048Calls C<clGetGlTextureInfo> with C<CL_GL_MIPMAP_LEVEL> and returns the result.
1049
1050=for gengetinfo end gl_texture
1032 1051
1033=back 1052=back
1034 1053
1035=head2 THE OpenCL::Sampler CLASS 1054=head2 THE OpenCL::Sampler CLASS
1036 1055

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines