7 #ifndef __opencl_SurfaceAccessibleOpenCL_h__ 8 #define __opencl_SurfaceAccessibleOpenCL_h__ 28 static void updateDrawBuffer(
32 a_spSurfaceAccessibleI,
39 virtual BWORD
isBound(
void) {
return TRUE; }
46 virtual I32 count(
String a_nodeName,
47 SurfaceAccessibleI::Element
50 using SurfaceAccessibleBase::attributeSpecs;
52 virtual void attributeSpecs(
56 SurfaceAccessibleI::Element
62 SurfaceAccessibleI::Element a_element,
64 SurfaceAccessibleI::Creation a_create,
65 SurfaceAccessibleI::Writable
68 SurfaceAccessibleI::Element a_element,
69 SurfaceAccessibleI::Attribute
71 SurfaceAccessibleI::Creation a_create,
72 SurfaceAccessibleI::Writable
75 using SurfaceAccessibleBase::discard;
77 virtual BWORD discard(SurfaceAccessibleI::Element a_element,
83 SurfaceI::Restrictions a_restrictions);
86 SurfaceAccessibleI::Element a_element,
100 { clReleaseMemObject(m_clMem); }
111 Bridge(cl_context a_clContext):
116 m_clContext(a_clContext),
118 m_gpuCurrent(TRUE) {}
137 std::set<I32> m_groupSet;
143 cl_context m_clContext;
155 virtual void reset(
void);
158 void updateContext(
void);
162 std::map< String, cp<Bridge> > m_bridgeMap;
165 cl_context m_clContext;
Common Functionality for Accessible Surface.
Definition: SurfaceAccessibleBase.h:20
virtual sp< SurfaceI > surface(void)
Return current underlying SurfaceI.
Definition: SurfaceAccessibleBase.h:143
Heap-based support for classes participating in fe::ptr <>
Definition: Counted.h:35
Base class providing protection counting for cp<>
Definition: Protectable.h:28
kernel
Definition: namespace.dox:3
virtual BWORD threadable(void)
Indicate whether an implementation can be accessed from multiple threads.
Definition: SurfaceAccessibleOpenCL.h:42
virtual BWORD isBound(void)
Return true if surface is available.
Definition: SurfaceAccessibleOpenCL.h:39
OpenCL Surface Binding.
Definition: SurfaceAccessibleOpenCL.h:20
Automatically reference-counted string container.
Definition: String.h:128
int count(void) const
Return the count of references.
Definition: Counted.h:156
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192
Object level locking for thread safety.
Definition: SafeShared.h:220
virtual sp< SurfaceAccessorI > accessor(String a_node, Element a_element, String a_name, Creation a_create, Writable a_writable)
Return access to an attribute.
Definition: SurfaceAccessibleBase.h:87