24 #ifndef PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
25 #define PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
37 class GarchGLPlatformDebugContextPrivate;
48 static GarchGLPlatformDebugContextRefPtr
49 New(
int majorVersion,
int minorVersion,
bool coreProfile,
50 bool directRenderering) {
53 majorVersion, minorVersion, coreProfile, directRenderering));
71 std::unique_ptr<GarchGLPlatformDebugContextPrivate>
_private;
79 bool directRenderering);
86 #endif // PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
TfRefPtr< T > TfCreateRefPtr(T *ptr)
static GarchGLPlatformDebugContextRefPtr New(int majorVersion, int minorVersion, bool coreProfile, bool directRenderering)
static GARCH_API bool IsEnabledDebugOutput()
static GARCH_API bool IsEnabledCoreProfile()
TF_DECLARE_WEAK_AND_REF_PTRS(GarchGLPlatformDebugContext)
GARCH_API GarchGLPlatformDebugContext(int majorVersion, int minorVersion, bool coreProfile, bool directRenderering)
virtual ~GarchGLPlatformDebugContext()
std::unique_ptr< GarchGLPlatformDebugContextPrivate > _private
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
GARCH_API void * chooseMacVisual()
GARCH_API void makeCurrent()