Searched defs:tex (Results 1 - 25 of 161) sorted by relevance

1234567

/external/mesa3d/src/mesa/main/
H A Dtexobj.h70 struct gl_texture_object *tex);
74 struct gl_texture_object *tex)
76 if (*ptr != tex)
77 _mesa_reference_texobj_(ptr, tex);
124 _mesa_get_fallback_texture(struct gl_context *ctx, gl_texture_index tex);
73 _mesa_reference_texobj(struct gl_texture_object **ptr, struct gl_texture_object *tex) argument
/external/skia/src/gpu/effects/
H A DGrSimpleTextureEffect.h24 static sk_sp<GrFragmentProcessor> Make(GrTexture* tex, argument
28 new GrSimpleTextureEffect(tex, std::move(colorSpaceXform), matrix,
33 static sk_sp<GrFragmentProcessor> Make(GrTexture* tex, argument
38 new GrSimpleTextureEffect(tex, std::move(colorSpaceXform), matrix, filterMode));
41 static sk_sp<GrFragmentProcessor> Make(GrTexture* tex, argument
45 return sk_sp<GrFragmentProcessor>(new GrSimpleTextureEffect(tex, std::move(colorSpaceXform),
/external/skia/tests/
H A DRenderTargetContextTest.cpp74 GrTexture* tex = tProxy->instantiate(ctx->resourceProvider()); local
75 REPORTER_ASSERT(reporter, tex);
H A DVkWrapTests.cpp42 sk_sp<GrTexture> tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership); local
43 REPORTER_ASSERT(reporter, tex);
49 tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership);
50 REPORTER_ASSERT(reporter, !tex);
51 tex = gpu->wrapBackendTexture(desc, kAdopt_GrWrapOwnership);
52 REPORTER_ASSERT(reporter, !tex);
57 tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership);
58 REPORTER_ASSERT(reporter, !tex);
59 tex = gpu->wrapBackendTexture(desc, kAdopt_GrWrapOwnership);
60 REPORTER_ASSERT(reporter, !tex);
122 sk_sp<GrTexture> tex = gpu->wrapBackendTexture(desc, kBorrow_GrWrapOwnership); local
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.h103 struct svga_texture *tex = (struct svga_texture *)resource; local
104 assert(tex == NULL || tex->b.vtbl == &svga_texture_vtbl);
105 return tex;
H A Dsvga_sampler_view.c61 struct svga_texture *tex = svga_texture(pt); local
93 if (tex->cached_view &&
94 tex->cached_view->min_lod == min_lod &&
95 tex->cached_view->max_lod == max_lod) {
96 svga_sampler_view_reference(&sv, tex->cached_view);
128 sv->handle = tex->handle;
143 sv->age = tex->age;
144 sv->handle = svga_texture_view_surface(svga, tex, flags, format,
153 sv->handle = tex->handle;
160 svga_sampler_view_reference(&tex
172 struct svga_texture *tex = svga_texture(v->texture); local
207 struct svga_texture *tex = svga_texture(v->texture); local
[all...]
H A Dsvga_state_constants.c283 if (key->tex[i].unnormalized) {
284 struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; local
287 data[0] = 1.0f / (float) tex->width0;
288 data[1] = 1.0f / (float) tex->height0;
294 key->tex[i].width_height_idx + offset,
H A Dsvga_tgsi.h73 } tex[PIPE_MAX_SAMPLERS]; member in struct:svga_fs_compile_key
143 return (const char *)&key->tex[key->num_textures] - (const char *)key;
/external/mesa3d/src/gallium/tests/graw/
H A Dclear.c24 struct pipe_resource *tex; variable in typeref:struct:pipe_resource
36 screen->flush_frontbuffer(screen, tex, 0, 0, window);
79 tex = screen->resource_create(screen,
81 if (tex == NULL)
86 surf_tmpl.u.tex.level = 0;
87 surf_tmpl.u.tex.first_layer = 0;
88 surf_tmpl.u.tex.last_layer = 0;
89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource.h89 unsigned i915_texture_offset(struct i915_texture *tex,
99 struct i915_texture *tex = (struct i915_texture *)resource; local
100 assert(tex->b.vtbl == &i915_texture_vtbl);
101 return tex;
106 struct i915_buffer *tex = (struct i915_buffer *)resource; local
107 assert(tex->b.vtbl == &i915_buffer_vtbl);
108 return tex;
H A Di915_state_sampler.c63 const struct i915_texture *tex,
85 const struct i915_texture *tex,
88 const struct pipe_resource *pt = &tex->b.b;
296 const struct i915_texture *tex,
301 const struct pipe_resource *pt = &tex->b.b;
307 assert(tex);
315 pitch = tex->stride;
325 | ms3_tiling_bits(tex->tiling));
82 update_sampler(struct i915_context *i915, uint unit, const struct i915_sampler_state *sampler, const struct i915_texture *tex, unsigned state[3]) argument
294 update_map(struct i915_context *i915, uint unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view* view, uint state[2]) argument
H A Di915_state_static.c104 struct i915_texture *tex = i915_texture(cbuf_surface->texture); local
105 assert(tex);
107 i915->current.cbuf_bo = tex->buffer;
109 BUF_3D_PITCH(tex->stride) | /* pitch in bytes */
110 buf_3d_tiling_bits(tex->tiling);
112 layer = cbuf_surface->u.tex.first_layer;
114 x = tex->image_offset[cbuf_surface->u.tex.level][layer].nblocksx;
115 y = tex->image_offset[cbuf_surface->u.tex
125 struct i915_texture *tex = i915_texture(depth_surface->texture); local
214 struct i915_texture *tex = i915_texture(depth_surface->texture); local
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c55 struct pipe_resource *tex = transfer->resource; local
59 tex, transfer->level, &transfer->box);
67 struct pipe_resource *tex = transfer->resource; local
71 ctx->resource_copy_region(ctx, tex, transfer->level,
87 struct r300_resource *tex = r300_resource(texture); local
93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE);
98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE);
112 if (tex->tex.microtile || tex
231 struct r300_resource *tex = r300_resource(transfer->resource); local
259 struct r300_resource *tex = r300_resource(transfer->resource); local
[all...]
H A Dr300_context.c422 struct pipe_resource *tex; local
433 tex = screen->resource_create(screen, &rtempl);
435 u_sampler_view_default_template(&vtempl, tex, tex->format);
438 r300->context.create_sampler_view(&r300->context, tex, &vtempl);
440 pipe_resource_reference(&tex, NULL);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/
H A Dd3d10x11main.cpp136 ID3D10Texture2D* tex; local
138 ensure(swap_chain->GetBuffer(0, IID_ID3D10Texture2D, (void**)&tex));
139 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv));
146 tex->Release();
H A Dd3d10winmain.cpp169 ID3D10Texture2D* tex; local
171 ensure(swap_chain->GetBuffer(0, __uuidof(tex), (void**)&tex));
172 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv));
182 tex->Release();
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11x11main.cpp96 ID3D11Texture2D* tex; local
98 ensure(swap_chain->GetBuffer(0, IID_ID3D11Texture2D, (void**)&tex));
99 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv));
106 tex->Release();
H A Dd3d11winmain.cpp153 ID3D11Texture2D* tex; local
155 ensure(swap_chain->GetBuffer(0, __uuidof(tex), (void**)&tex));
156 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv));
166 tex->Release();
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
H A Dd3d11tex.cpp64 ID3D11Texture2D* tex; local
67 ensure(dev->CreateTexture2D(&texd, &texsd, &tex));
68 ensure(dev->CreateShaderResourceView(tex, 0, &srv[0]));
69 tex->Release();
72 ensure(dev->CreateTexture2D(&texd, &texsd, &tex));
73 ensure(dev->CreateShaderResourceView(tex, 0, &srv[1]));
74 tex->Release();
/external/skia/src/gpu/
H A DGrTextureOpList.cpp18 GrTextureOpList::GrTextureOpList(GrTextureProxy* tex, GrGpu* gpu, GrAuditTrail* auditTrail) argument
19 : INHERITED(tex, auditTrail)
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_winsys_xsp.c51 struct pipe_resource *tex; member in struct:vl_xsp_screen
74 if (xsp_screen->tex) {
75 if (xsp_screen->tex->width0 == width && xsp_screen->tex->height0 == height)
76 return xsp_screen->tex;
77 pipe_resource_reference(&xsp_screen->tex, NULL);
96 pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &templat));
97 return xsp_screen->tex;
167 pipe_resource_reference(&xsp_screen->tex, NULL);
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_sampler.c268 struct pipe_resource *tex = view->texture; local
269 struct llvmpipe_resource *lp_tex = llvmpipe_resource(tex);
274 pipe_resource_reference(&lp->mapped_vs_tex[i], tex);
279 for (j = view->u.tex.first_level; j <= tex->last_level; j++) {
292 struct llvmpipe_screen *screen = llvmpipe_screen(tex->screen);
303 tex->width0, tex->height0, tex->depth0,
304 view->u.tex
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_derived.c284 struct pipe_resource *tex; local
287 tex = util_pstipple_create_stipple_texture(&softpipe->pipe,
289 pipe_resource_reference(&softpipe->pstipple.texture, tex);
290 pipe_resource_reference(&tex, NULL);
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_st.c246 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/vdpau/
H A Dpresentation.c209 struct pipe_resource *tex; local
229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable);
230 if (!tex) {
238 surf_templ.format = tex->format;
240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ);
274 pipe->screen, tex, 0, 0,
297 pipe_resource_reference(&tex, NULL);

Completed in 368 milliseconds

1234567