chromium/third_party/angle/src/libANGLE/Config.cpp

//
// Copyright 2002 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.
//

// Config.cpp: Implements the egl::Config class, describing the format, type
// and size for an egl::Surface. Implements EGLConfig and related functionality.
// [EGL 1.5] section 3.4 page 19.

#include "libANGLE/Config.h"
#include "libANGLE/AttributeMap.h"

#include <algorithm>
#include <vector>

#include <EGL/eglext.h>
#include "angle_gl.h"

#include "common/debug.h"

namespace egl
{

Config::Config()
    :{}

Config::~Config() {}

Config::Config(const Config &other) = default;

Config &Config::operator=(const Config &other) = default;

ConfigSet::ConfigSet() = default;

ConfigSet::ConfigSet(const ConfigSet &other) = default;

ConfigSet &ConfigSet::operator=(const ConfigSet &other) = default;

ConfigSet::~ConfigSet() = default;

EGLint ConfigSet::add(const Config &config)
{}

const Config &ConfigSet::get(EGLint id) const
{}

void ConfigSet::clear()
{}

size_t ConfigSet::size() const
{}

bool ConfigSet::contains(const Config *config) const
{}

// Function object used by STL sorting routines for ordering Configs according to [EGL 1.5]
// section 3.4.1.2 page 28.
class ConfigSorter
{};

std::vector<const Config *> ConfigSet::filter(const AttributeMap &attributeMap) const
{}

ConfigSet::ConfigMap::iterator ConfigSet::begin()
{}

ConfigSet::ConfigMap::iterator ConfigSet::end()
{}
}  // namespace egl