/dports/games/pioneer/pioneer-20210723/src/graphics/opengl/ |
H A D | RenderTargetGL.cpp | 40 GLuint texId = 0; in SetCubeFaceTexture() local 41 if (t) texId = static_cast<TextureGL *>(t)->GetTextureID(); in SetCubeFaceTexture() 42 …erTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, texId, 0); in SetCubeFaceTexture() 52 GLuint texId = 0; in SetColorTexture() local 53 if (t) texId = static_cast<TextureGL *>(t)->GetTextureID(); in SetColorTexture() 55 GetDesc().numSamples ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D, texId, 0); in SetColorTexture() 67 GLuint texId = 0; in SetDepthTexture() local 68 if (t) texId = static_cast<TextureGL *>(t)->GetTextureID(); in SetDepthTexture() 70 GetDesc().numSamples ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D, texId, 0); in SetDepthTexture()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/ |
H A D | textureutils.cpp | 115 const std::string &texId = sl->getImageId(fid); in getTextureData() local 119 TTexturesStorage::instance()->getTextureData(texId)); in getTextureData() 135 return TTexturesStorage::instance()->loadTexture(texId, ras, geom); in getTextureData() 142 const std::string &texId = sl->getImageId(fid); in invalidateTexture() local 143 TTexturesStorage::instance()->unloadTexture(texId); in invalidateTexture() 173 const std::string &texId = ::getImageId(xsh, frame); in getTextureData() local 176 TTexturesStorage::instance()->getTextureData(texId)); in getTextureData() 210 return TTexturesStorage::instance()->loadTexture(texId, tex, bbox); in getTextureData() 216 const std::string &texId = ::getImageId(xsh, frame); in invalidateTexture() local 217 TTexturesStorage::instance()->unloadTexture(texId); in invalidateTexture()
|
/dports/misc/mnn/MNN-1.2.0/source/backend/opengl/ |
H A D | GLROIPooling.cpp | 45 int texId = 0; in onExecute() local 46 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 47 glUniform1i(0, texId); in onExecute() 53 int texId = 1; in onExecute() local 54 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 55 glUniform1i(2, texId); in onExecute()
|
H A D | GLRelu.cpp | 69 int texId = 0; in onExecute() local 70 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 71 glUniform1i(1, texId); in onExecute() 83 int texId = 0; in onExecute() local 84 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 85 glUniform1i(1, texId); in onExecute()
|
H A D | GLBinary.cpp | 78 int texId = 0; in onExecute() local 79 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 80 glUniform1i(1, texId); in onExecute() 85 int texId = 1; in onExecute() local 86 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 87 glUniform1i(2, texId); in onExecute()
|
H A D | GLConvolutionDepthwise.cpp | 125 int texId = 0; in onExecute() local 126 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 127 glUniform1i(1, texId); in onExecute() 132 int texId = 1; in onExecute() local 133 glActiveTexture(GL_TEXTURE0 + texId); in onExecute() 135 glUniform1i(2, texId); in onExecute()
|
/dports/graphics/eglexternalplatform/eglexternalplatform-1.1/samples/ |
H A D | sample-egl-server.c | 26 GLuint texId; in handleClientConn() local 30 glGenTextures(1, &texId); in handleClientConn() 31 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texId); in handleClientConn() 34 sampleSurfaceListAppend(__surfaceList, stream, texId); in handleClientConn() 87 glBindTexture(GL_TEXTURE_EXTERNAL_OES, surf->texId); in main()
|
/dports/devel/raknet/raknet-3.9.2_10,1/DependentExtensions/DXTCompressor/Src/ |
H A D | FrameBufferRenderBuffer.hpp | 115 GLuint texId, 125 GLuint texId[], 203 GLuint texId, int mipLevel, int zSlice ); 242 FramebufferObject::AttachTexture( GLenum texTarget, GLuint texId, in AttachTexture() argument 254 texId, mipLevel, zSlice ); in AttachTexture() 256 m_attachedTexture = texId; in AttachTexture() 277 AttachTexture( texTarget[i], texId[i], in AttachTextures() 380 GLuint texId, int mipLevel, in _FramebufferTextureND() argument 385 GL_TEXTURE_1D, texId, mipLevel ); in _FramebufferTextureND() 389 GL_TEXTURE_3D, texId, mipLevel, zSlice ); in _FramebufferTextureND() [all …]
|
/dports/games/blockout/BL_SRC/BlockOut/GLApp/ |
H A D | GLFont.cpp | 49 glGenTextures(1,&texId); in RestoreDeviceObjects() 50 glBindTexture(GL_TEXTURE_2D,texId); in RestoreDeviceObjects() 93 if(texId) glDeleteTextures(1, &texId); in InvalidateDeviceObjects() 94 texId = 0; in InvalidateDeviceObjects() 108 glBindTexture(GL_TEXTURE_2D,texId); in DrawText()
|
H A D | GLSprite.cpp | 130 glGenTextures(1,&texId); in RestoreDeviceObjects() 131 glBindTexture(GL_TEXTURE_2D,texId); in RestoreDeviceObjects() 175 if(texId) glDeleteTextures(1, &texId); in InvalidateDeviceObjects() 176 texId = 0; in InvalidateDeviceObjects() 188 glBindTexture(GL_TEXTURE_2D,texId); in Render()
|
/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/util/ |
H A D | GlUtil.java | 121 private int texId; field in GlUtil.Uniform 154 public void setSamplerTexId(int texId, int unit) { in setSamplerTexId() argument 155 this.texId = texId; in setSamplerTexId() 177 if (texId == 0) { in bind() 182 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId); in bind() 184 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in bind() 357 int[] texId = new int[1]; in createExternalTexture() local 358 GLES20.glGenTextures(1, IntBuffer.wrap(texId)); in createExternalTexture() 359 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId[0]); in createExternalTexture() 369 return texId[0]; in createExternalTexture()
|
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/util/ |
H A D | GlUtil.java | 121 private int texId; field in GlUtil.Uniform 154 public void setSamplerTexId(int texId, int unit) { in setSamplerTexId() argument 155 this.texId = texId; in setSamplerTexId() 177 if (texId == 0) { in bind() 182 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId); in bind() 184 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in bind() 357 int[] texId = new int[1]; in createExternalTexture() local 358 GLES20.glGenTextures(1, IntBuffer.wrap(texId)); in createExternalTexture() 359 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId[0]); in createExternalTexture() 369 return texId[0]; in createExternalTexture()
|
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/util/ |
H A D | GlUtil.java | 121 private int texId; field in GlUtil.Uniform 154 public void setSamplerTexId(int texId, int unit) { in setSamplerTexId() argument 155 this.texId = texId; in setSamplerTexId() 177 if (texId == 0) { in bind() 182 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId); in bind() 184 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in bind() 357 int[] texId = new int[1]; in createExternalTexture() local 358 GLES20.glGenTextures(1, IntBuffer.wrap(texId)); in createExternalTexture() 359 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId[0]); in createExternalTexture() 369 return texId[0]; in createExternalTexture()
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/txp/ |
H A D | trpage_compat.cpp | 69 int32 numTex,texId; in Read() local 77 buf.Get(texId); in Read() 78 smat.texids.push_back(texId); in Read() 114 int texId; in Read() local 116 baseMat.GetTexture(j,texId,texEnv); in Read() 146 int texId; in Write() local 148 mat.GetTexture(j,texId,texEnv); in Write() 149 sMat.texids.push_back(texId); in Write()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgPlugins/txp/ |
H A D | trpage_compat.cpp | 69 int32 numTex,texId; in Read() local 77 buf.Get(texId); in Read() 78 smat.texids.push_back(texId); in Read() 114 int texId; in Read() local 116 baseMat.GetTexture(j,texId,texEnv); in Read() 146 int texId; in Write() local 148 mat.GetTexture(j,texId,texEnv); in Write() 149 sMat.texids.push_back(texId); in Write()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnzext/ |
H A D | meshtexturizer.cpp | 159 GLuint texId; in textureAlloc() local 160 glGenTextures(1, &texId); in textureAlloc() 161 glBindTexture(GL_TEXTURE_2D, texId); in textureAlloc() 186 return texId; in textureAlloc() 207 GLuint texId = in allocateTextures() local 210 TextureData::TileData td = {texId, tileGeom}; in allocateTextures() 338 void MeshTexturizer::rebindTexture(int texId, const TRaster32P &ras, in rebindTexture() argument 343 unbindTexture(texId); in rebindTexture() 346 assert(texId == newTexId); in rebindTexture() 351 void MeshTexturizer::unbindTexture(int texId) { in unbindTexture() argument [all …]
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/Renderer/ |
H A D | TextureManager.cpp | 125 void TextureManager::setTexture(const std::string name, const unsigned int texId, const int width, … in setTexture() argument 127 textures[name] = texId; in setTexture() 241 unsigned int texId = getTextureFullpath(filename, fullname); in loadTextureDir() local 242 if(texId != 0) in loadTextureDir() 244 user_textures.push_back(texId); in loadTextureDir() 245 textures[filename]=texId; in loadTextureDir()
|
/dports/multimedia/assimp/assimp-5.1.3/code/PostProcessing/ |
H A D | EmbedTexturesProcess.cpp | 85 for (auto texId = 0u; texId < texturesCount; ++texId) { in Execute() local 86 material->GetTexture(tt, texId, &path); in Execute() 93 material->AddProperty(&path, AI_MATKEY_TEXTURE(tt, texId)); in Execute()
|
/dports/games/evq3/evq3/code/renderer/ |
H A D | tr_fbo.c | 237 void R_AttachFBOTexture1D(int texId, int index) in R_AttachFBOTexture1D() argument 245 …ebufferTexture1DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT + index, GL_TEXTURE_1D, texId, 0); in R_AttachFBOTexture1D() 253 void R_AttachFBOTexture2D(int target, int texId, int index) in R_AttachFBOTexture2D() argument 267 qglFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT + index, target, texId, 0); in R_AttachFBOTexture2D() 275 void R_AttachFBOTexture3D(int texId, int index, int zOffset) in R_AttachFBOTexture3D() argument 283 …e3DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT + index, GL_TEXTURE_3D_EXT, texId, 0, zOffset); in R_AttachFBOTexture3D() 291 void R_AttachFBOTextureDepth(int texId) in R_AttachFBOTextureDepth() argument 293 qglFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_TEXTURE_2D, texId, 0); in R_AttachFBOTextureDepth()
|
/dports/devel/upp/upp/bazaar/plugin/assimp/code/PostProcessing/ |
H A D | EmbedTexturesProcess.cpp | 81 for (auto texId = 0u; texId < texturesCount; ++texId) { in Execute() local 82 material->GetTexture(tt, texId, &path); in Execute() 89 material->AddProperty(&path, AI_MATKEY_TEXTURE(tt, texId)); in Execute()
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/ |
H A D | EmbedTexturesProcess.cpp | 81 for (auto texId = 0u; texId < texturesCount; ++texId) { in Execute() local 82 material->GetTexture(tt, texId, &path); in Execute() 89 material->AddProperty(&path, AI_MATKEY_TEXTURE(tt, texId)); in Execute()
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/code/PostProcessing/ |
H A D | EmbedTexturesProcess.cpp | 81 for (auto texId = 0u; texId < texturesCount; ++texId) { in Execute() local 82 material->GetTexture(tt, texId, &path); in Execute() 89 material->AddProperty(&path, AI_MATKEY_TEXTURE(tt, texId)); in Execute()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/opengl/gl2paintengineex/ |
H A D | qglgradientcache.cpp | 75 glDeleteTextures(1, &cache_info.texId); in cleanCache() 99 return cache_info.texId; in getBuffer() 118 glDeleteTextures(1, &it.value().texId); in addCacheElement() 126 glGenTextures(1, &cache_entry.texId); in addCacheElement() 127 glBindTexture(GL_TEXTURE_2D, cache_entry.texId); in addCacheElement() 130 return cache.insert(hash_val, cache_entry).value().texId; in addCacheElement()
|
/dports/astro/stellarium/stellarium-0.21.3/src/core/ |
H A D | SpoutSender.cpp | 98 GLint texId; in captureAndSendFrame() local 99 …hmentParameteriv(GL_FRAMEBUFFER,GL_COLOR_ATTACHMENT0,GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,&texId); in captureAndSendFrame() 100 if(texId) in captureAndSendFrame() 103 spoutLib->SendTexture(static_cast<GLuint>(texId), GL_TEXTURE_2D, width, height, true, fbo); in captureAndSendFrame()
|
/dports/devel/bullet/bullet3-3.21/examples/OpenGLWindow/ |
H A D | opengl_fontstashcallbacks.cpp | 112 GLuint* texId = new GLuint; in updateTexture() local 113 texture->m_userData = texId; in updateTexture() 116 glGenTextures(1, texId); in updateTexture() 119 glBindTexture(GL_TEXTURE_2D, *texId); in updateTexture() 170 GLuint* texId = (GLuint*)texture->m_userData; in render() local 177 glBindTexture(GL_TEXTURE_2D, *texId); in render()
|