[Libreoffice-commits] core.git: offapi/com

Tor Lillqvist tml at collabora.com
Mon Dec 22 04:32:34 PST 2014


 offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl |   19 ++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

New commits:
commit c14a6d0d3526bb7bb9366bf8e877eaae0164bc82
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Dec 22 14:29:29 2014 +0200

    Clarify what "ID" means
    
    Change-Id: Idfc3e90acf8fecaff5d11964c2197bf1610f558b

diff --git a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
index 9fe3098..cbf1af0 100644
--- a/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
+++ b/offapi/com/sun/star/sheet/opencl/XOpenCLSelection.idl
@@ -43,18 +43,29 @@ interface XOpenCLSelection : com::sun::star::uno::XInterface
     void disableAutomaticDeviceSelection();
 
     /**
-     * Set the OpenCL device with the platform ID and device ID
-     * Uses the ID of the platform and the device
+     * Select the OpenCL device with the given platform and device
+     * number. The platform number corresponds to an index into the
+     * sequence returned by getOpenCLPlatforms, and the device number
+     * corresponds to an index into the sequence of devices in that
+     * platform.
      */
     void selectOpenCLDevice( [in] long platform, [in] long device );
 
     /**
-     * returns the platform id of the currently selected device
+     * returns the index of the platform of the currently selected
+     * device. This is an index into the sequence that
+     * getOpenCLPlatforms returns in the current instance of
+     * LibreOffice (and not some a priori defined identifier for an
+     * OpenCL platform).
      */
     long getPlatformID();
 
     /**
-     * returns the device id of the currently selected device
+     * returns the index of the currently selected device. This is an
+     * index into the sequence of devices in the OpenCLPLatform object
+     * the device is part of in the current instance of LibreOffice
+     * (and not some a priori defined identifier for a specific model
+     * of device accessed through a specific platform).
      */
     long getDeviceID();
 


More information about the Libreoffice-commits mailing list