Home
last modified time | relevance | path

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

/dports/games/openbve/OpenBVE-1.8.2.1/source/RouteManager2/MessageManager/MessageTypes/
H A DTextureMessage.cs26 private int currentTexture; field in RouteManager2.MessageManager.MessageTypes.TextureMessage
51 currentTexture = 0; in AddMessage()
57 currentTexture = 2; in AddMessage()
63 currentTexture = 1; in AddMessage()
71 switch (currentTexture) in Update()
/dports/devel/raylib/raylib-3.7.0/examples/textures/
H A Dtextures_image_generation.c52 int currentTexture = 0; in main() local
64 currentTexture = (currentTexture + 1)%NUM_TEXTURES; // Cycle between the textures in main()
74 DrawTexture(textures[currentTexture], 0, 0, WHITE); in main()
80 switch(currentTexture) in main()
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/Renderer/
H A DTexturedIndexArrayMap.cpp55 const Texture* currentTexture = m_current->first; in isCurrent() local
56 if (cmp(texture, currentTexture) || cmp(currentTexture, texture)) in isCurrent()
119 const Texture* currentTexture = m_current->first; in isCurrent() local
120 if (cmp(texture, currentTexture) || cmp(currentTexture, texture)) in isCurrent()
H A DTexturedIndexRangeMap.cpp48 const Texture* currentTexture = m_current->first; in isCurrent() local
49 if (cmp(texture, currentTexture) || cmp(currentTexture, texture)) in isCurrent()
121 const Texture* currentTexture = m_current->first; in isCurrent() local
122 if (cmp(texture, currentTexture) || cmp(currentTexture, texture)) in isCurrent()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/wr/
H A DWebRenderUserData.cpp185 RefPtr<TextureClient> currentTexture = imageClient->GetForwardedTexture(); in UpdateImageKey() local
186 if (!ret || !currentTexture) { in UpdateImageKey()
200 bool useUpdate = mKey.isSome() && !!mTextureOfImage && !!currentTexture && in UpdateImageKey()
201 mTextureOfImage->GetSize() == currentTexture->GetSize() && in UpdateImageKey()
202 mTextureOfImage->GetFormat() == currentTexture->GetFormat(); in UpdateImageKey()
204 wr::MaybeExternalImageId extId = currentTexture->GetExternalImageKey(); in UpdateImageKey()
211 extId.ref(), mKey.ref(), currentTexture, /* aIsUpdate */ true); in UpdateImageKey()
215 aResources.PushExternalImageForTexture(extId.ref(), key, currentTexture, in UpdateImageKey()
220 mTextureOfImage = currentTexture; in UpdateImageKey()
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/wr/
H A DWebRenderUserData.cpp186 RefPtr<TextureClient> currentTexture = imageClient->GetForwardedTexture(); in UpdateImageKey() local
187 if (!ret || !currentTexture) { in UpdateImageKey()
201 bool useUpdate = mKey.isSome() && !!mTextureOfImage && !!currentTexture && in UpdateImageKey()
202 mTextureOfImage->GetSize() == currentTexture->GetSize() && in UpdateImageKey()
203 mTextureOfImage->GetFormat() == currentTexture->GetFormat(); in UpdateImageKey()
205 wr::MaybeExternalImageId extId = currentTexture->GetExternalImageKey(); in UpdateImageKey()
212 extId.ref(), mKey.ref(), currentTexture, /* aIsUpdate */ true); in UpdateImageKey()
216 aResources.PushExternalImageForTexture(extId.ref(), key, currentTexture, in UpdateImageKey()
221 mTextureOfImage = currentTexture; in UpdateImageKey()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/wr/
H A DWebRenderUserData.cpp186 RefPtr<TextureClient> currentTexture = imageClient->GetForwardedTexture(); in UpdateImageKey() local
187 if (!ret || !currentTexture) { in UpdateImageKey()
201 bool useUpdate = mKey.isSome() && !!mTextureOfImage && !!currentTexture && in UpdateImageKey()
202 mTextureOfImage->GetSize() == currentTexture->GetSize() && in UpdateImageKey()
203 mTextureOfImage->GetFormat() == currentTexture->GetFormat(); in UpdateImageKey()
205 wr::MaybeExternalImageId extId = currentTexture->GetExternalImageKey(); in UpdateImageKey()
212 extId.ref(), mKey.ref(), currentTexture, /* aIsUpdate */ true); in UpdateImageKey()
216 aResources.PushExternalImageForTexture(extId.ref(), key, currentTexture, in UpdateImageKey()
221 mTextureOfImage = currentTexture; in UpdateImageKey()
/dports/www/firefox/firefox-99.0/gfx/layers/wr/
H A DWebRenderUserData.cpp150 RefPtr<TextureClient> currentTexture = imageClient->GetForwardedTexture(); in UpdateImageKey() local
151 if (!ret || !currentTexture) { in UpdateImageKey()
165 bool useUpdate = mKey.isSome() && !!mTextureOfImage && !!currentTexture && in UpdateImageKey()
166 mTextureOfImage->GetSize() == currentTexture->GetSize() && in UpdateImageKey()
167 mTextureOfImage->GetFormat() == currentTexture->GetFormat(); in UpdateImageKey()
169 wr::MaybeExternalImageId extId = currentTexture->GetExternalImageKey(); in UpdateImageKey()
176 extId.ref(), mKey.ref(), currentTexture, /* aIsUpdate */ true); in UpdateImageKey()
180 aResources.PushExternalImageForTexture(extId.ref(), key, currentTexture, in UpdateImageKey()
185 mTextureOfImage = currentTexture; in UpdateImageKey()
/dports/games/meandmyshadow/meandmyshadow-0.5a/src/
H A DGUIListBox.cpp221 const SharedTexture& currentTexture = images.at(currentItem); in render() local
222 lowNumber-=tHeight(currentTexture);//->h; in render()
228 … drawGUIBox(x,y+lowNumber-1,width,tHeight(currentTexture)+1,renderer,0x00000000); in render()
232 … drawGUIBox(x,y+lowNumber-1,width,tHeight(currentTexture)+1,renderer,0xDDDDDDFF); in render()
235 applyTexture(x,y+lowNumber,*currentTexture,renderer); in render()
241 … drawGUIBox(x,y,width,tHeight(currentTexture)+lowNumber+1,renderer,0x00000000); in render()
245 … drawGUIBox(x,y,width,tHeight(currentTexture)+lowNumber+1,renderer,0xDDDDDDFF); in render()
250 …const SDL_Rect clip{ 0, -lowNumber, textureWidth(*currentTexture), textureHeight(*currentTexture) … in render()
252 if (clip.w > 0 && clip.h > 0) SDL_RenderCopy(&renderer, currentTexture.get(), &clip, &dstRect); in render()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/Inventor/
H A DConvertFromInventor.h164 const SoNode* currentTexture; variable
190 currentTexture(NULL), in flags()
206 inheritedTexture(i.currentTexture), in IvStateItem()
207 currentTexture(i.currentTexture), in IvStateItem()
H A DConvertFromInventor.cpp534 newTop.currentTexture = ivState.currentTexture; in ivPopState()
1353 thisPtr->ivStateStack.top().currentTexture = NULL; in postTexture()
1366 thisPtr->ivStateStack.top().currentTexture = node; in postTexture()
1368 thisPtr->ivStateStack.top().currentTexture = NULL; in postTexture()
1638 const SoNode *ivTexture = ivState.currentTexture; in getStateSet()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/Inventor/
H A DConvertFromInventor.h166 const SoNode* currentTexture; variable
192 currentTexture(NULL), in flags()
208 inheritedTexture(i.currentTexture), in IvStateItem()
209 currentTexture(i.currentTexture), in IvStateItem()
H A DConvertFromInventor.cpp534 newTop.currentTexture = ivState.currentTexture; in ivPopState()
1353 thisPtr->ivStateStack.top().currentTexture = NULL; in postTexture()
1366 thisPtr->ivStateStack.top().currentTexture = node; in postTexture()
1368 thisPtr->ivStateStack.top().currentTexture = NULL; in postTexture()
1637 const SoNode *ivTexture = ivState.currentTexture; in getStateSet()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/
H A Dhw_batching.c229 GLMipmap_t *currentTexture; in HWR_RenderBatches() local
278 currentTexture = polygonArray[polygonIndexArray[0]].texture; in HWR_RenderBatches()
292 currentTexture = NULL; in HWR_RenderBatches()
294 HWD.pfnSetTexture(currentTexture); in HWR_RenderBatches()
373 if (currentTexture != nextTexture) in HWR_RenderBatches()
435 currentTexture = nextTexture; in HWR_RenderBatches()
/dports/graphics/opendx/dx-4.4.4/src/exec/hwrender/gl/
H A DhwPortGL.h44 int currentTexture; member
61 #define CURTEX (((tdmGLctx)_portContext)->currentTexture)
/dports/graphics/opendx/dx-4.4.4/src/exec/hwrender/opengl/
H A DhwPortOGL.h68 int currentTexture; member
91 #define CURTEX (((tdmOGLctx)_portContext)->currentTexture)
114 int currentTexture; member
137 #define CURTEX (((tdmOGLctx)_portContext)->currentTexture)
/dports/x11-wm/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8/src/cubemodel/
H A DloadModel.c1627 CompTexture *currentTexture = NULL; in cubemodelDrawVBOModel() local
1728 if (!currentTexture || in cubemodelDrawVBOModel()
1732 if (currentTexture) in cubemodelDrawVBOModel()
1733 disableTexture (s, currentTexture); in cubemodelDrawVBOModel()
1736 if (currentTexture) in cubemodelDrawVBOModel()
1738 glEnable (currentTexture->target); in cubemodelDrawVBOModel()
1739 enableTexture (s, currentTexture, in cubemodelDrawVBOModel()
1781 if (currentTexture) in cubemodelDrawVBOModel()
1785 if (currentTexture) in cubemodelDrawVBOModel()
1818 if (currentTexture) in cubemodelDrawVBOModel()
[all …]
/dports/games/scorched3d/scorched/src/client/sprites/
H A DExplosionTextures.cpp188 XMLNode *currentTexture = (*textureItor); in createTextures() local
189 if (strcmp(currentTexture->getName(), "texture")) in createTextures()
198 S3D::formatStringBuffer("data/%s", currentTexture->getContent()); in createTextures()
/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/
H A D3dsmesh.cpp97 ResourceHandle currentTexture = InvalidResource; in render() local
147 if (currentTexture != texture) in render()
155 if (currentTexture == InvalidResource) in render()
161 currentTexture = texture; in render()
/dports/astro/celestia/celestia-1.6.1/src/celengine/
H A D3dsmesh.cpp97 ResourceHandle currentTexture = InvalidResource; in render() local
147 if (currentTexture != texture) in render()
155 if (currentTexture == InvalidResource) in render()
161 currentTexture = texture; in render()
/dports/x11-toolkits/plib/plib-1.8.5/src/ssg/
H A DssgLoadIV.cxx374 ssgTexture *currentTexture = currentOptions -> createTexture ( fileName, wrapU, wrapV ); in iv_parseTexture2() local
375 currentData->setTexture( currentTexture ); in iv_parseTexture2()
H A DssgLoadVRML1.cxx616 ssgTexture *currentTexture = currentOptions -> createTexture ( fileName, wrapU, wrapV ); in vrml1_parseTexture2() local
617 currentData->setTexture( currentTexture ); in vrml1_parseTexture2()
/dports/games/keeperrl/keeperrl-alpha23/
H A Drenderer.cpp260 SDL::glBindTexture(GL_TEXTURE_2D, *currentTexture); in renderDeferredSprites()
291 if (currentTexture && currentTexture != *t.texId) in drawSprite()
293 currentTexture = *t.texId; in drawSprite()
H A Drenderer.h235 optional<SDL::GLuint> currentTexture; variable
/dports/games/lincity-ng/lincity-ng-2.0/src/lincity-ng/
H A DGameView.cpp355 Texture* currentTexture; in readTexture() local
357 currentTexture = texture_manager->load(nfilename); in readTexture()
362 return currentTexture; in readTexture()