/external/jmonkeyengine/engine/src/core-plugins/com/jme3/font/plugins/ |
BitmapFontLoader.java | 92 Texture tex = null; local 105 tex = assetManager.loadTexture(key); 106 tex.setMagFilter(Texture.MagFilter.Bilinear); 107 tex.setMinFilter(Texture.MinFilter.BilinearNoMipMaps); 111 if (index >= 0 && tex != null){ 113 mat.setTexture("ColorMap", tex);
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/ |
MaterialExtensionLoader.java | 79 Texture tex; local 82 tex = assetManager.loadTexture(texKey); 83 tex.setWrap(WrapMode.Repeat); 86 tex = new Texture2D( PlaceholderAssets.getPlaceholderImage() ); 89 material.setTexture(jmeParamName, tex);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_simple_shaders.c | 106 * TEX OUT[0].writemask, IN[0], SAMP[0], 2D; 121 struct ureg_src tex; local 133 tex = ureg_DECL_fs_input( ureg, 149 tex_target, tex, sampler ); 183 struct ureg_src tex; local 193 tex = ureg_DECL_fs_input( ureg, 211 tex_target, tex, sampler ); 229 struct ureg_src tex; local 240 tex = ureg_DECL_fs_input( ureg, 262 tex_target, tex, depth_sampler ) 283 struct ureg_src tex; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_static.c | 104 struct i915_texture *tex = i915_texture(cbuf_surface->texture); local 105 assert(tex); 107 i915->current.cbuf_bo = tex->buffer; 109 BUF_3D_PITCH(tex->stride) | /* pitch in bytes */ 110 buf_3d_tiling_bits(tex->tiling); 112 layer = cbuf_surface->u.tex.first_layer; 114 x = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksx; 115 y = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksy 125 struct i915_texture *tex = i915_texture(depth_surface->texture); local 214 struct i915_texture *tex = i915_texture(depth_surface->texture); local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_context.c | 422 struct pipe_resource *tex; local 433 tex = screen->resource_create(screen, &rtempl); 435 u_sampler_view_default_template(&vtempl, tex, tex->format); 438 r300->context.create_sampler_view(&r300->context, tex, &vtempl); 440 pipe_resource_reference(&tex, NULL);
|
/external/mesa3d/src/gallium/drivers/r600/ |
compute_memory_pool.c | 49 struct r600_texture * tex; local 65 tex = (struct r600_texture *)r600_texture_create( 68 assert(tex && "Out of memory"); 69 tex->is_rat = 1; 70 return tex;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_resource_texture.c | 220 struct svga_texture *tex = (struct svga_texture *)pt; local 224 svga_sampler_view_reference(&tex->cached_view, NULL); 227 DBG("%s deleting %p\n", __FUNCTION__, (void *) tex); 229 SVGA_DBG(DEBUG_DMA, "unref sid %p (texture)\n", tex->handle); 230 svga_screen_surface_destroy(ss, &tex->key, &tex->handle); 232 FREE(tex); 359 struct svga_texture *tex = svga_texture(transfer->resource); local 377 tex->view_age[transfer->level] = ++(tex->age) 409 struct svga_texture *tex = CALLOC_STRUCT(svga_texture); local 503 struct svga_texture *tex; local [all...] |
svga_surface.c | 105 struct svga_texture *tex, 126 key->size.width = u_minify(tex->b.b.width0, start_mip); 127 key->size.height = u_minify(tex->b.b.height0, start_mip); 128 key->size.depth = zslice_pick < 0 ? u_minify(tex->b.b.depth0, start_mip) : 1; 132 if (tex->b.b.target == PIPE_TEXTURE_CUBE && face_pick < 0) { 161 if (tex->defined[j + face_pick][i + start_mip]) { 163 u_minify(tex->b.b.depth0, i + start_mip) : 167 tex->handle, 172 u_minify(tex->b.b.width0, i + start_mip), 173 u_minify(tex->b.b.height0, i + start_mip) 189 struct svga_texture *tex = svga_texture(pt); local 309 struct svga_texture *tex = svga_texture(surf->texture); local 354 struct svga_texture *tex = svga_texture(surf->texture); local 395 struct svga_texture *tex = svga_texture(surf->texture); local [all...] |
svga_tgsi.h | 73 } tex[PIPE_MAX_SAMPLERS]; member in struct:svga_fs_compile_key 143 return (const char *)&key->tex[key->num_textures] - (const char *)key;
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.c | 246 struct pipe_resource *tex; local 268 tex = textures[natt]; 271 pipe_resource_reference(&gsurf->render_texture, tex); 275 out[i] = tex; 280 pipe_resource_reference(&out[i], tex);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 58 struct pipe_resource *tex; member in struct:__anon25325 65 struct pipe_resource *tex = NULL; local 106 pipe_resource_reference(&tex, exa_priv->depth_stencil_tex); 136 tex = ms->screen->resource_create(ms->screen, &template); 137 pipe_resource_reference(&exa_priv->depth_stencil_tex, tex); 147 if (!tex) { 154 tex = xorg_exa_get_texture(private->pPixmap); 157 if (!tex) 163 ms->screen->resource_get_handle(ms->screen, tex, &whandle); 177 private->tex = tex [all...] |
xorg_exa.h | 53 struct pipe_resource *tex; member in struct:exa_pixmap_priv
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
subpicture.c | 200 struct pipe_resource tex_templ, *tex; local 249 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); 252 u_sampler_view_default_template(&sampler_templ, tex, tex->format); 254 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ); 255 pipe_resource_reference(&tex, NULL); 278 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); 281 u_sampler_view_default_template(&sampler_templ, tex, tex->format); 283 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ) [all...] |
surface.c | 360 struct pipe_resource *tex; local 384 tex = vl_screen_texture_from_drawable(context_priv->vscreen, drawable); 388 surf_templ.format = tex->format; 390 surf = pipe->create_surface(pipe, tex, &surf_templ); 444 pipe->screen, tex, 0, 0,
|
/external/mesa3d/src/gallium/tests/graw/ |
graw_util.h | 91 surface_temp.u.tex.level = 0; 92 surface_temp.u.tex.first_layer = 0; 93 surface_temp.u.tex.last_layer = 0; 122 surface_temp.u.tex.level = 0; 123 surface_temp.u.tex.first_layer = 0; 124 surface_temp.u.tex.last_layer = 0; 226 struct pipe_resource temp, *tex; local 239 tex = info->screen->resource_create(info->screen, &temp); 240 if (!tex) { 248 tex, [all...] |
shader-leak.c | 32 static struct pipe_resource *tex = NULL; variable in typeref:struct:pipe_resource 160 screen->flush_frontbuffer(screen, tex, 0, 0, window); 206 tex = screen->resource_create(screen, &templat); 207 if (tex == NULL) { 214 surf_tmpl.u.tex.level = 0; 215 surf_tmpl.u.tex.first_layer = 0; 216 surf_tmpl.u.tex.last_layer = 0; 217 surf = ctx->create_surface(ctx, tex, &surf_tmpl); 219 fprintf(stderr, "Unable to create tex surface!\n");
|
tri-gs.c | 28 static struct pipe_resource *tex = NULL; variable in typeref:struct:pipe_resource 170 screen->flush_frontbuffer(screen, tex, 0, 0, window); 214 tex = screen->resource_create(screen, 216 if (tex == NULL) 221 surf_tmpl.u.tex.level = 0; 222 surf_tmpl.u.tex.first_layer = 0; 223 surf_tmpl.u.tex.last_layer = 0; 224 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vs.h | 81 struct brw_sampler_prog_key_data tex; member in struct:brw_vs_prog_key
|
/external/mesa3d/src/mesa/main/ |
texstate.c | 69 GLuint u, tex; local 108 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) { 109 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], 110 src->Texture.Unit[u].CurrentTex[tex]); 751 GLuint tex; local 785 for (tex = 0; tex < NUM_TEXTURE_TARGETS; tex++) 867 GLuint u, tex; local [all...] |
/frameworks/native/opengl/libagl/ |
TextureObjectManager.cpp | 283 sp<EGLTextureObject> tex; local 291 tex = old; 294 tex = new EGLTextureObject(); 295 tex->copyParameters(old); 297 mTextures.add(name, tex); 300 return tex;
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 364 TextureRec* tex = m_tex.textures + m_tex.numTextures; local 365 TextureRec* prev = tex - 1; 366 while (tex != m_tex.textures && id < prev->id) { 367 *tex-- = *prev--; 369 tex->id = id; 370 tex->target = target; 373 return tex;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_aapoint.c | 239 /* MUL t0.xy, tex, tex; # compute x^2, y^2 */ 295 /* SGT t0.y, t0.xxxx, tex.wwww; # bool b = d > 1 (NOTE tex.w == 1) */ 328 /* SUB t0.z, tex.w, tex.z; # m = 1 - k */ 389 /* SLE t0.y, t0.x, tex.z; # bool b = distance <= k */ 405 /* CMP t0.w, -t0.y, tex.w, t0.w; 587 float radius, *pos, *tex; local 653 tex = v[0]->data[tex_slot] [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_pstipple.c | 63 struct pipe_resource *tex, 72 transfer = pipe_get_transfer(pipe, tex, 0, 0, 109 struct pipe_resource templat, *tex; local 121 tex = screen->resource_create(screen, &templat); 123 if (tex) 124 util_pstipple_update_stipple_texture(pipe, tex, pattern); 126 return tex; 135 struct pipe_resource *tex) 139 u_sampler_view_default_template(&templat, tex, tex->format) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_winsys_dri.c | 177 struct pipe_resource template, *tex; local 242 tex = scrn->base.pscreen->resource_from_handle(scrn->base.pscreen, &template, &dri2_handle); 245 return tex;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_fpc_translate.c | 351 translate_tex_src_target(struct i915_fp_compile *p, uint tex) 353 switch (tex) { 385 texture_num_coords(struct i915_fp_compile *p, uint tex) 387 switch (tex) { 420 uint tex = translate_tex_src_target( p, texture ); local 421 uint sampler = i915_emit_decl(p, REG_TYPE_S, unit, tex); [all...] |