#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "gpu/command_buffer/client/program_info_manager.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
uint32_t ComputeOffset(const void* start, const void* position) { … }
const GLuint kClientProgramId = …;
}
namespace gpu {
namespace gles2 {
class ProgramInfoManagerTest : public testing::Test { … };
TEST_F(ProgramInfoManagerTest, UpdateES2) { … }
TEST_F(ProgramInfoManagerTest, UpdateES3UniformBlocks) { … }
TEST_F(ProgramInfoManagerTest, UpdateES3TransformFeedbackVaryings) { … }
TEST_F(ProgramInfoManagerTest, GetUniformBlockIndexCached) { … }
TEST_F(ProgramInfoManagerTest, GetActiveUniformBlockNameCached) { … }
TEST_F(ProgramInfoManagerTest, GetActiveUniformBlockivCached) { … }
TEST_F(ProgramInfoManagerTest, GetTransformFeedbackVaryingCached) { … }
TEST_F(ProgramInfoManagerTest, GetUniformIndices) { … }
TEST_F(ProgramInfoManagerTest, GetActiveUniformsivCached) { … }
}
}