chromium/third_party/blink/renderer/platform/graphics/gpu/drawing_buffer_software_rendering_test.cc

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

#include "cc/resources/shared_bitmap_id_registrar.h"
#include "components/viz/common/resources/release_callback.h"
#include "components/viz/common/resources/transferable_resource.h"
#include "gpu/command_buffer/client/gles2_interface_stub.h"
#include "gpu/config/gpu_feature_info.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.h"
#include "third_party/blink/renderer/platform/graphics/gpu/drawing_buffer_test_helpers.h"
#include "third_party/blink/renderer/platform/graphics/test/test_webgraphics_shared_image_interface_provider.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

// These unit tests are separate from DrawingBufferTests.cpp because they are
// built as a part of webkit_unittests instead blink_platform_unittests. This is
// because the software rendering mode has a dependency on the blink::Platform
// interface for buffer allocations.

namespace blink {
namespace {

class TestSharedBitmapIdRegistar : public cc::SharedBitmapIdRegistrar {};

class DrawingBufferSoftwareCompositingTest : public testing::Test {};

TEST_F(DrawingBufferSoftwareCompositingTest, BitmapRecycling) {}

TEST_F(DrawingBufferSoftwareCompositingTest, FramebufferBinding) {}

}  // unnamed namespace
}  // blink