X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fatlas%2Fatlas-glyph-manager.cpp;h=7e1facd23bb12097062fb8cc70684e9553cd7dc9;hp=729201208f00d47443016995883bf70f32230984;hb=ca02242b9d6389f6e02a120afb42645c5f2c9557;hpb=b79345b4ba7ac5e959d6ee913555e3436ca005f2 diff --git a/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.cpp b/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.cpp index 7292012..7e1facd 100644 --- a/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.cpp +++ b/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.cpp @@ -91,11 +91,11 @@ void AtlasGlyphManager::StitchMesh( Toolkit::AtlasManager::Mesh2D& first, GetImplementation(*this).StitchMesh( first, second ); } -void AtlasGlyphManager::Cached( Text::FontId fontId, +bool AtlasGlyphManager::Cached( Text::FontId fontId, Text::GlyphIndex index, AtlasManager::AtlasSlot& slot ) { - GetImplementation(*this).Cached( fontId, index, slot ); + return GetImplementation(*this).Cached( fontId, index, slot ); } void AtlasGlyphManager::SetNewAtlasSize( uint32_t width, uint32_t height, uint32_t blockWidth, uint32_t blockHeight ) @@ -108,11 +108,6 @@ Vector2 AtlasGlyphManager::GetAtlasSize( uint32_t atlasId ) return GetImplementation(*this).GetAtlasSize( atlasId ); } -void AtlasGlyphManager::Remove( uint32_t imageId ) -{ - GetImplementation(*this).Remove( imageId ); -} - Pixel::Format AtlasGlyphManager::GetPixelFormat( uint32_t atlasId ) { return GetImplementation(*this).GetPixelFormat( atlasId ); @@ -133,6 +128,11 @@ const Toolkit::AtlasGlyphManager::Metrics& AtlasGlyphManager::GetMetrics() return GetImplementation(*this).GetMetrics(); } +void AtlasGlyphManager::AdjustReferenceCount( Text::FontId fontId, uint32_t imageId, int32_t delta ) +{ + GetImplementation(*this).AdjustReferenceCount( fontId, imageId, delta ); +} + Shader AtlasGlyphManager::GetEffectBufferShader() const { return GetImplementation(*this).GetEffectBufferShader();