/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/mesa3d/src/gallium/auxiliary/util/ |
u_blit.c | 461 dst->u.tex.level == src_level && 462 dst->u.tex.first_layer == srcZ0 && 503 dst->texture, dst->u.tex.level, 504 dstX0, dstY0, dst->u.tex.first_layer,/* dest */ 538 dst_surface->u.tex.level == src_level && 539 dst_surface->u.tex.first_layer == srcZ0) { 544 struct pipe_resource *tex; local 575 tex = screen->resource_create(screen, &texTemp); 576 if (!tex) 587 tex, 0, 0, 0, 0, /* dest * 827 struct pipe_resource *tex = src_sampler_view->texture; local [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
noop_state.c | 121 surface->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 122 surface->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 123 surface->u.tex.level = surf_tmpl->u.tex.level;
|
/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;
|
texture.cpp | 33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 310 sp<EGLTextureObject> tex; local 323 tex = c->textures.defaultTexture; 325 if (c->textures.tmu[i].texture == tex.get()) 330 tex = c->surfaceManager->replaceTexture(name); 335 u.texture = tex.get(); 339 return tex; 343 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) 345 if (tex.get() == c->textures.tmu[tmu].texture) 355 u.texture = tex.get() 385 EGLTextureObject* tex = c->textures.tmu[active].texture; local 396 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local 621 EGLTextureObject* tex = c->textures.tmu[active].texture; local 874 sp<EGLTextureObject> tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_fragshader.c | 366 R200_STATECHANGE( rmesa, tex[reg] ); 367 rmesa->hw.tex[reg].cmd[TEX_PP_TXMULTI_CTL] = 0; 369 GLuint txformat = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT] 371 GLuint txformat_x = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT_X] & ~R200_TEXCOORD_MASK; 377 /* FIXME: someone might rely on default tex coords r/q, which we unfortunately 403 rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT] = txformat; 404 rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT_X] = txformat_x; 415 R200_STATECHANGE( rmesa, tex[reg] ); 447 rmesa->hw.tex[reg].cmd[TEX_PP_TXMULTI_CTL] = txformat_multi; 455 GLuint txformat = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_fragshader.c | 366 R200_STATECHANGE( rmesa, tex[reg] ); 367 rmesa->hw.tex[reg].cmd[TEX_PP_TXMULTI_CTL] = 0; 369 GLuint txformat = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT] 371 GLuint txformat_x = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT_X] & ~R200_TEXCOORD_MASK; 377 /* FIXME: someone might rely on default tex coords r/q, which we unfortunately 403 rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT] = txformat; 404 rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT_X] = txformat_x; 415 R200_STATECHANGE( rmesa, tex[reg] ); 447 rmesa->hw.tex[reg].cmd[TEX_PP_TXMULTI_CTL] = txformat_multi; 455 GLuint txformat = rmesa->hw.tex[reg].cmd[TEX_PP_TXFORMAT [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_ra.cpp | 1888 TexInstruction *tex; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_ra.cpp | 1888 TexInstruction *tex; local [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
render_tree.cc | 294 if (!VerifyListEntry(textures, i, Value::TYPE_DICTIONARY, "Tex list")) 296 DictionaryValue* tex; 297 textures->GetDictionary(i, &tex); 299 if (!VerifyDictionaryEntry(tex, "texID", Value::TYPE_INTEGER) || 300 !VerifyDictionaryEntry(tex, "height", Value::TYPE_INTEGER) || 301 !VerifyDictionaryEntry(tex, "width", Value::TYPE_INTEGER) || 302 !VerifyDictionaryEntry(tex, "format", Value::TYPE_STRING)) { 306 tex->GetInteger("texID", &t.texID); 307 tex->GetInteger("height", &t.height); 308 tex->GetInteger("width", &t.width) [all...] |
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
TextureAtlas.java | 401 Texture2D tex = new Texture2D(new Image(format, atlasWidth, atlasHeight, BufferUtils.createByteBuffer(image))); local 402 tex.setMagFilter(Texture.MagFilter.Bilinear); 403 tex.setMinFilter(Texture.MinFilter.BilinearNearestMipMap); 404 tex.setWrap(Texture.WrapMode.Clamp); 405 return tex; 439 Texture tex = getMaterialTexture(geom, "DiffuseMap"); local 440 if (tex == null) { 441 tex = getMaterialTexture(geom, "ColorMap"); 444 if (tex != null) { 445 TextureAtlasTile tile = getAtlasTile(tex); 654 Vector2f tex = new Vector2f(); local [all...] |
/external/chromium_org/remoting/base/ |
util.cc | 33 base::Time::Exploded tex; local 34 t.LocalExplode(&tex); 36 tex.month, tex.day_of_month, 37 tex.hour, tex.minute, tex.second);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
presentation.c | 209 struct pipe_resource *tex; local 229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable); 230 if (!tex) { 238 surf_templ.format = tex->format; 240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); 274 pipe->screen, tex, 0, 0, 297 pipe_resource_reference(&tex, NULL);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 209 struct pipe_resource *tex; local 229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable); 230 if (!tex) { 238 surf_templ.format = tex->format; 240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); 274 pipe->screen, tex, 0, 0, 297 pipe_resource_reference(&tex, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_miptree.c | 403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; 415 ps->u.tex.level = tmpl->u.tex.level; 416 ps->u.tex.first_layer = tmpl->u.tex.first_layer; 417 ps->u.tex.last_layer = tmpl->u.tex.last_layer; 419 ns->width = u_minify(pt->width0, ps->u.tex.level); 420 ns->height = u_minify(pt->height0, ps->u.tex.level); 421 ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_manager.c | 473 struct pipe_resource *tex, boolean mipmap) 515 if (tex) { 519 * XXX When internal_format and tex->format differ, st_finalize_texture 527 if (!st_sampler_compat_formats(tex->format, internal_format)) 528 internal_format = tex->format; 540 tex->width0, tex->height0, 1, 0, 543 width = tex->width0; 544 height = tex->height0; 545 depth = tex->depth0 [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_miptree.c | 403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; 415 ps->u.tex.level = tmpl->u.tex.level; 416 ps->u.tex.first_layer = tmpl->u.tex.first_layer; 417 ps->u.tex.last_layer = tmpl->u.tex.last_layer; 419 ns->width = u_minify(pt->width0, ps->u.tex.level); 420 ns->height = u_minify(pt->height0, ps->u.tex.level); 421 ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1 [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_manager.c | 473 struct pipe_resource *tex, boolean mipmap) 515 if (tex) { 519 * XXX When internal_format and tex->format differ, st_finalize_texture 527 if (!st_sampler_compat_formats(tex->format, internal_format)) 528 internal_format = tex->format; 540 tex->width0, tex->height0, 1, 0, 543 width = tex->width0; 544 height = tex->height0; 545 depth = tex->depth0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_constants.c | 283 if (key->tex[i].unnormalized) { 284 struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; local 287 data[0] = 1.0f / (float) tex->width0; 288 data[1] = 1.0f / (float) tex->height0; 294 key->tex[i].width_height_idx + offset,
|
/external/chromium_org/third_party/mesa/src/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/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorBlend.java | 117 protected Texture generate(Structure tex, int width, int height, int depth, BlenderContext blenderContext) { 118 int flag = ((Number) tex.getFieldValue("flag")).intValue(); 119 int stype = ((Number) tex.getFieldValue("stype")).intValue(); 123 float[][] colorBand = this.computeColorband(tex, blenderContext); 124 BrightnessAndContrastData bacd = new BrightnessAndContrastData(tex);
|
TextureGeneratorMagic.java | 124 protected Texture generate(Structure tex, int width, int height, int depth, BlenderContext blenderContext) { 126 int noisedepth = ((Number) tex.getFieldValue("noisedepth")).intValue(); 127 float turbul = ((Number) tex.getFieldValue("turbul")).floatValue() / 5.0f; 132 float[][] colorBand = this.computeColorband(tex, blenderContext); 133 BrightnessAndContrastData bacd = new BrightnessAndContrastData(tex);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_constants.c | 283 if (key->tex[i].unnormalized) { 284 struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; local 287 data[0] = 1.0f / (float) tex->width0; 288 data[1] = 1.0f / (float) tex->height0; 294 key->tex[i].width_height_idx + offset,
|
/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/chromium_org/third_party/mesa/src/src/mesa/main/ |
texobj.c | 306 valid_texture_object(const struct gl_texture_object *tex) 308 switch (tex->Target) { 325 tex->Target, tex->Name); 334 * If 'tex' is non-null, increment its refcount. 340 struct gl_texture_object *tex) 371 if (tex) { 373 ASSERT(valid_texture_object(tex)); 374 _glthread_LOCK_MUTEX(tex->Mutex); 375 if (tex->RefCount == 0) 1038 GLuint u, tex; local [all...] |