/external/mesa3d/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...] |
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...] |
/external/chromium_org/third_party/mesa/src/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_composite.c | 134 if (dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM) { 301 if (src->tex->format == PIPE_FORMAT_L8_UNORM) 420 src_pic->srf->tex, 421 src_pic->srf->tex->format); 422 src_view = pipe->create_sampler_view(pipe, src_pic->srf->tex, 444 mask_pic->srf->tex, 445 mask_pic->srf->tex->format); 446 src_view = pipe->create_sampler_view(pipe, mask_pic->srf->tex,
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_framebuffer.c | 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 85 printf("-- alloc new surface %d x %d into tex %p\n",
|
/external/chromium_org/third_party/skia/src/image/ |
SkSurface_Gpu.cpp | 132 SkAutoTUnref<GrTexture> tex(ctx->createUncachedTexture(desc, NULL, 0)); 133 if (NULL == tex) { 137 return SkNEW_ARGS(SkSurface_Gpu, (ctx, tex->asRenderTarget()));
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGenerator.java | 61 * @param tex 73 protected abstract Texture generate(Structure tex, int width, int height, int depth, BlenderContext blenderContext); 78 * @param tex 84 private ColorBand readColorband(Structure tex, BlenderContext blenderContext) { 86 int flag = ((Number) tex.getFieldValue("flag")).intValue(); 88 Pointer pColorband = (Pointer) tex.getFieldValue("coba"); 100 protected float[][] computeColorband(Structure tex, BlenderContext blenderContext) { 101 ColorBand colorBand = this.readColorband(tex, blenderContext); 277 * @param tex texture structure 406 * @param tex texture structur [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
Caps.java | 240 * @param tex The texture to check 243 public static boolean supports(Collection<Caps> caps, Texture tex){ 244 if (tex.getType() == Texture.Type.TwoDimensionalArray 248 Image img = tex.getImage();
|
/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_composite.c | 134 if (dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM) { 301 if (src->tex->format == PIPE_FORMAT_L8_UNORM) 420 src_pic->srf->tex, 421 src_pic->srf->tex->format); 422 src_view = pipe->create_sampler_view(pipe, src_pic->srf->tex, 444 mask_pic->srf->tex, 445 mask_pic->srf->tex->format); 446 src_view = pipe->create_sampler_view(pipe, mask_pic->srf->tex,
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_framebuffer.c | 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 85 printf("-- alloc new surface %d x %d into tex %p\n",
|
/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/skia/src/image/ |
SkSurface_Gpu.cpp | 132 SkAutoTUnref<GrTexture> tex(ctx->createUncachedTexture(desc, NULL, 0)); 133 if (NULL == tex) { 137 return SkNEW_ARGS(SkSurface_Gpu, (ctx, tex->asRenderTarget()));
|
/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);
|
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 177 Texture tex = new Texture(0, 0, 0, null, "Stub!"); local 178 return tex; 206 Texture tex = new Texture(compressed.getWidth(), compressed.getHeight(), local 209 return tex; 255 Texture tex = new Texture(header.mWidth, header.mHeight, local 263 return tex; 434 Texture tex = new Texture(header.mWidth, header.mHeight, internalFormat, local 436 return tex;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_state.c | 759 struct r300_resource *tex, 764 if (tex->tex.macrotile[tex->surface_level] != 765 tex->tex.macrotile[level]) { 766 r300->rws->buffer_set_tiling(tex->buf, r300->cs, 767 tex->tex.microtile, tex->tex.macrotile[level] 797 struct pipe_resource *tex = surf->texture; local 1523 struct r300_resource *tex = r300_resource(texture); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_texture.c | 262 unsigned level = surf_tmpl->u.tex.level; 265 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 277 ps->u.tex.level = level; 278 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 279 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
|
/external/chromium_org/third_party/mesa/src/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...] |
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
FilterPostProcessor.java | 220 Texture2D tex = filterTexture;
local 231 pass.getPassMaterial().setTexture("Texture", tex);
232 if (tex.getImage().getMultiSamples() > 1) {
233 pass.getPassMaterial().setInt("NumSamples", tex.getImage().getMultiSamples());
259 mat.setTexture("Texture", tex);
260 if (tex.getImage().getMultiSamples() > 1) {
261 mat.setInt("NumSamples", tex.getImage().getMultiSamples());
270 tex = filter.getRenderedTexture();
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_state.c | 759 struct r300_resource *tex, 764 if (tex->tex.macrotile[tex->surface_level] != 765 tex->tex.macrotile[level]) { 766 r300->rws->buffer_set_tiling(tex->buf, r300->cs, 767 tex->tex.microtile, tex->tex.macrotile[level] 797 struct pipe_resource *tex = surf->texture; local 1523 struct r300_resource *tex = r300_resource(texture); local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_texture.c | 262 unsigned level = surf_tmpl->u.tex.level; 265 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 277 ps->u.tex.level = level; 278 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 279 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
|
/packages/apps/Camera2/src/com/android/camera/ |
MosaicPreviewRenderer.java | 131 * @param tex The {@link SurfaceTexture} for the final UI output. 137 public MosaicPreviewRenderer(SurfaceTexture tex, int w, int h, boolean isLandscape) { 152 mSTRenderer = new SurfaceTextureRenderer(tex, mHandler, dummy);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_asm.c | 223 LIST_INITHEAD(&cf->tex); 249 struct r600_bytecode_tex *tex = CALLOC_STRUCT(r600_bytecode_tex); local 251 if (tex == NULL) 253 LIST_INITHEAD(&tex->list); 254 return tex; 1906 struct r600_bytecode_tex *tex; local 2206 struct r600_bytecode_tex *tex = NULL, *next_tex; local 2238 struct r600_bytecode_tex *tex = NULL; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_asm.c | 223 LIST_INITHEAD(&cf->tex); 249 struct r600_bytecode_tex *tex = CALLOC_STRUCT(r600_bytecode_tex); local 251 if (tex == NULL) 253 LIST_INITHEAD(&tex->list); 254 return tex; 1906 struct r600_bytecode_tex *tex; local 2206 struct r600_bytecode_tex *tex = NULL, *next_tex; local 2238 struct r600_bytecode_tex *tex = NULL; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_aaline.c | 276 /* TEX */ 564 float *pos, *tex; local 626 tex = v[0]->data[texPos]; 627 ASSIGN_4V(tex, 0, 0, 0, 1); 629 tex = v[1]->data[texPos]; 630 ASSIGN_4V(tex, 0, 1, 0, 1); 632 tex = v[2]->data[texPos]; 633 ASSIGN_4V(tex, .5, 0, 0, 1); 635 tex = v[3]->data[texPos]; 636 ASSIGN_4V(tex, .5, 1, 0, 1) [all...] |