Home
last modified time | relevance | path

Searched refs:kNumberOfTextures (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/deps/glbench/src/
Dtexturereusetest.cc30 glBindTexture(GL_TEXTURE_2D, textures_[i % kNumberOfTextures]); in TestFunc()
35 pixels_[i % kNumberOfTextures].get()); in TestFunc()
40 pixels_[i % kNumberOfTextures].get()); in TestFunc()
46 if ((i % kNumberOfTextures) == (kNumberOfTextures - 1)) { in TestFunc()
47 for (int j = 0; j < kNumberOfTextures; ++j) { in TestFunc()
Dtexturetest.cc76 glGenTextures(kNumberOfTextures, textures_); in Run()
77 for (int i = 0; i < kNumberOfTextures; ++i) { in Run()
103 for (int i = 0; i < kNumberOfTextures; ++i) { in Run()
129 pixels_[i % kNumberOfTextures].get()); in Run()
134 pixels_[i % kNumberOfTextures].get()); in Run()
150 for (int i = 0; i < kNumberOfTextures; ++i) in Run()
153 glDeleteTextures(kNumberOfTextures, textures_); in Run()
Dtextureuploadtest.cc25 glBindTexture(GL_TEXTURE_2D, textures_[i % kNumberOfTextures]); in TestFunc()
30 pixels_[i % kNumberOfTextures].get()); in TestFunc()
35 pixels_[i % kNumberOfTextures].get()); in TestFunc()
Dtexturetest.h17 const int kNumberOfTextures = 8; variable
39 std::unique_ptr<char[]> pixels_[kNumberOfTextures];
40 GLuint textures_[kNumberOfTextures];
Dtextureupdatetest.cc33 pixels_[i % kNumberOfTextures].get()); in TestFunc()
38 pixels_[i % kNumberOfTextures].get()); in TestFunc()
Dtexturerebind.cc35 texture_idx < kNumberOfTextures; in TestFunc()