chromium/third_party/angle/src/compiler/translator/ExtensionBehavior.cpp

//
// Copyright 2017 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.
//
// ExtensionBehavior.cpp: Extension name enumeration and data structures for storing extension
// behavior.

#include "compiler/translator/ExtensionBehavior.h"

#include "common/debug.h"

#include <string.h>

// clang-format off
// Extension Name, Min ESSL Version, Max ESSL Version
//
// Note that OES_EGL_image_external and OES_texture_3D are ESSL 100 only extensions, but one app has
// been found that uses them on GLSL 310.  http://issuetracker.google.com/285871779
#define LIST_EXTENSIONS(OP)
// clang-format on

namespace sh
{

#define RETURN_EXTENSION_NAME_CASE(ext, min_version, max_version)

const char *GetExtensionNameString(TExtension extension)
{}

#define RETURN_EXTENSION_IF_NAME_MATCHES(ext, min_version, max_version)

TExtension GetExtensionByName(const char *extension)
{}

#define RETURN_VERSION_CHECK(ext, min_version, max_version)

bool CheckExtensionVersion(TExtension extension, int version)
{}

const char *GetBehaviorString(TBehavior b)
{}

bool IsExtensionEnabled(const TExtensionBehavior &extBehavior, TExtension extension)
{}

}  // namespace sh