Searched refs:tex (Results 201 - 225 of 528) sorted by relevance

1234567891011>>

/external/skia/gm/
H A Dpatch.cpp95 const SkPoint* tex = gTexCoords; local
106 tex = texStorage;
125 canvas->drawPatch(gCubics, nullptr, tex, modes[y], paint);
130 canvas->drawPatch(gCubics, colors, tex, modes[y], paint);
/external/skqp/experimental/GLFWTest/
H A Dglfw_main.cpp89 SkRect tex[kGrid*kGrid+1]; local
113 tex[currIndex] = SkRect::MakeLTRB(0.0f, 0.0f, atlas->width(), atlas->height());
119 tex[currIndex] = SkRect::MakeLTRB(0.0f, 0.0f, atlas->width(), atlas->height());
169 canvas->drawAtlas(atlas, xform, tex, nullptr, kGrid*kGrid+1, SkXfermode::kSrcOver_Mode,
/external/skqp/gm/
H A Dpatch.cpp95 const SkPoint* tex = gTexCoords; local
106 tex = texStorage;
125 canvas->drawPatch(gCubics, nullptr, tex, modes[y], paint);
130 canvas->drawPatch(gCubics, colors, tex, modes[y], paint);
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tracker.c366 srf->tex = xa->screen->resource_from_handle(xa->screen, template, whandle,
369 srf->tex = xa->screen->resource_create(xa->screen, template);
370 if (!srf->tex)
501 0, 0, 0, 0, srf->tex, 0, &src_box);
505 pipe_resource_reference(&srf->tex, texture);
529 pipe_resource_reference(&srf->tex, NULL);
554 srf->tex, &whandle,
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_state_init.c667 ALLOC_STATE( tex[0], tex_pair_mm, state_size, "TEX/tex-0", 0 );
668 ALLOC_STATE( tex[1], tex_pair_mm, state_size, "TEX/tex-1", 1 );
672 ALLOC_STATE( tex[0], tex_mm, state_size, "TEX/tex-0", 0 );
673 ALLOC_STATE( tex[1], tex_mm, state_size, "TEX/tex-1", 1 );
676 ALLOC_STATE( tex[2], tex_mm, state_size, "TEX/tex
[all...]
/external/autotest/client/deps/nvmap_compactor/src/
H A Dnvmap_carveout_compactor.c64 uniform sampler2D tex; \
69 gl_FragColor = texture2D(tex, st); \
138 GLuint tex; local
160 glGenTextures(1, &tex);
168 glBindTexture(GL_TEXTURE_2D, tex);
189 tex = -1;
193 return tex;
244 int ShowTextures(GLuint *tex, int count, int width, int height) argument
269 texSampler = glGetUniformLocation(programObj, "tex");
284 glBindTexture(GL_TEXTURE_2D, tex[
303 RunPhase(int phase, int phase_width, int phase_height, int texture_count, int texture_size, GLuint *tex) argument
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_emit.c327 tex_end = code->tex.length - tex_offset - 1;
329 if (code->tex.length == emit->node_first_tex) {
403 code->tex.length == emit->node_first_tex) {
416 emit->node_first_tex = code->tex.length;
430 if (code->tex.length >= emit->compiler->Base.max_tex_insts) {
457 code->tex.inst[code->tex.length++] =
523 tex_end = code->tex.length ? code->tex.length - 1 : 0;
548 || code->tex
[all...]
H A Dr300_fragprog.c93 switch ((code->tex.
115 (code->tex.
118 (code->tex.
120 (code->tex.
123 code->tex.inst[i]);
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dvolume9.c187 struct NineBaseTexture9 *tex; local
192 assert(NineUnknown_QueryInterface(This->base.container, ref, (void **)&tex)
194 assert(NineUnknown_Release(NineUnknown(tex)) != 0);
197 tex = NineBaseTexture9(This->base.container);
198 assert(tex);
200 tex->managed.dirty = TRUE;
202 BASETEX_REGISTER_UPDATE(tex);
219 struct NineVolumeTexture9 *tex = NineVolumeTexture9(This->base.container); local
222 NineVolumeTexture9_AddDirtyBox(tex, NULL);
230 NineVolumeTexture9_AddDirtyBox(tex,
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboColorbufferTests.cpp152 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);
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_format.c40 unsigned tex; member in struct:etna_format
58 .tex = TEXTURE_FORMAT_##texfmt, \
67 .tex = TEXTURE_FORMAT_##fmt, \
76 .tex = ETNA_NO_MATCH, \
237 return formats[fmt].tex;
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_tex.c168 address += view->pipe.u.tex.first_layer * mt->layer_stride;
169 depth = view->pipe.u.tex.last_layer - view->pipe.u.tex.first_layer + 1;
233 tic[7] = (view->pipe.u.tex.last_level << 4) | view->pipe.u.tex.first_level;
265 templ.u.tex.first_layer = view->u.tex.first_layer;
266 templ.u.tex.last_layer = view->u.tex.last_layer;
267 templ.u.tex
[all...]
H A Dnvc0_state_validate.c117 mt->level[sf->base.u.tex.level].tile_mode);
118 PUSH_DATA(push, sf->base.u.tex.first_layer + sf->depth);
120 PUSH_DATA(push, sf->base.u.tex.first_layer);
160 PUSH_DATA (push, mt->level[sf->base.u.tex.level].tile_mode);
168 (sf->base.u.tex.first_layer + sf->depth));
170 PUSH_DATA (push, sf->base.u.tex.first_layer);
728 tmpl.u.tex.first_level = tmpl.u.tex.last_level = sf->u.tex.level;
729 tmpl.u.tex
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_aapoint.c212 /* MUL t0.xy, tex, tex; # compute x^2, y^2 */
236 /* SGT t0.y, t0.xxxx, tex.wwww; # bool b = d > 1 (NOTE tex.w == 1) */
248 /* SUB t0.z, tex.w, tex.z; # m = 1 - k */
279 /* SLE t0.y, t0.x, tex.z; # bool b = distance <= k */
285 /* CMP t0.w, -t0.y, tex.w, t0.w;
451 float radius, *pos, *tex; local
517 tex
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_clear.c285 tmpl.u.tex.first_layer = box->z;
286 tmpl.u.tex.last_layer = box->z + box->depth - 1;
287 tmpl.u.tex.level = level;
440 unsigned first_layer = rtv->u.tex.first_layer;
441 unsigned last_layer = rtv->u.tex.last_layer;
445 rtv->u.tex.first_layer = rtv->u.tex.last_layer =
451 rtv->u.tex.first_layer = first_layer;
452 rtv->u.tex.last_layer = last_layer;
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_context.cpp59 assert(surf_tmpl->u.tex.level <= pt->last_level);
60 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level);
61 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level);
62 ps->u.tex.level = surf_tmpl->u.tex.level;
63 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
64 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer;
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_blit.c145 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0;
153 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0;
317 r300_resource(fb->cbufs[0]->texture)->tex.cmask_dwords) {
543 unsigned src_width0 = r300_resource(src)->tex.width0;
544 unsigned src_height0 = r300_resource(src)->tex.height0;
545 unsigned dst_width0 = r300_resource(dst)->tex.width0;
546 unsigned dst_height0 = r300_resource(dst)->tex.height0;
704 (r300_resource(info->dst.resource)->tex
[all...]
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_state.c1703 const struct ilo_texture *tex = ilo_texture(cso->base.texture); local
1707 ilo_format_translate_depth(dev, tex->image_format);
2032 struct ilo_texture *tex = ilo_texture(res); local
2036 if (tex->image.tiling == GEN6_TILING_NONE &&
2037 !(tex->base.bind & PIPE_BIND_SAMPLER_VIEW)) {
2044 info.img = &tex->image;
2045 info.level_base = templ->u.tex.first_level;
2046 info.level_count = templ->u.tex.last_level -
2047 templ->u.tex.first_level + 1;
2048 info.slice_base = templ->u.tex
2087 struct ilo_texture *tex = ilo_texture(res); local
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.c2069 color_view = S_028C6C_SLICE_START(surf->base.u.tex.first_layer) |
2070 S_028C6C_SLICE_MAX(surf->base.u.tex.last_layer);
2202 unsigned level = surf->base.u.tex.level;
2315 surf->db_depth_view = S_028008_SLICE_START(surf->base.u.tex.first_layer) |
2316 S_028008_SLICE_MAX(surf->base.u.tex.last_layer);
2504 struct r600_texture *tex = NULL; local
2525 tex = (struct r600_texture *)cb->base.texture;
2526 level_info = &tex->surface.level[cb->base.u.tex.level];
2528 &tex
2788 si_make_texture_descriptor(struct si_screen *screen, struct r600_texture *tex, bool sampler, enum pipe_texture_target target, enum pipe_format pipe_format, const unsigned char state_swizzle[4], unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, uint32_t *state, uint32_t *fmask_state) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_miptree.c506 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level];
517 ps->u.tex.level = tmpl->u.tex.level;
518 ps->u.tex.first_layer = tmpl->u.tex.first_layer;
519 ps->u.tex.last_layer = tmpl->u.tex.last_layer;
521 ns->width = u_minify(pt->width0, ps->u.tex.level);
522 ns->height = u_minify(pt->height0, ps->u.tex.level);
523 ns->depth = ps->u.tex
[all...]
/external/libunwind/doc/
H A Dunw_destroy_addr_space.tex4 \input{common.tex}
H A Dunw_regname.tex4 \input{common.tex}
H A Dunw_strerror.tex4 \input{common.tex}
/external/mesa3d/src/compiler/nir/
H A Dnir_propagate_invariant.c92 nir_tex_instr *tex = nir_instr_as_tex(instr); local
93 if (dest_is_invariant(&tex->dest, invariants))
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dfont.c385 struct pipe_resource tex_templ, *tex; local
415 tex = screen->resource_create(screen, &tex_templ);
416 if (!tex) {
420 map = pipe_transfer_map(pipe, tex, 0, 0, PIPE_TRANSFER_WRITE, 0, 0,
421 tex->width0, tex->height0, &transfer);
423 pipe_resource_reference(&tex, NULL);
438 out_font->texture = tex;

Completed in 1957 milliseconds

1234567891011>>