/dports/games/tenebrae/tenebrae_0/ |
H A D | gl_screen.c | 73 int glx, gly, glwidth, glheight; variable 738 myRow = glwidth * 3; in SCR_ScreenShot_f() 740 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer); in SCR_ScreenShot_f() 758 TIF_WriteFile (pcxname, glwidth, glheight, buffer); in SCR_ScreenShot_f() 760 buffer = malloc(glwidth*glheight*3 + 18); in SCR_ScreenShot_f() 763 buffer[12] = glwidth&255; in SCR_ScreenShot_f() 764 buffer[13] = glwidth>>8; in SCR_ScreenShot_f() 769 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18 ); in SCR_ScreenShot_f() 771 c = 18+glwidth*glheight*3; in SCR_ScreenShot_f() 778 COM_WriteFile (pcxname, buffer, glwidth*glheight*3 + 18 ); in SCR_ScreenShot_f() [all …]
|
H A D | gl_rmisc.c | 130 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f() 136 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f() 142 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f() 148 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f() 155 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f() 162 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in R_Envmap_f()
|
H A D | glquake2.h | 69 extern int glx, gly, glwidth, glheight;
|
H A D | gl_rmain.c | 2088 extern int glwidth, glheight; in R_SetupGL() 2096 x = r_refdef.vrect.x * glwidth/vid.width; in R_SetupGL() 2097 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; in R_SetupGL() 2104 if (x2 < glwidth) in R_SetupGL()
|
/dports/games/vkquake/vkQuake-1.12.2/Quake/ |
H A D | gl_draw.c | 859 corner_verts[1].position[0] = glwidth; in Draw_Fill() 862 corner_verts[2].position[0] = glwidth; in Draw_Fill() 910 corner_verts[1].position[0] = glwidth; in Draw_FadeScreen() 913 corner_verts[2].position[0] = glwidth; in Draw_FadeScreen() 1008 GL_Viewport (glx, gly, glwidth, glheight, 0.0f, 1.0f); in GL_SetCanvas() 1013 GL_Viewport (glx, gly, glwidth, glheight, 0.0f, 1.0f); in GL_SetCanvas() 1024 GL_Viewport (glx, gly, glwidth, glheight, 0.0f, 1.0f); in GL_SetCanvas() 1030 GL_OrthoMatrix (0, glwidth / s, 48, 0, -99999, 99999); in GL_SetCanvas() 1031 GL_Viewport (glx, gly, glwidth, 48*s, 0.0f, 1.0f); in GL_SetCanvas() 1049 s = (float)glwidth/vid.conwidth; //use console scale in GL_SetCanvas() [all …]
|
H A D | sbar.c | 937 float s = CLAMP (1.0, scr_sbarscale.value, (float)glwidth / 320.0); in Sbar_Draw() 980 w = CLAMP (320.0f, scr_sbarscale.value * 320.0f, (float)glwidth); in Sbar_Draw() 981 if (sb_lines && glwidth > w) in Sbar_Draw() 984 Draw_TileClear (0, glheight - sb_lines, glwidth, sb_lines); in Sbar_Draw() 986 Draw_TileClear (w, glheight - sb_lines, glwidth - w, sb_lines); in Sbar_Draw() 989 Draw_TileClear (0, glheight - sb_lines, (glwidth - w) / 2.0f, sb_lines); in Sbar_Draw() 990 Draw_TileClear ((glwidth - w) / 2.0f + w, glheight - sb_lines, (glwidth - w) / 2.0f, sb_lines); in Sbar_Draw() 1229 scale = CLAMP (1.0, scr_sbarscale.value, (float)glwidth / 320.0); //johnfitz in Sbar_MiniDeathmatchOverlay() 1232 …if (glwidth/scale < 512 || scr_viewsize.value >= 120) //johnfitz -- test should consider scr_sbars… in Sbar_MiniDeathmatchOverlay() 1304 float s = CLAMP (1.0, scr_sbarscale.value, (float)glwidth / 320.0); in Sbar_IntermissionOverlay()
|
H A D | gl_screen.c | 75 int glx, gly, glwidth, glheight; variable 311 scale = CLAMP (1.0, scr_sbarscale.value, (float)glwidth / 320.0); in SCR_CalcRefdef() 324 r_refdef.vrect.width = q_max(glwidth * size, 96); //no smaller than 96, for icons in SCR_CalcRefdef() 326 r_refdef.vrect.x = (glwidth - r_refdef.vrect.width)/2; in SCR_CalcRefdef() 923 glwidth - r_refdef.vrect.x - r_refdef.vrect.width, in SCR_TileClear() 976 if (!GL_BeginRendering (&glx, &gly, &glwidth, &glheight)) in SCR_UpdateScreen()
|
H A D | gl_vidsdl.c | 3568 buffer_create_info.size = glwidth * glheight * 4; in SCR_ScreenShot_f() 3635 image_copy.bufferRowLength = glwidth; in SCR_ScreenShot_f() 3639 image_copy.imageExtent.width = glwidth; in SCR_ScreenShot_f() 3664 vkMapMemory(vulkan_globals.device, memory, 0, glwidth * glheight * 4, 0, &buffer_ptr); in SCR_ScreenShot_f() 3669 const int size = glwidth * glheight * 4; in SCR_ScreenShot_f() 3679 ok = Image_WritePNG (imagename, buffer_ptr, glwidth, glheight, 32, true); in SCR_ScreenShot_f() 3681 ok = Image_WriteTGA (imagename, buffer_ptr, glwidth, glheight, 32, true); in SCR_ScreenShot_f() 3683 ok = Image_WriteJPG (imagename, buffer_ptr, glwidth, glheight, 32, quality, true); in SCR_ScreenShot_f()
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | gl_screen.c | 73 int glx, gly, glwidth, glheight; variable 645 buffer = malloc(glwidth*glheight*3 + 18); in SCR_ScreenShot_f() 648 buffer[12] = glwidth&255; in SCR_ScreenShot_f() 649 buffer[13] = glwidth>>8; in SCR_ScreenShot_f() 654 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18 ); in SCR_ScreenShot_f() 657 c = 18+glwidth*glheight*3; in SCR_ScreenShot_f() 664 COM_WriteFile (pcxname, buffer, glwidth*glheight*3 + 18 ); in SCR_ScreenShot_f() 884 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in SCR_UpdateScreen()
|
H A D | glquake.h | 83 extern int glx, gly, glwidth, glheight;
|
H A D | gl_rmain.c | 1278 extern int glwidth, glheight; in R_SetupGL() 1286 x = r_refdef.vrect.x * glwidth/vid.width; in R_SetupGL() 1287 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; in R_SetupGL() 1294 if (x2 < glwidth) in R_SetupGL()
|
/dports/devel/9base/9base-6/ls/ |
H A D | ls.c | 45 int glwidth; /* max width of groupid and length */ variable 193 if(n > glwidth) in dowidths() 194 glwidth = n; in dowidths() 235 (int)(glwidth-strlen(db->gid)), db->length, in format()
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/ |
H A D | ls.c | 45 int glwidth; /* max width of groupid and length */ variable 193 if(n > glwidth) in dowidths() 194 glwidth = n; in dowidths() 235 (int)(glwidth-strlen(db->gid)), db->length, in format()
|
/dports/games/wizznic/Wizznic-1.1/tools/releaser/data/win/ |
H A D | Wizznic_glFullscreen.bat | 1 wizznic.exe -f -glheight -1 -glwidth -1
|
H A D | Wizznic_glWindowed.bat | 1 wizznic.exe -w -glheight -1 -glwidth -1
|
/dports/astro/opencpn/OpenCPN-5.2.4/include/ |
H A D | emboss_data.h | 42 int glwidth, glheight; // next power of 2 larger than width/height variable
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | gl_screen.c | 76 int glx, gly, glwidth, glheight; variable 851 size = glwidth * glheight * 3 + 18; in SCR_ScreenShot_f() 863 buffer[12] = glwidth & 255; in SCR_ScreenShot_f() 864 buffer[13] = glwidth >> 8; in SCR_ScreenShot_f() 870 glReadPixels_fp (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18); in SCR_ScreenShot_f() 1268 GL_BeginRendering (&glx, &gly, &glwidth, &glheight); in SCR_UpdateScreen()
|
H A D | glquake.h | 175 extern int glx, gly, glwidth, glheight;
|
/dports/print/pdflib/PDFlib-Lite-7.0.5p3/libs/pdflib/ |
H A D | p_text.c | 1734 pdc_scalar glwidth = 0, width = 0; in pdf_calculate_textsize() local 1782 glwidth = (pdc_scalar) currfont->opt.monospace; in pdf_calculate_textsize() 1786 glwidth = (pdc_scalar) fnt_get_glyphwidth(usv, &currfont->ft); in pdf_calculate_textsize() 1787 if (glwidth == FNT_MISSING_WIDTH) in pdf_calculate_textsize() 1788 glwidth = currfont->ft.m.defwidth; in pdf_calculate_textsize() 1797 width += glwidth; in pdf_calculate_textsize() 1803 pdc_scalar shift = to->xadvancelist[icc] / font2user - glwidth; in pdf_calculate_textsize() 1814 if (glwidth > width) in pdf_calculate_textsize() 1815 width = glwidth; in pdf_calculate_textsize()
|
/dports/print/pdflib-perl/PDFlib-Lite-7.0.5p3/libs/pdflib/ |
H A D | p_text.c | 1734 pdc_scalar glwidth = 0, width = 0; in pdf_calculate_textsize() local 1782 glwidth = (pdc_scalar) currfont->opt.monospace; in pdf_calculate_textsize() 1786 glwidth = (pdc_scalar) fnt_get_glyphwidth(usv, &currfont->ft); in pdf_calculate_textsize() 1787 if (glwidth == FNT_MISSING_WIDTH) in pdf_calculate_textsize() 1788 glwidth = currfont->ft.m.defwidth; in pdf_calculate_textsize() 1797 width += glwidth; in pdf_calculate_textsize() 1803 pdc_scalar shift = to->xadvancelist[icc] / font2user - glwidth; in pdf_calculate_textsize() 1814 if (glwidth > width) in pdf_calculate_textsize() 1815 width = glwidth; in pdf_calculate_textsize()
|
/dports/cad/gmsh/gmsh-4.9.2-source/Fltk/ |
H A D | graphicWindow.cpp | 3811 int glwidth = CTX::instance()->glSize[0] - twidth; in graphicWindow() local 3812 int width = glwidth + twidth; in graphicWindow() 3816 glwidth = width - twidth; in graphicWindow() 3817 CTX::instance()->glSize[0] = glwidth + twidth; in graphicWindow() 3865 _tile = new Fl_Tile(0, mh, glwidth + twidth, glheight + mheight); in graphicWindow() 3867 int w2 = glwidth / 2, h2 = glheight / 2; in graphicWindow() 3877 gl.push_back(new openglWindow(twidth + w2, mh, glwidth - w2, h2)); in graphicWindow() 3880 new openglWindow(twidth + w2, mh + h2, glwidth - w2, glheight - h2)); in graphicWindow() 3886 gl.push_back(new openglWindow(twidth + w2, mh, glwidth - w2, h2)); in graphicWindow() 3891 new openglWindow(twidth + w2, mh + h2, glwidth - w2, glheight - h2)); in graphicWindow() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/ |
H A D | gl_rmisc.c | 178 GL_BeginRendering(&glx, &gly, &glwidth, &glheight); in R_TimeRefresh_f()
|
H A D | gl_rmain.c | 1710 x = r_refdef.vrect.x * glwidth/vid.width; in R_SetupGL() 1711 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; in R_SetupGL() 1718 if (x2 < glwidth) in R_SetupGL()
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/ |
H A D | gl_rmisc.c | 157 GL_BeginRendering(&glx, &gly, &glwidth, &glheight); in R_TimeRefresh_f()
|
H A D | gl_rmain.c | 1791 x = r_refdef.vrect.x * glwidth/vid.width; in R_SetupGL() 1792 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; in R_SetupGL() 1799 if (x2 < glwidth) in R_SetupGL()
|