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

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

// Compiler.cpp: implements the gl::Compiler class.

#include "libANGLE/Compiler.h"

#include "common/debug.h"
#include "libANGLE/Context.h"
#include "libANGLE/Display.h"
#include "libANGLE/State.h"
#include "libANGLE/renderer/CompilerImpl.h"
#include "libANGLE/renderer/GLImplFactory.h"

namespace gl
{

namespace
{

// To know when to call sh::Initialize and sh::Finalize.
size_t gActiveCompilers =;

}  // anonymous namespace

Compiler::Compiler(rx::GLImplFactory *implFactory, const State &state, egl::Display *display)
    :{}

Compiler::~Compiler() = default;

void Compiler::onDestroy(const Context *context)
{}

ShCompilerInstance Compiler::getInstance(ShaderType type)
{}

void Compiler::putInstance(ShCompilerInstance &&instance)
{}

ShShaderSpec Compiler::SelectShaderSpec(const State &state)
{}

ShCompilerInstance::ShCompilerInstance() :{}

ShCompilerInstance::ShCompilerInstance(ShHandle handle,
                                       ShShaderOutput outputType,
                                       ShaderType shaderType)
    :{}

ShCompilerInstance::~ShCompilerInstance()
{}

void ShCompilerInstance::destroy()
{}

ShCompilerInstance::ShCompilerInstance(ShCompilerInstance &&other)
    :{}

ShCompilerInstance &ShCompilerInstance::operator=(ShCompilerInstance &&other)
{}

ShHandle ShCompilerInstance::getHandle()
{}

ShaderType ShCompilerInstance::getShaderType() const
{}

ShBuiltInResources ShCompilerInstance::getBuiltInResources() const
{}

ShShaderOutput ShCompilerInstance::getShaderOutputType() const
{}

}  // namespace gl