/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tile_cache.h | 43 #define TILE_SIZE (1 << TILE_SIZE_LOG2) macro 67 float color[TILE_SIZE][TILE_SIZE][4]; 68 uint color32[TILE_SIZE][TILE_SIZE]; 69 uint depth32[TILE_SIZE][TILE_SIZE]; 70 ushort depth16[TILE_SIZE][TILE_SIZE]; 71 ubyte stencil8[TILE_SIZE][TILE_SIZE]; 72 uint colorui128[TILE_SIZE][TILE_SIZE][4]; 73 int colori128[TILE_SIZE][TILE_SIZE][4]; 74 uint64_t depth64[TILE_SIZE][TILE_SIZE]; 138 addr.bits.x = x / TILE_SIZE; in tile_address() [all …]
|
D | sp_tile_cache.c | 58 pos = addr.bits.layer * (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE); in addr_to_clear_pos() 59 pos += addr.bits.y * (MAX_WIDTH / TILE_SIZE); in addr_to_clear_pos() 102 STATIC_ASSERT((TILE_SIZE << TILE_ADDR_BITS) >= MAX_WIDTH); in sp_create_tile_cache() 198 …tc->clear_flags_size = (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) * tc->num_maps / 32 * si… in sp_tile_cache_set_surface() 249 for (i = 0; i < TILE_SIZE; i++) { in clear_tile_rgba() 250 for (j = 0; j < TILE_SIZE; j++) { in clear_tile_rgba() 258 for (i = 0; i < TILE_SIZE; i++) { in clear_tile_rgba() 259 for (j = 0; j < TILE_SIZE; j++) { in clear_tile_rgba() 267 for (i = 0; i < TILE_SIZE; i++) { in clear_tile_rgba() 268 for (j = 0; j < TILE_SIZE; j++) { in clear_tile_rgba() [all …]
|
D | sp_quad_depth_test.c | 70 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 71 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 77 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 78 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 85 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 86 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 94 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 95 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() 102 int x = quad->input.x0 % TILE_SIZE + (j & 1); in get_depth_stencil_values() 103 int y = quad->input.y0 % TILE_SIZE + (j >> 1); in get_depth_stencil_values() [all …]
|
D | sp_quad_depth_test_tmp.h | 62 ushort (*depth16)[TILE_SIZE]; in NAME() 87 depth16 = (ushort (*)[TILE_SIZE]) in NAME() 88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE]; in NAME() 133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2]; in NAME()
|
D | sp_tex_tile_cache.c | 221 pos, x/TILE_SIZE, y/TILE_SIZE, z, face, level, in sp_find_cached_tile_tex()
|
D | sp_quad_blend.c | 953 const int itx = (quad->input.x0 & (TILE_SIZE-1)); in blend_fallback() 954 const int ity = (quad->input.y0 & (TILE_SIZE-1)); in blend_fallback() 1046 const int itx = (quad->input.x0 & (TILE_SIZE-1)); in blend_single_add_src_alpha_inv_src_alpha() 1047 const int ity = (quad->input.y0 & (TILE_SIZE-1)); in blend_single_add_src_alpha_inv_src_alpha() 1119 const int itx = (quad->input.x0 & (TILE_SIZE-1)); in blend_single_add_one_one() 1120 const int ity = (quad->input.y0 & (TILE_SIZE-1)); in blend_single_add_one_one() 1187 const int itx = (quad->input.x0 & (TILE_SIZE-1)); in single_output_color() 1188 const int ity = (quad->input.y0 & (TILE_SIZE-1)); in single_output_color()
|
/external/skia/gm/ |
D | gradients_degenerate.cpp | 39 static constexpr int TILE_SIZE = 100; variable 42 static const SkPoint CENTER = SkPoint::Make(TILE_SIZE / 2, TILE_SIZE / 2); 51 canvas->translate(TILE_SIZE + TILE_GAP, 0); in draw_tile_header() 77 canvas->drawRect(SkRect::MakeWH(TILE_SIZE, TILE_SIZE), paint); in draw_row() 78 canvas->translate(TILE_SIZE + TILE_GAP, 0); in draw_row() 84 canvas->translate(0, 3 * TILE_GAP + TILE_SIZE); in draw_row() 113 return SkGradientShader::MakeTwoPointConical(CENTER, TILE_SIZE / 2, CENTER, TILE_SIZE / 2, in make_2pt_conic()
|
/external/skqp/gm/ |
D | gradients_degenerate.cpp | 27 static constexpr int TILE_SIZE = 100; variable 30 static const SkPoint CENTER = SkPoint::Make(TILE_SIZE / 2, TILE_SIZE / 2); 39 canvas->translate(TILE_SIZE + TILE_GAP, 0); in draw_tile_header() 65 canvas->drawRect(SkRect::MakeWH(TILE_SIZE, TILE_SIZE), paint); in draw_row() 66 canvas->translate(TILE_SIZE + TILE_GAP, 0); in draw_row() 72 canvas->translate(0, 3 * TILE_GAP + TILE_SIZE); in draw_row() 101 return SkGradientShader::MakeTwoPointConical(CENTER, TILE_SIZE / 2, CENTER, TILE_SIZE / 2, in make_2pt_conic()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_debug.c | 10 char data[TILE_SIZE][TILE_SIZE]; 162 for (i = 0; i < TILE_SIZE; i++) in debug_shade_tile() 163 for (j = 0; j < TILE_SIZE; j++) in debug_shade_tile() 166 return TILE_SIZE * TILE_SIZE; in debug_shade_tile() 177 for (i = 0; i < TILE_SIZE; i++) in debug_clear_tile() 178 for (j = 0; j < TILE_SIZE; j++) in debug_clear_tile() 181 return TILE_SIZE * TILE_SIZE; in debug_clear_tile() 214 for(y = 0; y < TILE_SIZE; y++) in debug_triangle() 216 for(x = 0; x < TILE_SIZE; x++) in debug_triangle() 231 plane[i].c += IMUL64(plane[i].dcdx, TILE_SIZE); in debug_triangle() [all …]
|
D | lp_rast_priv.h | 158 assert(x < task->scene->tiles_x * TILE_SIZE); in lp_rast_get_color_block_pointer() 159 assert(y < task->scene->tiles_y * TILE_SIZE); in lp_rast_get_color_block_pointer() 171 px = x % TILE_SIZE; in lp_rast_get_color_block_pointer() 172 py = y % TILE_SIZE; in lp_rast_get_color_block_pointer() 198 assert(x < task->scene->tiles_x * TILE_SIZE); in lp_rast_get_depth_block_pointer() 199 assert(y < task->scene->tiles_y * TILE_SIZE); in lp_rast_get_depth_block_pointer() 205 px = x % TILE_SIZE; in lp_rast_get_depth_block_pointer() 206 py = y % TILE_SIZE; in lp_rast_get_depth_block_pointer() 272 if ((x % TILE_SIZE) < task->width && (y % TILE_SIZE) < task->height) { in lp_rast_shade_quads_all()
|
D | lp_setup_tri.c | 804 if (dx < TILE_SIZE) in lp_setup_bin_triangle() 806 int ix0 = bbox->x0 / TILE_SIZE; in lp_setup_bin_triangle() 807 int iy0 = bbox->y0 / TILE_SIZE; in lp_setup_bin_triangle() 811 assert(iy0 == bbox->y1 / TILE_SIZE && in lp_setup_bin_triangle() 812 ix0 == bbox->x1 / TILE_SIZE); in lp_setup_bin_triangle() 819 assert(px + 4 <= TILE_SIZE); in lp_setup_bin_triangle() 820 assert(py + 4 <= TILE_SIZE); in lp_setup_bin_triangle() 840 px = MIN2(px, TILE_SIZE - 16); in lp_setup_bin_triangle() 841 py = MIN2(py, TILE_SIZE - 16); in lp_setup_bin_triangle() 843 assert(px + 16 <= TILE_SIZE); in lp_setup_bin_triangle() [all …]
|
D | lp_rast.c | 106 task->x = x * TILE_SIZE; in lp_rast_tile_begin() 107 task->y = y * TILE_SIZE; in lp_rast_tile_begin() 108 task->width = TILE_SIZE + x * TILE_SIZE > task->scene->fb.width ? in lp_rast_tile_begin() 109 task->scene->fb.width - x * TILE_SIZE : TILE_SIZE; in lp_rast_tile_begin() 110 task->height = TILE_SIZE + y * TILE_SIZE > task->scene->fb.height ? in lp_rast_tile_begin() 111 task->scene->fb.height - y * TILE_SIZE : TILE_SIZE; in lp_rast_tile_begin() 439 assert(x < scene->tiles_x * TILE_SIZE); in lp_rast_shade_quads_mask_sample() 440 assert(y < scene->tiles_y * TILE_SIZE); in lp_rast_shade_quads_mask_sample() 475 if ((x % TILE_SIZE) < task->width && (y % TILE_SIZE) < task->height) { in lp_rast_shade_quads_mask_sample()
|
D | lp_memory.c | 35 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
D | lp_memory.h | 38 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
D | lp_limits.h | 40 #define TILE_SIZE (1 << TILE_ORDER) macro
|
D | lp_scene.c | 601 scene->tiles_x = align(fb->width, TILE_SIZE) / TILE_SIZE; in lp_scene_begin_binning() 602 scene->tiles_y = align(fb->height, TILE_SIZE) / TILE_SIZE; in lp_scene_begin_binning()
|
D | lp_scene.h | 48 #define TILES_X (LP_MAX_WIDTH / TILE_SIZE) 49 #define TILES_Y (LP_MAX_HEIGHT / TILE_SIZE)
|
D | lp_texture.c | 217 const unsigned width = MAX2(1, align(lpr->base.width0, TILE_SIZE)); in llvmpipe_displaytarget_layout() 218 const unsigned height = MAX2(1, align(lpr->base.height0, TILE_SIZE)); in llvmpipe_displaytarget_layout()
|
D | lp_setup.c | 930 jit_tex->width = TILE_SIZE/8; in lp_setup_set_fragment_sampler_views() 931 jit_tex->height = TILE_SIZE/8; in lp_setup_set_fragment_sampler_views()
|
D | lp_state_cs.c | 919 jit_tex->width = TILE_SIZE/8; in lp_csctx_set_sampler_views() 920 jit_tex->height = TILE_SIZE/8; in lp_csctx_set_sampler_views()
|
/external/igt-gpu-tools/tests/ |
D | prime_nv_pcopy.c | 288 #define TILE_SIZE 4096 macro 298 for (x = 0; x < w; x += 128, out += TILE_SIZE) { in swtile_y() 303 igt_assert(out_ofs < TILE_SIZE); in swtile_y() 324 for (x = 0; x < w; x += 512, out += TILE_SIZE) { in swtile_x() 328 igt_assert(out_ofs < TILE_SIZE); in swtile_x()
|