25 #ifndef OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
26 #define OPENSUBDIV3_OSD_GL_PATCH_TABLE_H
28 #include "../version.h"
31 #include "../far/patchDescriptor.h"
32 #include "../osd/nonCopyable.h"
33 #include "../osd/types.h"
36 struct ID3D11ShaderResourceView;
38 struct ID3D11DeviceContext;
41 namespace OPENSUBDIV_VERSION {
56 template<
typename DEVICE_CONTEXT>
58 DEVICE_CONTEXT context) {
59 return Create(farPatchTable, context->GetDeviceContext());
63 ID3D11DeviceContext *deviceContext);
82 ID3D11DeviceContext *deviceContext);
95 using namespace OPENSUBDIV_VERSION;
99 #endif // OPENSUBDIV3_OSD_GL_PATCH_TABLE_H