Free Electron
SurfaceTrianglesOpenCL.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __opencl_SurfaceTrianglesOpenCL_h__
8 #define __opencl_SurfaceTrianglesOpenCL_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief OpenCL augmentation of SurfaceTrianglesAccessible
17 
18  @ingroup opencl
19 
20 *//***************************************************************************/
21 class FE_DL_EXPORT SurfaceTrianglesOpenCL:
23  public CastableAs<SurfaceTrianglesOpenCL>
24 {
25  public:
26 
28  m_replicated(FALSE) {}
29 virtual ~SurfaceTrianglesOpenCL(void) {}
30 
31 virtual void prepareForSearch(void);
32 
33  protected:
34 
35 virtual void cache(void);
36 
37 virtual void drawInternal(BWORD a_transformed,
38  const SpatialTransform* a_pTransform,
39  sp<DrawI> a_spDrawI,
40  const fe::Color* a_pColor,
41  sp<DrawBufferI> a_spDrawBuffer,
42  sp<PartitionI> a_spPartition) const;
43 
44  private:
45 
46  BWORD m_replicated;
47 };
48 
49 } /* namespace ext */
50 } /* namespace fe */
51 
52 #endif /* __opencl_SurfaceTrianglesOpenCL_h__ */
53 
54 
OpenCL augmentation of SurfaceTrianglesAccessible.
Definition: SurfaceTrianglesOpenCL.h:21
kernel
Definition: namespace.dox:3
Special vector for color (RGBA)
Definition: Color.h:21
Triangle Surface from generic SurfaceAccessibleI.
Definition: SurfaceTrianglesAccessible.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192