blob: 1547a32a6a1dffe57403835da57739d7d7bfe03c [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
29}
30
Geoff Lang0a73dd82014-11-19 16:18:08 -050031#endif // LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_