Home
last modified time | relevance | path

Searched refs:m_textureWidth (Results 1 – 25 of 44) sorted by relevance

12

/dports/graphics/wdune/wdune-1.926/src/
H A DNodePixelTexture.cpp91 m_textureWidth = 0; in NodePixelTexture()
109 m_textureWidth = node.m_textureWidth; in NodePixelTexture()
117 int size = m_textureWidth * m_textureHeight * m_components; in NodePixelTexture()
185 m_textureWidth = 1; in load()
188 while (m_textureWidth < width) in load()
189 m_textureWidth <<= 1; in load()
196 if (width == m_textureWidth && height == m_textureHeight) { in load()
201 m_image = new unsigned char[m_textureWidth * m_textureHeight * in load()
211 int size = m_textureWidth * m_textureHeight * m_components; in load()
251 m_textureWidth, m_textureHeight, 0, in bind()
[all …]
H A DNodeImageTexture.cpp120 m_textureWidth = 0; in NodeImageTexture()
152 m_textureWidth = node.m_textureWidth; in NodeImageTexture()
179 int size = m_textureWidth * m_textureHeight * m_components; in NodeImageTexture()
330 m_textureWidth = 2; in load()
333 while (m_textureWidth < width) in load()
334 m_textureWidth <<= 1; in load()
340 if (width == m_textureWidth && height == m_textureHeight) { in load()
363 if (width == m_textureWidth && height == m_textureHeight) { in load()
381 int size = m_textureWidth * m_textureHeight * m_components; in load()
452 m_textureWidth, m_textureHeight, 0, in bind()
[all …]
H A DNodePixelTexture.h103 int m_textureWidth; variable
H A DNodeImageTexture.h129 int m_textureWidth; variable
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/
H A DTextureGL.cpp96 if (m_textureWidth > maxSize) in LoadToGPU()
98 …mage width %d too big to fit into single texture unit, truncating to %u", m_textureWidth, maxSize); in LoadToGPU()
100 glPixelStorei(GL_UNPACK_ROW_LENGTH, m_textureWidth); in LoadToGPU()
102 m_textureWidth = maxSize; in LoadToGPU()
133 m_textureWidth, m_textureHeight, 0, in LoadToGPU()
139 m_textureWidth, m_textureHeight, 0, in LoadToGPU()
193 glTexImage2D(GL_TEXTURE_2D, 0, internalformat, m_textureWidth, m_textureHeight, 0, in LoadToGPU()
H A DTexture.cpp51 m_textureWidth = m_imageWidth; in Allocate()
57 m_textureWidth += GetBlockSize(); in Allocate()
62 m_textureWidth = PadPow2(m_textureWidth); in Allocate()
69 m_textureWidth = ((m_textureWidth + 3) / 4) * 4; in Allocate()
84 m_textureWidth = ((m_textureWidth + 15) / 16) * 16; in Allocate()
89 CLAMP(m_textureWidth, CServiceBroker::GetRenderSystem()->GetMaxTextureSize()); in Allocate()
91 CLAMP(m_imageWidth, m_textureWidth); in Allocate()
128 unsigned int dstPitch = GetPitch(m_textureWidth); in Update()
157 unsigned int texturePitch = GetPitch(m_textureWidth); in ClampToEdge()
H A DTextureDX.cpp31 m_texture.Create(m_textureWidth, m_textureHeight, 1, D3D11_USAGE_DEFAULT, GetFormat()); in CreateTextureObject()
86 …m_texture.Create(m_textureWidth, m_textureHeight, IsMipmapped() ? 0 : 1, usage, GetFormat(), m_pix… in LoadToGPU()
91 m_texture.Create(m_textureWidth, m_textureHeight, IsMipmapped() ? 0 : 1, usage, GetFormat()); in LoadToGPU()
95 …XTexture::CDXTexture: Error creating new texture for size %d x %d.", m_textureWidth, m_textureHeig… in LoadToGPU()
112 …m_texture.Create(m_textureWidth, m_textureHeight, IsMipmapped() ? 0 : 1, usage, GetFormat(), m_pix… in LoadToGPU()
115 …XTexture::CDXTexture: Error creating new texture for size %d x %d.", m_textureWidth, m_textureHeig… in LoadToGPU()
H A DTexture.h88 unsigned int GetPitch() const { return GetPitch(m_textureWidth); } in GetPitch()
90 unsigned int GetTextureWidth() const { return m_textureWidth; } in GetTextureWidth()
125 unsigned int m_textureWidth; variable
H A DGUIFontTTF.cpp171 m_textureHeight = m_textureWidth = 0; in CGUIFontTTF()
212 m_posX = m_textureWidth; in ClearCharacterCache()
314 m_textureWidth = ((m_cellHeight * CHARS_PER_TEXTURE_LINE) & ~63) + 64; in Load()
316 m_textureWidth = CTexture::PadPow2(m_textureWidth); in Load()
318 if (m_textureWidth > m_renderSystem->GetMaxTextureSize()) in Load()
319 m_textureWidth = m_renderSystem->GetMaxTextureSize(); in Load()
320 m_textureScaleX = 1.0f / m_textureWidth; in Load()
323 m_posX = m_textureWidth; in Load()
748 if (static_cast<int>(m_posX + bitGlyph->left + bitmap.width) > static_cast<int>(m_textureWidth)) in CacheCharacter()
802 unsigned int x2 = std::min(x1 + bitmap.width, m_textureWidth); in CacheCharacter()
H A DGUIFontTTFDX.cpp226 assert(m_textureWidth != 0); in ReallocTexture()
237 CDXTexture* pNewTexture = new CDXTexture(m_textureWidth, newHeight, XB_FMT_A8); in ReallocTexture()
239 …if (!newSpeedupTexture->Create(m_textureWidth, newHeight, 1, D3D11_USAGE_DEFAULT, DXGI_FORMAT_R8_U… in ReallocTexture()
249 CD3D11_BOX rect(0, 0, 0, m_textureWidth, m_textureHeight, 1); in ReallocTexture()
H A DGUIFontTTFGL.cpp331 CTexture* newTexture = CTexture::CreateTexture(m_textureWidth, newHeight, XB_FMT_A8); in ReallocTexture()
341 m_textureWidth = newTexture->GetWidth(); in ReallocTexture()
342 m_textureScaleX = 1.0f / m_textureWidth; in ReallocTexture()
/dports/x11-toolkits/qt5-datavis3d/kde-qtdatavis3d-5.15.2p2/src/datavisualization/data/
H A Dqcustom3dvolume.cpp314 if (dptr()->m_textureWidth != value) { in setTextureWidth()
315 dptr()->m_textureWidth = value; in setTextureWidth()
327 return dptrc()->m_textureWidth; in textureWidth()
413 int dataWidth = dptrc()->m_textureWidth; in textureDataWidth()
1158 m_textureWidth(0), in QCustom3DVolumePrivate()
1188 m_textureWidth(textureWidth), in QCustom3DVolumePrivate()
1210 if (m_textureWidth < 0) in QCustom3DVolumePrivate()
1211 m_textureWidth = 0; in QCustom3DVolumePrivate()
1248 if (index >= m_textureWidth) in renderSlice()
1255 x = m_textureWidth; in renderSlice()
[all …]
H A Dcustomrenderitem_p.h95 … inline void setTextureWidth(int width) { m_textureWidth = width; setSliceIndexX(m_sliceIndexX); } in setTextureWidth()
96 inline int textureWidth() const { return m_textureWidth; } in textureWidth()
101 inline int textureSize() const { return m_textureWidth * m_textureHeight * m_textureDepth; } in textureSize()
112 m_sliceFractions.setX((float(index) + 0.5f) / float(m_textureWidth) * 2.0 - 1.0); in setSliceIndexX()
175 int m_textureWidth; variable
H A Dqcustom3dvolume_p.h87 int m_textureWidth;
H A Dcustomrenderitem.cpp49 m_textureWidth(0), in CustomRenderItem()
/dports/devel/bullet/bullet3-3.21/examples/Importers/ImportMeshUtility/
H A Db3ImportMeshUtility.h18 int m_textureWidth; member
28 m_textureWidth(0), in b3ImportMeshData()
H A Db3ImportMeshUtility.cpp55 meshData.m_textureWidth = 0; in loadAndRegisterMeshFromFileInternal()
119 meshData.m_textureWidth = width; in loadAndRegisterMeshFromFileInternal()
158 meshData.m_textureWidth = width; in loadAndRegisterMeshFromFileInternal()
/dports/devel/py-bullet3/bullet3-3.21/examples/Importers/ImportMeshUtility/
H A Db3ImportMeshUtility.h18 int m_textureWidth; member
28 m_textureWidth(0), in b3ImportMeshData()
H A Db3ImportMeshUtility.cpp55 meshData.m_textureWidth = 0; in loadAndRegisterMeshFromFileInternal()
119 meshData.m_textureWidth = width; in loadAndRegisterMeshFromFileInternal()
158 meshData.m_textureWidth = width; in loadAndRegisterMeshFromFileInternal()
/dports/graphics/aseprite/aseprite-1.2.9/src/app/
H A Ddoc_exporter.h49 int textureWidth() const { return m_textureWidth; } in textureWidth()
64 void setTextureWidth(int width) { m_textureWidth = width; } in setTextureWidth()
129 int m_textureWidth; variable
H A Ddoc_exporter.cpp398 , m_textureWidth(0) in DocExporter()
607 m_textureWidth, m_textureHeight); in layoutSamples()
614 m_textureWidth, m_textureHeight); in layoutSamples()
622 gfx::Rect fullTextureBounds(0, 0, m_textureWidth, m_textureHeight); in calculateSheetSize()
635 if (m_textureWidth > 0) sampleBounds.w += m_borderPadding; in calculateSheetSize()
644 if (m_textureWidth == 0) fullTextureBounds.w += m_borderPadding; in calculateSheetSize()
/dports/devel/bullet/bullet3-3.21/examples/Importers/ImportObjDemo/
H A DImportObjExample.cpp67 …textureIndex = renderer->registerTexture(meshData.m_textureImage1, meshData.m_textureWidth, meshDa… in loadAndRegisterMeshFromFile2()
/dports/devel/py-bullet3/bullet3-3.21/examples/Importers/ImportObjDemo/
H A DImportObjExample.cpp67 …textureIndex = renderer->registerTexture(meshData.m_textureImage1, meshData.m_textureWidth, meshDa… in loadAndRegisterMeshFromFile2()
/dports/x11-toolkits/qt5-quickcontrols/kde-qtquickcontrols-5.15.2p3/src/controls/Private/
H A Dqquickstyleitem_p.h199 int textureWidth() const { return m_textureWidth; } in textureWidth()
289 int m_textureWidth; variable
/dports/x11-themes/kf5-qqc2-desktop-style/qqc2-desktop-style-5.89.0/plugin/
H A Dkquickstyleitem_p.h382 return m_textureWidth; in textureWidth()
499 int m_textureWidth; variable

12