#include "gpu/config/gpu_driver_bug_workarounds.h"
#include <algorithm>
#include "base/check.h"
#include "base/notreached.h"
namespace {
void IntSetToWorkarounds(const std::vector<int32_t>& enabled_workarounds,
gpu::GpuDriverBugWorkarounds* workarounds) { … }
GLint LowerMax(GLint max0, GLint max1) { … }
}
namespace gpu {
GpuDriverBugWorkarounds::GpuDriverBugWorkarounds() = default;
GpuDriverBugWorkarounds::GpuDriverBugWorkarounds(
const std::vector<int>& enabled_driver_bug_workarounds) { … }
GpuDriverBugWorkarounds::GpuDriverBugWorkarounds(
const GpuDriverBugWorkarounds& other) = default;
GpuDriverBugWorkarounds::~GpuDriverBugWorkarounds() = default;
std::vector<int32_t> GpuDriverBugWorkarounds::ToIntSet() const { … }
void GpuDriverBugWorkarounds::Append(const GpuDriverBugWorkarounds& extra) { … }
}