chromium/ui/gl/scoped_binders.h

// Copyright 2012 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_SCOPED_BINDERS_H_
#define UI_GL_SCOPED_BINDERS_H_

#include <array>

#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "ui/gl/gl_export.h"

namespace gl {
class GLStateRestorer;

class GL_EXPORT ScopedFramebufferBinder {};

class GL_EXPORT ScopedActiveTexture {};

class GL_EXPORT ScopedTextureBinder {};

class GL_EXPORT ScopedUseProgram {};

class GL_EXPORT ScopedVertexAttribArray {};

class GL_EXPORT ScopedBufferBinder {};

class GL_EXPORT ScopedViewport {};

class GL_EXPORT ScopedVertexAttribPointer {};

class GL_EXPORT ScopedColorMask {};

class GL_EXPORT ScopedCapability {};

}  // namespace gl

#endif  // UI_GL_SCOPED_BINDERS_H_