/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_state_emit.c | 249 struct i915_texture *tex; local 256 tex = i915_texture(i915->fragment_sampler_views[unit]->texture); 257 i915->validation_buffers[i915->num_validation_buffers++] = tex->buffer; 497 /* TEX fixup for sRGB */
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_setup.c | 650 struct pipe_resource *tex = view->texture; local 651 struct llvmpipe_resource *lp_tex = llvmpipe_resource(tex); 654 jit_tex->width = tex->width0; 655 jit_tex->height = tex->height0; 656 jit_tex->depth = tex->depth0; 657 jit_tex->first_level = view->u.tex.first_level; 658 jit_tex->last_level = tex->last_level; 663 pipe_resource_reference(&setup->fs.current_tex[i], tex); 668 for (j = view->u.tex.first_level; j <= tex->last_level; j++) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.cpp | 248 TexInstruction *tex = new_TexInstruction(func, op); local 251 tex->setDef(d, def[d]); 253 tex->setSrc(s, src[s]); 255 tex->setTexture(targ, tic, tsc); 257 return tex;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_texture.c | 801 struct r300_resource *tex, 808 struct pipe_resource *pt = &tex->b.b; 809 struct r300_texture_desc *desc = &tex->tex; 886 struct r300_resource *tex = r300_resource(surf->base.texture); local 887 unsigned level = surf->base.u.tex.level; 889 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); 895 R300_DEPTHMACROTILE(tex->tex.macrotile[level]) 915 struct r300_resource* tex = (struct r300_resource*)texture; local 926 struct r300_resource* tex = (struct r300_resource*)texture; local 958 struct r300_resource *tex = CALLOC_STRUCT(r300_resource); local 1078 struct r300_resource* tex = r300_resource(texture); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
r600_blit.c | 132 surf_tmpl.u.tex.level = level; 133 surf_tmpl.u.tex.first_layer = layer; 134 surf_tmpl.u.tex.last_layer = layer; 164 struct r600_resource_texture *tex; local 169 tex = (struct r600_resource_texture *)view->base.texture; 170 if (!tex->depth) 173 if (tex->is_flushing_texture) 176 si_blit_uncompress_depth(&rctx->context, tex); 181 struct r600_resource_texture *tex; local 182 tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture [all...] |
si_state_draw.c | 583 struct pipe_resource *tex = rctx->framebuffer.zsbuf->texture; local 584 ((struct r600_resource_texture *)tex)->dirty_db = TRUE;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_exa.c | 205 if (!priv || !priv->tex) 208 transfer = pipe_get_transfer(exa->pipe, priv->tex, 0, 0, 216 util_copy_rect((unsigned char*)dst, priv->tex->format, dst_pitch, 0, 0, 237 if (!priv || !priv->tex) 240 transfer = pipe_get_transfer(exa->pipe, priv->tex, 0, 0, 249 priv->tex->format, transfer->stride, 0, 0, w, h, 272 if (!priv->tex) 279 assert(pPix->drawable.width <= priv->tex->width0); 280 assert(pPix->drawable.height <= priv->tex->height0); 283 pipe_get_transfer(exa->pipe, priv->tex, 0, 0 908 struct pipe_resource *tex = NULL; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
tri-instanced.c | 31 static struct pipe_resource *tex = NULL; variable in typeref:struct:pipe_resource 221 screen->flush_frontbuffer(screen, tex, 0, 0, window); 265 tex = screen->resource_create(screen, 267 if (tex == NULL) 272 surf_tmpl.u.tex.level = 0; 273 surf_tmpl.u.tex.first_layer = 0; 274 surf_tmpl.u.tex.last_layer = 0; 275 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
quad-tex.c | 85 struct pipe_resource *tex; member in struct:program 172 p->tex = p->screen->resource_create(p->screen, &t_tmplt); 178 t = p->pipe->get_transfer(p->pipe, p->tex, 0, PIPE_TRANSFER_WRITE, &box); 189 u_sampler_view_default_template(&v_tmplt, p->tex, p->tex->format); 191 p->view = p->pipe->create_sampler_view(p->pipe, p->tex, &v_tmplt); 219 surf_tmpl.u.tex.level = 0; 220 surf_tmpl.u.tex.first_layer = 0; 221 surf_tmpl.u.tex.last_layer = 0; 296 pipe_resource_reference(&p->tex, NULL) [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrGpu.cpp | 122 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); local 123 if (NULL != tex && 126 GrAssert(NULL != tex->asRenderTarget()); 128 if (!this->attachStencilBufferToRenderTarget(tex->asRenderTarget())) { 129 tex->unref(); 133 return tex; 170 GrTexture* tex = this->onWrapBackendTexture(desc); local 171 if (NULL == tex) { 175 GrRenderTarget* tgt = tex->asRenderTarget(); 178 tex->unref() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
FrameBuffer.java | 91 Texture tex; field in class:FrameBuffer.RenderBuffer 108 return tex; 137 if (tex != null){ 148 if (tex != null){ 235 private void checkSetTexture(Texture tex, boolean depth){ 236 Image img = tex.getImage(); 250 if (samples != tex.getImage().getMultiSamples()) 311 * @param tex The color texture to set. 313 public void setColorTexture(Texture2D tex){ 315 addColorTexture(tex); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SkyFactory.java | 211 Texture tex = assetManager.loadTexture(key); local 212 return createSky(assetManager, tex, sphereMap);
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestBrickTower.java | 197 Texture tex = assetManager.loadTexture(key); local 198 mat.setTexture("ColorMap", tex);
|
TestBrickWall.java | 170 Texture tex = assetManager.loadTexture(key);
local 171 mat.setTexture("ColorMap", tex);
|
TestRagdollCharacter.java | 147 Texture tex = assetManager.loadTexture(key); local 148 mat2.setTexture("ColorMap", tex);
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloPhysics.java | 138 Texture tex = assetManager.loadTexture(key);
local 139 wall_mat.setTexture("ColorMap", tex);
|
/external/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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...] |
i915_state_emit.c | 249 struct i915_texture *tex; local 256 tex = i915_texture(i915->fragment_sampler_views[unit]->texture); 257 i915->validation_buffers[i915->num_validation_buffers++] = tex->buffer; 497 /* TEX fixup for sRGB */
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_setup.c | 650 struct pipe_resource *tex = view->texture; local 651 struct llvmpipe_resource *lp_tex = llvmpipe_resource(tex); 654 jit_tex->width = tex->width0; 655 jit_tex->height = tex->height0; 656 jit_tex->depth = tex->depth0; 657 jit_tex->first_level = view->u.tex.first_level; 658 jit_tex->last_level = tex->last_level; 663 pipe_resource_reference(&setup->fs.current_tex[i], tex); 668 for (j = view->u.tex.first_level; j <= tex->last_level; j++) [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_build_util.cpp | 248 TexInstruction *tex = new_TexInstruction(func, op); local 251 tex->setDef(d, def[d]); 253 tex->setSrc(s, src[s]); 255 tex->setTexture(targ, tic, tsc); 257 return tex;
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_texture.c | 801 struct r300_resource *tex, 808 struct pipe_resource *pt = &tex->b.b; 809 struct r300_texture_desc *desc = &tex->tex; 886 struct r300_resource *tex = r300_resource(surf->base.texture); local 887 unsigned level = surf->base.u.tex.level; 889 r300_stride_to_width(surf->base.format, tex->tex.stride_in_bytes[level]); 895 R300_DEPTHMACROTILE(tex->tex.macrotile[level]) 915 struct r300_resource* tex = (struct r300_resource*)texture; local 926 struct r300_resource* tex = (struct r300_resource*)texture; local 958 struct r300_resource *tex = CALLOC_STRUCT(r300_resource); local 1078 struct r300_resource* tex = r300_resource(texture); local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
r600_blit.c | 132 surf_tmpl.u.tex.level = level; 133 surf_tmpl.u.tex.first_layer = layer; 134 surf_tmpl.u.tex.last_layer = layer; 164 struct r600_resource_texture *tex; local 169 tex = (struct r600_resource_texture *)view->base.texture; 170 if (!tex->depth) 173 if (tex->is_flushing_texture) 176 si_blit_uncompress_depth(&rctx->context, tex); 181 struct r600_resource_texture *tex; local 182 tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture [all...] |