Home
last modified time | relevance | path

Searched refs:hasTRG (Results 1 – 25 of 34) sorted by relevance

12

/dports/games/tesseract-data/tesseract/src/engine/
H A Daa.cpp222 if(!hasTRG) opts[optslen++] = 'a'; in loadsmaashaders()
525 …createtexture(smaaareatex, SMAA_AREATEX_WIDTH, SMAA_AREATEX_HEIGHT, smaaareadata, 3, 1, hasTRG ? G… in setupsmaa()
526 …htex, SMAA_SEARCHTEX_WIDTH, SMAA_SEARCHTEX_HEIGHT, smaasearchdata, 3, 0, hasTRG ? GL_R8 : GL_LUMIN… in setupsmaa()
541 case 1: format = hasTRG ? GL_RG8 : GL_RGBA8; break; in setupsmaa()
H A Dexplosion.h109 createtexture(tex, size, size, data, 3, 2, hasTRG ? GL_R8 : GL_LUMINANCE8); in createexpmodtex()
H A Dblend.cpp593 createtexture(tex, w, h, buf, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in gentex()
656 format = hasTRG ? GL_RED : GL_LUMINANCE; in setup()
657 createtexture(tex, size, size, NULL, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in setup()
H A Dtexture.h581 …int swizzle() const { extern bool hasTRG, hasTSW; return hasTRG && !hasTSW ? (bpp==1 ? 0 : (bpp==2… in swizzle()
H A Drenderlights.cpp63 …glBufferData_(GL_PIXEL_PACK_BUFFER, 4*(hasTF ? sizeof(GLfloat) : sizeof(GLushort))*(hasTRG ? 1 : 3… in setupbloom()
69 …(const void *)grayf : (const void *)gray, 3, 1, hasTF ? (hasTRG ? GL_R16F : GL_RGB16F) : (hasTRG ?… in setupbloom()
180 GLenum format = aoprec && hasTRG ? GL_R8 : GL_RGBA8, in setupao()
254 aodepthformat = aofloatdepth && hasTRG && hasTF ? aofloatdepth : 0; in initao()
531 if(lineardepth > 1 && (!hasAFBO || !hasTF || !hasTRG)) gdepthformat = 1; in initgbuffer()
1119 … glReadPixels(0, 0, 4, 1, hasTRG ? GL_RED : GL_RGB, hasTF ? GL_FLOAT : GL_UNSIGNED_SHORT, NULL); in processhdr()
H A Dtexture.cpp685 if(swizzle && hasTRG && hasTSW) in setuptexparameters()
870 case 1: return hasTRG ? GL_RED : GL_LUMINANCE; in texformat()
871 case 2: return hasTRG ? GL_RG : GL_LUMINANCE_ALPHA; in texformat()
2460 if(hasTRG && !hasTSW && swizzlemask(format)) in cubemaploadwildcard()
/dports/games/tesseract/tesseract/src/engine/
H A Daa.cpp222 if(!hasTRG) opts[optslen++] = 'a'; in loadsmaashaders()
525 …createtexture(smaaareatex, SMAA_AREATEX_WIDTH, SMAA_AREATEX_HEIGHT, smaaareadata, 3, 1, hasTRG ? G… in setupsmaa()
526 …htex, SMAA_SEARCHTEX_WIDTH, SMAA_SEARCHTEX_HEIGHT, smaasearchdata, 3, 0, hasTRG ? GL_R8 : GL_LUMIN… in setupsmaa()
541 case 1: format = hasTRG ? GL_RG8 : GL_RGBA8; break; in setupsmaa()
H A Dexplosion.h109 createtexture(tex, size, size, data, 3, 2, hasTRG ? GL_R8 : GL_LUMINANCE8); in createexpmodtex()
H A Dblend.cpp593 createtexture(tex, w, h, buf, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in gentex()
656 format = hasTRG ? GL_RED : GL_LUMINANCE; in setup()
657 createtexture(tex, size, size, NULL, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in setup()
H A Dtexture.h581 …int swizzle() const { extern bool hasTRG, hasTSW; return hasTRG && !hasTSW ? (bpp==1 ? 0 : (bpp==2… in swizzle()
H A Drenderlights.cpp63 …glBufferData_(GL_PIXEL_PACK_BUFFER, 4*(hasTF ? sizeof(GLfloat) : sizeof(GLushort))*(hasTRG ? 1 : 3… in setupbloom()
69 …(const void *)grayf : (const void *)gray, 3, 1, hasTF ? (hasTRG ? GL_R16F : GL_RGB16F) : (hasTRG ?… in setupbloom()
180 GLenum format = aoprec && hasTRG ? GL_R8 : GL_RGBA8, in setupao()
254 aodepthformat = aofloatdepth && hasTRG && hasTF ? aofloatdepth : 0; in initao()
531 if(lineardepth > 1 && (!hasAFBO || !hasTF || !hasTRG)) gdepthformat = 1; in initgbuffer()
1119 … glReadPixels(0, 0, 4, 1, hasTRG ? GL_RED : GL_RGB, hasTF ? GL_FLOAT : GL_UNSIGNED_SHORT, NULL); in processhdr()
H A Dtexture.cpp685 if(swizzle && hasTRG && hasTSW) in setuptexparameters()
870 case 1: return hasTRG ? GL_RED : GL_LUMINANCE; in texformat()
871 case 2: return hasTRG ? GL_RG : GL_LUMINANCE_ALPHA; in texformat()
2460 if(hasTRG && !hasTSW && swizzlemask(format)) in cubemaploadwildcard()
/dports/games/redeclipse/base-2.0.0/src/engine/
H A Daa.cpp205 if(!hasTRG) opts[optslen++] = 'a'; in loadsmaashaders()
508 …createtexture(smaaareatex, SMAA_AREATEX_WIDTH, SMAA_AREATEX_HEIGHT, smaaareadata, 3, 1, hasTRG ? G… in setupsmaa()
509 …htex, SMAA_SEARCHTEX_WIDTH, SMAA_SEARCHTEX_HEIGHT, smaasearchdata, 3, 0, hasTRG ? GL_R8 : GL_LUMIN… in setupsmaa()
524 case 1: format = hasTRG ? GL_RG8 : GL_RGBA8; break; in setupsmaa()
H A Dblend.cpp593 createtexture(tex, w, h, buf, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in gentex()
656 format = hasTRG ? GL_RED : GL_LUMINANCE; in setup()
657 createtexture(tex, size, size, NULL, 3, 1, hasTRG ? GL_R8 : GL_LUMINANCE8); in setup()
H A Drenderlights.cpp65 …glBufferData_(GL_PIXEL_PACK_BUFFER, 4*(hasTF ? sizeof(GLfloat) : sizeof(GLushort))*(hasTRG ? 1 : 3… in setupbloom()
71 …(const void *)grayf : (const void *)gray, 3, 1, hasTF ? (hasTRG ? GL_R16F : GL_RGB16F) : (hasTRG ?… in setupbloom()
187 GLenum format = aoprec && hasTRG ? GL_R8 : GL_RGBA8, in setupao()
280 aodepthformat = aofloatdepth && hasTRG && hasTF ? aofloatdepth : 0; in initao()
535 if(lineardepth > 1 && (!hasAFBO || !hasTF || !hasTRG)) gdepthformat = 1; in initgbuffer()
1175 … glReadPixels(0, 0, 4, 1, hasTRG ? GL_RED : GL_RGB, hasTF ? GL_FLOAT : GL_UNSIGNED_SHORT, NULL); in processhdr()
H A Drendergl.cpp5 …B2 = false, hasDBB = false, hasTG = false, hasTQ = false, hasPF = false, hasTRG = false, hasTI = f… variable
585 hasTF = hasTRG = hasRGTC = hasPF = hasHFV = hasHFP = true; in gl_checkextensions()
635 hasTRG = true; in gl_checkextensions()
H A Dtexture.cpp936 if(swizzle && hasTRG && hasTSW) in setuptexparameters()
1144 case 1: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RED : GL_LUMINANCE; in texformat()
1145 case 2: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RG : GL_LUMINANCE_ALPHA; in texformat()
1228 if(swizzle && hasTRG && !hasTSW && swizzlemask(format)) in newtexture()
3010 if(hasTRG && !hasTSW && swizzlemask(format)) in cubemaploadwildcard()
/dports/games/sauerbraten/sauerbraten/src/engine/
H A Ddepthfx.h32 return &colorfmts[fpdepthfx && hasTF ? (hasTRG ? 0 : 1) : 2]; in colorformats()
H A Drendergl.cpp5 bool hasVAO = false, hasFBO = false, hasAFBO = false, hasDS = false, hasTF = false, hasTRG = false,… variable
395 hasTRG = true; in gl_checkextensions()
453 if(hasTF && hasTRG) fpdepthfx = 1; in gl_checkextensions()
464 if(hasTF && hasTRG) fpdepthfx = 1; in gl_checkextensions()
H A Dengine.h129 extern bool hasVAO, hasFBO, hasAFBO, hasDS, hasTF, hasTRG, hasTSW, hasS3TC, hasFXT1, hasLATC, hasRG…
H A Dtexture.cpp872 if(swizzle && hasTRG && hasTSW) in setuptexparameters()
1009 case 1: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RED : GL_LUMINANCE; in texformat()
1010 case 2: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RG : GL_LUMINANCE_ALPHA; in texformat()
1072 if(swizzle && hasTRG && !hasTSW && swizzlemask(format)) in newtexture()
2591 if(hasTRG && !hasTSW && swizzlemask(format)) in cubemaploadwildcard()
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Ddepthfx.h32 return &colorfmts[fpdepthfx && hasTF ? (hasTRG ? 0 : 1) : 2]; in colorformats()
H A Drendergl.cpp5 bool hasVAO = false, hasFBO = false, hasAFBO = false, hasDS = false, hasTF = false, hasTRG = false,… variable
403 hasTRG = true; in gl_checkextensions()
460 if(hasTF && hasTRG) setvar("fpdepthfx", 1, false, true); in gl_checkextensions()
470 if(hasTF && hasTRG) setvar("fpdepthfx", 1, false, true); in gl_checkextensions()
H A Dtexture.cpp795 if(swizzle && hasTRG && hasTSW) in setuptexparameters()
959 case 1: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RED : GL_LUMINANCE; in texformat()
960 case 2: return hasTRG && (hasTSW || !glcompat || !swizzle) ? GL_RG : GL_LUMINANCE_ALPHA; in texformat()
1025 if(swizzle && hasTRG && !hasTSW && swizzlemask(format)) in newtexture()
2653 if(hasTRG && !hasTSW && swizzlemask(format)) in cubemaploadwildcard()
H A Dengine.h209 extern bool hasVAO, hasFBO, hasAFBO, hasDS, hasTF, hasTRG, hasTSW, hasS3TC, hasFXT1, hasLATC, hasRG…

12