1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_GPU_GL_SCOPED_BINDERS_H_
6 #define CONTENT_COMMON_GPU_GL_SCOPED_BINDERS_H_
10 class ScopedFrameBufferBinder
{
12 explicit ScopedFrameBufferBinder(unsigned int fbo
);
13 ~ScopedFrameBufferBinder();
19 class ScopedTextureBinder
{
21 explicit ScopedTextureBinder(unsigned int id
);
22 ~ScopedTextureBinder();
28 } // namespace content
30 #endif // CONTENT_COMMON_GPU_GL_SCOPED_BINDERS_H_