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

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

// ShareGroup.h: Defines the egl::ShareGroup class, representing the collection of contexts in a
// share group.

#include "libANGLE/ShareGroup.h"

#include <algorithm>
#include <iterator>

#include <EGL/eglext.h>
#include <platform/PlatformMethods.h>

#include "common/debug.h"
#include "common/platform_helpers.h"
#include "libANGLE/Context.h"
#include "libANGLE/capture/FrameCapture.h"
#include "libANGLE/renderer/DisplayImpl.h"
#include "libANGLE/renderer/ShareGroupImpl.h"

namespace egl
{
// ShareGroupState
ShareGroupState::ShareGroupState()
    :{}
ShareGroupState::~ShareGroupState() = default;

void ShareGroupState::addSharedContext(gl::Context *context)
{}

void ShareGroupState::removeSharedContext(gl::Context *context)
{}

// ShareGroup
ShareGroup::ShareGroup(rx::EGLImplFactory *factory)
    :{}

ShareGroup::~ShareGroup()
{}

void ShareGroup::addRef()
{}

void ShareGroup::release(const Display *display)
{}

void ShareGroup::finishAllContexts()
{}

void ShareGroup::addSharedContext(gl::Context *context)
{}

void ShareGroup::removeSharedContext(gl::Context *context)
{}
}  // namespace egl