Home
last modified time | relevance | path

Searched refs:texHeight (Results 1 – 25 of 260) sorted by relevance

1234567891011

/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/gl-3.2/layered-rendering/
H A Dblit.c65 static const int texHeight = 32; variable
98 glBlitFramebuffer(0, 0, texWidth, texHeight, in display_texture()
99 x, y, x + texWidth, y + texDepth * texHeight, in display_texture()
122 glBlitFramebuffer(0, 0, texWidth, texHeight, in display_texture()
124 y + i * texHeight, in display_texture()
146 for (i = 0; i < texWidth * texHeight; i++) { in gen_color_data()
147 int offset = j * texWidth * texHeight * 3 + i * 3; in gen_color_data()
185 glTexImage3D(textureType, 0, GL_RGB, texWidth, texHeight, in create_bind_texture()
263 glBlitFramebuffer(0, 0, texWidth, texHeight, in testFramebufferBlitLayered()
264 0, 0, texWidth, texHeight, in testFramebufferBlitLayered()
[all …]
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/examples/spaceinvaders/
H A DTexture.java67 private int texHeight; field in Texture
154 public void setTextureHeight(int texHeight) { in setTextureHeight() argument
155 this.texHeight = texHeight; in setTextureHeight()
174 if (texHeight != 0) { in setHeight()
175 heightRatio = ((float) height) / texHeight; in setHeight()
H A DTextureLoader.java224 int texHeight = 2; in convertImageData() local
231 while (texHeight < bufferedImage.getHeight()) { in convertImageData()
232 texHeight *= 2; in convertImageData()
235 texture.setTextureHeight(texHeight); in convertImageData()
241 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,texWidth,texHeight,4,null); in convertImageData()
244 raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,texWidth,texHeight,3,null); in convertImageData()
251 g.fillRect(0,0,texWidth,texHeight); in convertImageData()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celtxf/
H A Dtexturefont.cpp35 texHeight(0), in TextureFont()
194 texWidth, texHeight, in buildTexture()
310 unsigned int texHeight = readUint32(in, byteSwap); in load() local
330 float dy = 0.5f / texHeight; in load()
354 float fHeight = texHeight; in load()
368 font->texHeight = texHeight; in load()
381 in.read(reinterpret_cast<char*>(fontImage), texWidth * texHeight); in load()
382 if (in.gcount() != (signed)(texWidth * texHeight)) in load()
410 in.read(reinterpret_cast<char*>(fontBits), rowBytes * texHeight); in load()
411 if (in.gcount() != (signed)(rowBytes * texHeight)) in load()
[all …]
/dports/astro/celestia/celestia-1.6.1/src/celtxf/
H A Dtexturefont.cpp35 texHeight(0), in TextureFont()
194 texWidth, texHeight, in buildTexture()
310 unsigned int texHeight = readUint32(in, byteSwap); in load() local
330 float dy = 0.5f / texHeight; in load()
354 float fHeight = texHeight; in load()
368 font->texHeight = texHeight; in load()
381 in.read(reinterpret_cast<char*>(fontImage), texWidth * texHeight); in load()
382 if (in.gcount() != (signed)(texWidth * texHeight)) in load()
410 in.read(reinterpret_cast<char*>(fontBits), rowBytes * texHeight); in load()
411 if (in.gcount() != (signed)(rowBytes * texHeight)) in load()
[all …]
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/util/texture/
H A DTexture.java175 private int texHeight; field in Texture
262 this.texHeight = texHeight; in Texture()
391 return texHeight; in getHeight()
459 return new TextureCoords(x1, texHeight - y1, x2, texHeight - y2); in getSubImageTexCoords()
559 texHeight = imgHeight; in updateImage()
572 texHeight = imgHeight; in updateImage()
587 texHeight = imgHeight; in updateImage()
599 texHeight = imgHeight; in updateImage()
675 int height = texHeight; in updateImage()
1079 if (dsty + height > texHeight) { in updateSubImageImpl()
[all …]
/dports/games/critterding/critterding-beta12/src/utils/ftgl/FTFont/
H A DFTBufferFont.cpp229 int width, height, texWidth, texHeight; in RenderI() local
282 texHeight = NextPowerOf2(height); in RenderI()
290 buffer->Size(texWidth, texHeight); in RenderI()
303 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texWidth, texHeight, 0, in RenderI()
315 (texHeight - height + padding) / texHeight); in RenderI()
318 (texHeight - padding) / texHeight); in RenderI()
321 (texHeight - padding) / texHeight); in RenderI()
324 (texHeight - height + padding) / texHeight); in RenderI()
/dports/devel/upp/upp/bazaar/FTGL/src/FTFont/
H A DFTBufferFont.cpp229 int width, height, texWidth, texHeight; in RenderI() local
282 texHeight = NextPowerOf2(height); in RenderI()
290 buffer->Size(texWidth, texHeight); in RenderI()
303 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texWidth, texHeight, 0, in RenderI()
315 (texHeight - height + padding) / texHeight); in RenderI()
318 (texHeight - padding) / texHeight); in RenderI()
321 (texHeight - padding) / texHeight); in RenderI()
324 (texHeight - height + padding) / texHeight); in RenderI()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/gs/GSH_OpenGL/
H A DGSH_OpenGL_Texture.cpp173 auto texHeight = tex0.GetHeight(); in PrepareTexture() local
175 assert(texHeight <= 1024); in PrepareTexture()
177 texHeight = std::min<uint32>(texHeight, 1024); in PrepareTexture()
217 if((texY + texHeight) > tex0.GetHeight()) in PrepareTexture()
219 texHeight = tex0.GetHeight() - texY; in PrepareTexture()
286 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm32()
306 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm16()
562 for(unsigned int y = 0; y < texHeight; y += 16) in TexUpdater_Psm8()
602 for(unsigned int y = 0; y < texHeight; y += 16) in TexUpdater_Psm4()
635 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm48()
[all …]
/dports/graphics/jogl/jogl-1.1.1_9/jogl/src/classes/com/sun/opengl/util/texture/
H A DTexture.java148 private int texHeight; field in Texture
287 return texHeight; in getHeight()
355 return new TextureCoords(x1, texHeight - y1, x2, texHeight - y2); in getSubImageTexCoords()
361 float ty1 = (float)y1 / (float)texHeight; in getSubImageTexCoords()
440 texHeight = imgHeight; in updateImage()
453 texHeight = imgHeight; in updateImage()
462 texHeight = imgHeight; in updateImage()
492 texHeight = nextPowerOfTwo(imgHeight); in updateImage()
534 int height = texHeight; in updateImage()
932 if (dsty + height > texHeight) { in updateSubImageImpl()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_framebuffer_srgb/
H A Dsrgb_pbo.c54 const unsigned int texHeight = 256; variable
164 texWidth, texHeight); in piglit_init()
174 const unsigned int numPixels = texWidth * texHeight; in piglit_init()
199 glViewport(0, 0, texWidth, texHeight); in piglit_init()
213 tex = createTexture2D(GL_RGBA4, 1, texWidth, texHeight); in piglit_init()
237 glPixelStorei(GL_UNPACK_IMAGE_HEIGHT, texHeight); in piglit_init()
242 texWidth, texHeight, in piglit_init()
248 texWidth, texHeight); in piglit_init()
/dports/graphics/electricsheep/electricsheep-37ba0fd692d6581f8fe009ed11c9650cd8174123/client_generic/DisplayOutput/OpenGL/
H A DTextureFlatGL.cpp196 uint32 texWidth, texHeight; in Upload() local
220 texHeight = imgHeight; in Upload()
225 texHeight = Base::Math::UpperPowerOfTwo( _spImage->GetHeight( mipMapLevel ) ); in Upload()
228 if ( texWidth == imgWidth && texHeight == imgHeight ) in Upload()
234 …glTexImage2D( m_TexTarget, mipMapLevel, internalFormat, texWidth, texHeight, 0, srcFormat, srcType… in Upload()
243 SetRect( Base::Math::CRect( texWidth, texHeight ) ); in Upload()
250 …glTexImage2D( m_TexTarget, mipMapLevel, internalFormat, texWidth, texHeight, 0, srcFormat, srcType… in Upload()
262 … SetRect( Base::Math::CRect( (fp4)imgWidth / (fp4)texWidth, (fp4)imgHeight / (fp4)texHeight ) ); in Upload()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/gs/GSH_Direct3D9/
H A DGSH_Direct3D9_Texture.cpp122 uint32 texHeight = texturePageSize.second; in LoadTexture() local
129 if((texY + texHeight) > tex0.GetHeight()) in LoadTexture()
131 texHeight = tex0.GetHeight() - texY; in LoadTexture()
133 …dater[tex0.nPsm]))(&lockedRect, tex0.GetBufPtr(), tex0.nBufWidth, texX, texY, texWidth, texHeight); in LoadTexture()
207 …nt32 bufWidth, unsigned int texX, unsigned int texY, unsigned int texWidth, unsigned int texHeight) in TexUpdater_Psm32() argument
215 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm32()
228 …nt32 bufWidth, unsigned int texX, unsigned int texY, unsigned int texWidth, unsigned int texHeight) in TexUpdater_Psm16() argument
236 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm16()
254 …nt32 bufWidth, unsigned int texX, unsigned int texY, unsigned int texWidth, unsigned int texHeight) in TexUpdater_Psm48() argument
262 for(unsigned int y = 0; y < texHeight; y++) in TexUpdater_Psm48()
[all …]
/dports/games/openbor/openbor-3caaddd5/engine/vita/
H A Dvideo.c95 texHeight = vita2d_texture_get_height(targetTexture); in video_copy_screen() local
99 memcpy(vita2d_texture_get_datap(targetTexture), screen->data, stride * texHeight); in video_copy_screen()
106 for (i = 0; i < texHeight; i++) in video_copy_screen()
116 if (544.0 / texHeight < scaleFactor) scaleFactor = 544.0f / texHeight; in video_copy_screen()
120 float yOffset = (544.0f - texHeight * scaleFactor) / 2.0f; in video_copy_screen()
/dports/devel/bullet/bullet3-3.21/examples/ExampleBrowser/GwenGUISupport/
H A DGraphingTexture.cpp26 bool GraphingTexture::create(int texWidth, int texHeight) in create() argument
29 m_height = texHeight; in create()
32 m_imageData.resize(texWidth * texHeight * 4); in create()
33 for (int y = 0; y < texHeight; ++y) in create()
/dports/devel/py-bullet3/bullet3-3.21/examples/ExampleBrowser/GwenGUISupport/
H A DGraphingTexture.cpp26 bool GraphingTexture::create(int texWidth, int texHeight) in create() argument
29 m_height = texHeight; in create()
32 m_imageData.resize(texWidth * texHeight * 4); in create()
33 for (int y = 0; y < texHeight; ++y) in create()
/dports/comms/limesuite/LimeSuite-20.10.0/src/oglGraph/
H A DGLFont.cpp88 unsigned short texHeight = 0; in load() local
93 in.read((char*)&texHeight, sizeof(unsigned short)); in load()
94 m_texheight = texHeight; in load()
97 unsigned char *bitmap = new unsigned char[texWidth*texHeight]; in load()
98 in.read((char*)bitmap, texWidth*texHeight); in load()
117 texHeight, in load()
180 unsigned short texHeight = 0; in loadFromArray() local
185 in.read((char*)&texHeight, sizeof(unsigned short)); in loadFromArray()
186 m_texheight = texHeight; in loadFromArray()
190 in.read((char*)bitmap, texWidth*texHeight); in loadFromArray()
[all …]
/dports/games/shootingstar/shootingstar-1.2.0/src/engine/
H A DcTextureFont.cpp69 int texWidth, texHeight; in Initialize() local
72 texManager.GetTextureSize (filename, texWidth, texHeight); in Initialize()
77 MakeDisplayLists (texWidth, texHeight); in Initialize()
81 cTextureFont::MakeDisplayLists (int texWidth, int texHeight) in MakeDisplayLists() argument
89 float charHeight = float (mHeight) / float (texHeight); in MakeDisplayLists()
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/tests/
H A Dmipmap_view.c231 int texWidth = TexWidth, texHeight = TexHeight; in Display() local
261 if (texWidth == 1 && texHeight == 1) in Display()
264 texHeight = TexHeight >> bias; in Display()
267 if (texHeight < 1) in Display()
268 texHeight = 1; in Display()
280 texWidth, texHeight); in Display()
293 glTexCoord2f(1, 1); glVertex2f(texWidth, texHeight); in Display()
294 glTexCoord2f(0, 1); glVertex2f(0, texHeight); in Display()
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/tests/
H A Dmipmap_view.c231 int texWidth = TexWidth, texHeight = TexHeight; in Display() local
261 if (texWidth == 1 && texHeight == 1) in Display()
264 texHeight = TexHeight >> bias; in Display()
267 if (texHeight < 1) in Display()
268 texHeight = 1; in Display()
280 texWidth, texHeight); in Display()
293 glTexCoord2f(1, 1); glVertex2f(texWidth, texHeight); in Display()
294 glTexCoord2f(0, 1); glVertex2f(0, texHeight); in Display()
/dports/graphics/ftgl/ftgl-2.4.0/src/FTFont/
H A DFTBufferFont.cpp230 int width, height, texWidth, texHeight; in RenderI() local
303 texHeight = NextPowerOf2(height); in RenderI()
311 buffer->Size(texWidth, texHeight); in RenderI()
324 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texWidth, texHeight, 0, in RenderI()
336 1.0f / texHeight * (texHeight - height)); in RenderI()
345 1.0f / texHeight * (texHeight - height)); in RenderI()
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dshader_env_mapping.cpp48 double texHeight = data->textures.envmapTexture.Height(); in EnvMapping() local
55 double dty = (betaTexture / M_PI + 0.5) * texHeight + texHeight * 8.0; in EnvMapping()
57 dty = fmod(dty, texHeight); in EnvMapping()
/dports/games/hyperrogue/hyperrogue-12.0f/hyperroid/app/src/main/java/com/android/texample/
H A DTextureRegion.java17 …public TextureRegion(float texWidth, float texHeight, float x, float y, float width, float height)… in TextureRegion() argument
19 this.v1 = y / texHeight; // Calculate V1 in TextureRegion()
21 this.v2 = this.v1 + ( height / texHeight ); // Calculate V2 in TextureRegion()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLSurfaceData.c142 GLsizei texWidth, texHeight, realWidth, realHeight; in OGLSD_InitTextureObject() local
159 texHeight = (height <= texMax) ? height : 0; in OGLSD_InitTextureObject()
166 texHeight = (height <= texMax) ? height : 0; in OGLSD_InitTextureObject()
173 texHeight = OGLSD_NextPowerOfTwo(height, texMax); in OGLSD_InitTextureObject()
180 texWidth, texHeight, texMax); in OGLSD_InitTextureObject()
184 if ((texWidth == 0) || (texHeight == 0)) { in OGLSD_InitTextureObject()
193 texWidth, texHeight, 0, in OGLSD_InitTextureObject()
202 if ((realWidth != texWidth) || (realHeight != texHeight)) { in OGLSD_InitTextureObject()
215 texWidth, texHeight, 0, in OGLSD_InitTextureObject()
225 oglsdo->textureHeight = texHeight; in OGLSD_InitTextureObject()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLSurfaceData.c142 GLsizei texWidth, texHeight, realWidth, realHeight; in OGLSD_InitTextureObject() local
159 texHeight = (height <= texMax) ? height : 0; in OGLSD_InitTextureObject()
166 texHeight = (height <= texMax) ? height : 0; in OGLSD_InitTextureObject()
173 texHeight = OGLSD_NextPowerOfTwo(height, texMax); in OGLSD_InitTextureObject()
180 texWidth, texHeight, texMax); in OGLSD_InitTextureObject()
184 if ((texWidth == 0) || (texHeight == 0)) { in OGLSD_InitTextureObject()
193 texWidth, texHeight, 0, in OGLSD_InitTextureObject()
202 if ((realWidth != texWidth) || (realHeight != texHeight)) { in OGLSD_InitTextureObject()
215 texWidth, texHeight, 0, in OGLSD_InitTextureObject()
225 oglsdo->textureHeight = texHeight; in OGLSD_InitTextureObject()

1234567891011