Home
last modified time | relevance | path

Searched refs:BLOCK_WIDTH (Results 1 – 25 of 135) sorted by relevance

123456

/dports/games/xblast/xblast-2.10.4/
H A Dintrodat.c38 {4 * BLOCK_WIDTH, PIXH + 30, 7 * BLOCK_WIDTH, 2 * BLOCK_HEIGHT / 3,},
132 {8 * BLOCK_WIDTH / 2, 73 * BLOCK_HEIGHT / 6, 7 * BLOCK_WIDTH, 2 * BLOCK_HEIGHT / 3,}
156 {BLOCK_WIDTH / 2, 8 * BLOCK_HEIGHT / 3, 4 * BLOCK_WIDTH, 2 * BLOCK_HEIGHT / 3,},
162 {BLOCK_WIDTH / 2, 15 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
167 {BLOCK_WIDTH / 2, 19 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
172 {BLOCK_WIDTH / 2, 23 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
177 {BLOCK_WIDTH / 2, 27 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
182 {BLOCK_WIDTH / 2, 31 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
187 {BLOCK_WIDTH / 2, 35 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
192 {BLOCK_WIDTH / 2, 39 * BLOCK_HEIGHT / 4, 4 * BLOCK_WIDTH, BLOCK_HEIGHT / 2,},
[all …]
H A Dintro.c206 rect.x = BLOCK_WIDTH * 6; in DoIntro()
208 rect.w = BLOCK_WIDTH * 3; in DoIntro()
393 x += BLOCK_WIDTH; in InitPlayerSprites()
624 scorePos[i].x = BLOCK_WIDTH * 4; in InitScoreBoard()
626 namePos[i].x = BLOCK_WIDTH / 4; in InitScoreBoard()
653 BLOCK_WIDTH / 2); in InitScoreBoard()
721 scorePos[i].x = x * BLOCK_WIDTH;; in InitWinner()
741 BLOCK_WIDTH / 2); in InitWinner()
895 BLOCK_WIDTH / 2); in ShowScoreBoard()
935 CreateBombSprite (BB_NORMAL, (j - n / 2) * BLOCK_WIDTH + BLOCK_WIDTH * MAZE_W / 2, in ShowScoreBoard()
[all …]
H A Dplayer.c1305 && ((ps->x % BLOCK_WIDTH) == (BLOCK_WIDTH - STEP_HORI * BOMB_STEP)) in WalkRight()
2142 player_stat[first].x = (player_stat[player].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers()
2148 x = (player_stat[player].x / BLOCK_WIDTH) * BLOCK_WIDTH;; in SwapPositionOtherPlayers()
2162 x = (player_stat[0].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers()
2164 player_stat[0].x = (player_stat[1].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers()
2193 x = (player_stat[player].x / BLOCK_WIDTH) * BLOCK_WIDTH;; in SwapPositionOtherPlayers2()
2211 player_stat[first].x = (player_stat[swapper].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers2()
2219 x = (player_stat[0].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers2()
2221 player_stat[0].x = (player_stat[1].x / BLOCK_WIDTH) * BLOCK_WIDTH; in SwapPositionOtherPlayers2()
2528 if ((ABS (x * BLOCK_WIDTH - player_stat[player].x) < BLOCK_WIDTH) && in CheckPlayerNear()
[all …]
H A Dx11c_tile.c138 blockLast[block]->x = x * BLOCK_WIDTH; in GUI_DrawBlock()
140 blockLast[block]->width = BLOCK_WIDTH; in GUI_DrawBlock()
146 voidLast->x = x * BLOCK_WIDTH; in GUI_DrawBlock()
148 voidLast->width = BLOCK_WIDTH; in GUI_DrawBlock()
164 explLast[block]->x = x * BLOCK_WIDTH; in GUI_DrawExplosion()
166 explLast[block]->width = BLOCK_WIDTH; in GUI_DrawExplosion()
248 pixExplBlock[i] = XCreatePixmap (dpy, pix, BLOCK_WIDTH, BLOCK_HEIGHT, defDepth); in GUI_InitExplosionBlocks()
251 XFillRectangle (dpy, pixExplBlock[i], gcDrawBlock, 0, 0, BLOCK_WIDTH, BLOCK_HEIGHT); in GUI_InitExplosionBlocks()
H A Dx11c_pixmap.c91 xrecMax->x = BLOCK_WIDTH * x; in GUI_AddMazeRectangle()
93 xrecMax->width = BLOCK_WIDTH; in GUI_AddMazeRectangle()
99 prev->width += BLOCK_WIDTH; in GUI_AddMazeRectangle()
122 prev->width += BLOCK_WIDTH; in GUI_AddStatRectangle()
148 prev->width += BLOCK_WIDTH; in GUI_AddChatRectangle()
175 prev->width += BLOCK_WIDTH; in GUI_AddTilesRectangle()
H A Dsdl_pixmap.c130 xrecMax->x = BLOCK_WIDTH * x; in GUI_AddMazeRectangle()
132 xrecMax->w = BLOCK_WIDTH; in GUI_AddMazeRectangle()
138 prev->w += BLOCK_WIDTH; in GUI_AddMazeRectangle()
161 prev->w += BLOCK_WIDTH; in GUI_AddStatRectangle()
191 prev->w += BLOCK_WIDTH; in GUI_AddChatRectangle()
229 prev->w += BLOCK_WIDTH; in GUI_AddTilesRectangle()
/dports/games/xemeraldia/xemeraldia-0.4.3/
H A Dgraphics.c67 (tmpSc[ch_s].x - 1) * BLOCK_WIDTH - 6, in showTmpScore()
86 (tmpSc[ch_s].x - 1) * BLOCK_WIDTH, in animateTmpScore()
108 (tmpSc[ch_s].x - 1) * BLOCK_WIDTH, in animateTmpScore()
118 BLOCK_WIDTH * 3, BLOCK_HEIGHT * 3); in clearNextItem()
130 BLOCK_WIDTH, BLOCK_HEIGHT); in printNextItem()
137 BLOCK_WIDTH, BLOCK_HEIGHT); in printNextItem()
184 BLOCK_WIDTH, BLOCK_HEIGHT); in printItem()
241 BLOCK_WIDTH, BLOCK_HEIGHT); in deleteCell()
247 deleteCell(BLOCK_WIDTH * x - DIFF_X, BLOCK_WIDTH * y + DIFF_Y); in delete_1_block()
309 BLOCK_WIDTH, BLOCK_HEIGHT); in crack_1_block()
[all …]
H A Dinit-graphics.c276 cairo_line_to(c, BLOCK_WIDTH, BLOCK_HEIGHT); in createColoredPixmaps()
279 cairo_rectangle(c, BLOCK_WIDTH * .1, BLOCK_HEIGHT * .1, BLOCK_WIDTH * .9, BLOCK_HEIGHT * .9); in createColoredPixmaps()
282 BLOCK_WIDTH / 2, BLOCK_HEIGHT / 2, BLOCK_WIDTH / 2); in createColoredPixmaps()
298 cairo_line_to(c, BLOCK_WIDTH, 0); in createColoredPixmaps()
299 cairo_line_to(c, BLOCK_WIDTH, BLOCK_HEIGHT * .55); in createColoredPixmaps()
300 cairo_curve_to(c, BLOCK_WIDTH / 2, BLOCK_HEIGHT * .16, in createColoredPixmaps()
301 BLOCK_WIDTH / 2, BLOCK_HEIGHT * .78, in createColoredPixmaps()
306 BLOCK_WIDTH * .2, BLOCK_HEIGHT * .2, 28); in createColoredPixmaps()
322 cairo_line_to(c, BLOCK_WIDTH * .6, BLOCK_HEIGHT * .6); in createColoredPixmaps()
323 cairo_line_to(c, BLOCK_WIDTH, BLOCK_HEIGHT * .2); in createColoredPixmaps()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/ext_texture_array/
H A Dcompressed.c59 #define BLOCK_WIDTH 4 macro
65 #define BLOCK_WIDTH 4 macro
78 if (config.window_width < 4 * 8 * BLOCK_WIDTH)
79 config.window_width = 4 * 8 * BLOCK_WIDTH;
233 8 * BLOCK_WIDTH, in piglit_init()
245 8 * BLOCK_WIDTH, in piglit_init()
261 xoffset * BLOCK_WIDTH, in piglit_init()
264 4 * BLOCK_WIDTH, in piglit_init()
299 BLOCK_WIDTH, in check_result()
317 piglit_draw_rect_tex(z * 8 * BLOCK_WIDTH, 0, in piglit_display()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/frontends/xvmc/tests/
H A Dtest_rendering.c36 #define BLOCK_WIDTH 8 macro
38 #define BLOCK_SIZE (BLOCK_WIDTH * BLOCK_HEIGHT)
41 #define MACROBLOCK_WIDTH_IN_BLOCKS (MACROBLOCK_WIDTH / BLOCK_WIDTH)
113 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
114 *block = (short)(start + range * (x / (float)(BLOCK_WIDTH - 1))); in Gradient()
123 for (x = 0; x < BLOCK_WIDTH; ++x) { in Gradient()
124 *block = (short)(start + range * (y / (float)(BLOCK_WIDTH - 1))); in Gradient()
224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main()
225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
[all …]
/dports/games/xchomp/xchomp/
H A Ddrivers.c43 if (pc[-BLOCK_WIDTH]) pac_iy = 0; in control_pac()
45 else if (pc[BLOCK_WIDTH]) pac_iy = 0; in control_pac()
269 if (pc[BLOCK_WIDTH] || (*py < 0)) dir &= ~0x04;
270 if (pc[-BLOCK_WIDTH] || (*py > 0)) dir &= ~0x08;
340 if (pc[BLOCK_WIDTH] || (*py < 0)) dir &= ~0x04;
341 if (pc[-BLOCK_WIDTH] || (*py > 0)) dir &= ~0x08;
441 if (pc[BLOCK_WIDTH] || (*py < 0)) dir &= ~0x04;
506 if (pc[BLOCK_WIDTH]) *px = 2, *py = 0;
508 else if (pc[-BLOCK_WIDTH]) *px = (-2), *py = 0;
545 if (pc[BLOCK_WIDTH]) *px = 1, *py = 0;
[all …]
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/parallel-psx/atlas/
H A Datlas.cpp23 unsigned xbegin = rect.x / BLOCK_WIDTH; in load_image()
37 unsigned xbegin = rect.x / BLOCK_WIDTH; in texture_rendered()
67 unsigned dst_xbegin = dst.x / BLOCK_WIDTH; in blit_vram()
72 unsigned src_xbegin = src.x / BLOCK_WIDTH; in blit_vram()
157 unsigned xbegin = rect.x / BLOCK_WIDTH; in write_domain()
224 unsigned xbegin = rect.x / BLOCK_WIDTH; in read_domain()
286 unsigned xbegin = rect.x / BLOCK_WIDTH; in sync_domain()
369 unsigned xbegin = rect.x / BLOCK_WIDTH; in find_suitable_domain()
391 unsigned xbegin = rect.x & ~(BLOCK_WIDTH - 1); in inside_render_pass()
421 unsigned xbegin = rect.x / BLOCK_WIDTH; in flush_render_pass()
[all …]
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/parallel-psx/atlas/
H A Datlas.cpp23 unsigned xbegin = rect.x / BLOCK_WIDTH; in load_image()
37 unsigned xbegin = rect.x / BLOCK_WIDTH; in texture_rendered()
67 unsigned dst_xbegin = dst.x / BLOCK_WIDTH; in blit_vram()
72 unsigned src_xbegin = src.x / BLOCK_WIDTH; in blit_vram()
157 unsigned xbegin = rect.x / BLOCK_WIDTH; in write_domain()
224 unsigned xbegin = rect.x / BLOCK_WIDTH; in read_domain()
286 unsigned xbegin = rect.x / BLOCK_WIDTH; in sync_domain()
369 unsigned xbegin = rect.x / BLOCK_WIDTH; in find_suitable_domain()
391 unsigned xbegin = rect.x & ~(BLOCK_WIDTH - 1); in inside_render_pass()
421 unsigned xbegin = rect.x / BLOCK_WIDTH; in flush_render_pass()
[all …]
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/context/applets/analyzer/plugin/
H A DASCIIAnalyzer.cpp37 setMaximumWidth( MAX_COLUMNS * ( BLOCK_WIDTH + 1 ) - 1 ); in ASCIIAnalyzer()
61 … m_columns = std::min( std::floor( (double)width() / ( BLOCK_WIDTH + 1 ) ), (double)MAX_COLUMNS ); in resizeGL()
69 m_barPixmap = QPixmap( BLOCK_WIDTH, m_rows * ( BLOCK_HEIGHT + 1 ) ); in resizeGL()
162 int xpos = x * ( BLOCK_WIDTH + 1 ); in paintGL()
208 QPixmap topBar( BLOCK_WIDTH, BLOCK_HEIGHT ); in paletteChange()
217 QPixmap topSecondBar( BLOCK_WIDTH, BLOCK_HEIGHT ); in paletteChange()
219 QLinearGradient gradient (BLOCK_WIDTH/2, 0, BLOCK_WIDTH/2, BLOCK_HEIGHT); in paletteChange()
224 tsbp.setPen( QPen(gradient, BLOCK_WIDTH) ); in paletteChange()
236 QRect rect (0, y * ( BLOCK_HEIGHT + 1 ), BLOCK_WIDTH, BLOCK_HEIGHT); in paletteChange()
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/gl/
H A Dgl_lightmap.c69 static int allocated[MAX_LIGHTMAPS][BLOCK_WIDTH];
288 stride = (BLOCK_WIDTH - smax) * lightmap_bytes; in R_BuildLightMap_1()
349 stride = (BLOCK_WIDTH - smax) * lightmap_bytes; in R_BuildLightMap_3()
414 stride = (BLOCK_WIDTH - smax) * lightmap_bytes; in R_BuildLightMap_4()
443 stride = BLOCK_WIDTH * lightmap_bytes; in do_subimage_2()
464 BLOCK_WIDTH, gl_lightmap_rectchange[i].h, in GL_UploadLightmap()
467 BLOCK_WIDTH) * lightmap_bytes); in GL_UploadLightmap()
599 gl_lightmap_rectchange[num].w = BLOCK_WIDTH; in gl_overbright_f()
616 gl_lightmap_rectchange[num].w = BLOCK_WIDTH; in gl_overbright_f()
634 for (i = 0; i < BLOCK_WIDTH - w; i++) { in AllocBlock()
[all …]

123456