chromium/ui/gl/gl_implementation_wrapper.h

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_GL_GL_IMPLEMENTATION_WRAPPER_H_
#define UI_GL_GL_IMPLEMENTATION_WRAPPER_H_

#include <memory>

#include "base/command_line.h"
#include "base/memory/raw_ptr.h"
#include "ui/gl/gl_switches.h"

#define GL_IMPL_WRAPPER_TYPE(name)

namespace gl {

// Wraps a GLApi with its tracing and logging variants when the corresponding
// command line flags are passed.
template <class GLImplApi, class GLTraceImplApi, class GLLogImplApi>
class GLImplementationWrapper {};

}  // namespace gl

#endif  // UI_GL_GL_IMPLEMENTATION_WRAPPER_H_