#include "gpu/config/gpu_info_collector.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_split.h"
#include "build/build_config.h"
#include "gpu/config/gpu_info.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_context_stub.h"
#include "ui/gl/gl_display.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_mock.h"
#include "ui/gl/gl_surface_stub.h"
#include "ui/gl/gl_utils.h"
#include "ui/gl/init/gl_factory.h"
#include "ui/gl/test/gl_surface_test_support.h"
MockGLInterface;
Return;
SetArgPointee;
_;
namespace {
enum MockedOperatingSystemKind { … };
}
namespace gpu {
static const MockedOperatingSystemKind kMockedOperatingSystemKinds[] = …;
class GPUInfoCollectorTest
: public testing::Test,
public ::testing::WithParamInterface<MockedOperatingSystemKind> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(GPUInfoCollectorTest, CollectGraphicsInfoGL) { … }
TEST(MultiGPUsTest, IdentifyActiveGPU0) { … }
TEST(MultiGPUsTest, IdentifyActiveGPU1) { … }
TEST(MultiGPUsTest, IdentifyActiveGPU2) { … }
TEST(MultiGPUsTest, IdentifyActiveGPU3) { … }
TEST(MultiGPUsTest, IdentifyActiveGPU4) { … }
TEST(MultiGPUsTest, IdentifyActiveGPUAvoidFalseMatch) { … }
}