/dports/games/openage/openage-0.3.0-1262-ga554ab49/libopenage/gui/integration/private/ |
H A D | gui_texture_handle.cpp | 24 bool isAtlasTexture(const TextureHandle &texture_handle) { in isAtlasTexture() argument 25 return texture_handle.subid >= 0 && texture_handle.texture->get_subtexture_count() > 1; in isAtlasTexture() 28 QSize textureSize(const SizedTextureHandle &texture_handle) { in textureSize() argument 29 return texture_handle.size; in textureSize() 32 QSize native_size(const TextureHandle &texture_handle) { in native_size() argument 33 auto tex = texture_handle.texture; in native_size() 35 if (isAtlasTexture(texture_handle)) { in native_size() 36 auto sub = tex->get_subtexture(texture_handle.subid); in native_size() 43 QSize aspect_fit_size(const TextureHandle &texture_handle, const QSize &requested_size) { in aspect_fit_size() argument 44 const QSize size = native_size(texture_handle); in aspect_fit_size()
|
H A D | gui_texture.cpp | 16 GuiTexture::GuiTexture(const SizedTextureHandle &texture_handle) in GuiTexture() argument 19 texture_handle(texture_handle) { 39 return openage::gui::isAtlasTexture(this->texture_handle); in isAtlasTexture() 72 auto tex = this->texture_handle.texture; in removedFromAtlas() 73 auto sub = tex->get_subtexture(this->texture_handle.subid); in removedFromAtlas() 105 auto tex = this->texture_handle.texture; in normalizedTextureSubRect() 106 auto sub = tex->get_subtexture(this->texture_handle.subid); in normalizedTextureSubRect() 114 return this->texture_handle.texture->get_texture_id(); in textureId() 118 return openage::gui::textureSize(this->texture_handle); in textureSize()
|
H A D | gui_texture_factory.cpp | 15 texture_handle(), in GuiTextureFactory() 16 texture_handle_user{provider->fill_texture_handle(id, requested_size, &this->texture_handle)} { in GuiTextureFactory() 24 return new GuiTexture{this->texture_handle}; in createTexture() 29 return this->texture_handle.texture->w * this->texture_handle.texture->h * 4; in textureByteCount() 33 return openage::gui::textureSize(this->texture_handle); in textureSize()
|
H A D | gui_texture_handle.h | 26 bool isAtlasTexture(const TextureHandle &texture_handle); 27 QSize textureSize(const SizedTextureHandle &texture_handle); 29 QSize native_size(const TextureHandle &texture_handle); 37 QSize aspect_fit_size(const TextureHandle &texture_handle, const QSize &requested_size);
|
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslexec/ |
H A D | rendservices.cpp | 108 RendererServices::good (TextureHandle *texture_handle) in good() argument 110 return texturesys()->good (texture_handle); in good() 115 RendererServices::texture (ustring filename, TextureHandle *texture_handle, in texture() argument 126 if (! texture_handle) in texture() 128 bool status = texturesys()->texture (texture_handle, texture_thread_info, in texture() 149 RendererServices::texture3d (ustring filename, TextureHandle *texture_handle, in texture3d() argument 160 if (! texture_handle) in texture3d() 163 bool status = texturesys()->texture3d (texture_handle, texture_thread_info, in texture3d() 196 if (! texture_handle) in environment() 220 TextureHandle *texture_handle, in get_texture_info() argument [all …]
|
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslexec/ |
H A D | rendservices.cpp | 108 RendererServices::good (TextureHandle *texture_handle) in good() argument 110 return texturesys()->good (texture_handle); in good() 115 RendererServices::texture (ustring filename, TextureHandle *texture_handle, in texture() argument 126 if (! texture_handle) in texture() 128 bool status = texturesys()->texture (texture_handle, texture_thread_info, in texture() 149 RendererServices::texture3d (ustring filename, TextureHandle *texture_handle, in texture3d() argument 160 if (! texture_handle) in texture3d() 163 bool status = texturesys()->texture3d (texture_handle, texture_thread_info, in texture3d() 196 if (! texture_handle) in environment() 220 TextureHandle *texture_handle, in get_texture_info() argument [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/ |
H A D | texture.h | 762 virtual bool good(TextureHandle* texture_handle) = 0; 855 virtual bool texture (TextureHandle *texture_handle, 951 virtual bool texture3d (TextureHandle *texture_handle, 1040 virtual bool environment (TextureHandle *texture_handle, 1107 virtual bool texture (TextureHandle *texture_handle, 1125 virtual bool texture (TextureHandle *texture_handle, 1191 virtual bool texture3d (TextureHandle *texture_handle, 1211 virtual bool texture3d (TextureHandle *texture_handle, 1293 virtual bool environment (TextureHandle *texture_handle, 1555 virtual bool get_imagespec (TextureHandle *texture_handle, [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/ |
H A D | texture.h | 762 virtual bool good(TextureHandle* texture_handle) = 0; 855 virtual bool texture (TextureHandle *texture_handle, 951 virtual bool texture3d (TextureHandle *texture_handle, 1040 virtual bool environment (TextureHandle *texture_handle, 1107 virtual bool texture (TextureHandle *texture_handle, 1125 virtual bool texture (TextureHandle *texture_handle, 1191 virtual bool texture3d (TextureHandle *texture_handle, 1211 virtual bool texture3d (TextureHandle *texture_handle, 1293 virtual bool environment (TextureHandle *texture_handle, 1555 virtual bool get_imagespec (TextureHandle *texture_handle, [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/ |
H A D | RenderInterface.cpp | 70 bool RenderInterface::LoadTexture(TextureHandle& ROCKET_UNUSED_PARAMETER(texture_handle), Vector2i&… in LoadTexture() argument 72 ROCKET_UNUSED(texture_handle); in LoadTexture() 80 bool RenderInterface::GenerateTexture(TextureHandle& ROCKET_UNUSED_PARAMETER(texture_handle), const… in GenerateTexture() argument 82 ROCKET_UNUSED(texture_handle); in GenerateTexture()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libtexture/ |
H A D | texture_pvt.h | 122 virtual bool good(TextureHandle* texture_handle) in good() argument 124 return texture_handle && !((TextureFile*)texture_handle)->broken(); in good() 170 virtual bool texture3d(TextureHandle* texture_handle, 183 virtual bool texture3d(TextureHandle* texture_handle, 198 virtual bool texture3d(TextureHandle* texture_handle, 266 virtual bool environment(TextureHandle* texture_handle, 278 virtual bool environment(TextureHandle* texture_handle, 292 virtual bool environment(TextureHandle* texture_handle, 306 virtual bool get_texture_info(TextureHandle* texture_handle, 312 virtual bool get_imagespec(TextureHandle* texture_handle, [all …]
|
H A D | environment.cpp | 225 TextureHandle* texture_handle = get_texture_handle(filename, thread_info); in environment() local 226 return environment(texture_handle, thread_info, options, runflags, in environment() 234 TextureSystemImpl::environment(TextureHandle* texture_handle, in environment() argument 243 if (!texture_handle) in environment() 254 ok &= environment(texture_handle, thread_info, opt, R[i], dRdx[i], in environment() 585 TextureSystemImpl::environment(TextureHandle* texture_handle, in environment() argument 622 ok &= environment(texture_handle, thread_info, opt, R_, dRdx_, in environment() 630 ok &= environment(texture_handle, thread_info, opt, R_, dRdx_, in environment() 651 TextureHandle* texture_handle = get_texture_handle(filename, thread_info); in environment() local 652 return environment(texture_handle, thread_info, options, mask, R, dRdx, in environment()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libtexture/ |
H A D | texture_pvt.h | 122 virtual bool good(TextureHandle* texture_handle) in good() argument 124 return texture_handle && !((TextureFile*)texture_handle)->broken(); in good() 170 virtual bool texture3d(TextureHandle* texture_handle, 183 virtual bool texture3d(TextureHandle* texture_handle, 198 virtual bool texture3d(TextureHandle* texture_handle, 266 virtual bool environment(TextureHandle* texture_handle, 278 virtual bool environment(TextureHandle* texture_handle, 292 virtual bool environment(TextureHandle* texture_handle, 306 virtual bool get_texture_info(TextureHandle* texture_handle, 312 virtual bool get_imagespec(TextureHandle* texture_handle, [all …]
|
H A D | environment.cpp | 225 TextureHandle* texture_handle = get_texture_handle(filename, thread_info); in environment() local 226 return environment(texture_handle, thread_info, options, runflags, in environment() 234 TextureSystemImpl::environment(TextureHandle* texture_handle, in environment() argument 243 if (!texture_handle) in environment() 254 ok &= environment(texture_handle, thread_info, opt, R[i], dRdx[i], in environment() 585 TextureSystemImpl::environment(TextureHandle* texture_handle, in environment() argument 622 ok &= environment(texture_handle, thread_info, opt, R_, dRdx_, in environment() 630 ok &= environment(texture_handle, thread_info, opt, R_, dRdx_, in environment() 651 TextureHandle* texture_handle = get_texture_handle(filename, thread_info); in environment() local 652 return environment(texture_handle, thread_info, options, mask, R, dRdx, in environment()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/sdl2/src/ |
H A D | RenderInterfaceSDL2.cpp | 119 bool RocketSDL2Renderer::LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::Core::Vec… in LoadTexture() argument 150 texture_handle = (Rocket::Core::TextureHandle) texture; in LoadTexture() 166 bool RocketSDL2Renderer::GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket:… in GenerateTexture() argument 184 texture_handle = (Rocket::Core::TextureHandle) texture; in GenerateTexture() 189 void RocketSDL2Renderer::ReleaseTexture(Rocket::Core::TextureHandle texture_handle) in ReleaseTexture() argument 191 SDL_DestroyTexture((SDL_Texture*) texture_handle); in ReleaseTexture()
|
H A D | RenderInterfaceSDL2.h | 54 …virtual bool LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::Core::Vector2i& text… 56 …virtual bool GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket::Core::byte… 58 virtual void ReleaseTexture(Rocket::Core::TextureHandle texture_handle);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/shell/src/ |
H A D | ShellRenderInterfaceOpenGL.cpp | 132 bool ShellRenderInterfaceOpenGL::LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::C… in LoadTexture() argument 201 bool success = GenerateTexture(texture_handle, image_dest, texture_dimensions); in LoadTexture() 210 bool ShellRenderInterfaceOpenGL::GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const… in GenerateTexture() argument 229 texture_handle = (Rocket::Core::TextureHandle) texture_id; in GenerateTexture() 235 void ShellRenderInterfaceOpenGL::ReleaseTexture(Rocket::Core::TextureHandle texture_handle) in ReleaseTexture() argument 237 glDeleteTextures(1, (GLuint*) &texture_handle); in ReleaseTexture()
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/gui/librocket/base/ |
H A D | librocketrenderinterface.cpp | 126 …bool LibRocketRenderInterface::LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::Co… in LoadTexture() argument 134 texture_handle = static_cast<Rocket::Core::TextureHandle>(loadedTexture->getHandle()); in LoadTexture() 141 …bool LibRocketRenderInterface::GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const … in GenerateTexture() argument 148 texture_handle = static_cast<Rocket::Core::TextureHandle>(generatedTexture->getHandle()); in GenerateTexture() 153 void LibRocketRenderInterface::ReleaseTexture(Rocket::Core::TextureHandle texture_handle) { in ReleaseTexture() argument 155 ResourceHandle rh = static_cast<ResourceHandle>(texture_handle); in ReleaseTexture()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/mga/ |
H A D | mga_ioc32.c | 104 u32 texture_handle; member 124 dma_bootstrap.texture_handle = dma_bootstrap32.texture_handle; in compat_mga_dma_bootstrap() 137 dma_bootstrap32.texture_handle = dma_bootstrap.texture_handle; in compat_mga_dma_bootstrap()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/mga/ |
H A D | mga_ioc32.c | 104 u32 texture_handle; member 124 dma_bootstrap.texture_handle = dma_bootstrap32.texture_handle; in compat_mga_dma_bootstrap() 137 dma_bootstrap32.texture_handle = dma_bootstrap.texture_handle; in compat_mga_dma_bootstrap()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/mga/ |
H A D | mga_ioc32.c | 104 u32 texture_handle; member 124 dma_bootstrap.texture_handle = dma_bootstrap32.texture_handle; in compat_mga_dma_bootstrap() 137 dma_bootstrap32.texture_handle = dma_bootstrap.texture_handle; in compat_mga_dma_bootstrap()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/sfml2/src/ |
H A D | RenderInterfaceSFML.h | 79 …virtual bool LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::Core::Vector2i& text… 81 …virtual bool GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket::Core::byte… 83 virtual void ReleaseTexture(Rocket::Core::TextureHandle texture_handle);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/sfml/src/ |
H A D | RenderInterfaceSFML.h | 64 …virtual bool LoadTexture(Rocket::Core::TextureHandle& texture_handle, Rocket::Core::Vector2i& text… 66 …virtual bool GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket::Core::byte… 68 virtual void ReleaseTexture(Rocket::Core::TextureHandle texture_handle);
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/mga/ |
H A D | mga_ioc32.c | 131 u32 texture_handle; member 153 || __put_user(dma_bootstrap32.texture_handle, in compat_mga_dma_bootstrap() 154 &dma_bootstrap->texture_handle) in compat_mga_dma_bootstrap() 172 if (__get_user(dma_bootstrap32.texture_handle, in compat_mga_dma_bootstrap() 173 &dma_bootstrap->texture_handle) in compat_mga_dma_bootstrap()
|
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/include/OSL/ |
H A D | rendererservices.h | 191 virtual bool good (TextureHandle *texture_handle); 219 virtual bool texture (ustring filename, TextureHandle *texture_handle, 252 virtual bool texture3d (ustring filename, TextureHandle *texture_handle, 283 virtual bool environment (ustring filename, TextureHandle *texture_handle, 311 TextureHandle *texture_handle,
|
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/include/OSL/ |
H A D | rendererservices.h | 191 virtual bool good (TextureHandle *texture_handle); 219 virtual bool texture (ustring filename, TextureHandle *texture_handle, 252 virtual bool texture3d (ustring filename, TextureHandle *texture_handle, 283 virtual bool environment (ustring filename, TextureHandle *texture_handle, 311 TextureHandle *texture_handle,
|