| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| nine_shader.c | 527 #define IS_VS (tx->processor == PIPE_SHADER_VERTEX) 528 #define IS_PS (tx->processor == PIPE_SHADER_FRAGMENT) 530 #define FAILURE_VOID(cond) if ((cond)) {tx->failure=1;return;} 548 nine_record_outputs(struct shader_translator *tx, BYTE Usage, BYTE UsageIndex, 551 tx->output_info[tx->num_outputs].output_semantic = Usage; 552 tx->output_info[tx->num_outputs].output_semantic_index = UsageIndex; 553 tx->output_info[tx->num_outputs].mask = mask 3948 struct shader_translator *tx; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| nine_shader.c | 526 #define IS_VS (tx->processor == PIPE_SHADER_VERTEX) 527 #define IS_PS (tx->processor == PIPE_SHADER_FRAGMENT) 529 #define FAILURE_VOID(cond) if ((cond)) {tx->failure=1;return;} 547 nine_record_outputs(struct shader_translator *tx, BYTE Usage, BYTE UsageIndex, 550 tx->output_info[tx->num_outputs].output_semantic = Usage; 551 tx->output_info[tx->num_outputs].output_semantic_index = UsageIndex; 552 tx->output_info[tx->num_outputs].mask = mask 3795 struct shader_translator *tx; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| nouveau_buffer.c | 140 struct nouveau_transfer *tx, bool permit_pb) 142 const unsigned adj = tx->base.box.x & NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK; 143 const unsigned size = align(tx->base.box.width, 4) + adj; 149 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); 150 if (tx->map) 151 tx->map += adj; 153 tx->mm = 154 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); 155 if (tx->bo) 303 struct nouveau_transfer tx; local 382 struct nouveau_transfer *tx = MALLOC_STRUCT(nouveau_transfer); local 512 struct nouveau_transfer *tx = nouveau_transfer(transfer); local 516 nouveau_transfer_write(nouveau_context(pipe), tx, box->x, box->width); local 534 struct nouveau_transfer *tx = nouveau_transfer(transfer); local 793 struct nouveau_transfer tx; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| nv50_transfer.c | 256 struct nv50_transfer *tx; local 264 tx = CALLOC_STRUCT(nv50_transfer); 265 if (!tx) 268 pipe_resource_reference(&tx->base.resource, res); 270 tx->base.level = level; 271 tx->base.usage = usage; 272 tx->base.box = *box; 275 tx->nblocksx = box->width << mt->ms_x; 276 tx->nblocksy = box->height << mt->ms_y; 278 tx->nblocksx = util_format_get_nblocksx(res->format, box->width) 347 struct nv50_transfer *tx = (struct nv50_transfer *)transfer; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/ |
| nouveau_buffer.c | 158 struct nouveau_transfer *tx, bool permit_pb) 160 const unsigned adj = tx->base.box.x & NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK; 161 const unsigned size = align(tx->base.box.width, 4) + adj; 167 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); 168 if (tx->map) 169 tx->map += adj; 171 tx->mm = 172 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); 173 if (tx->bo) 321 struct nouveau_transfer tx; local 404 struct nouveau_transfer *tx = MALLOC_STRUCT(nouveau_transfer); local 534 struct nouveau_transfer *tx = nouveau_transfer(transfer); local 538 nouveau_transfer_write(nouveau_context(pipe), tx, box->x, box->width); local 561 struct nouveau_transfer *tx = nouveau_transfer(transfer); local 662 struct nouveau_transfer *tx = MALLOC_STRUCT(nouveau_transfer); local 674 struct nouveau_transfer *tx = nouveau_transfer(transfer); local 861 struct nouveau_transfer tx; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_transfer.c | 383 struct nvc0_transfer *tx; local 401 tx = CALLOC_STRUCT(nvc0_transfer); 402 if (!tx) 405 pipe_resource_reference(&tx->base.resource, res); 407 tx->base.level = level; 408 tx->base.usage = usage; 409 tx->base.box = *box; 412 tx->nblocksx = box->width << mt->ms_x; 413 tx->nblocksy = box->height << mt->ms_y; 415 tx->nblocksx = util_format_get_nblocksx(res->format, box->width) 500 struct nvc0_transfer *tx = (struct nvc0_transfer *)transfer; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_transfer.c | 380 struct nvc0_transfer *tx; local 398 tx = CALLOC_STRUCT(nvc0_transfer); 399 if (!tx) 402 pipe_resource_reference(&tx->base.resource, res); 404 tx->base.level = level; 405 tx->base.usage = usage; 406 tx->base.box = *box; 409 tx->nblocksx = box->width << mt->ms_x; 410 tx->nblocksy = box->height << mt->ms_y; 412 tx->nblocksx = util_format_get_nblocksx(res->format, box->width) 497 struct nvc0_transfer *tx = (struct nvc0_transfer *)transfer; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_miptree.c | 288 struct nv30_transfer *tx; local 292 tx = CALLOC_STRUCT(nv30_transfer); 293 if (!tx) 295 pipe_resource_reference(&tx->base.resource, pt); 296 tx->base.level = level; 297 tx->base.usage = usage; 298 tx->base.box = *box; 299 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * 301 tx->base.layer_stride = util_format_get_nblocksy(pt->format, box->height) * 302 tx->base.stride 378 struct nv30_transfer *tx = nv30_transfer(ptx); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_miptree.c | 283 struct nv30_transfer *tx; local 287 tx = CALLOC_STRUCT(nv30_transfer); 288 if (!tx) 290 pipe_resource_reference(&tx->base.resource, pt); 291 tx->base.level = level; 292 tx->base.usage = usage; 293 tx->base.box = *box; 294 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * 296 tx->base.layer_stride = util_format_get_nblocksy(pt->format, box->height) * 297 tx->base.stride 373 struct nv30_transfer *tx = nv30_transfer(ptx); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| nv50_transfer.c | 382 struct nv50_transfer *tx; local 390 tx = CALLOC_STRUCT(nv50_transfer); 391 if (!tx) 394 pipe_resource_reference(&tx->base.resource, res); 396 tx->base.level = level; 397 tx->base.usage = usage; 398 tx->base.box = *box; 401 tx->nblocksx = box->width << mt->ms_x; 402 tx->nblocksy = box->height << mt->ms_y; 404 tx->nblocksx = util_format_get_nblocksx(res->format, box->width) 473 struct nv50_transfer *tx = (struct nv50_transfer *)transfer; local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_transform.c | 51 pixman_fixed_t *tx, 55 *tx = *ty = 0; 68 *tx = t->matrix[0][2]; 74 sna_transform_is_integer_translation(const PictTransform *t, int16_t *tx, int16_t *ty) 77 *tx = *ty = 0; 94 *tx = pixman_fixed_to_int(t->matrix[0][2]); 102 int16_t *tx, int16_t *ty) 106 *tx = *ty = 0; 151 *tx = pixman_fixed_to_int(t->matrix[0][2] + IntToxFixed(1)/2);
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_transform.c | 51 pixman_fixed_t *tx, 55 *tx = *ty = 0; 68 *tx = t->matrix[0][2]; 74 sna_transform_is_integer_translation(const PictTransform *t, int16_t *tx, int16_t *ty) 77 *tx = *ty = 0; 94 *tx = pixman_fixed_to_int(t->matrix[0][2]); 102 int16_t *tx, int16_t *ty) 106 *tx = *ty = 0; 151 *tx = pixman_fixed_to_int(t->matrix[0][2] + IntToxFixed(1)/2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_wallpaper.c | 65 nir_tex_instr *tx = nir_tex_instr_create(shader, 1); local 66 tx->op = nir_texop_tex; 67 tx->texture_index = tx->sampler_index = 0; 68 tx->sampler_dim = GLSL_SAMPLER_DIM_2D; 69 tx->dest_type = nir_type_float; 72 nir_src_copy(&tx->src[0].src, &src, tx); 73 tx->src[0].src_type = nir_tex_src_coord; 75 nir_ssa_dest_init(&tx->instr, &tx->dest, nir_tex_instr_dest_size(tx), 32, NULL) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/math/ |
| m_norm_tmp.h | 61 GLfloat tx, ty, tz; local 64 tx = ux * m0 + uy * m1 + uz * m2; 69 GLdouble len = tx*tx + ty*ty + tz*tz; 72 out[i][0] = tx * scale; 90 GLfloat tx, ty, tz; local 93 tx = ux * m0 + uy * m1 + uz * m2; 99 out[i][0] = tx * len; 128 GLfloat tx, ty, tz; local 131 tx = ux * m0 155 GLfloat tx, ty, tz; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/ |
| m_norm_tmp.h | 61 GLfloat tx, ty, tz; local 64 tx = ux * m0 + uy * m1 + uz * m2; 69 GLdouble len = tx*tx + ty*ty + tz*tz; 72 out[i][0] = tx * scale; 90 GLfloat tx, ty, tz; local 93 tx = ux * m0 + uy * m1 + uz * m2; 99 out[i][0] = tx * len; 128 GLfloat tx, ty, tz; local 131 tx = ux * m0 155 GLfloat tx, ty, tz; local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| basic-stippledrect.c | 19 uint8_t stipple, uint8_t opaque, int tx, int ty, 31 val.ts_x_origin = tx; 75 int tx = rand() % (2*out.width) - out.width; local 84 stipple, opaque, tx, ty, 88 stipple, opaque, tx, ty, 126 int tx = rand() % (2*out.width) - out.width; local 135 stipple, opaque, tx, ty, 139 stipple, opaque, tx, ty, 187 int tx = rand() % (2*out.width) - out.width; local 196 stipple, opaque, tx, ty [all...] |
| basic-tiledrect.c | 64 uint8_t tile, int tx, int ty, 77 val.ts_x_origin = tx; 140 int tx = rand() % (2*out.width) - out.width; local 148 tile, tx, ty, 152 tile, tx, ty, 157 tile, tx, ty, 161 tile, tx, ty, 213 int tx = rand() % (2*out.width) - out.width; local 221 tile, tx, ty, 225 tile, tx, ty 277 int tx = rand() % (2*out.width) - out.width; local 351 int tx = rand() % (2*out.width) - out.width; local [all...] |
| render-trapezoid-image.c | 92 int use_window, int tx, int ty, 107 tx, ty, 168 int tx, ty; local 171 tx = rand() % (tt.width - 1); 173 } while (tx == x && ty == y); 179 use_window, tx, ty, 287 int tx, ty, try = 50; local 297 tx = w == tt.width ? 0 : rand() % (tt.width - w); 299 } while (((tx+w > x && tx < x+w) & 389 int tx, ty, try = 50; local [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| basic-stippledrect.c | 19 uint8_t stipple, uint8_t opaque, int tx, int ty, 31 val.ts_x_origin = tx; 75 int tx = rand() % (2*out.width) - out.width; local 84 stipple, opaque, tx, ty, 88 stipple, opaque, tx, ty, 126 int tx = rand() % (2*out.width) - out.width; local 135 stipple, opaque, tx, ty, 139 stipple, opaque, tx, ty, 187 int tx = rand() % (2*out.width) - out.width; local 196 stipple, opaque, tx, ty [all...] |
| basic-tiledrect.c | 64 uint8_t tile, int tx, int ty, 77 val.ts_x_origin = tx; 140 int tx = rand() % (2*out.width) - out.width; local 148 tile, tx, ty, 152 tile, tx, ty, 157 tile, tx, ty, 161 tile, tx, ty, 213 int tx = rand() % (2*out.width) - out.width; local 221 tile, tx, ty, 225 tile, tx, ty 277 int tx = rand() % (2*out.width) - out.width; local 351 int tx = rand() % (2*out.width) - out.width; local [all...] |
| render-trapezoid-image.c | 92 int use_window, int tx, int ty, 107 tx, ty, 168 int tx, ty; local 171 tx = rand() % (tt.width - 1); 173 } while (tx == x && ty == y); 179 use_window, tx, ty, 287 int tx, ty, try = 50; local 297 tx = w == tt.width ? 0 : rand() % (tt.width - w); 299 } while (((tx+w > x && tx < x+w) & 389 int tx, ty, try = 50; local [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/trivial/ |
| tri-viewport.c | 32 static float tx = 0; variable 94 tw = th = tx = ty = 0; 111 fprintf(stderr, "glViewport(%f %f %f %f)\n", tx, ty, w, h); 139 glViewport(tx, ty, w, h); 189 glViewport(tx, ty, w, h); 255 tx = atof(getenv("VPX")); 286 tx -= 1.0; 289 tx += 1.0;
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_ir_performance.cpp | 126 tx(get_exec_type(inst)), sx(0), ss(0), 142 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); 148 !brw_reg_type_is_floating_point(tx) && type_sz(tx) == 4 && 150 tx = brw_int_type(8, tx == BRW_REGISTER_TYPE_D); 157 tx(get_exec_type(inst)), sx(0), ss(0), sc(0), 165 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); 171 !brw_reg_type_is_floating_point(tx) && type_sz(tx) == 4 & 185 brw_reg_type tx; member in struct:__anon2397::instruction_info [all...] |
| /xsrc/external/mit/freetype/dist/src/psaux/ |
| psglue.h | 82 CF2_F16Dot16 tx; member in struct:CF2_Matrix_
|
| /xsrc/external/mit/pixman/dist/test/ |
| affine-bench.c | 100 pixman_fixed_48_16_t tx, ty; local 110 tx = (pixman_fixed_48_16_t)v.vector[0]; 113 if (tx < tx1) 114 tx1 = tx; 117 if (tx > tx2) 118 tx2 = tx;
|