Hash :
811b6352
Author :
Date :
2015-02-09T10:17:09
Add a script to generate a new Renderer. Also refactor our current Impl headers slightly to facilitate parsing by the generation script. BUG=angle:905 Change-Id: Ib86cff71d18e7f911cf526b27b8a82757bacd738 Reviewed-on: https://chromium-review.googlesource.com/245497 Tested-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// DefaultAttachmentImpl.h: Defines the abstract rx::DefaultAttachmentImpl class.
#ifndef LIBANGLE_RENDERER_DEFAULTATTACHMENTIMPL_H_
#define LIBANGLE_RENDERER_DEFAULTATTACHMENTIMPL_H_
#include "angle_gl.h"
#include "common/angleutils.h"
namespace rx
{
class DefaultAttachmentImpl
{
public:
DefaultAttachmentImpl() {}
virtual ~DefaultAttachmentImpl() {}
virtual GLsizei getWidth() const = 0;
virtual GLsizei getHeight() const = 0;
virtual GLenum getInternalFormat() const = 0;
virtual GLsizei getSamples() const = 0;
private:
DISALLOW_COPY_AND_ASSIGN(DefaultAttachmentImpl);
};
}
#endif // LIBANGLE_RENDERER_DEFAULTATTACHMENTIMPL_H_