Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
be8d052b
Commit
be8d052b
authored
4 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
faster-er font map findings
parent
42735f0d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llrender/llfontfreetype.h
+3
-3
3 additions, 3 deletions
indra/llrender/llfontfreetype.h
with
3 additions
and
3 deletions
indra/llrender/llfontfreetype.h
+
3
−
3
View file @
be8d052b
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#ifndef LL_LLFONTFREETYPE_H
#ifndef LL_LLFONTFREETYPE_H
#define LL_LLFONTFREETYPE_H
#define LL_LLFONTFREETYPE_H
#include
<unordered_map>
#include
<
boost/
unordered_map
.hpp
>
#include
"llpointer.h"
#include
"llpointer.h"
#include
"llstl.h"
#include
"llstl.h"
...
@@ -160,7 +160,7 @@ class LLFontFreetype final : public LLRefCount, public LLTrace::MemTrackable<LLF
...
@@ -160,7 +160,7 @@ class LLFontFreetype final : public LLRefCount, public LLTrace::MemTrackable<LLF
bool
getKerningCache
(
U32
left_glyph
,
U32
right_glyph
,
F32
&
kerning
)
const
;
bool
getKerningCache
(
U32
left_glyph
,
U32
right_glyph
,
F32
&
kerning
)
const
;
void
setKerningCache
(
U32
left_glyph
,
U32
right_glyph
,
F32
kerning
)
const
;
void
setKerningCache
(
U32
left_glyph
,
U32
right_glyph
,
F32
kerning
)
const
;
mutable
st
d
::
unordered_map
<
U64
,
F32
>
mKerningCache
;
mutable
boo
st
::
unordered_map
<
U64
,
F32
>
mKerningCache
;
std
::
string
mName
;
std
::
string
mName
;
...
@@ -181,7 +181,7 @@ class LLFontFreetype final : public LLRefCount, public LLTrace::MemTrackable<LLF
...
@@ -181,7 +181,7 @@ class LLFontFreetype final : public LLRefCount, public LLTrace::MemTrackable<LLF
BOOL
mIsFallback
;
BOOL
mIsFallback
;
font_vector_t
mFallbackFonts
;
// A list of fallback fonts to look for glyphs in (for Unicode chars)
font_vector_t
mFallbackFonts
;
// A list of fallback fonts to look for glyphs in (for Unicode chars)
typedef
st
d
::
unordered_map
<
llwchar
,
LLFontGlyphInfo
*>
char_glyph_info_map_t
;
typedef
boo
st
::
unordered_map
<
llwchar
,
LLFontGlyphInfo
*>
char_glyph_info_map_t
;
mutable
char_glyph_info_map_t
mCharGlyphInfoMap
;
// Information about glyph location in bitmap
mutable
char_glyph_info_map_t
mCharGlyphInfoMap
;
// Information about glyph location in bitmap
mutable
LLFontBitmapCache
*
mFontBitmapCachep
;
mutable
LLFontBitmapCache
*
mFontBitmapCachep
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment