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
c398e596
Commit
c398e596
authored
8 years ago
by
AndreyL ProductEngine
Browse files
Options
Downloads
Plain Diff
Merged in lindenlab/viewer-release
parents
479f13d5
080744d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.hgtags
+1
-0
1 addition, 0 deletions
.hgtags
indra/newview/VIEWER_VERSION.txt
+1
-1
1 addition, 1 deletion
indra/newview/VIEWER_VERSION.txt
indra/newview/llviewertexture.cpp
+3
-4
3 additions, 4 deletions
indra/newview/llviewertexture.cpp
with
5 additions
and
5 deletions
.hgtags
+
1
−
0
View file @
c398e596
...
@@ -522,3 +522,4 @@ e9d350764dfbf5a46229e627547ef5c1b1eeef00 4.0.2-release
...
@@ -522,3 +522,4 @@ e9d350764dfbf5a46229e627547ef5c1b1eeef00 4.0.2-release
b280a1c797a3891e68dbc237e73de9cf19f426e9 4.1.1-release
b280a1c797a3891e68dbc237e73de9cf19f426e9 4.1.1-release
bfbba2244320dc2ae47758cd7edd8fa3b67dc756 4.1.2-release
bfbba2244320dc2ae47758cd7edd8fa3b67dc756 4.1.2-release
b41e1e7c7876f7656c505f552b5888b4e478f92b 5.0.0-release
b41e1e7c7876f7656c505f552b5888b4e478f92b 5.0.0-release
c9ce2295012995e3cf5c57bcffcb4870b94c649f 5.0.1-release
This diff is collapsed.
Click to expand it.
indra/newview/VIEWER_VERSION.txt
+
1
−
1
View file @
c398e596
5.0.
1
5.0.
2
This diff is collapsed.
Click to expand it.
indra/newview/llviewertexture.cpp
+
3
−
4
View file @
c398e596
...
@@ -488,7 +488,7 @@ bool LLViewerTexture::isMemoryForTextureLow()
...
@@ -488,7 +488,7 @@ bool LLViewerTexture::isMemoryForTextureLow()
LL_RECORD_BLOCK_TIME
(
FTM_TEXTURE_MEMORY_CHECK
);
LL_RECORD_BLOCK_TIME
(
FTM_TEXTURE_MEMORY_CHECK
);
const
S32Megabytes
MIN_FREE_TEXTURE_MEMORY
(
5
);
//MB
const
S32Megabytes
MIN_FREE_TEXTURE_MEMORY
(
20
);
//MB
Changed to 20 MB per MAINT-6882
const
S32Megabytes
MIN_FREE_MAIN_MEMORY
(
100
);
//MB
const
S32Megabytes
MIN_FREE_MAIN_MEMORY
(
100
);
//MB
bool
low_mem
=
false
;
bool
low_mem
=
false
;
...
@@ -511,18 +511,17 @@ bool LLViewerTexture::isMemoryForTextureLow()
...
@@ -511,18 +511,17 @@ bool LLViewerTexture::isMemoryForTextureLow()
}
}
}
}
}
}
#if 0 //ignore nVidia cards
//Enabled this branch per MAINT-6882
else
if
(
gGLManager
.
mHasNVXMemInfo
)
else
if
(
gGLManager
.
mHasNVXMemInfo
)
{
{
S32
free_memory
;
S32
free_memory
;
glGetIntegerv
(
GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX
,
&
free_memory
);
glGetIntegerv
(
GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX
,
&
free_memory
);
if(free_memory / 1024 < MIN_FREE_TEXTURE_MEMORY)
if
((
S32Megabytes
)
(
free_memory
/
1024
)
<
MIN_FREE_TEXTURE_MEMORY
)
{
{
low_mem
=
true
;
low_mem
=
true
;
}
}
}
}
#endif
return
low_mem
;
return
low_mem
;
}
}
...
...
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