// // Copyright 2014 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. // #ifndef LIBANGLE_ATTRIBUTEMAP_H_ #define LIBANGLE_ATTRIBUTEMAP_H_ #include "common/FastVector.h" #include "common/PackedEnums.h" #include <EGL/egl.h> #include <functional> #include <vector> namespace egl { class Display; struct ValidationContext; // Validates {key, value} for each attribute. Generates an error and returns false on invalid usage. AttributeValidationFunc; enum AttributeMapType { … }; class AttributeMap final { … }; } // namespace egl #endif // LIBANGLE_ATTRIBUTEMAP_H_