/dports/games/openmw/openmw-openmw-0.47.0/components/myguiplatform/ |
H A D | myguitexture.cpp | 26 , mTexture(texture) in OSGTexture() 65 mTexture = new osg::Texture2D(); in createManual() 66 mTexture->setTextureSize(width, height); in createManual() 67 mTexture->setSourceFormat(glfmt); in createManual() 85 mTexture = nullptr; in destroy() 99 mTexture = new osg::Texture2D(image); in loadFromFile() 102 mTexture->setTextureWidth(image->s()); in loadFromFile() 120 if (!mTexture.valid()) in lock() 127 mTexture->getTextureWidth(), mTexture->getTextureHeight(), mTexture->getTextureDepth(), in lock() 128 mTexture->getSourceFormat(), mTexture->getSourceType() in lock() [all …]
|
/dports/devel/guichan/guichan-0.8.2/src/hge/ |
H A D | hgeimage.cpp | 57 : mTexture(texture), in HGEImage() 81 mHGE->Texture_Free(mTexture); in free() 91 return mHGE->Texture_GetWidth(mTexture, true); in getWidth() 96 return mHGE->Texture_GetHeight(mTexture, true); in getHeight() 101 DWORD *pLockPtr = mHGE->Texture_Lock(mTexture); in getPixel() 110 mHGE->Texture_Unlock(mTexture); in getPixel() 131 mHGE->Texture_Unlock(mTexture); in putPixel() 136 DWORD *pLockPtr = mHGE->Texture_Lock(mTexture); in convertToDisplayFormat() 145 mHGE->Texture_GetHeight(mTexture, true); in convertToDisplayFormat() 158 mHGE->Texture_Unlock(mTexture); in convertToDisplayFormat() [all …]
|
/dports/devel/fifechan/fifechan-0.1.5/src/hge/ |
H A D | hgeimage.cpp | 78 : mTexture(texture), in HGEImage() 102 mHGE->Texture_Free(mTexture); in free() 112 return mHGE->Texture_GetWidth(mTexture, true); in getWidth() 117 return mHGE->Texture_GetHeight(mTexture, true); in getHeight() 122 DWORD *pLockPtr = mHGE->Texture_Lock(mTexture); in getPixel() 131 mHGE->Texture_Unlock(mTexture); in getPixel() 152 mHGE->Texture_Unlock(mTexture); in putPixel() 157 DWORD *pLockPtr = mHGE->Texture_Lock(mTexture); in convertToDisplayFormat() 166 mHGE->Texture_GetHeight(mTexture, true); in convertToDisplayFormat() 179 mHGE->Texture_Unlock(mTexture); in convertToDisplayFormat() [all …]
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/src/ |
H A D | MyGUI_OgreTexture.cpp | 47 …img = img.loadDynamicImage(readrefdata, mTexture->getWidth(), mTexture->getHeight(), mTexture->get… in saveToFile() 72 if (!mTexture.isNull()) in destroy() 75 mTexture.setNull(); in destroy() 81 return (int)mTexture->getWidth(); in getWidth() 86 return (int)mTexture->getHeight(); in getHeight() 105 …mTmpData = Ogre::PixelBox(mTexture->getWidth(), mTexture->getHeight(), mTexture->getDepth(), mText… in lock() 115 if (mTexture->getBuffer()->isLocked()) in unlock() 117 mTexture->getBuffer()->unlock(); in unlock() 221 mTexture->load(); in createManual() 257 if (!mTexture.isNull()) in setFormatByOgreTexture() [all …]
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/src/ |
H A D | MyGUI_OgreTexture.cpp | 47 …img = img.loadDynamicImage(readrefdata, mTexture->getWidth(), mTexture->getHeight(), mTexture->get… in saveToFile() 72 if (!mTexture.isNull()) in destroy() 75 mTexture.setNull(); in destroy() 81 return (int)mTexture->getWidth(); in getWidth() 86 return (int)mTexture->getHeight(); in getHeight() 105 …mTmpData = Ogre::PixelBox(mTexture->getWidth(), mTexture->getHeight(), mTexture->getDepth(), mText… in lock() 115 if (mTexture->getBuffer()->isLocked()) in unlock() 117 mTexture->getBuffer()->unlock(); in unlock() 221 mTexture->load(); in createManual() 257 if (!mTexture.isNull()) in setFormatByOgreTexture() [all …]
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/src/ |
H A D | MyGUI_OgreTexture.cpp | 47 …img = img.loadDynamicImage(readrefdata, mTexture->getWidth(), mTexture->getHeight(), mTexture->get… in saveToFile() 72 if (!mTexture.isNull()) in destroy() 75 mTexture.setNull(); in destroy() 81 return (int)mTexture->getWidth(); in getWidth() 86 return (int)mTexture->getHeight(); in getHeight() 105 …mTmpData = Ogre::PixelBox(mTexture->getWidth(), mTexture->getHeight(), mTexture->getDepth(), mText… in lock() 115 if (mTexture->getBuffer()->isLocked()) in unlock() 117 mTexture->getBuffer()->unlock(); in unlock() 221 mTexture->load(); in createManual() 257 if (!mTexture.isNull()) in setFormatByOgreTexture() [all …]
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Platforms/Ogre/OgrePlatform/src/ |
H A D | MyGUI_OgreTexture.cpp | 47 …img = img.loadDynamicImage(readrefdata, mTexture->getWidth(), mTexture->getHeight(), mTexture->get… in saveToFile() 72 if (!mTexture.isNull()) in destroy() 75 mTexture.setNull(); in destroy() 81 return (int)mTexture->getWidth(); in getWidth() 86 return (int)mTexture->getHeight(); in getHeight() 105 …mTmpData = Ogre::PixelBox(mTexture->getWidth(), mTexture->getHeight(), mTexture->getDepth(), mText… in lock() 115 if (mTexture->getBuffer()->isLocked()) in unlock() 117 mTexture->getBuffer()->unlock(); in unlock() 221 mTexture->load(); in createManual() 257 if (!mTexture.isNull()) in setFormatByOgreTexture() [all …]
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/MyGUIEngine/src/ |
H A D | MyGUI_Canvas.cpp | 18 mTexture(nullptr), in Canvas() 119 if ( mTexture == nullptr ) in checkCreate() 122 if ( mTexture->getWidth() >= _width && mTexture->getHeight() >= _height ) in checkCreate() 137 if ( mTexture != nullptr ) in validate() 164 if ( mTexture != nullptr ) in _destroyTexture() 172 mTexture = nullptr; in _destroyTexture() 206 mTexture->unlock(); in unlock() 276 return mTexture->isLocked(); in isLocked() 316 return mTexture->getName(); in getTextureName() 331 return mTexture != nullptr; in isTextureCreated() [all …]
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/MyGUIEngine/src/ |
H A D | MyGUI_Canvas.cpp | 18 mTexture(nullptr), in Canvas() 119 if ( mTexture == nullptr ) in checkCreate() 122 if ( mTexture->getWidth() >= _width && mTexture->getHeight() >= _height ) in checkCreate() 137 if ( mTexture != nullptr ) in validate() 164 if ( mTexture != nullptr ) in _destroyTexture() 172 mTexture = nullptr; in _destroyTexture() 206 mTexture->unlock(); in unlock() 276 return mTexture->isLocked(); in isLocked() 316 return mTexture->getName(); in getTextureName() 331 return mTexture != nullptr; in isTextureCreated() [all …]
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/MyGUIEngine/src/ |
H A D | MyGUI_Canvas.cpp | 18 mTexture(nullptr), in Canvas() 119 if ( mTexture == nullptr ) in checkCreate() 122 if ( mTexture->getWidth() >= _width && mTexture->getHeight() >= _height ) in checkCreate() 137 if ( mTexture != nullptr ) in validate() 164 if ( mTexture != nullptr ) in _destroyTexture() 172 mTexture = nullptr; in _destroyTexture() 206 mTexture->unlock(); in unlock() 276 return mTexture->isLocked(); in isLocked() 316 return mTexture->getName(); in getTextureName() 331 return mTexture != nullptr; in isTextureCreated() [all …]
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/MyGUIEngine/src/ |
H A D | MyGUI_Canvas.cpp | 18 mTexture(nullptr), in Canvas() 119 if ( mTexture == nullptr ) in checkCreate() 122 if ( mTexture->getWidth() >= _width && mTexture->getHeight() >= _height ) in checkCreate() 137 if ( mTexture != nullptr ) in validate() 164 if ( mTexture != nullptr ) in _destroyTexture() 172 mTexture = nullptr; in _destroyTexture() 206 mTexture->unlock(); in unlock() 276 return mTexture->isLocked(); in isLocked() 316 return mTexture->getName(); in getTextureName() 331 return mTexture != nullptr; in isTextureCreated() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/ |
H A D | UpdateImageHelper.h | 28 mTexture = mImageClient->GetTextureClientRecycler()->CreateOrRecycle( in UpdateImageHelper() 30 if (!mTexture) { in UpdateImageHelper() 34 mIsLocked = mTexture->Lock(OpenMode::OPEN_WRITE_ONLY); in UpdateImageHelper() 42 mTexture->Unlock(); in ~UpdateImageHelper() 49 if (mTexture) { in GetDrawTarget() 50 target = mTexture->BorrowDrawTarget(); in GetDrawTarget() 56 if (!mTexture) { in UpdateImage() 61 mTexture->Unlock(); in UpdateImage() 66 mTexture, gfx::IntRect(gfx::IntPoint(0, 0), mImageSize)); in UpdateImage() 75 RefPtr<TextureClient> mTexture; variable
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/ |
H A D | UpdateImageHelper.h | 28 mTexture = mImageClient->GetTextureClientRecycler()->CreateOrRecycle( in UpdateImageHelper() 30 if (!mTexture) { in UpdateImageHelper() 34 mIsLocked = mTexture->Lock(OpenMode::OPEN_WRITE_ONLY); in UpdateImageHelper() 42 mTexture->Unlock(); in ~UpdateImageHelper() 49 if (mTexture) { in GetDrawTarget() 50 target = mTexture->BorrowDrawTarget(); in GetDrawTarget() 56 if (!mTexture) { in UpdateImage() 61 mTexture->Unlock(); in UpdateImage() 66 mTexture, gfx::IntRect(gfx::IntPoint(0, 0), mImageSize)); in UpdateImage() 75 RefPtr<TextureClient> mTexture; variable
|
/dports/www/firefox/firefox-99.0/gfx/layers/ |
H A D | UpdateImageHelper.h | 28 mTexture = mImageClient->GetTextureClientRecycler()->CreateOrRecycle( in UpdateImageHelper() 30 if (!mTexture) { in UpdateImageHelper() 34 mIsLocked = mTexture->Lock(OpenMode::OPEN_WRITE_ONLY); in UpdateImageHelper() 42 mTexture->Unlock(); in ~UpdateImageHelper() 49 if (mTexture) { in GetDrawTarget() 50 target = mTexture->BorrowDrawTarget(); in GetDrawTarget() 56 if (!mTexture) { in UpdateImage() 61 mTexture->Unlock(); in UpdateImage() 66 mTexture, gfx::IntRect(gfx::IntPoint(0, 0), mImageSize)); in UpdateImage() 75 RefPtr<TextureClient> mTexture; variable
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/ |
H A D | UpdateImageHelper.h | 28 mTexture = mImageClient->GetTextureClientRecycler()->CreateOrRecycle( in UpdateImageHelper() 30 if (!mTexture) { in UpdateImageHelper() 34 mIsLocked = mTexture->Lock(OpenMode::OPEN_WRITE_ONLY); in UpdateImageHelper() 42 mTexture->Unlock(); in ~UpdateImageHelper() 49 if (mTexture) { in GetDrawTarget() 50 target = mTexture->BorrowDrawTarget(); in GetDrawTarget() 56 if (!mTexture) { in UpdateImage() 61 mTexture->Unlock(); in UpdateImage() 66 mTexture, gfx::IntRect(gfx::IntPoint(0, 0), mImageSize)); in UpdateImage() 75 RefPtr<TextureClient> mTexture; variable
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/ |
H A D | UpdateImageHelper.h | 28 mTexture = mImageClient->GetTextureClientRecycler()->CreateOrRecycle( in UpdateImageHelper() 30 if (!mTexture) { in UpdateImageHelper() 34 mIsLocked = mTexture->Lock(OpenMode::OPEN_WRITE_ONLY); in UpdateImageHelper() 42 mTexture->Unlock(); in ~UpdateImageHelper() 49 if (mTexture) { in GetDrawTarget() 50 target = mTexture->BorrowDrawTarget(); in GetDrawTarget() 56 if (!mTexture) { in UpdateImage() 61 mTexture->Unlock(); in UpdateImage() 66 mTexture, gfx::IntRect(gfx::IntPoint(0, 0), mImageSize)); in UpdateImage() 75 RefPtr<TextureClient> mTexture; variable
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/UnitTests/UnitTest_RTTLayer/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/UnitTests/UnitTest_RTTLayer/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/UnitTests/UnitTest_RTTLayer/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/UnitTests/UnitTest_RTTLayer/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Tools/LayoutEditor/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Tools/LayoutEditor/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Tools/LayoutEditor/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Tools/LayoutEditor/ |
H A D | MyGUI_RTTLayer.cpp | 20 mTexture(nullptr), in RTTLayer() 27 if (mTexture) in ~RTTLayer() 29 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in ~RTTLayer() 30 mTexture = nullptr; in ~RTTLayer() 56 MyGUI::IRenderTarget* target = mTexture->getRenderTarget(); in renderToTarget() 77 if (mTexture) in setTextureSize() 79 MyGUI::RenderManager::getInstance().destroyTexture(mTexture); in setTextureSize() 80 mTexture = nullptr; in setTextureSize() 85 mTexture = MyGUI::RenderManager::getInstance().createTexture(name); in setTextureSize() 86 …mTexture->createManual(mTextureSize.width, mTextureSize.height, MyGUI::TextureUsage::RenderTarget,… in setTextureSize() [all …]
|
/dports/games/openfodder/openfodder-1.6.0/Source/ |
H A D | Surface.cpp | 33 mTexture = 0; in cSurface() 42 SDL_SetTextureBlendMode(mTexture, SDL_BLENDMODE_ADD); in cSurface() 43 SDL_SetTextureAlphaMod(mTexture, 0xFF); in cSurface() 44 SDL_SetTextureColorMod(mTexture, 0xFF, 0xFF, 0xFF); in cSurface() 64 if(mTexture) in ~cSurface() 65 SDL_DestroyTexture( mTexture ); in ~cSurface() 239 if(mTexture) in draw() 274 if (mTexture) in mergeSurfaceBuffer() 299 SDL_DestroyTexture(mTexture); in LoadBitmap() 302 SDL_SetTextureAlphaMod(mTexture, 0xa0); in LoadBitmap() [all …]
|