/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/deqp/modules/gles2/functional/ |
es2fFboApiTest.cpp | 145 deUint32 tex = 1; local 148 context.bindTexture(GL_TEXTURE_2D, tex); 158 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]); 165 deUint32 tex = 1; local 168 context.bindTexture(GL_TEXTURE_2D, tex); 178 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]);
|
/external/deqp/modules/gles3/functional/ |
es3fFboApiTests.cpp | 134 deUint32 tex = 1; local 144 context.bindTexture(GL_TEXTURE_2D, tex); 154 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]);
|
es3fFboCompletenessTests.cpp | 280 const GLuint tex = builder.glCreateTexture(*texCfg); local 284 att->imageName = tex; 321 os << "tex";
|
/external/deqp/modules/gles31/functional/ |
es31fFboColorbufferTests.cpp | 152 deUint32 tex; local 166 glGenTextures(1, &tex); 168 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex); 185 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex, 0, ndx); 240 glBindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, tex);
|
es31fFboTestUtil.cpp | 224 // setup tex coords 238 const sglr::rc::Texture2D* tex = m_uniforms[2 + ndx*3].sampler.tex2D; local 243 tex->sample4(tmpColors, texCoords); 389 const sglr::rc::TextureCubeArray* tex = m_uniforms[1].sampler.texCubeArray; local 397 tex->sample4(colors, texCoords);
|
/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...] |
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);
|
/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 | 363 TextureRec* tex = m_tex.textures + m_tex.numTextures; local 364 TextureRec* prev = tex - 1; 365 while (tex != m_tex.textures && id < prev->id) { 366 *tex-- = *prev--; 368 tex->id = id; 369 tex->target = target; 372 return tex;
|