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

/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dquad-tex.c121 ubyte tex2d[SIZE][SIZE][4]; local
129 tex2d[t][s][0] = (x) ? 0 : 63;
130 tex2d[t][s][1] = (x) ? 0 : 128;
131 tex2d[t][s][2] = 0;
132 tex2d[t][s][3] = 0xff;
136 tex2d[t][s][0] = s*255/(SIZE-1);
137 tex2d[t][s][1] = t*255/(SIZE-1);
138 tex2d[t][s][2] = (x) ? 0 : 128;
139 tex2d[t][s][3] = 0xff;
144 tex2d[
[all...]
H A Dquad-sample.c169 ubyte tex2d[SIZE][SIZE][4]; local
177 tex2d[t][s][0] = (x) ? 0 : 63;
178 tex2d[t][s][1] = (x) ? 0 : 128;
179 tex2d[t][s][2] = 0;
180 tex2d[t][s][3] = 0xff;
184 tex2d[t][s][0] = s*255/(SIZE-1);
185 tex2d[t][s][1] = t*255/(SIZE-1);
186 tex2d[t][s][2] = (x) ? 0 : 128;
187 tex2d[t][s][3] = 0xff;
192 tex2d[
[all...]
H A Dfs-test.c295 ubyte tex2d[SIZE][SIZE][4]; local
303 tex2d[t][s][0] = (x) ? 0 : 63;
304 tex2d[t][s][1] = (x) ? 0 : 128;
305 tex2d[t][s][2] = 0;
306 tex2d[t][s][3] = 0xff;
310 tex2d[t][s][0] = s*255/(SIZE-1);
311 tex2d[t][s][1] = t*255/(SIZE-1);
312 tex2d[t][s][2] = (x) ? 0 : 128;
313 tex2d[t][s][3] = 0xff;
318 tex2d[
[all...]
H A Dgs-test.c359 ubyte tex2d[SIZE][SIZE][4]; local
367 tex2d[t][s][0] = (x) ? 0 : 63;
368 tex2d[t][s][1] = (x) ? 0 : 128;
369 tex2d[t][s][2] = 0;
370 tex2d[t][s][3] = 0xff;
374 tex2d[t][s][0] = s*255/(SIZE-1);
375 tex2d[t][s][1] = t*255/(SIZE-1);
376 tex2d[t][s][2] = (x) ? 0 : 128;
377 tex2d[t][s][3] = 0xff;
382 tex2d[
[all...]
H A Dvs-test.c246 ubyte tex2d[SIZE][SIZE][4]; local
254 tex2d[t][s][0] = (x) ? 0 : 63;
255 tex2d[t][s][1] = (x) ? 0 : 128;
256 tex2d[t][s][2] = 0;
257 tex2d[t][s][3] = 0xff;
261 tex2d[t][s][0] = s*255/(SIZE-1);
262 tex2d[t][s][1] = t*255/(SIZE-1);
263 tex2d[t][s][2] = (x) ? 0 : 128;
264 tex2d[t][s][3] = 0xff;
269 tex2d[
[all...]
H A Dtex-srgb.c147 ubyte tex2d[SIZE][SIZE][4]; local
152 tex2d[t][s][0] = 0;
153 tex2d[t][s][1] = s * 255 / SIZE;
154 tex2d[t][s][2] = t * 255 / SIZE;
155 tex2d[t][s][3] = 255;
160 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dtex-swizzle.c122 ubyte tex2d[SIZE][SIZE][4]; local
127 tex2d[t][s][0] = 0; /*B*/
128 tex2d[t][s][1] = t; /*G*/
129 tex2d[t][s][2] = s; /*R*/
130 tex2d[t][s][3] = 1; /*A*/
135 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dgraw_util.h269 if (memcmp(ptr, tex2d, sizeof tex2d) != 0) {
/external/mesa3d/src/gallium/tests/graw/
H A Dquad-tex.c121 ubyte tex2d[SIZE][SIZE][4]; local
129 tex2d[t][s][0] = (x) ? 0 : 63;
130 tex2d[t][s][1] = (x) ? 0 : 128;
131 tex2d[t][s][2] = 0;
132 tex2d[t][s][3] = 0xff;
136 tex2d[t][s][0] = s*255/(SIZE-1);
137 tex2d[t][s][1] = t*255/(SIZE-1);
138 tex2d[t][s][2] = (x) ? 0 : 128;
139 tex2d[t][s][3] = 0xff;
144 tex2d[
[all...]
H A Dquad-sample.c169 ubyte tex2d[SIZE][SIZE][4]; local
177 tex2d[t][s][0] = (x) ? 0 : 63;
178 tex2d[t][s][1] = (x) ? 0 : 128;
179 tex2d[t][s][2] = 0;
180 tex2d[t][s][3] = 0xff;
184 tex2d[t][s][0] = s*255/(SIZE-1);
185 tex2d[t][s][1] = t*255/(SIZE-1);
186 tex2d[t][s][2] = (x) ? 0 : 128;
187 tex2d[t][s][3] = 0xff;
192 tex2d[
[all...]
H A Dfs-test.c295 ubyte tex2d[SIZE][SIZE][4]; local
303 tex2d[t][s][0] = (x) ? 0 : 63;
304 tex2d[t][s][1] = (x) ? 0 : 128;
305 tex2d[t][s][2] = 0;
306 tex2d[t][s][3] = 0xff;
310 tex2d[t][s][0] = s*255/(SIZE-1);
311 tex2d[t][s][1] = t*255/(SIZE-1);
312 tex2d[t][s][2] = (x) ? 0 : 128;
313 tex2d[t][s][3] = 0xff;
318 tex2d[
[all...]
H A Dgs-test.c359 ubyte tex2d[SIZE][SIZE][4]; local
367 tex2d[t][s][0] = (x) ? 0 : 63;
368 tex2d[t][s][1] = (x) ? 0 : 128;
369 tex2d[t][s][2] = 0;
370 tex2d[t][s][3] = 0xff;
374 tex2d[t][s][0] = s*255/(SIZE-1);
375 tex2d[t][s][1] = t*255/(SIZE-1);
376 tex2d[t][s][2] = (x) ? 0 : 128;
377 tex2d[t][s][3] = 0xff;
382 tex2d[
[all...]
H A Dvs-test.c246 ubyte tex2d[SIZE][SIZE][4]; local
254 tex2d[t][s][0] = (x) ? 0 : 63;
255 tex2d[t][s][1] = (x) ? 0 : 128;
256 tex2d[t][s][2] = 0;
257 tex2d[t][s][3] = 0xff;
261 tex2d[t][s][0] = s*255/(SIZE-1);
262 tex2d[t][s][1] = t*255/(SIZE-1);
263 tex2d[t][s][2] = (x) ? 0 : 128;
264 tex2d[t][s][3] = 0xff;
269 tex2d[
[all...]
H A Dtex-srgb.c147 ubyte tex2d[SIZE][SIZE][4]; local
152 tex2d[t][s][0] = 0;
153 tex2d[t][s][1] = s * 255 / SIZE;
154 tex2d[t][s][2] = t * 255 / SIZE;
155 tex2d[t][s][3] = 255;
160 PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
H A Dtex-swizzle.c122 ubyte tex2d[SIZE][SIZE][4]; local
127 tex2d[t][s][0] = 0; /*B*/
128 tex2d[t][s][1] = t; /*G*/
129 tex2d[t][s][2] = s; /*R*/
130 tex2d[t][s][3] = 1; /*A*/
135 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.cpp929 tcu::TestCaseGroup* tex2d = new tcu::TestCaseGroup(m_testCtx, "2d", "2D completeness"); local
930 addChild(tex2d);
935 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size", "", IVec2(255, 255), IVec2(255, 255), 0, m_context.getContextInfo()));
936 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_0", "", IVec2(256, 256), IVec2(255, 255), 0, m_context.getContextInfo()));
937 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "npot_size_level_1", "", IVec2(256, 256), IVec2(127, 127), 1, m_context.getContextInfo()));
938 tex2d->addChild(new Incomplete2DSizeCase(m_testCtx, m_context.getRenderContext(), "not_positive_level_0", "", IVec2(256, 256), IVec2(0, 0), 0, m_context.getContextInfo()));
940 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgb_rgba", "", IVec2(128, 128), GL_RGB, GL_RGBA, 1));
941 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_rgba_rgb", "", IVec2(128, 128), GL_RGBA, GL_RGB, 1));
942 tex2d->addChild(new Incomplete2DFormatCase(m_testCtx, m_context.getRenderContext(), "format_mismatch_luminance_luminance_alpha", "", IVec2(128, 128), GL_LUMINANCE, GL_LUMINANCE_ALPHA, 1));
943 tex2d
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DvalidationES2.cpp163 gl::Texture2D *tex2d = context->getTexture2D(); local
164 if (tex2d)
166 textureCompressed = tex2d->isCompressed(level);
167 textureInternalFormat = tex2d->getInternalFormat(level);
168 textureLevelWidth = tex2d->getWidth(level);
169 textureLevelHeight = tex2d->getHeight(level);
170 texture = tex2d;
174 level, format, type, tex2d))
179 texture = tex2d;
H A DvalidationES.cpp1807 gl::Texture2D *tex2d = static_cast<gl::Texture2D *>(tex); local
1808 if (tex2d->isCompressed(level))

Completed in 1189 milliseconds