Lines Matching refs:testAlignment
90 void testAlignment(int alignment, unsigned int offset, GLenum format, GLenum type) in testAlignment() function in __anon952f8acd0111::UnpackAlignmentTest
140 testAlignment(1, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
145 testAlignment(1, 7 * 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
150 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
155 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
160 testAlignment(1, 7 * 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
175 testAlignment(1, 7, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
180 testAlignment(2, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
185 testAlignment(2, 7 * 3 + 1, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
190 testAlignment(2, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
195 testAlignment(2, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
200 testAlignment(2, 7 * 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
205 testAlignment(2, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
210 testAlignment(2, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
215 testAlignment(2, 7 + 1, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
220 testAlignment(4, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
225 testAlignment(4, 7 * 3 + 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
230 testAlignment(4, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
235 testAlignment(4, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
240 testAlignment(4, 7 * 2 + 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
245 testAlignment(4, 7 * 2 + 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
250 testAlignment(4, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
255 testAlignment(4, 7 + 1, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
260 testAlignment(8, 7 * 4 + 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
265 testAlignment(8, 7 * 3 + 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
270 testAlignment(8, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
275 testAlignment(8, 7 * 2 + 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
280 testAlignment(8, 7 * 2 + 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
285 testAlignment(8, 7 * 2 + 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
290 testAlignment(8, 7 + 1, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
295 testAlignment(8, 7 + 1, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()