Home
last modified time | relevance | path

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

/external/chromium_org/gpu/command_buffer/tests/
Dgl_pointcoord_unittest.cc106 GLint max_point_size = range[1]; in TEST_F() local
107 EXPECT_GE(max_point_size, 1); in TEST_F()
109 max_point_size = std::min(max_point_size, 64); in TEST_F()
110 GLint point_width = max_point_size / kResolution; in TEST_F()
111 GLint point_step = max_point_size / 4; in TEST_F()
114 glUniform1f(pointsize_loc, max_point_size); in TEST_F()
116 GLfloat pixel_offset = (max_point_size % 2) ? (1.0f / kResolution) : 0; in TEST_F()
127 for (GLint yy = 0; yy < max_point_size; yy += point_step) { in TEST_F()
128 for (GLint xx = 0; xx < max_point_size; xx += point_step) { in TEST_F()
132 GLfloat u = xx / max_point_size * 2 - 1; in TEST_F()
[all …]