/dports/graphics/ospray/ospray-2.8.0/ospray/fb/ |
H A D | Tile.h | 10 static_assert(TILE_SIZE > 0 && (TILE_SIZE & (TILE_SIZE - 1)) == 0, 36 float r[TILE_SIZE * TILE_SIZE]; // 'red' component 37 float g[TILE_SIZE * TILE_SIZE]; // 'green' component 38 float b[TILE_SIZE * TILE_SIZE]; // 'blue' component 39 float a[TILE_SIZE * TILE_SIZE]; // 'alpha' component 41 float nx[TILE_SIZE * TILE_SIZE]; // normal x 42 float ny[TILE_SIZE * TILE_SIZE]; // normal y 43 float nz[TILE_SIZE * TILE_SIZE]; // normal z 44 float ar[TILE_SIZE * TILE_SIZE]; // albedo red 45 float ag[TILE_SIZE * TILE_SIZE]; // albedo green [all …]
|
H A D | Tile.ih | 21 uniform float r[TILE_SIZE * TILE_SIZE]; // red 22 uniform float g[TILE_SIZE * TILE_SIZE]; // green 23 uniform float b[TILE_SIZE * TILE_SIZE]; // blue 24 uniform float a[TILE_SIZE * TILE_SIZE]; // alpha 25 uniform float z[TILE_SIZE * TILE_SIZE]; // depth 26 uniform float nx[TILE_SIZE * TILE_SIZE]; // normal x 27 uniform float ny[TILE_SIZE * TILE_SIZE]; // normal y 28 uniform float nz[TILE_SIZE * TILE_SIZE]; // normal z 29 uniform float ar[TILE_SIZE * TILE_SIZE]; // albedo red 30 uniform float ag[TILE_SIZE * TILE_SIZE]; // albedo green [all …]
|
/dports/graphics/ospray/ospray-2.8.0/modules/mpi/ospray/fb/ |
H A D | DistributedFrameBuffer_TileMessages.cpp | 46 msgSize += sizeof(float) * TILE_SIZE * TILE_SIZE; 49 msgSize += 2 * sizeof(vec3f) * TILE_SIZE * TILE_SIZE; 99 std::copy(input, input + pixelSize * TILE_SIZE * TILE_SIZE, out); 107 std::copy(depth, depth + TILE_SIZE * TILE_SIZE, out); 114 + sizeof(MasterTileMessage_NONE) + pixelSize * TILE_SIZE * TILE_SIZE 115 + sizeof(float) * TILE_SIZE * TILE_SIZE); 116 std::copy(normal, normal + TILE_SIZE * TILE_SIZE, out); 123 + sizeof(MasterTileMessage_NONE) + pixelSize * TILE_SIZE * TILE_SIZE 124 + sizeof(float) * TILE_SIZE * TILE_SIZE 125 + sizeof(vec3f) * TILE_SIZE * TILE_SIZE); [all …]
|
H A D | DistributedFrameBuffer_TileMessages.h | 59 ColorT color[TILE_SIZE * TILE_SIZE]; in makeWriteTileMessage() 65 float depth[TILE_SIZE * TILE_SIZE]; in makeWriteTileMessage() 72 vec3f normal[TILE_SIZE * TILE_SIZE]; in makeWriteTileMessage() 73 vec3f albedo[TILE_SIZE * TILE_SIZE]; in makeWriteTileMessage() 96 float r[TILE_SIZE * TILE_SIZE]; // 'red' component in makeWriteTileMessage() 97 float g[TILE_SIZE * TILE_SIZE]; // 'green' component in makeWriteTileMessage() 98 float b[TILE_SIZE * TILE_SIZE]; // 'blue' component in makeWriteTileMessage() 99 float a[TILE_SIZE * TILE_SIZE]; // 'alpha' component in makeWriteTileMessage() 100 float z[TILE_SIZE * TILE_SIZE]; // 'depth' component in makeWriteTileMessage()
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/softpipe/ |
H A 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 …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/softpipe/ |
H A 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 …]
|
H A D | sp_tile_cache.c | 296 memset(tile->data.any, 0, 2 * TILE_SIZE * TILE_SIZE); in clear_tile() 308 memset(tile->data.any, 0, 4 * TILE_SIZE * TILE_SIZE); in clear_tile() 320 memset(tile->data.any, 0, 8 * TILE_SIZE * TILE_SIZE); in clear_tile() 366 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 371 x, y, TILE_SIZE, TILE_SIZE, in sp_tile_cache_flush_clear() 395 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 402 TILE_SIZE, TILE_SIZE, in sp_flush_tile() 509 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 516 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() 544 TILE_SIZE, TILE_SIZE, in sp_find_cached_tile() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/softpipe/ |
H A 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 …]
|
/dports/games/libretro-2048/libretro-2048-35a299c/ |
H A D | game_cairo.c | 68 int w = TILE_SIZE, h = TILE_SIZE; in draw_tile() 98 x += TILE_SIZE/2 - w/2; in draw_tile() 99 y += TILE_SIZE/2 - h/2; in draw_tile() 168 fill_rectangle(static_ctx, SPACING, SPACING, TILE_SIZE*2+SPACING*2, TILE_SIZE); in init_static_surface() 172 fill_rectangle(static_ctx, TILE_SIZE*2+SPACING*4, SPACING, TILE_SIZE*2+SPACING*2, TILE_SIZE); in init_static_surface() 267 draw_text_centered(ctx, tmp, TILE_SIZE*2+SPACING*5, SPACING * 5, TILE_SIZE*2, 0); in render_playing() 298 draw_text_centered(ctx, tmp, x, y, TILE_SIZE * 2, TILE_SIZE); in render_playing() 320 fill_rectangle(ctx, TILE_SIZE / 2, TILE_SIZE * 4, SCREEN_HEIGHT - TILE_SIZE * 2, FONT_SIZE * 3); in render_title() 326 draw_text_centered(ctx, "PRESS START", TILE_SIZE / 2 + SPACING, TILE_SIZE * 4 + SPACING, in render_title() 358 fill_rectangle(ctx, TILE_SIZE / 2, TILE_SIZE * 4, SCREEN_HEIGHT - TILE_SIZE * 2, FONT_SIZE * 3); in render_win_or_game_over() [all …]
|