/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/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_dri2.c | 58 struct pipe_resource *tex; member in struct:__anon31412 65 struct pipe_resource *tex = NULL; local 106 pipe_resource_reference(&tex, exa_priv->depth_stencil_tex); 136 tex = ms->screen->resource_create(ms->screen, &template); 137 pipe_resource_reference(&exa_priv->depth_stencil_tex, tex); 147 if (!tex) { 154 tex = xorg_exa_get_texture(private->pPixmap); 157 if (!tex) 163 ms->screen->resource_get_handle(ms->screen, tex, &whandle); 177 private->tex = tex [all...] |
xorg_exa.h | 53 struct pipe_resource *tex; member in struct:exa_pixmap_priv
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
subpicture.c | 200 struct pipe_resource tex_templ, *tex; local 249 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); 252 u_sampler_view_default_template(&sampler_templ, tex, tex->format); 254 subpicture_priv->sampler = pipe->create_sampler_view(pipe, tex, &sampler_templ); 255 pipe_resource_reference(&tex, NULL); 278 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); 281 u_sampler_view_default_template(&sampler_templ, tex, tex->format); 283 subpicture_priv->palette = pipe->create_sampler_view(pipe, tex, &sampler_templ) [all...] |
surface.c | 360 struct pipe_resource *tex; local 384 tex = vl_screen_texture_from_drawable(context_priv->vscreen, drawable); 388 surf_templ.format = tex->format; 390 surf = pipe->create_surface(pipe, tex, &surf_templ); 444 pipe->screen, tex, 0, 0,
|
/external/mesa3d/src/gallium/tests/graw/ |
graw_util.h | 91 surface_temp.u.tex.level = 0; 92 surface_temp.u.tex.first_layer = 0; 93 surface_temp.u.tex.last_layer = 0; 122 surface_temp.u.tex.level = 0; 123 surface_temp.u.tex.first_layer = 0; 124 surface_temp.u.tex.last_layer = 0; 226 struct pipe_resource temp, *tex; local 239 tex = info->screen->resource_create(info->screen, &temp); 240 if (!tex) { 248 tex, [all...] |
shader-leak.c | 32 static struct pipe_resource *tex = NULL; variable in typeref:struct:pipe_resource 160 screen->flush_frontbuffer(screen, tex, 0, 0, window); 206 tex = screen->resource_create(screen, &templat); 207 if (tex == NULL) { 214 surf_tmpl.u.tex.level = 0; 215 surf_tmpl.u.tex.first_layer = 0; 216 surf_tmpl.u.tex.last_layer = 0; 217 surf = ctx->create_surface(ctx, tex, &surf_tmpl); 219 fprintf(stderr, "Unable to create tex surface!\n");
|
tri-gs.c | 28 static struct pipe_resource *tex = NULL; variable in typeref:struct:pipe_resource 170 screen->flush_frontbuffer(screen, tex, 0, 0, window); 214 tex = screen->resource_create(screen, 216 if (tex == NULL) 221 surf_tmpl.u.tex.level = 0; 222 surf_tmpl.u.tex.first_layer = 0; 223 surf_tmpl.u.tex.last_layer = 0; 224 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vs.h | 81 struct brw_sampler_prog_key_data tex; member in struct:brw_vs_prog_key
|
/external/mesa3d/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...] |
/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;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
ProgramCache.cpp | 100 uint32_t tex = shaderKey.getTextureTarget(); local 101 if (tex != Key::TEXTURE_OFF && 102 tex != Key::TEXTURE_EXT && 103 tex != Key::TEXTURE_2D) {
|
/development/ndk/sources/android/ndk_helper/ |
JNIHelper.cpp | 224 GLuint tex; local 225 glGenTextures( 1, &tex ); 226 glBindTexture( GL_TEXTURE_2D, tex ); 235 glDeleteTextures( 1, &tex ); 236 tex = -1; 247 return tex;
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 366 TextureRec* tex = m_tex.textures + m_tex.numTextures; local 367 TextureRec* prev = tex - 1; 368 while (tex != m_tex.textures && id < prev->id) { 369 *tex-- = *prev--; 371 tex->id = id; 372 tex->target = target; 375 return tex;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageBuffer.cpp | 224 Platform3DObject tex = m_surface->getBackingTexture(); local 225 if (!context3D || !tex) 229 return drawingBuffer->copyToPlatformTexture(context3D, tex, GL_RGBA,
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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;
|