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
f81c5a4e
Commit
f81c5a4e
authored
10 years ago
by
callum_linden
Browse files
Options
Downloads
Patches
Plain Diff
Add bespoke ctor/dtor that align on 16byte boundaries when creating things on the heap
parent
a2bb483f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llappearance/llpolymorph.h
+10
-0
10 additions, 0 deletions
indra/llappearance/llpolymorph.h
indra/llappearance/llpolyskeletaldistortion.h
+13
-0
13 additions, 0 deletions
indra/llappearance/llpolyskeletaldistortion.h
with
23 additions
and
0 deletions
indra/llappearance/llpolymorph.h
+
10
−
0
View file @
f81c5a4e
...
@@ -182,6 +182,16 @@ class LLPolyMorphTarget : public LLViewerVisualParam
...
@@ -182,6 +182,16 @@ class LLPolyMorphTarget : public LLViewerVisualParam
void
applyMask
(
U8
*
maskData
,
S32
width
,
S32
height
,
S32
num_components
,
BOOL
invert
);
void
applyMask
(
U8
*
maskData
,
S32
width
,
S32
height
,
S32
num_components
,
BOOL
invert
);
void
addPendingMorphMask
()
{
mNumMorphMasksPending
++
;
}
void
addPendingMorphMask
()
{
mNumMorphMasksPending
++
;
}
void
*
operator
new
(
size_t
size
)
{
return
ll_aligned_malloc_16
(
size
);
}
void
operator
delete
(
void
*
ptr
)
{
ll_aligned_free_16
(
ptr
);
}
protected
:
protected
:
LLPolyMorphTarget
(
const
LLPolyMorphTarget
&
pOther
);
LLPolyMorphTarget
(
const
LLPolyMorphTarget
&
pOther
);
...
...
This diff is collapsed.
Click to expand it.
indra/llappearance/llpolyskeletaldistortion.h
+
13
−
0
View file @
f81c5a4e
...
@@ -73,6 +73,19 @@ class LLPolySkeletalDistortionInfo : public LLViewerVisualParamInfo
...
@@ -73,6 +73,19 @@ class LLPolySkeletalDistortionInfo : public LLViewerVisualParamInfo
/*virtual*/
BOOL
parseXml
(
LLXmlTreeNode
*
node
);
/*virtual*/
BOOL
parseXml
(
LLXmlTreeNode
*
node
);
void
*
operator
new
(
size_t
size
)
{
return
ll_aligned_malloc_16
(
size
);
}
void
operator
delete
(
void
*
ptr
)
{
ll_aligned_free_16
(
ptr
);
}
protected
:
protected
:
typedef
std
::
vector
<
LLPolySkeletalBoneInfo
>
bone_info_list_t
;
typedef
std
::
vector
<
LLPolySkeletalBoneInfo
>
bone_info_list_t
;
bone_info_list_t
mBoneInfoList
;
bone_info_list_t
mBoneInfoList
;
...
...
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