Home
last modified time | relevance | path

Searched refs:texScale (Results 26 – 44 of 44) sorted by relevance

12

/dports/games/openbor3711/openbor-6ec17fa/engine/sdl/
H A Dopengl.c332 float texScale; in video_gl_copy_screen() local
375texScale = MIN((float)viewportWidth/(float)textureWidth, (float)viewportHeight/(float)textureHeigh… in video_gl_copy_screen()
378 scaledWidth = (int)(textureWidth * texScale); in video_gl_copy_screen()
379 scaledHeight = (int)(textureHeight * texScale) * ycompress; in video_gl_copy_screen()
/dports/games/openbor4432/openbor-ba1eb4f/engine/sdl/
H A Dopengl.c335 …float texScale = MIN((float)viewportWidth/(float)textureWidth, (float)viewportHeight/(float)textur… in render() local
338 int scaledWidth = (int)(displayWidth * texScale); in render()
339 int scaledHeight = (int)(displayHeight * texScale); in render()
/dports/games/openbor/openbor-3caaddd5/engine/sdl/
H A Dopengl.c360 …float texScale = MIN((float)viewportWidth/(float)textureWidth, (float)viewportHeight/(float)textur… in render() local
363 int scaledWidth = (int)(displayWidth * texScale); in render()
364 int scaledHeight = (int)(displayHeight * texScale); in render()
/dports/games/residualvm/residualvm-0.3.1/engines/grim/shaders/
H A Dgrim_actor.vertex16 uniform highp vec2 texScale;
63 Texcoord = vec2(0.0, 1.0) + (texcoord / texScale);
/dports/games/scummvm/scummvm-2.5.1/engines/grim/shaders/
H A Dgrim_actorlights.vertex16 uniform highp vec2 texScale;
60 Texcoord = vec2(0.0, 1.0) + (texcoord / texScale);
/dports/games/openbor3979/openbor-2bcf25b/engine/sdl/
H A Dopengl.c375 float texScale; in video_gl_copy_screen() local
420texScale = MIN((float)viewportWidth/(float)textureWidth, (float)viewportHeight/(float)textureHeigh… in video_gl_copy_screen()
423 scaledWidth = (int)(textureWidth * texScale); in video_gl_copy_screen()
424 scaledHeight = (int)(textureHeight * texScale) * ycompress; in video_gl_copy_screen()
/dports/graphics/aoi/ArtOfIllusion30/Scripts/Tools/
H A DJoin Objects.bsh220 texScale=texMap[i].getScale();
222 scaleCorr=new Vec3(1/texScale.x,1/texScale.y,1/texScale.z);
229 texScale=texMap[i].getScale();
231 scaleCorr1=new Vec2(1/texScale.x,1/texScale.y);
/dports/games/openspades/openspades-0.1.3/Sources/Draw/
H A DGLOptimizedVoxelModel.cpp643 static GLProgramUniform texScale("texScale"); in RenderSunlightPass() local
644 texScale(program); in RenderSunlightPass()
645 texScale.SetValue(1.f / image->GetWidth(), 1.f / image->GetHeight()); in RenderSunlightPass()
781 static GLProgramUniform texScale("texScale"); in RenderDynamicLightPass() local
782 texScale(dlightProgram); in RenderDynamicLightPass()
783 texScale.SetValue(1.f / image->GetWidth(), 1.f / image->GetHeight()); in RenderDynamicLightPass()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles3/functional/
H A Des3fFboTestUtil.cpp527 const tcu::Vec4 texScale (m_uniforms[2].value.f4); in shadeFragments() local
547 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; in shadeFragments()
634 const tcu::Vec4 texScale (m_uniforms[1].value.f4); in shadeFragments() local
655 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; in shadeFragments()
742 const tcu::Vec4 texScale (m_uniforms[1].value.f4); in shadeFragments() local
763 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; in shadeFragments()
H A Des3fVertexTextureTests.cpp501 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
642 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx)… in calculateLod() argument
646 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
807 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
963 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNd… in calculateLod() argument
967 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp404 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
542 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx)… in calculateLod() argument
546 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
707 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
865 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNd… in calculateLod() argument
869 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
/dports/games/torcs/torcs-1.3.7/src/tools/texmapper/
H A Dmaintexmapper.cpp66 float texScale; member
414 curFace->texScale = scale; in calc_coord()
/dports/graphics/recastnavigation/recastnavigation-e75adf86f91eb3082220085e42dda62679f9a3ea/RecastDemo/Source/
H A DSample_SoloMesh.cpp239 const float texScale = 1.0f / (m_cellSize * 10.0f); in handleRender() local
246 m_agentMaxSlope, texScale); in handleRender()
H A DSample_TileMesh.cpp427 const float texScale = 1.0f / (m_cellSize * 10.0f); in handleRender() local
435 m_agentMaxSlope, texScale); in handleRender()
H A DSample_TempObstacles.cpp1037 const float texScale = 1.0f / (m_cellSize * 10.0f); in handleRender() local
1045 m_agentMaxSlope, texScale); in handleRender()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles31/functional/
H A Des31fFboTestUtil.cpp387 const tcu::Vec4 texScale (m_uniforms[2].value.f4); in shadeFragments() local
407 const tcu::Vec4 color = colors[fragNdx] * texScale + texBias; in shadeFragments()
/dports/games/spring/spring_98.0/cont/examples/Widgets/
H A Dminimap_startbox.lua67 local texScale = 512
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/src/hud/widgets/
H A Dautomapwidget.cpp1121 const float texScale = 1.f / 3000.f; in DENG2_PIMPL() local
1122 const float bgScale = texScale / scaleMTOF; in DENG2_PIMPL()
1123 const float offsetScale = texScale * autopageAspectRatio; in DENG2_PIMPL()
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dpolymost.cpp2838 float texScale[2], in polymost2_drawVBO()
2961 glUniform2fv(texScaleLoc, 1, texScale); in polymost2_drawVBO()
7660 float texScale[2] = {1.0f, -1.0f}; in polymost2_drawsprite() local
7801 texScale[1] *= clipScale; in polymost2_drawsprite()
7817 texScale[1] *= clipScale; in polymost2_drawsprite()
7913 texScale, in polymost2_drawsprite()

12