/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state_draw.c | 583 struct pipe_resource *tex = rctx->framebuffer.zsbuf->texture; local 584 ((struct r600_resource_texture *)tex)->dirty_db = TRUE;
|
/external/mesa3d/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/mesa3d/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/mesa3d/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/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/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...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Renderable.java | 143 TextureBase tex = p.getTexture(); local 144 if (tex != null) { 145 mData.pf_textures[paramIndex++] = tex.getRsData(false).getAllocation();
|
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
GLEScmContext.cpp | 51 void GLEScmContext::setActiveTexture(GLenum tex) { 52 m_activeTexture = tex - GL_TEXTURE0; 55 void GLEScmContext::setClientActiveTexture(GLenum tex) { 56 m_clientActiveTexture = tex - GL_TEXTURE0; 129 unsigned int tex = GL_TEXTURE0+i; local 130 setClientActiveTexture(tex); 131 s_glDispatch.glClientActiveTexture(tex);
|
/sdk/emulator/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;
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 263 GLint tex = getActiveTexture() + GL_TEXTURE0; local 264 *ptr = tex;
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_idct.c | 396 unsigned first_output, struct ureg_dst tex) 420 ureg_MUL(shader, ureg_writemask(tex, TGSI_WRITEMASK_Z), 426 calc_addr(shader, o_r_addr, ureg_src(tex), ureg_src(t_start), true, false, idct->buffer_height / 4); 428 ureg_MOV(shader, ureg_writemask(o_r_addr[0], TGSI_WRITEMASK_Z), ureg_src(tex)); 429 ureg_MOV(shader, ureg_writemask(o_r_addr[1], TGSI_WRITEMASK_Z), ureg_src(tex)); 591 struct pipe_resource *tex; local 596 tex = buffer->sampler_views.individual.source->texture; 598 buffer->fb_state_mismatch.width = tex->width0; 599 buffer->fb_state_mismatch.height = tex->height0; 603 surf_templ.format = tex->format 630 struct pipe_resource *tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_resource_texture.c | 133 i915_texture_set_level_info(struct i915_texture *tex, 136 assert(level < Elements(tex->nr_images)); 138 assert(!tex->image_offset[level]); 140 tex->nr_images[level] = nr_images; 141 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair)); 142 tex->image_offset[level][0].nblocksx = 0; 143 tex->image_offset[level][0].nblocksy = 0; 146 INLINE unsigned i915_texture_offset(struct i915_texture *tex, 150 x = tex->image_offset[level][layer].nblocksx 151 * util_format_get_blocksize(tex->b.b.format) 689 struct i915_texture *tex = i915_texture(texture); local 700 struct i915_texture *tex = i915_texture(pt); local 722 struct i915_texture *tex = i915_texture(resource); local 790 struct i915_texture *tex = NULL; local 827 struct i915_texture *tex = i915_texture(itransfer->b.resource); local 861 struct i915_texture *tex = i915_texture(itransfer->staging_texture); local 947 struct i915_texture *tex = CALLOC_STRUCT(i915_texture); local 1004 struct i915_texture *tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 232 #define tex(s,o,u,d,m,s0,s1,s2) \ macro 774 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none)); 790 nvfx_fp_emit(fpc, tex(sat, TXB, unit, dst, mask, src[0], none, none)); 794 nvfx_fp_emit(fpc, tex(sat, TXL_NV40, unit, dst, mask, src[0], none, none)); 795 else /* unsupported on nv30, use TEX and hope they like it */ 796 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none)); 799 nvfx_fp_emit(fpc, tex(sat, TXP, unit, dst, mask, src[0], none, none)); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_tgsi.cpp | 246 const struct tgsi_instruction_texture *tex = &insn->Texture; local 255 switch (tex->Texture) { 336 static nv50_ir::TexTarget translateTexture(uint tex) 338 switch (tex) { 488 NV50_IR_OPCODE_CASE(TEX, TEX); 490 NV50_IR_OPCODE_CASE(TXP, TEX); 547 NV50_IR_OPCODE_CASE(SAMPLE, TEX); 549 NV50_IR_OPCODE_CASE(SAMPLE_C, TEX); 550 NV50_IR_OPCODE_CASE(SAMPLE_C_LZ, TEX); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_state_derived.c | 749 struct r300_resource *tex; local 768 tex = r300_resource(view->base.texture); 783 base_level = view->base.u.tex.first_level; 786 tex->b.b.last_level - base_level, 787 view->base.u.tex.last_level - base_level); 792 if (tex->tex.is_npot) { 799 offset = tex->tex.offset_in_bytes[base_level]; 801 r300_texture_setup_format_state(r300->screen, tex, 966 struct pipe_resource *tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/rbug/ |
rbug_core.c | 250 struct pipe_resource *tex; local 268 tex = tr_tex->resource; 269 t = pipe_get_transfer(context, tex,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_filters.c | 65 struct pipe_resource *tex = 0; local 78 tex = screen->resource_create(screen, &templ); 82 pipe_get_transfer(pipe, tex, 85 0, 0, tex->width0, tex->height0); 92 return tex;
|
image.c | 209 struct pipe_resource *tex = img->sampler_view->texture; local 210 return tex;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_renderer.c | 298 struct pipe_resource *tex; local 305 tex = srf[0]->tex; 306 s0 = spt0[0] / tex->width0; 307 t0 = spt0[1] / tex->height0; 308 s1 = spt1[0] / tex->width0; 309 t1 = spt1[1] / tex->height0; 510 const int num_attribs = 2; /*pos + tex coord */
|
/external/jmonkeyengine/engine/src/test/jme3test/batching/ |
TestBatchNodeTower.java | 211 Texture tex = assetManager.loadTexture(key); local 212 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/auxiliary/vl/ |
vl_idct.c | 396 unsigned first_output, struct ureg_dst tex) 420 ureg_MUL(shader, ureg_writemask(tex, TGSI_WRITEMASK_Z), 426 calc_addr(shader, o_r_addr, ureg_src(tex), ureg_src(t_start), true, false, idct->buffer_height / 4); 428 ureg_MOV(shader, ureg_writemask(o_r_addr[0], TGSI_WRITEMASK_Z), ureg_src(tex)); 429 ureg_MOV(shader, ureg_writemask(o_r_addr[1], TGSI_WRITEMASK_Z), ureg_src(tex)); 591 struct pipe_resource *tex; local 596 tex = buffer->sampler_views.individual.source->texture; 598 buffer->fb_state_mismatch.width = tex->width0; 599 buffer->fb_state_mismatch.height = tex->height0; 603 surf_templ.format = tex->format 630 struct pipe_resource *tex; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource_texture.c | 133 i915_texture_set_level_info(struct i915_texture *tex, 136 assert(level < Elements(tex->nr_images)); 138 assert(!tex->image_offset[level]); 140 tex->nr_images[level] = nr_images; 141 tex->image_offset[level] = MALLOC(nr_images * sizeof(struct offset_pair)); 142 tex->image_offset[level][0].nblocksx = 0; 143 tex->image_offset[level][0].nblocksy = 0; 146 INLINE unsigned i915_texture_offset(struct i915_texture *tex, 150 x = tex->image_offset[level][layer].nblocksx 151 * util_format_get_blocksize(tex->b.b.format) 689 struct i915_texture *tex = i915_texture(texture); local 700 struct i915_texture *tex = i915_texture(pt); local 722 struct i915_texture *tex = i915_texture(resource); local 790 struct i915_texture *tex = NULL; local 827 struct i915_texture *tex = i915_texture(itransfer->b.resource); local 861 struct i915_texture *tex = i915_texture(itransfer->staging_texture); local 947 struct i915_texture *tex = CALLOC_STRUCT(i915_texture); local 1004 struct i915_texture *tex; local [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 232 #define tex(s,o,u,d,m,s0,s1,s2) \ macro 774 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none)); 790 nvfx_fp_emit(fpc, tex(sat, TXB, unit, dst, mask, src[0], none, none)); 794 nvfx_fp_emit(fpc, tex(sat, TXL_NV40, unit, dst, mask, src[0], none, none)); 795 else /* unsupported on nv30, use TEX and hope they like it */ 796 nvfx_fp_emit(fpc, tex(sat, TEX, unit, dst, mask, src[0], none, none)); 799 nvfx_fp_emit(fpc, tex(sat, TXP, unit, dst, mask, src[0], none, none)); [all...] |