24#ifndef PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
25#define PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
28#include "pxr/imaging/garch/api.h"
34PXR_NAMESPACE_OPEN_SCOPE
37class GarchGLPlatformDebugContextPrivate;
48 static GarchGLPlatformDebugContextRefPtr
49 New(
int majorVersion,
int minorVersion,
bool coreProfile,
50 bool directRenderering) {
51 return TfCreateRefPtr(
53 majorVersion, minorVersion, coreProfile, directRenderering));
59 static bool IsEnabledDebugOutput();
62 static bool IsEnabledCoreProfile();
68 void *chooseMacVisual();
71 std::unique_ptr<GarchGLPlatformDebugContextPrivate> _private;
79 bool directRenderering);
84PXR_NAMESPACE_CLOSE_SCOPE
Platform specific context (e.g.
Enable a concrete base class for use with TfRefPtr.
Enable a concrete base class for use with TfWeakPtr.
Standard pointer typedefs.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.