Home
last modified time | relevance | path

Searched refs:vieww (Results 1 – 25 of 40) sorted by relevance

12

/dports/games/bloodfrontier/bloodfrontier/src/engine/
H A Drendertarget.h5 int texw, texh, vieww, viewh; member
302 w = vieww; in scissorrender()
310 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww) - x; in scissorrender()
322 w = vieww; in scissorblur()
330 w = min(int(ceil((scissorx2+1)/2*vieww)), vieww) - x; in scissorblur()
349 vieww = w;
366 vieww = w;
402 else glViewport(screen->w-vieww, screen->h-viewh, vieww, viewh);
422 sw = vieww;
445 sw = vieww;
[all …]
H A Dshadowmap.cpp127 x = max(int(floor((scissorx1+1)/2*vieww)) - 2*blursize, 2); in scissorblur()
129 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww-2) - x; in scissorblur()
137 w = vieww - 2*2; in scissorrender()
147 glScissor(screen->w-vieww, screen->h-viewh, vieww, viewh); in doclear()
180 … shadowoffset.x = -fmod(dirx.dot(camera1->o) - skewdir.x*camera1->o.z, 2.0f*shadowmapradius/vieww); in dorender()
232 sx += screen->w-vieww; in dorender()
286 right.mul(shadowmapradius*2.0f/shadowmaptex.vieww); in calcscissorbox()
290 ….add(vec(forward).mul(smy - shadowmaptex.viewh/2)).add(vec(right).mul(smx - shadowmaptex.vieww/2)); in calcscissorbox()
H A Ddepthfx.h152 … setenvparamf("depthfxview", SHPARAM_VERTEX, 6, 0.5f*depthfxtex.vieww, 0.5f*depthfxtex.viewh); in binddepthfxtex()
154 …setenvparamf("depthfxview", SHPARAM_VERTEX, 6, 0.5f*float(depthfxtex.vieww)/depthfxtex.texw, 0.5f*… in binddepthfxtex()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Drendertarget.h5 int texw, texh, vieww, viewh; member
269 if(vieww < texw || viewh < texh) in scissorrender()
272 w = vieww; in scissorrender()
280 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww) - x; in scissorrender()
289 if(vieww < texw || viewh < texh) in scissorblur()
292 w = vieww; in scissorblur()
298 x = max(int(floor((scissorx1+1)/2*vieww)), 0); in scissorblur()
300 w = min(int(ceil((scissorx2+1)/2*vieww)), vieww) - x; in scissorblur()
319 vieww = w;
350 glViewport(0, 0, vieww, viewh);
[all …]
H A Dshadowmap.cpp103 x = max(int(floor((scissorx1+1)/2*vieww)) - 2*blursize, 2); in scissorblur()
105 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww-2) - x; in scissorblur()
113 w = vieww - 2*2; in scissorrender()
137 … shadowoffset.x = -fmod(dirx.dot(camera1->o) - skewdir.x*camera1->o.z, 2.0f*shadowmapradius/vieww); in dorender()
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Drendertarget.h5 int texw, texh, vieww, viewh; member
273 if(vieww < texw || viewh < texh) in scissorrender()
276 w = vieww; in scissorrender()
284 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww) - x; in scissorrender()
293 if(vieww < texw || viewh < texh) in scissorblur()
296 w = vieww; in scissorblur()
302 x = max(int(floor((scissorx1+1)/2*vieww)), 0); in scissorblur()
304 w = min(int(ceil((scissorx2+1)/2*vieww)), vieww) - x; in scissorblur()
323 vieww = w;
354 glViewport(0, 0, vieww, viewh);
[all …]
H A Dshadowmap.cpp103 x = max(int(floor((scissorx1+1)/2*vieww)) - 2*blursize, 2); in scissorblur()
105 w = min(int(ceil((scissorx2+1)/2*vieww)) + 2*blursize, vieww-2) - x; in scissorblur()
113 w = vieww - 2*2; in scissorrender()
137 … shadowoffset.x = -fmod(dirx.dot(camera1->o) - skewdir.x*camera1->o.z, 2.0f*shadowmapradius/vieww); in dorender()
/dports/games/tesseract-data/tesseract/src/engine/
H A Drenderlights.cpp284 screenquad(vieww, viewh); in renderao()
286 xscale *= float(vieww)/aow; in renderao()
330 screenquad(vieww, viewh, i ? vieww : aow, aoh); in renderao()
996 pw = vieww, ph = viewh; in processhdr()
1017 if(vieww/2 >= bloomw) in processhdr()
1019 pw = vieww/2; in processhdr()
4048 int x1 = int(floor(max(sx1*0.5f+0.5f-refractmargin*viewh/vieww, 0.0f)*vieww)), in rendertransparent()
4050 x2 = int(ceil(min(sx2*0.5f+0.5f+refractmargin*viewh/vieww, 1.0f)*vieww)), in rendertransparent()
4079 matrix4 raymatrix(vec(-0.5f*vieww*projmatrix.a.x, 0, 0.5f*vieww - 0.5f*vieww*projmatrix.c.x), in rendertransparent()
4292 GLOBALPARAMF(viewsize, vieww, viewh, 1.0f/vieww, 1.0f/viewh); in preparegbuffer()
[all …]
H A Daa.cpp64 float maxvel = sqrtf(vieww*vieww + viewh*viewh)/tqaareproject; in setaavelocityparams()
89 screenquad(vieww, viewh); in resolve()
199 screenquad(vieww, viewh); in dofxaa()
632 screenquad(vieww, viewh); in dosmaa()
658 screenquad(vieww, viewh); in dosmaa()
682 screenquad(vieww, viewh); in dosmaa()
708 projmatrix.jitter(jitter.x*2.0f/vieww, jitter.y*2.0f/viewh); in jitteraa()
H A Drendergl.cpp1338 int vieww = -1, viewh = -1, viewidx = 0; variable
2132 vieww = viewh = size; in drawminimap()
2173 vieww = oldvieww; in drawminimap()
2235 vieww = viewh = size; in drawcubemap()
2294 vieww = oldvieww; in drawcubemap()
2348 oldvieww = vieww; in start()
2355 vieww = min(gw, w); in start()
2384 vieww = oldvieww; in end()
2406 if(scalefbo) { vieww = gw; viewh = gh; } in gl_drawview()
2508 doaa(setuppostfx(vieww, viewh, outfbo), processhdr); in gl_drawview()
[all …]
/dports/games/tesseract/tesseract/src/engine/
H A Drenderlights.cpp284 screenquad(vieww, viewh); in renderao()
286 xscale *= float(vieww)/aow; in renderao()
330 screenquad(vieww, viewh, i ? vieww : aow, aoh); in renderao()
996 pw = vieww, ph = viewh; in processhdr()
1017 if(vieww/2 >= bloomw) in processhdr()
1019 pw = vieww/2; in processhdr()
4048 int x1 = int(floor(max(sx1*0.5f+0.5f-refractmargin*viewh/vieww, 0.0f)*vieww)), in rendertransparent()
4050 x2 = int(ceil(min(sx2*0.5f+0.5f+refractmargin*viewh/vieww, 1.0f)*vieww)), in rendertransparent()
4079 matrix4 raymatrix(vec(-0.5f*vieww*projmatrix.a.x, 0, 0.5f*vieww - 0.5f*vieww*projmatrix.c.x), in rendertransparent()
4292 GLOBALPARAMF(viewsize, vieww, viewh, 1.0f/vieww, 1.0f/viewh); in preparegbuffer()
[all …]
H A Daa.cpp64 float maxvel = sqrtf(vieww*vieww + viewh*viewh)/tqaareproject; in setaavelocityparams()
89 screenquad(vieww, viewh); in resolve()
199 screenquad(vieww, viewh); in dofxaa()
632 screenquad(vieww, viewh); in dosmaa()
658 screenquad(vieww, viewh); in dosmaa()
682 screenquad(vieww, viewh); in dosmaa()
708 projmatrix.jitter(jitter.x*2.0f/vieww, jitter.y*2.0f/viewh); in jitteraa()
H A Drendergl.cpp1338 int vieww = -1, viewh = -1, viewidx = 0; variable
2132 vieww = viewh = size; in drawminimap()
2173 vieww = oldvieww; in drawminimap()
2235 vieww = viewh = size; in drawcubemap()
2294 vieww = oldvieww; in drawcubemap()
2348 oldvieww = vieww; in start()
2355 vieww = min(gw, w); in start()
2384 vieww = oldvieww; in end()
2406 if(scalefbo) { vieww = gw; viewh = gh; } in gl_drawview()
2508 doaa(setuppostfx(vieww, viewh, outfbo), processhdr); in gl_drawview()
[all …]
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Drenderlights.cpp310 screenquad(vieww, viewh); in renderao()
312 xscale *= float(vieww)/aow; in renderao()
356 screenquad(vieww, viewh, i ? vieww : aow, aoh); in renderao()
1052 pw = vieww, ph = viewh; in processhdr()
1073 if(vieww/2 >= bloomw) in processhdr()
1075 pw = vieww/2; in processhdr()
3428 cx2 = min((cx2 * vieww + margin + volw - 1) / volw, vieww); in rendervolumetric()
4628 int x1 = int(floor(max(sx1*0.5f+0.5f-refractmargin*viewh/vieww, 0.0f)*vieww)), in rendertransparent()
4630 x2 = int(ceil(min(sx2*0.5f+0.5f+refractmargin*viewh/vieww, 1.0f)*vieww)), in rendertransparent()
4659 matrix4 raymatrix(vec(-0.5f*vieww*projmatrix.a.x, 0, 0.5f*vieww - 0.5f*vieww*projmatrix.c.x), in rendertransparent()
[all …]
H A Daa.cpp71 float maxvel = sqrtf(vieww*vieww + viewh*viewh)/tqaareproject; in setaavelocityparams()
104 screenquad(vieww, viewh); in resolvetqaa()
182 screenquad(vieww, viewh); in dofxaa()
614 screenquad(vieww, viewh); in dosmaa()
640 screenquad(vieww, viewh); in dosmaa()
664 screenquad(vieww, viewh); in dosmaa()
689 projmatrix.jitter(jitter.x*2.0f/vieww, jitter.y*2.0f/viewh); in jitteraa()
H A Drendergl.cpp1377 int vieww = -1, viewh = -1, farplane; variable
2058 vieww = viewh = size; in drawminimap()
2095 vieww = oldvieww; in drawminimap()
2147 vieww = viewh = size; in drawcubemap()
2204 vieww = oldvieww; in drawcubemap()
2258 oldvieww = vieww; in start()
2265 vieww = min(gw, w); in start()
2292 vieww = oldvieww; in end()
2481 vieww = hudw; in gl_drawnoview()
2483 hud::update(vieww, viewh); in gl_drawnoview()
[all …]
/dports/games/golly/golly-3.3-src/gollybase/
H A Dltldraw.cpp96 int vieww = view.getwidth(); in draw() local
151 if (x >= vieww || y >= viewh || x+imax <= 0 || y+jmax <= 0) { in draw()
200 if (x >= vieww || y >= viewh || x+pmsize <= 0 || y+pmsize <= 0) { in draw()
H A Dqlifedraw.cpp94 if (xoff >= vieww || xoff + wd < 0 || yoff >= viewh || yoff + ht < 0) in BlitCells()
130 if (psub->d[i] != nullroots[0] && x < vieww && x + 32 >= 0) { in BlitCells()
197 if (xoff >= vieww || xoff + wd < 0 || yoff >= viewh || yoff + ht < 0) in ShrinkCells()
490 vieww = ((uvieww - 1) >> view->getmag()) + 1 ; in draw()
497 vieww = uvieww ; in draw()
506 int maxd = vieww ; in draw()
596 if (yoff >= viewh || xoff >= vieww || yoffuht < 0 || xoffuwd < 0) { in draw()
H A Dghashdraw.cpp160 (llx + vieww <= 0 || lly + viewh <= 0 || llx >= sw || lly >= sw)) in drawghnode()
274 vieww = ((uvieww - 1) >> view->getmag()) + 1 ; in draw()
280 vieww = uvieww ; in draw()
288 int maxd = vieww ; in draw()
349 if (llx > 0 || lly > 0 || llx + vieww <= 0 || lly + viewh <= 0 || in draw()
H A Dhlifedraw.cpp143 (llx + vieww <= 0 || lly + viewh <= 0 || llx >= sw || lly >= sw)) in drawnode()
277 vieww = ((uvieww - 1) >> view->getmag()) + 1 ; in draw()
283 vieww = uvieww ; in draw()
287 int maxd = vieww ; in draw()
348 if (llx > 0 || lly > 0 || llx + vieww <= 0 || lly + viewh <= 0 || in draw()
H A Dqlifealgo.h273 int uviewh, uvieww, viewh, vieww, mag, pmag, kadd ; variable
/dports/games/fkiss/fkiss-0.33/
H A Dfkiss.c1456 vieww = topw - viewbw*2;
1458 if (vieww <= 0)
1459 vieww = 1;
1462 imgw = vieww - imgbw*2;
1472 imgx = (vieww - imgw - imgbw*2)/2; in recenter()
1484 ovieww = vieww;
1493 if (vieww != ovieww || viewh != oviewh)
1593 viewx, viewy, vieww, viewh, viewbw, in init_window()
1611 viewx, viewy, vieww, viewh, viewbw, in init_window()
1734 if (op->width <= vieww) {
[all …]
H A Dwork.h57 extern int vieww, viewh;
H A Dwork.c114 int vieww, viewh; variable
H A Dmenu.c321 vieww-(aboutokw+MNFNCBW*2+1), in create_set_menu()
542 x = (vieww - calc_text_size(str))/2;
715 vieww, viewh, -imgx-imgbw, -imgy-imgbw); in draw_aboutwin()

12