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

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

// Thread.cpp : Defines the Thread class which represents a global EGL thread.

#include "libANGLE/Thread.h"

#include "libANGLE/Context.h"
#include "libANGLE/Debug.h"
#include "libANGLE/Display.h"
#include "libANGLE/Error.h"

namespace angle
{
#if defined(ANGLE_USE_ANDROID_TLS_SLOT)
bool gUseAndroidOpenGLTlsSlot = false;
#endif
}  // namespace angle

namespace egl
{
namespace
{
Debug *sDebug =;
}  // namespace

Thread::Thread()
    :{}

void Thread::setLabel(EGLLabelKHR label)
{}

EGLLabelKHR Thread::getLabel() const
{}

void Thread::setSuccess()
{}

void Thread::setError(EGLint error,
                      const char *command,
                      const LabeledObject *object,
                      const char *message)
{}

void Thread::setError(const Error &error, const char *command, const LabeledObject *object)
{}

EGLint Thread::getError() const
{}

void Thread::setAPI(EGLenum api)
{}

EGLenum Thread::getAPI() const
{}

void Thread::setCurrent(gl::Context *context)
{}

Surface *Thread::getCurrentDrawSurface() const
{}

Surface *Thread::getCurrentReadSurface() const
{}

gl::Context *Thread::getContext() const
{}

Display *Thread::getDisplay() const
{}

void EnsureDebugAllocated()
{}

void DeallocateDebug()
{}

Debug *GetDebug()
{}
}  // namespace egl