7#ifndef PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
8#define PXR_IMAGING_GARCH_GL_PLATFORM_DEBUG_CONTEXT_H
11#include "pxr/imaging/garch/api.h"
17PXR_NAMESPACE_OPEN_SCOPE
20class GarchGLPlatformDebugContextPrivate;
31 static GarchGLPlatformDebugContextRefPtr
32 New(
int majorVersion,
int minorVersion,
bool coreProfile,
33 bool directRenderering) {
34 return TfCreateRefPtr(
36 majorVersion, minorVersion, coreProfile, directRenderering));
42 static bool IsEnabledDebugOutput();
45 static bool IsEnabledCoreProfile();
51 void *chooseMacVisual();
54 std::unique_ptr<GarchGLPlatformDebugContextPrivate> _private;
62 bool directRenderering);
67PXR_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.