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

// Copyright 2019 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.
//
// format_map_desktop:
//   Determining the sized internal format from a (format,type) pair.
//   Also check DesktopGL format combinations for validity.

#include "angle_gl.h"
#include "common/debug.h"
#include "formatutils.h"
#include "renderer/gl/functionsgl_enums.h"

// TODO(http://anglebug.com/42262388): switch ANGLE to generate its own GL enum types from gl.xml

namespace gl
{

bool ValidDesktopFormat(GLenum format)
{}

bool ValidDesktopType(GLenum type)
{}

// From OpenGL 4.6 spec section 8.4
bool ValidDesktopFormatCombination(GLenum format, GLenum type, GLenum internalFormat)
{}

}  // namespace gl