blob: ae7be4bf4e9359517db7e66676274dd9d82987e1 [file] [log] [blame]
Geoff Lang6a1e6b92014-11-06 10:42:45 -05001//
2// Copyright 2014 The ANGLE Project Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style license that can be
4// found in the LICENSE file.
5//
6
7// FramebufferImpl.h: Defines the abstract rx::DefaultAttachmentImpl class.
8
Geoff Lang0a73dd82014-11-19 16:18:08 -05009#ifndef LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_
10#define LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_
Geoff Lang6a1e6b92014-11-06 10:42:45 -050011
12#include "angle_gl.h"
13
14namespace rx
15{
16
17class DefaultAttachmentImpl
18{
19 public:
20 virtual ~DefaultAttachmentImpl() {};
21
22 virtual GLsizei getWidth() const = 0;
23 virtual GLsizei getHeight() const = 0;
24 virtual GLenum getInternalFormat() const = 0;
25 virtual GLenum getActualFormat() const = 0;
26 virtual GLsizei getSamples() const = 0;
27};
28
Geoff Langda88add2014-12-01 10:22:01 -050029class FramebufferImpl
30{
31 public:
32 virtual ~FramebufferImpl() {};
33};
34
Geoff Lang6a1e6b92014-11-06 10:42:45 -050035}
36
Geoff Lang0a73dd82014-11-19 16:18:08 -050037#endif // LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_