HomeSort by: relevance | last modified time | path
    Searched defs:tc (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /xsrc/external/mit/libxcb/dist/tests/
check_all.c 10 TCase *tc = tcase_create(name); local
13 tcase_add_test(tc, tf);
15 tcase_add_test(tc, tt);
17 suite_add_tcase(s, tc);
  /xsrc/external/mit/libX11/dist/src/
GetMoEv.c 43 XTimeCoord *tc = NULL; local
57 tc = Xmallocarray(rep.nEvents, sizeof(XTimeCoord));
58 if (tc == NULL) {
70 for (i = rep.nEvents, tcptr = tc; i > 0; i--, tcptr++) {
80 return (tc);
  /xsrc/external/mit/xtrap/dist/
xtrapinfo.c 65 XETC *tc; local
77 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
83 (void)XEGetAvailableRequest(tc,&ret_avail);
xtrapreset.c 64 XETC *tc; local
77 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
82 XEResetRequest(tc);
xtrapproto.c 69 XETC *tc; local
78 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
84 XEResetRequest(tc);
85 XEGetAvailableRequest(tc,&ret_avail);
87 XEGetCurrentRequest(tc,&ret_cur);
89 XETrapSetStatistics(tc, True); /* trigger config and def stats */
90 XEFlushConfig(tc);
91 XEGetStatisticsRequest(tc, &ret_stats);
92 XEPrintStatistics(stdout, &ret_stats,tc);
93 XEStartTrapRequest(tc);
    [all...]
xtrapstats.c 67 XETC *tc; local
84 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
90 (void)XEGetAvailableRequest(tc,&ret_avail);
97 XETrapSetStatistics(tc, True);
102 XETrapSetRequests(tc, True, requests);
107 XETrapSetEvents(tc, True, events);
117 (void)XEGetStatisticsRequest(tc,&ret_stats);
118 (void)XEPrintStatistics(stdout,&ret_stats,tc);
121 XETrapSetStatistics(tc, False);
131 (void)XEFreeTC(tc);
    [all...]
xtrapout.c 118 static void print_req_callback (XETC *tc , XETrapDatum *data ,
120 static void print_evt_callback (XETC *tc , XETrapDatum *data ,
140 static void print_req_callback(XETC *tc, XETrapDatum *data, BYTE *my_buf)
143 req_type = (data->u.req.reqType == XETrapGetExtOpcode(tc) ? "XTrap" :
144 XERequestIDToString(data->u.req.reqType,tc));
150 static void print_evt_callback(XETC *tc, XETrapDatum *data, BYTE *my_buf)
167 XEEventIDToString(data->u.event.u.u.type,tc), data->u.event.u.u.type,
186 XETC *tc; local
239 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
244 XETrapSetTimestamps(tc,True, False)
    [all...]
xtrapin.c 134 XETC *tc; local
184 if ((tc = XECreateTC(dpy,0L, NULL)) == NULL)
189 (void)XEGetAvailableRequest(tc,&ret_avail);
191 XEPrintTkFlags(stderr,tc);
202 XETrapSetRequests(tc, True, requests);
203 (void)XETrapSetGrabServer(tc, True);
206 (void)XEStartTrapRequest(tc);
207 (void)XEGetCurrentRequest(tc,&ret_cur);
224 XESimulateXEventRequest(tc, rec.type, rec.detail, rec.x, rec.y,
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_texture.c 53 /* Compute sc = +/-scale and tc = +/-scale.
59 * would be to clamp (sc, tc) against +/- 1.0-1.0/mipsize, in the shader.
65 const float tc = (2 * in_st[1] - 1) * scale; local
70 ry = -tc;
75 ry = -tc;
81 rz = tc;
86 rz = -tc;
90 ry = -tc;
95 ry = -tc;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_texture.c 53 /* Compute sc = +/-scale and tc = +/-scale.
59 * would be to clamp (sc, tc) against +/- 1.0-1.0/mipsize, in the shader.
65 const float tc = (2 * in_st[1] - 1) * scale; local
70 ry = -tc;
75 ry = -tc;
81 rz = tc;
86 rz = -tc;
90 ry = -tc;
95 ry = -tc;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
freedreno_program.c 97 struct ureg_src tc; local
106 tc = ureg_DECL_fs_input(
110 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, i));
116 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, rts));
  /xsrc/external/mit/libXi/dist/src/
XGMotion.c 76 XDeviceTimeCoord *tc; local
135 tc = (XDeviceTimeCoord *) bufp;
136 data = (int *)(tc + rep.nEvents);
137 for (i = 0; i < *nEvents; i++, tc++) {
138 tc->time = *readp++;
139 tc->data = data;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
freedreno_program.c 169 struct ureg_src tc; local
178 tc = ureg_DECL_fs_input(ureg, texcoord_semantic(pctx), 0,
182 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, i));
187 TGSI_TEXTURE_2D, tc, ureg_DECL_sampler(ureg, rts));
freedreno_context.c 75 * case.. for that to work properly we'd need TC to tell
295 tc_assert_driver_thread(ctx->tc);
691 struct pipe_context *tc = threaded_context_create( local
699 &ctx->tc);
701 if (tc && tc != pctx)
702 threaded_context_init_bytes_mapped_limit((struct threaded_context *)tc, 16);
704 return tc;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
sp_tex_tile_cache.c 49 struct softpipe_tex_tile_cache *tc; local
55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache );
56 if (tc) {
57 tc->pipe = pipe;
58 for (pos = 0; pos < ARRAY_SIZE(tc->entries); pos++) {
59 tc->entries[pos].addr.bits.invalid = 1;
61 tc->last_tile = &tc->entries[0]; /* any tile */
63 return tc;
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc)
    [all...]
sp_state_derived.c 318 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; local
319 if (tc && tc->texture) {
320 struct softpipe_resource *spt = softpipe_resource(tc->texture);
321 if (spt->timestamp != tc->timestamp) {
322 sp_tex_tile_cache_validate_texture( tc );
324 _debug_printf("INV %d %d\n", tc->timestamp, spt->timestamp);
326 tc->timestamp = spt->timestamp;
sp_tile_cache.c 42 sp_alloc_tile(struct softpipe_tile_cache *tc);
93 struct softpipe_tile_cache *tc; local
104 tc = CALLOC_STRUCT( softpipe_tile_cache );
105 if (tc) {
106 tc->pipe = pipe;
107 for (pos = 0; pos < ARRAY_SIZE(tc->tile_addrs); pos++) {
108 tc->tile_addrs[pos].bits.invalid = 1;
110 tc->last_tile_addr.bits.invalid = 1;
115 tc->tile = MALLOC_STRUCT( softpipe_cached_tile );
116 if (!tc->tile
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
sp_tex_tile_cache.c 49 struct softpipe_tex_tile_cache *tc; local
55 tc = CALLOC_STRUCT( softpipe_tex_tile_cache );
56 if (tc) {
57 tc->pipe = pipe;
58 for (pos = 0; pos < ARRAY_SIZE(tc->entries); pos++) {
59 tc->entries[pos].addr.bits.invalid = 1;
61 tc->last_tile = &tc->entries[0]; /* any tile */
63 return tc;
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc)
    [all...]
sp_state_derived.c 318 struct softpipe_tex_tile_cache *tc = softpipe->tex_cache[sh][i]; local
319 if (tc && tc->texture) {
320 struct softpipe_resource *spt = softpipe_resource(tc->texture);
321 if (spt->timestamp != tc->timestamp) {
322 sp_tex_tile_cache_validate_texture( tc );
324 _debug_printf("INV %d %d\n", tc->timestamp, spt->timestamp);
326 tc->timestamp = spt->timestamp;
sp_tile_cache.c 42 sp_alloc_tile(struct softpipe_tile_cache *tc);
93 struct softpipe_tile_cache *tc; local
107 tc = CALLOC_STRUCT( softpipe_tile_cache );
108 if (tc) {
109 tc->pipe = pipe;
110 for (pos = 0; pos < ARRAY_SIZE(tc->tile_addrs); pos++) {
111 tc->tile_addrs[pos].bits.invalid = 1;
113 tc->last_tile_addr.bits.invalid = 1;
118 tc->tile = MALLOC_STRUCT( softpipe_cached_tile );
119 if (!tc->tile
    [all...]
  /xsrc/external/mit/libXTrap/dist/src/
XEConTxt.c 52 static XETC TC;
63 register XETC *tc = &TC; local
67 /* If this is the first time here, then initialize the default TC */
71 /* The first Trap Context is the Template (default) TC */
72 memset(tc,0L,sizeof(*tc));
73 tc->eventBase = 0x7FFFFFFFL;
74 tc->errorBase = 0x7FFFFFFFL;
75 tc->values.v.max_pkt_size = 0x7FFFL
    [all...]
  /xsrc/external/mit/xditview/dist/
parse.c 121 unsigned char tc = c; local
122 PutCharacters(dw, &tc, 1);
157 unsigned char tc = c; local
158 PutCharacters(dw, &tc, 1);
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
vl_compositor_gfx.c 243 struct ureg_src tc; local
247 tc = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX, TGSI_INTERPOLATE_LINEAR);
258 * texel.xyz = tex(tc, sampler[i])
261 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_2D_ARRAY, tc, sampler[i]);
347 struct ureg_src tc; local
361 tc = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX, TGSI_INTERPOLATE_LINEAR);
379 * texel = tex(tc, sampler)
383 ureg_TEX(shader, texel, TGSI_TEXTURE_2D, tc, sampler);
405 struct ureg_src tc, color, sampler; local
412 tc = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTEX, TGSI_INTERPOLATE_LINEAR)
437 struct ureg_src tc, sampler; local
    [all...]
vl_mc.c 167 struct ureg_src tc[2], sampler; local
176 tc[0] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VTOP, TGSI_INTERPOLATE_LINEAR);
177 tc[1] = ureg_DECL_fs_input(shader, TGSI_SEMANTIC_GENERIC, VS_O_VBOTTOM, TGSI_INTERPOLATE_LINEAR);
187 * ref = field.z ? tc[1] : tc[0]
189 * // Adjust tc acording to top/bottom field selection
200 tc[1], tc[0]);
203 tc[1], tc[0])
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
i915_debug.c 300 unsigned tc = (ptr[j] >> (i * 4)) & 0xf; local
301 if (tc != 0xf)
302 BITS(stream, tc, 3, 0, "tex coord %d", i);

Completed in 19 milliseconds

1 2 3