blob: 372da6e2fb460baa1949af517cad88e17687fe60 [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
9#ifndef LIBGLESV2_RENDERER_FRAMBUFFERIMPL_H_
10#define LIBGLESV2_RENDERER_FRAMBUFFERIMPL_H_
11
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
31#endif // LIBGLESV2_RENDERER_FRAMBUFFERIMPL_H_