Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-MemInfo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Plugin-MemInfo
Commits
fa0e4ac5
Commit
fa0e4ac5
authored
Sep 15, 2017
by
Martin Schultz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use acg for extension checks to avoid problems with different opengl versions
parent
054a4dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MemInfo.cc
MemInfo.cc
+2
-2
No files found.
MemInfo.cc
View file @
fa0e4ac5
...
...
@@ -65,13 +65,13 @@ void MemInfoPlugin::initializePlugin()
void
MemInfoPlugin
::
pluginsInitialized
()
{
// Check extension for NVIDIA memory information
QString
glExtensions
=
QString
((
const
char
*
)
glGetString
(
GL_EXTENSIONS
));
//
QString glExtensions = QString((const char*)glGetString(GL_EXTENSIONS));
updateTimer_
=
new
QTimer
();
updateTimer_
->
setSingleShot
(
false
);
// NVIDIA cards
if
(
glExtensions
.
contains
(
"GL_NVX_gpu_memory_info"
)
)
{
if
(
ACG
::
checkExtensionSupported
(
"GL_NVX_gpu_memory_info"
)
)
{
// emit log(LOGINFO,"NVIDIA card Memory info supported, installing gpu memory monitor into status bar");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment