/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_memory.c | 40 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 46 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_memory.h | 38 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 41 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_limits.h | 40 #define TILE_SIZE (1 << TILE_ORDER)
|
lp_surface.c | 45 *x_tile = x & ~(TILE_SIZE - 1); 46 *y_tile = y & ~(TILE_SIZE - 1); 47 *w_tile = ((x + width + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *x_tile; 48 *h_tile = ((y + height + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *y_tile; 106 for (y = 0; y < th; y += TILE_SIZE) { 107 for (x = 0; x < tw; x += TILE_SIZE) { 124 for (y = 0; y < th; y += TILE_SIZE) { 126 ty + y + TILE_SIZE <= dsty + height [all...] |
lp_tile_image.c | 41 #define BYTES_PER_TILE (TILE_SIZE * TILE_SIZE * 4) 136 assert(x % TILE_SIZE == 0); 137 assert(y % TILE_SIZE == 0); 138 /*assert(width % TILE_SIZE == 0); 139 assert(height % TILE_SIZE == 0);*/ 194 const uint tile_w = TILE_SIZE, tile_h = TILE_SIZE; 227 assert(x % TILE_SIZE == 0); 228 assert(y % TILE_SIZE == 0) [all...] |
lp_texture.c | 90 const unsigned tx = align(width, TILE_SIZE) / TILE_SIZE; 91 const unsigned ty = align(height, TILE_SIZE) / TILE_SIZE; 132 alignment = TILE_SIZE; 147 const unsigned width_t = align(width, TILE_SIZE) / TILE_SIZE; 148 const unsigned height_t = align(height, TILE_SIZE) / TILE_SIZE; 206 const unsigned width = align(lpr->base.width0, TILE_SIZE); [all...] |
lp_rast_priv.h | 109 * The tile size is TILE_SIZE x TILE_SIZE pixels. 155 assert(x < scene->tiles_x * TILE_SIZE); 156 assert(y < scene->tiles_y * TILE_SIZE); 187 assert(task->x < scene->tiles_x * TILE_SIZE); 188 assert(task->y < scene->tiles_y * TILE_SIZE); 189 assert(task->x % TILE_SIZE == 0); 190 assert(task->y % TILE_SIZE == 0); 227 assert(x < task->scene->tiles_x * TILE_SIZE); 228 assert(y < task->scene->tiles_y * TILE_SIZE); [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_memory.c | 40 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 46 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_memory.h | 38 uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4]; 41 uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
|
lp_limits.h | 40 #define TILE_SIZE (1 << TILE_ORDER)
|
lp_surface.c | 45 *x_tile = x & ~(TILE_SIZE - 1); 46 *y_tile = y & ~(TILE_SIZE - 1); 47 *w_tile = ((x + width + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *x_tile; 48 *h_tile = ((y + height + TILE_SIZE - 1) & ~(TILE_SIZE - 1)) - *y_tile; 106 for (y = 0; y < th; y += TILE_SIZE) { 107 for (x = 0; x < tw; x += TILE_SIZE) { 124 for (y = 0; y < th; y += TILE_SIZE) { 126 ty + y + TILE_SIZE <= dsty + height [all...] |
lp_tile_image.c | 41 #define BYTES_PER_TILE (TILE_SIZE * TILE_SIZE * 4) 136 assert(x % TILE_SIZE == 0); 137 assert(y % TILE_SIZE == 0); 138 /*assert(width % TILE_SIZE == 0); 139 assert(height % TILE_SIZE == 0);*/ 194 const uint tile_w = TILE_SIZE, tile_h = TILE_SIZE; 227 assert(x % TILE_SIZE == 0); 228 assert(y % TILE_SIZE == 0) [all...] |
lp_texture.c | 90 const unsigned tx = align(width, TILE_SIZE) / TILE_SIZE; 91 const unsigned ty = align(height, TILE_SIZE) / TILE_SIZE; 132 alignment = TILE_SIZE; 147 const unsigned width_t = align(width, TILE_SIZE) / TILE_SIZE; 148 const unsigned height_t = align(height, TILE_SIZE) / TILE_SIZE; 206 const unsigned width = align(lpr->base.width0, TILE_SIZE); [all...] |
lp_rast_priv.h | 109 * The tile size is TILE_SIZE x TILE_SIZE pixels. 155 assert(x < scene->tiles_x * TILE_SIZE); 156 assert(y < scene->tiles_y * TILE_SIZE); 187 assert(task->x < scene->tiles_x * TILE_SIZE); 188 assert(task->y < scene->tiles_y * TILE_SIZE); 189 assert(task->x % TILE_SIZE == 0); 190 assert(task->y % TILE_SIZE == 0); 227 assert(x < task->scene->tiles_x * TILE_SIZE); 228 assert(y < task->scene->tiles_y * TILE_SIZE); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 43 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 54 unsigned x:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 55 unsigned y:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 66 float color[TILE_SIZE][TILE_SIZE][4]; 67 uint color32[TILE_SIZE][TILE_SIZE]; 68 uint depth32[TILE_SIZE][TILE_SIZE]; 69 ushort depth16[TILE_SIZE][TILE_SIZE] [all...] |
sp_tile_cache.c | 63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 97 assert((TILE_SIZE << TILE_ADDR_BITS) >= MAX_WIDTH); 234 for (i = 0; i < TILE_SIZE; i++) { 235 for (j = 0; j < TILE_SIZE; j++) { 243 for (i = 0; i < TILE_SIZE; i++) [all...] |
sp_tex_tile_cache.h | 44 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 55 unsigned x:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 56 unsigned y:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 70 float color[TILE_SIZE][TILE_SIZE][4]; 71 unsigned int colorui[TILE_SIZE][TILE_SIZE][4]; 72 int colori[TILE_SIZE][TILE_SIZE][4]; 142 addr.bits.x = x / TILE_SIZE; [all...] |
sp_tex_tile_cache.c | 53 assert((TILE_SIZE << TEX_ADDR_BITS) >= (1 << (SP_MAX_TEXTURE_2D_LEVELS-1))); 246 pos, x/TILE_SIZE, y/TILE_SIZE, z, face, level, 298 addr.bits.x * TILE_SIZE, 299 addr.bits.y * TILE_SIZE, 300 TILE_SIZE, 301 TILE_SIZE, 307 addr.bits.x * TILE_SIZE, 308 addr.bits.y * TILE_SIZE, 309 TILE_SIZE, [all...] |
sp_quad_depth_test_tmp.h | 62 ushort (*depth16)[TILE_SIZE]; 87 depth16 = (ushort (*)[TILE_SIZE]) 88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE]; 133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2];
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.h | 43 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 54 unsigned x:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 55 unsigned y:TILE_ADDR_BITS; /* 16K / TILE_SIZE */ 66 float color[TILE_SIZE][TILE_SIZE][4]; 67 uint color32[TILE_SIZE][TILE_SIZE]; 68 uint depth32[TILE_SIZE][TILE_SIZE]; 69 ushort depth16[TILE_SIZE][TILE_SIZE] [all...] |
sp_tile_cache.c | 63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x; 78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32); 97 assert((TILE_SIZE << TILE_ADDR_BITS) >= MAX_WIDTH); 234 for (i = 0; i < TILE_SIZE; i++) { 235 for (j = 0; j < TILE_SIZE; j++) { 243 for (i = 0; i < TILE_SIZE; i++) [all...] |
sp_tex_tile_cache.h | 44 #define TILE_SIZE (1 << TILE_SIZE_LOG2) 55 unsigned x:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 56 unsigned y:TEX_ADDR_BITS; /* 16K / TILE_SIZE */ 70 float color[TILE_SIZE][TILE_SIZE][4]; 71 unsigned int colorui[TILE_SIZE][TILE_SIZE][4]; 72 int colori[TILE_SIZE][TILE_SIZE][4]; 142 addr.bits.x = x / TILE_SIZE; [all...] |
sp_tex_tile_cache.c | 53 assert((TILE_SIZE << TEX_ADDR_BITS) >= (1 << (SP_MAX_TEXTURE_2D_LEVELS-1))); 246 pos, x/TILE_SIZE, y/TILE_SIZE, z, face, level, 298 addr.bits.x * TILE_SIZE, 299 addr.bits.y * TILE_SIZE, 300 TILE_SIZE, 301 TILE_SIZE, 307 addr.bits.x * TILE_SIZE, 308 addr.bits.y * TILE_SIZE, 309 TILE_SIZE, [all...] |
sp_quad_depth_test_tmp.h | 62 ushort (*depth16)[TILE_SIZE]; 87 depth16 = (ushort (*)[TILE_SIZE]) 88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE]; 133 depth16 = (ushort (*)[TILE_SIZE]) &depth16[0][2];
|
/external/pixman/demos/ |
checkerboard.c | 11 #define TILE_SIZE 25 31 for (i = 0; i < HEIGHT / TILE_SIZE; ++i) 33 for (j = 0; j < WIDTH / TILE_SIZE; ++j) 35 double u = (double)(j + 1) / (WIDTH / TILE_SIZE); 36 double v = (double)(i + 1) / (HEIGHT / TILE_SIZE); 54 0, 0, 0, 0, j * TILE_SIZE, i * TILE_SIZE, 55 TILE_SIZE, TILE_SIZE);
|