Searched refs:tex2d (Results 1 - 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/tests/graw/
H A Dquad-tex.c123 ubyte tex2d[SIZE][SIZE][4]; local
131 tex2d[t][s][0] = (x) ? 0 : 63;
132 tex2d[t][s][1] = (x) ? 0 : 128;
133 tex2d[t][s][2] = 0;
134 tex2d[t][s][3] = 0xff;
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
140 tex2d[t][s][2] = (x) ? 0 : 128;
141 tex2d[t][s][3] = 0xff;
146 tex2d[
[all...]
H A Dquad-sample.c168 ubyte tex2d[SIZE][SIZE][4]; local
176 tex2d[t][s][0] = (x) ? 0 : 63;
177 tex2d[t][s][1] = (x) ? 0 : 128;
178 tex2d[t][s][2] = 0;
179 tex2d[t][s][3] = 0xff;
183 tex2d[t][s][0] = s*255/(SIZE-1);
184 tex2d[t][s][1] = t*255/(SIZE-1);
185 tex2d[t][s][2] = (x) ? 0 : 128;
186 tex2d[t][s][3] = 0xff;
191 tex2d[
[all...]
H A Dfs-test.c252 ubyte tex2d[SIZE][SIZE][4]; local
260 tex2d[t][s][0] = (x) ? 0 : 63;
261 tex2d[t][s][1] = (x) ? 0 : 128;
262 tex2d[t][s][2] = 0;
263 tex2d[t][s][3] = 0xff;
267 tex2d[t][s][0] = s*255/(SIZE-1);
268 tex2d[t][s][1] = t*255/(SIZE-1);
269 tex2d[t][s][2] = (x) ? 0 : 128;
270 tex2d[t][s][3] = 0xff;
275 tex2d[
[all...]
H A Dgs-test.c343 ubyte tex2d[SIZE][SIZE][4]; local
351 tex2d[t][s][0] = (x) ? 0 : 63;
352 tex2d[t][s][1] = (x) ? 0 : 128;
353 tex2d[t][s][2] = 0;
354 tex2d[t][s][3] = 0xff;
358 tex2d[t][s][0] = s*255/(SIZE-1);
359 tex2d[t][s][1] = t*255/(SIZE-1);
360 tex2d[t][s][2] = (x) ? 0 : 128;
361 tex2d[t][s][3] = 0xff;
366 tex2d[
[all...]
H A Dvs-test.c241 ubyte tex2d[SIZE][SIZE][4]; local
249 tex2d[t][s][0] = (x) ? 0 : 63;
250 tex2d[t][s][1] = (x) ? 0 : 128;
251 tex2d[t][s][2] = 0;
252 tex2d[t][s][3] = 0xff;
256 tex2d[t][s][0] = s*255/(SIZE-1);
257 tex2d[t][s][1] = t*255/(SIZE-1);
258 tex2d[t][s][2] = (x) ? 0 : 128;
259 tex2d[t][s][3] = 0xff;
264 tex2d[
[all...]
H A Dtex-srgb.c149 ubyte tex2d[SIZE][SIZE][4]; local
154 tex2d[t][s][0] = 0;
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
157 tex2d[t][s][3] = 255;
162 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dtex-swizzle.c124 ubyte tex2d[SIZE][SIZE][4]; local
129 tex2d[t][s][0] = 0; /*B*/
130 tex2d[t][s][1] = t; /*G*/
131 tex2d[t][s][2] = s; /*R*/
132 tex2d[t][s][3] = 1; /*A*/
137 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dgraw_util.h269 if (memcmp(ptr, tex2d, sizeof tex2d) != 0) {
/external/deqp/modules/gles2/functional/
H A Des2fTextureCompletenessTests.cpp933 tcu::TestCaseGroup* tex2d = new tcu::TestCaseGroup(m_testCtx, "2d", "2D completeness"); local
934 addChild(tex2d);
939 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size", "", IVec2(255, 255), IVec2(255, 255), 0, m_context.getContextInfo()));
940 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_0", "", IVec2(256, 256), IVec2(255, 255), 0, m_context.getContextInfo()));
941 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_1", "", IVec2(256, 256), IVec2(127, 127), 1, m_context.getContextInfo()));
942 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "not_positive_level_0", "", IVec2(256, 256), IVec2(0, 0), 0, m_context.getContextInfo()));
944 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgb_rgba", "", IVec2(128, 128), GL_RGB, GL_RGBA, 1));
945 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgba_rgb", "", IVec2(128, 128), GL_RGBA, GL_RGB, 1));
946 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_luminance_luminance_alpha", "", IVec2(128, 128), GL_LUMINANCE, GL_LUMINANCE_ALPHA, 1));
947 tex2d
[all...]

Completed in 112 milliseconds