#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "build/build_config.h"
#include "gpu/command_buffer/tests/gl_manager.h"
#include "gpu/command_buffer/tests/gl_test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu {
class OcclusionQueryTest : public testing::Test { … };
static void SetMatrix(float x, float z, float scale, float* matrix) { … }
void OcclusionQueryTest::DrawRect(float x, float z, float scale, float* color) { … }
TEST_F(OcclusionQueryTest, Occlusion) { … }
}