chromium/third_party/angle/src/libANGLE/renderer/ContextImpl.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.
//
// ContextImpl:
//   Implementation-specific functionality associated with a GL Context.
//

#include "libANGLE/renderer/ContextImpl.h"

#include "common/base/anglebase/no_destructor.h"
#include "libANGLE/Context.h"

namespace rx
{
ContextImpl::ContextImpl(const gl::State &state, gl::ErrorSet *errorSet)
    :{}

ContextImpl::~ContextImpl() {}

void ContextImpl::invalidateTexture(gl::TextureType target)
{}

angle::Result ContextImpl::startTiling(const gl::Context *context,
                                       const gl::Rectangle &area,
                                       GLbitfield preserveMask)
{}

angle::Result ContextImpl::endTiling(const gl::Context *context, GLbitfield preserveMask)
{}

angle::Result ContextImpl::onUnMakeCurrent(const gl::Context *context)
{}

angle::Result ContextImpl::handleNoopDrawEvent()
{}

void ContextImpl::setMemoryProgramCache(gl::MemoryProgramCache *memoryProgramCache)
{}

void ContextImpl::handleError(GLenum errorCode,
                              const char *message,
                              const char *file,
                              const char *function,
                              unsigned int line)
{}

egl::ContextPriority ContextImpl::getContextPriority() const
{}

egl::Error ContextImpl::releaseHighPowerGPU(gl::Context *)
{}

egl::Error ContextImpl::reacquireHighPowerGPU(gl::Context *)
{}

void ContextImpl::acquireExternalContext(const gl::Context *context) {}

void ContextImpl::releaseExternalContext(const gl::Context *context) {}

angle::Result ContextImpl::acquireTextures(const gl::Context *context,
                                           const gl::TextureBarrierVector &textureBarriers)
{}

angle::Result ContextImpl::releaseTextures(const gl::Context *context,
                                           gl::TextureBarrierVector *textureBarriers)
{}

const angle::PerfMonitorCounterGroups &ContextImpl::getPerfMonitorCounters()
{}

angle::Result ContextImpl::drawPixelLocalStorageEXTEnable(gl::Context *,
                                                          GLsizei n,
                                                          const gl::PixelLocalStoragePlane[],
                                                          const GLenum loadops[])
{}

angle::Result ContextImpl::drawPixelLocalStorageEXTDisable(gl::Context *,
                                                           const gl::PixelLocalStoragePlane[],
                                                           const GLenum storeops[])
{}
}  // namespace rx