/external/mesa3d/src/mesa/main/ |
texstate.c | 68 GLuint u, tex; local 103 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 104 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], 105 src->Texture.Unit[u].CurrentTex[tex]); 106 if (src->Texture.Unit[u].CurrentTex[tex]) { 831 GLuint tex; local 861 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) 961 GLuint u, tex; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 215 // setup tex coords 297 // setup tex coords 304 // Swizzle tex coords 628 deUint32 tex = 0; local 632 glGenTextures(1, &tex); 633 glBindTexture(GL_TEXTURE_2D, tex); 670 deUint32 tex = 0; local 676 glGenTextures(1, &tex); 677 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 719 deUint32 tex = 0 local 768 deUint32 tex = 0; local 830 deUint32 tex = 0; local 875 deUint32 tex = 0; local 922 deUint32 tex = 0; local 986 deUint32 tex = 0; local 1059 deUint32 tex = 0; local 1111 deUint32 tex = 0; local 1175 deUint32 tex = 0; local 1226 deUint32 tex = 0; local 1283 deUint32 tex = 0; local 1331 deUint32 tex = 0; local 1388 deUint32 tex = 0; local 1463 deUint32 tex = 0; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_blitter.c | 763 struct pipe_resource *tex = src->texture; local 764 unsigned level = src->u.tex.first_level; 765 boolean normalized = tex->target != PIPE_TEXTURE_RECT && 766 tex->nr_samples <= 1; 826 src->u.tex.first_level); [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_gmem.c | 75 slice = fd_resource_slice(rsc, psurf->u.tex.level); 80 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); 82 offset = fd_resource_offset(rsc, psurf->u.tex.level, 83 psurf->u.tex.first_layer); 295 debug_assert(psurf->u.tex.first_layer == psurf->u.tex.last_layer); 429 slice = fd_resource_slice(rsc, psurf->u.tex.level); 430 offset = fd_resource_offset(rsc, psurf->u.tex.level, 431 psurf->u.tex.first_layer) [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_yuv.c | 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, 89 yuv[i]->tex->format); 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ);
|
xa_renderer.c | 85 r->scissor.maxx = r->dst->tex->width0; 86 r->scissor.maxy = r->dst->tex->height0; 311 struct pipe_resource *tex; local 318 tex = srf[0]->tex; 319 s0 = spt0[0] / tex->width0; 320 t0 = spt0[1] / tex->height0; 321 s1 = spt1[0] / tex->width0; 322 t1 = spt1[1] / tex->height0; 527 const int num_attribs = 2; /*pos + tex coord * [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.c | 446 struct gl_texture_object *tex = &stTexObj->base; local 447 first_layer += tex->MinLayer; 449 last_layer += tex->MinLayer; 451 last_layer = MIN2(first_layer + tex->NumLayers - 1, last_layer); 460 strb->surface->u.tex.level != level || 461 strb->surface->u.tex.first_layer != first_layer || 462 strb->surface->u.tex.last_layer != last_layer) { 467 surf_tmpl.u.tex.level = level; 468 surf_tmpl.u.tex.first_layer = first_layer; 469 surf_tmpl.u.tex.last_layer = last_layer [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
RenderSystem.java | 112 Texture tex = drawable.getTexture(); local 113 if (tex != null) { 114 sortOffset = (tex.resource % TEXTURE_SORT_BUCKET_SIZE) * Utils.sign(priority);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_compiler.h | 205 struct brw_sampler_prog_key_data tex; member in struct:brw_vs_prog_key 225 struct brw_sampler_prog_key_data tex; member in struct:brw_tcs_prog_key 239 struct brw_sampler_prog_key_data tex; member in struct:brw_tes_prog_key 247 struct brw_sampler_prog_key_data tex; member in struct:brw_gs_prog_key 271 struct brw_sampler_prog_key_data tex; member in struct:brw_wm_prog_key 276 struct brw_sampler_prog_key_data tex; member in struct:brw_cs_prog_key
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 206 public NinePatchInstance(NinePatchTexture tex, int width, int height) { 207 NinePatchChunk chunk = tex.getNinePatchChunk(); 225 int nx = stretch(divX, divU, chunk.mDivX, tex.getWidth(), width); 226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height); 409 public void draw(GLCanvas canvas, NinePatchTexture tex, int x, int y) { 413 canvas.drawMesh(tex, x, y, mXyBufferName, mUvBufferName, mIndexBufferName, mIdxCount);
|
/prebuilts/ndk/r11/sources/android/ndk_helper/ |
JNIHelper.cpp | 224 GLuint tex; local 225 glGenTextures( 1, &tex ); 226 glBindTexture( GL_TEXTURE_2D, tex ); 235 glDeleteTextures( 1, &tex ); 236 tex = -1; 247 return tex;
|
/prebuilts/ndk/r13/sources/android/ndk_helper/ |
JNIHelper.cpp | 224 GLuint tex; local 225 glGenTextures( 1, &tex ); 226 glBindTexture( GL_TEXTURE_2D, tex ); 235 glDeleteTextures( 1, &tex ); 236 tex = -1; 247 return tex;
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
CompressedTextureLoader.java | 165 Texture tex = new Texture(0, 0, 0, null, "Cts!"); local 166 return tex; 194 Texture tex = new Texture(compressed.getWidth(), compressed.getHeight(), local 197 return tex; 243 Texture tex = new Texture(header.mWidth, header.mHeight, local 251 return tex; 422 Texture tex = new Texture(header.mWidth, header.mHeight, internalFormat, local 424 return tex;
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_texture.c | 166 fd2_get_const_idx(struct fd_context *ctx, struct fd_texture_stateobj *tex, 169 if (tex == &ctx->fragtex)
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_emit.c | 130 enum adreno_state_block sb, struct fd_texture_stateobj *tex, 141 if (tex->num_samplers > 0) { 148 num_samplers = align(tex->num_samplers, 2); 158 for (i = 0; i < tex->num_samplers; i++) { 160 const struct fd4_sampler_stateobj *sampler = tex->samplers[i] ? 161 fd4_sampler_stateobj(tex->samplers[i]) : 175 if (tex->num_textures > 0) { 176 unsigned num_textures = tex->num_textures + v->astc_srgb.count; 186 for (i = 0; i < tex->num_textures; i++) { 188 const struct fd4_pipe_sampler_view *view = tex->textures[i] [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_shader.c | 192 * we emit the right TEX/SAMPLE instruction in the shader. 197 key->tex[i].is_array = 0; 201 key->tex[i].is_array = 1; 207 key->tex[i].width_height_idx = idx++; 208 key->tex[i].unnormalized = TRUE; 212 key->tex[i].swizzle_r = view->swizzle_r; 213 key->tex[i].swizzle_g = view->swizzle_g; 214 key->tex[i].swizzle_b = view->swizzle_b; 215 key->tex[i].swizzle_a = view->swizzle_a;
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
surface9.c | 250 templ.u.tex.level = This->level; 251 templ.u.tex.first_layer = This->layer; 252 templ.u.tex.last_layer = This->layer; 260 templ.u.tex.level = This->level; 261 templ.u.tex.first_layer = This->layer; 262 templ.u.tex.last_layer = This->layer; 276 struct NineBaseTexture9 *tex; local 294 NineUnknown_QueryInterface(This->base.base.container, ref, (void **)&tex); 295 if (tex) { 296 NineBaseTexture9_Dump(tex); 335 struct NineBaseTexture9 *tex = local 382 struct NineTexture9 *tex = local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureSpecificationTests.cpp | 660 deUint32 tex = 0; local 664 glGenTextures(1, &tex); 665 glBindTexture(GL_TEXTURE_2D, tex); 715 deUint32 tex = 0; local 719 glGenTextures(1, &tex); 720 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 759 deUint32 tex = 0; local 764 glGenTextures(1, &tex); 765 glBindTexture(GL_TEXTURE_2D_ARRAY, tex); 798 deUint32 tex = 0 local 851 deUint32 tex = 0; local 911 deUint32 tex = 0; local 976 deUint32 tex = 0; local 1033 deUint32 tex = 0; local 1083 deUint32 tex = 0; local 1153 deUint32 tex = 0; local 1216 deUint32 tex = 0; local 1291 deUint32 tex = 0; local 1381 deUint32 tex = 0; local 1439 deUint32 tex = 0; local 1517 deUint32 tex = 0; local 1580 deUint32 tex = 0; local 1657 deUint32 tex = 0; local 1725 deUint32 tex = 0; local 1804 deUint32 tex = 0; local 1881 deUint32 tex = 0; local 1929 deUint32 tex = 0; local 1981 deUint32 tex = 0; local 2056 deUint32 tex = 0; local 2129 deUint32 tex = 0; local 2171 deUint32 tex = 0; local 2215 deUint32 tex = 0; local 2256 deUint32 tex = 0; local 2321 deUint32 tex = 0; local 2388 deUint32 tex = 0; local 2475 deUint32 tex = 0; local 2557 deUint32 tex = 0; local 2638 deUint32 tex = 0; local 2727 deUint32 tex = 0; local 2837 deUint32 tex = 0; local 2948 deUint32 tex = 0; local 3033 deUint32 tex = 0; local 3080 deUint32 tex = 0; local 3127 deUint32 tex = 0; local 3197 deUint32 tex = 0; local 3273 deUint32 tex = 0; local 3334 deUint32 tex = 0; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 501 const float rho = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); 518 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); 519 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); 539 const float maxx = MAX2(dsdx, dsdy) * u_minify(texture->width0, sview->base.u.tex.first_level); 540 const float maxy = MAX2(dtdx, dtdy) * u_minify(texture->height0, sview->base.u.tex.first_level); 541 const float maxz = MAX2(dpdx, dpdy) * u_minify(texture->depth0, sview->base.u.tex.first_level); 566 * \param addr the template tex address containing cube, z, face info. 1036 addr.bits.z = sp_sview->base.u.tex.first_layer; 1085 addr.bits.z = sp_sview->base.u.tex.first_layer; [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 271 /* TEX texTemp, input_coord, sampler, 2D */ 538 float *pos, *tex; local 600 tex = v[0]->data[texPos]; 601 ASSIGN_4V(tex, 0, 0, 0, 1); 603 tex = v[1]->data[texPos]; 604 ASSIGN_4V(tex, 0, 1, 0, 1); 606 tex = v[2]->data[texPos]; 607 ASSIGN_4V(tex, .5, 0, 0, 1); 609 tex = v[3]->data[texPos]; 610 ASSIGN_4V(tex, .5, 1, 0, 1) [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state_derived.c | 794 struct r300_resource *tex; local 813 tex = r300_resource(view->base.texture); 828 base_level = view->base.u.tex.first_level; 831 tex->b.b.last_level - base_level, 832 view->base.u.tex.last_level - base_level); 837 if (tex->tex.is_npot) { 844 offset = tex->tex.offset_in_bytes[base_level]; 846 r300_texture_setup_format_state(r300->screen, tex, 1011 struct pipe_resource *tex; local [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
meta_blit.c | [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_emit_gm107.cpp | [all...] |
/external/mesa3d/src/intel/blorp/ |
blorp_blit.c | 169 nir_tex_instr *tex = nir_tex_instr_create(b->shader, num_srcs); local 171 tex->op = op; 173 tex->dest_type = dst_type; 174 tex->is_array = false; 175 tex->is_shadow = false; 178 tex->texture = NULL; 179 tex->sampler = NULL; 180 tex->texture_index = 0; 181 tex->sampler_index = 0; 191 tex->src[0].src_type = nir_tex_src_coord 204 nir_tex_instr *tex = local 221 nir_tex_instr *tex = local 237 nir_tex_instr *tex = local 264 nir_tex_instr *tex = local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureSpecificationTests.cpp | 328 deUint32 tex = 0; local 333 glGenTextures(1, &tex); 334 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 366 deUint32 tex = 0; local 371 glGenTextures (1, &tex); 372 glBindTexture (GL_TEXTURE_CUBE_MAP_ARRAY, tex); 433 deUint32 tex = 0; local 461 glGenTextures(1, &tex); 462 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 522 deUint32 tex = 0 local 607 deUint32 tex = 0; local 653 deUint32 tex = 0; local 727 deUint32 tex = 0; local [all...] |