HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_SpuLauncher.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RU_SpuLauncher.h ( RU Library, C++)
7  *
8  * COMMENTS:
9  * Provides common code features for running an SPU algorithm on a tile.
10  */
11 #ifndef RU_SpuLauncher_H
12 #define RU_SpuLauncher_H
13 
14 #ifdef CELLBE
15 
16 class TIL_TileList;
17 class SPUT_ThreadSet;
18 
19 #include <libspe2.h>
20 #include <SPU/SPU_Shared.h>
21 #include <SPUT/SPUT_SpuLauncher.h>
22 
23 class RU_SpuLauncher : public SPUT_SpuLauncher
24 {
25 public:
26  RU_SpuLauncher() {}
27  virtual ~RU_SpuLauncher() {}
28 
29  // Returns the points to the tiles' data in the rp,gb,bp,p4 pointers. Some
30  // pointers can be NULL if you're not interested in them.
31  void setOutput(TIL_TileList *tiles,
32  SPU_DataType &type,
33  SPU_HostPtr *rp,
34  SPU_HostPtr *gp = NULL,
35  SPU_HostPtr *bp = NULL,
36  SPU_HostPtr *p4 = NULL);
37 };
38 
39 #endif // CELLBE
40 #endif // RU_SpuLauncher_H
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107