Searched refs:mMaxOffscreenBufferCount (Results 1 – 1 of 1) sorted by relevance
139 static constexpr int mMaxOffscreenBufferCount = 2; member in __anon75ef38220111::TracePerfTest140 std::array<GLuint, mMaxOffscreenBufferCount> mOffscreenFramebuffers = {0, 0};141 std::array<GLuint, mMaxOffscreenBufferCount> mOffscreenTextures = {0, 0};1073 glGenFramebuffers(mMaxOffscreenBufferCount, mOffscreenFramebuffers.data()); in initializeBenchmark()1074 glGenTextures(mMaxOffscreenBufferCount, mOffscreenTextures.data()); in initializeBenchmark()1075 for (int i = 0; i < mMaxOffscreenBufferCount; i++) in initializeBenchmark()1119 glDeleteTextures(mMaxOffscreenBufferCount, mOffscreenTextures.data()); in destroyBenchmark()1125 glDeleteFramebuffers(mMaxOffscreenBufferCount, mOffscreenFramebuffers.data()); in destroyBenchmark()1188 mOffscreenFramebuffers[mTotalFrameCount % mMaxOffscreenBufferCount]); in drawBenchmark()1216 mOffscreenFramebuffers[mOffscreenFrameCount % mMaxOffscreenBufferCount]); in drawBenchmark()[all …]