chromium/gpu/command_buffer/service/gles2_external_framebuffer.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_EXTERNAL_FRAMEBUFFER_H_
#define GPU_COMMAND_BUFFER_SERVICE_GLES2_EXTERNAL_FRAMEBUFFER_H_

#include <memory>

#include "base/containers/flat_map.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "gpu/command_buffer/service/shared_image/shared_image_representation.h"
#include "gpu/gpu_gles2_export.h"
#include "ui/gl/gl_bindings.h"

namespace gpu {
class SharedImageRepresentationFactory;
}

namespace gpu::gles2 {
class FeatureInfo;

// Encapsulates FrameBuffer Object and corresponding attachments for use as
// default framebuffer from command decoders. Only user of default emulated
// framebuffer is NaCL and hopefully will be deleted at some point.
class GPU_GLES2_EXPORT GLES2ExternalFramebuffer {};

}  // namespace gpu::gles2

#endif  // GPU_COMMAND_BUFFER_SERVICE_GLES2_EXTERNAL_FRAMEBUFFER_H_