/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/game/ |
H A D | DecorationTool.cpp | 10 VideoBuffer * newTexture = new VideoBuffer(width, height); in GetIcon() local 20 newTexture->SetPixel(x, y, 0, 255-5*x, 5*x, 255); in GetIcon() 22 newTexture->SetPixel(x, y, Red, Green, Blue, Alpha); in GetIcon() 24 newTexture->SetPixel(x, y, 50, 50, 50, 255); in GetIcon() 34 newTexture->SetPixel(y+5, y-1, reverseRed, reverseGreen, reverseBlue, 255); in GetIcon() 35 newTexture->SetPixel(y+6, y-1, reverseRed, reverseGreen, reverseBlue, 255); in GetIcon() 41 newTexture->AddCharacter(11, 4, '+', Red, Green, Blue, 255); in GetIcon() 43 newTexture->AddCharacter(11, 4, '-', Red, Green, Blue, 255); in GetIcon() 45 newTexture->AddCharacter(11, 3, 'x', Red, Green, Blue, 255); in GetIcon() 47 newTexture->AddCharacter(11, 4, '/', Red, Green, Blue, 255); in GetIcon() [all …]
|
H A D | SampleTool.cpp | 16 VideoBuffer * newTexture = new VideoBuffer(width, height); in GetIcon() local 22 newTexture->SetPixel(x, y, PIXR(pc), PIXG(pc), PIXB(pc), 255); in GetIcon() 25 newTexture->AddCharacter((width/2)-5, (height/2)-5, 0xE066, 255, 255, 255, 255); in GetIcon() 26 newTexture->BlendPixel(10, 9, 100, 180, 255, 255); in GetIcon() 27 newTexture->BlendPixel(11, 8, 100, 180, 255, 255); in GetIcon() 28 newTexture->BlendPixel(12, 7, 100, 180, 255, 255); in GetIcon() 29 return newTexture; in GetIcon()
|
H A D | SignTool.cpp | 239 VideoBuffer * newTexture = new VideoBuffer(width, height); in GetIcon() local 245 newTexture->SetPixel(x, y, PIXR(pc), PIXG(pc), PIXB(pc), 255); in GetIcon() 248 newTexture->AddCharacter((width/2)-5, (height/2)-5, 0xE021, 32, 64, 128, 255); in GetIcon() 249 newTexture->BlendCharacter((width/2)-5, (height/2)-5, 0xE020, 255, 255, 255, 255); in GetIcon() 250 return newTexture; in GetIcon()
|
/dports/games/openmw/openmw-openmw-0.47.0/components/myguiplatform/ |
H A D | myguitexture.cpp | 142 osg::ref_ptr<osg::Texture2D> newTexture = new osg::Texture2D; in unlock() local 143 newTexture->setTextureSize(getWidth(), getHeight()); in unlock() 144 newTexture->setSourceFormat(mTexture->getSourceFormat()); in unlock() 145 newTexture->setSourceType(mTexture->getSourceType()); in unlock() 146 … newTexture->setFilter(osg::Texture::MIN_FILTER, mTexture->getFilter(osg::Texture::MIN_FILTER)); in unlock() 147 … newTexture->setFilter(osg::Texture::MAG_FILTER, mTexture->getFilter(osg::Texture::MAG_FILTER)); in unlock() 148 newTexture->setWrap(osg::Texture::WRAP_S, mTexture->getWrap(osg::Texture::WRAP_S)); in unlock() 149 newTexture->setWrap(osg::Texture::WRAP_T, mTexture->getWrap(osg::Texture::WRAP_T)); in unlock() 150 newTexture->setImage(mLockedImage.get()); in unlock() 153 …newTexture->setUnRefImageDataAfterApply(mUsage.isValue(MyGUI::TextureUsage::Static) ? true : false… in unlock() [all …]
|
/dports/games/astromenace/astromenace-1.4.1/src/core/texture/ |
H A D | texture.cpp | 456 sTexture newTexture{}; in vw_CreateTextureFromMemory() local 457 newTexture.Width = ImageWidth; in vw_CreateTextureFromMemory() 458 newTexture.Height = ImageHeight; in vw_CreateTextureFromMemory() 459 newTexture.Bytes = ImageChanels; in vw_CreateTextureFromMemory() 462 if ((newTexture.Bytes == 4) && !AlphaTex) in vw_CreateTextureFromMemory() 463 RemoveAlpha(PixelsArray, newTexture); in vw_CreateTextureFromMemory() 465 else if ((newTexture.Bytes == 3) && (AlphaTex)) in vw_CreateTextureFromMemory() 475 newTexture.SrcWidth = newTexture.Width; in vw_CreateTextureFromMemory() 476 newTexture.SrcHeight = newTexture.Height; in vw_CreateTextureFromMemory() 480 ResizeToPOT(PixelsArray, newTexture); in vw_CreateTextureFromMemory() [all …]
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/elements/ |
H A D | NONE.cpp | 50 VideoBuffer * newTexture = new VideoBuffer(width, height); in iconGen() local 54 newTexture->SetPixel(j+6, j, 0xFF, 0, 0, 255); in iconGen() 55 newTexture->SetPixel(j+7, j, 0xFF, 0, 0, 255); in iconGen() 56 newTexture->SetPixel(-j+19, j, 0xFF, 0, 0, 255); in iconGen() 57 newTexture->SetPixel(-j+20, j, 0xFF, 0, 0, 255); in iconGen() 60 return newTexture; in iconGen()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 175 MOZ_ASSERT(newTexture); in SetForwarder() 176 if (!newTexture) { in SetForwarder() 185 if (!newTexture->Lock(OpenMode::OPEN_WRITE)) { in SetForwarder() 190 newTexture->Unlock(); in SetForwarder() 197 newTexture->Unlock(); in SetForwarder() 203 if (!mTextures.append(newTexture)) { in SetForwarder() 287 RefPtr<TextureClient> newTexture = TextureClient::CreateForDrawing( in BorrowDrawTarget() local 294 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 295 if (newTexture) { in BorrowDrawTarget() 296 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 185 MOZ_ASSERT(newTexture); in SetKnowsCompositor() 186 if (!newTexture) { in SetKnowsCompositor() 195 if (!newTexture->Lock(OpenMode::OPEN_WRITE)) { in SetKnowsCompositor() 200 newTexture->Unlock(); in SetKnowsCompositor() 208 newTexture->Unlock(); in SetKnowsCompositor() 214 if (!mTextures.append(newTexture)) { in SetKnowsCompositor() 311 RefPtr<TextureClient> newTexture = TextureClient::CreateForDrawing( in BorrowDrawTarget() local 316 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 317 if (newTexture) { in BorrowDrawTarget() 318 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 223 MOZ_ASSERT(newTexture); in SetKnowsCompositor() 224 if (!newTexture) { in SetKnowsCompositor() 233 if (!newTexture->Lock(OpenMode::OPEN_WRITE)) { in SetKnowsCompositor() 238 newTexture->Unlock(); in SetKnowsCompositor() 246 newTexture->Unlock(); in SetKnowsCompositor() 252 if (!mTextures.append(newTexture)) { in SetKnowsCompositor() 354 RefPtr<TextureClient> newTexture = TextureClient::CreateForDrawing( in BorrowDrawTarget() local 359 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 360 if (newTexture) { in BorrowDrawTarget() 361 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 223 MOZ_ASSERT(newTexture); in SetKnowsCompositor() 224 if (!newTexture) { in SetKnowsCompositor() 233 if (!newTexture->Lock(OpenMode::OPEN_WRITE)) { in SetKnowsCompositor() 238 newTexture->Unlock(); in SetKnowsCompositor() 246 newTexture->Unlock(); in SetKnowsCompositor() 252 if (!mTextures.append(newTexture)) { in SetKnowsCompositor() 354 RefPtr<TextureClient> newTexture = TextureClient::CreateForDrawing( in BorrowDrawTarget() local 359 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 360 if (newTexture) { in BorrowDrawTarget() 361 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 223 MOZ_ASSERT(newTexture); in SetKnowsCompositor() 224 if (!newTexture) { in SetKnowsCompositor() 233 if (!newTexture->Lock(OpenMode::OPEN_WRITE)) { in SetKnowsCompositor() 238 newTexture->Unlock(); in SetKnowsCompositor() 246 newTexture->Unlock(); in SetKnowsCompositor() 252 if (!mTextures.append(newTexture)) { in SetKnowsCompositor() 354 RefPtr<TextureClient> newTexture = TextureClient::CreateForDrawing( in BorrowDrawTarget() local 359 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 360 if (newTexture) { in BorrowDrawTarget() 361 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/data/ |
H A D | TextureContainer.cpp | 251 TextureContainer * newTexture = Find(name); in Load() local 252 if(newTexture) { in Load() 254 return newTexture; in Load() 259 if(!newTexture) { in Load() 263 newTexture->systemflags = flags; in Load() 266 newTexture->systemflags &= ~Level; in Load() 270 if(!newTexture->LoadFile(name)) { in Load() 271 delete newTexture; in Load() 276 newTexture->LookForRefinementMap(flags); in Load() 279 MakeUserFlag(newTexture); in Load() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/layers/ |
H A D | PersistentBufferProvider.cpp | 246 RefPtr<TextureClient> newTexture = in SetKnowsCompositor() local 249 MOZ_ASSERT(newTexture); in SetKnowsCompositor() 250 if (!newTexture) { in SetKnowsCompositor() 264 newTexture->Unlock(); in SetKnowsCompositor() 272 newTexture->Unlock(); in SetKnowsCompositor() 278 if (!mTextures.append(newTexture)) { in SetKnowsCompositor() 376 RefPtr<TextureClient> newTexture = in BorrowDrawTarget() local 379 MOZ_ASSERT(newTexture); in BorrowDrawTarget() 380 if (newTexture) { in BorrowDrawTarget() 381 if (mTextures.append(newTexture)) { in BorrowDrawTarget() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/ |
H A D | GUIFontTTFGL.cpp | 331 CTexture* newTexture = CTexture::CreateTexture(m_textureWidth, newHeight, XB_FMT_A8); in ReallocTexture() local 333 if (!newTexture || newTexture->GetPixels() == NULL) in ReallocTexture() 336 delete newTexture; in ReallocTexture() 339 m_textureHeight = newTexture->GetHeight(); in ReallocTexture() 341 m_textureWidth = newTexture->GetWidth(); in ReallocTexture() 348 memset(newTexture->GetPixels(), 0, m_textureHeight * newTexture->GetPitch()); in ReallocTexture() 355 unsigned char* dst = newTexture->GetPixels(); in ReallocTexture() 360 dst += newTexture->GetPitch(); in ReallocTexture() 367 return newTexture; in ReallocTexture()
|
/dports/games/freeminer/freeminer-0.4.10.4/build/android/ |
H A D | irrlicht-texturehack.patch | 8 - if (!newTexture) 17 - if (!level && newTexture) 37 + if (!newTexture) 54 + if (!level && newTexture) 94 - if (newTexture) 115 + if (newTexture) 141 - if (!level && newTexture) 194 + if (!level && newTexture) 238 if (newTexture)
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/src/render/ |
H A D | lumobj.cpp | 175 Lumobj &Lumobj::setLightmap(LightmapSemantic semantic, ClientTexture *newTexture) in setLightmap() argument 179 case Side: d->sideTex = newTexture; break; in setLightmap() 180 case Down: d->downTex = newTexture; break; in setLightmap() 181 case Up: d->upTex = newTexture; break; in setLightmap() 202 Lumobj &Lumobj::setFlareTexture(DGLuint newTexture) in setFlareTexture() argument 204 d->flareTex = newTexture; in setFlareTexture()
|
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/model/ |
H A D | model.cxx | 165 Texture2D* newTexture = static_cast<Texture2D*>(copyOp(texture)); in textureReplace() local 166 if (!newTexture) in textureReplace() 169 newTexture->setImage(newImage); in textureReplace() 176 newTexture->setMaxAnisotropy(SGSceneFeatures::instance()->getTextureFilter()); in textureReplace() 179 return newTexture; in textureReplace() 195 Texture2D* newTexture = textureReplace(i, attr); in cloneStateSet() local 196 if (newTexture) in cloneStateSet() 197 newTextures.push_back(Tex2D(i, newTexture)); in cloneStateSet()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/libANGLE/ |
H A D | ResourceManager_unittest.cpp | 45 GLuint newTexture = mResourceManager->createTexture(); in TEST_F() local 46 EXPECT_NE(1u, newTexture); in TEST_F()
|
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/com/jogamp/opengl/util/texture/awt/ |
H A D | AWTTextureIO.java | 115 …public static Texture newTexture(final GLProfile glp, final BufferedImage image, final boolean mip… in newTexture() method in AWTTextureIO 117 final Texture texture = newTexture(data); in newTexture()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/libANGLE/ |
H A D | ResourceManager_unittest.cpp | 51 TextureID newTexture = mTextureManager->createTexture(); in TEST_F() local 52 EXPECT_NE(1u, newTexture.value); in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/libANGLE/ |
H A D | ResourceManager_unittest.cpp | 51 TextureID newTexture = mTextureManager->createTexture(); in TEST_F() local 52 EXPECT_NE(1u, newTexture.value); in TEST_F()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/render/ |
H A D | lumobj.h | 207 Lumobj &setLightmap(LightmapSemantic semantic, ClientTexture *newTexture); 231 Lumobj &setFlareTexture(DGLuint newTexture);
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/libdoomsday/src/resource/ |
H A D | texturemanifest.cpp | 224 void TextureManifest::setTexture(Texture *newTexture) in setTexture() argument 226 if (d->texture.get() != newTexture) in setTexture() 234 d->texture.reset(newTexture); in setTexture()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Image11.cpp | 513 ID3D11Texture3D *newTexture = NULL; in createStagingTexture() local 535 result = device->CreateTexture3D(&desc, initialData.data(), &newTexture); in createStagingTexture() 539 result = device->CreateTexture3D(&desc, NULL, &newTexture); in createStagingTexture() 549 mStagingTexture = newTexture; in createStagingTexture() 555 ID3D11Texture2D *newTexture = NULL; in createStagingTexture() local 579 result = device->CreateTexture2D(&desc, initialData.data(), &newTexture); in createStagingTexture() 583 result = device->CreateTexture2D(&desc, NULL, &newTexture); in createStagingTexture() 593 mStagingTexture = newTexture; in createStagingTexture()
|
/dports/graphics/jogl/jogl-1.1.1_9/jogl/src/classes/com/sun/opengl/util/texture/ |
H A D | TextureIO.java | 441 public static Texture newTexture(TextureData data) throws GLException, IllegalArgumentException { in newTexture() method in TextureIO 463 public static Texture newTexture(File file, boolean mipmap) throws IOException, GLException { in newTexture() method in TextureIO 465 Texture texture = newTexture(data); in newTexture() 490 …public static Texture newTexture(InputStream stream, boolean mipmap, String fileSuffix) throws IOE… in newTexture() method in TextureIO 492 Texture texture = newTexture(data); in newTexture() 517 …public static Texture newTexture(URL url, boolean mipmap, String fileSuffix) throws IOException, G… in newTexture() method in TextureIO 522 Texture texture = newTexture(data); in newTexture() 537 public static Texture newTexture(BufferedImage image, boolean mipmap) throws GLException { in newTexture() method in TextureIO 539 Texture texture = newTexture(data); in newTexture() 556 public static Texture newTexture(int target) throws GLException { in newTexture() method in TextureIO
|