Ion
|
Go to the source code of this file.
Macros | |
#define | ION_PROFILE_GL_FUNC(name) |
Copyright 2016 Google Inc. More... | |
#define | ION_WRAP_NON_PROD_GL_FUNC(name, return_type, typed_args, args, trace) |
#define | ION_WRAP_PROD_GL_FUNC(name, return_type, typed_args, args, trace) |
In production builds, just invoke the function directly. More... | |
#define | ION_DECLARE_GL_WRAPPER(group, name, return_type, typed_args, args) |
#define | ION_WRAP_GL_FUNC(group, name, return_type, typed_args, args, trace) |
#define | ION_TRACE_ARG(name, type, arg) #arg << " = " << tracing_helper_.ToString(#type, arg) |
Logs an argument to the TracingHelper. More... | |
#define ION_DECLARE_GL_WRAPPER | ( | group, | |
name, | |||
return_type, | |||
typed_args, | |||
args | |||
) |
Definition at line 67 of file graphicsmanagermacrodefs.h.
#define ION_PROFILE_GL_FUNC | ( | name | ) |
Copyright 2016 Google Inc.
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.This file defines some magic preprocessor macros for wrapping OpenGL functions easily in the GraphicsManager class.
Definition at line 28 of file graphicsmanagermacrodefs.h.
Logs an argument to the TracingHelper.
Definition at line 93 of file graphicsmanagermacrodefs.h.
#define ION_WRAP_GL_FUNC | ( | group, | |
name, | |||
return_type, | |||
typed_args, | |||
args, | |||
trace | |||
) |
Definition at line 87 of file graphicsmanagermacrodefs.h.
#define ION_WRAP_NON_PROD_GL_FUNC | ( | name, | |
return_type, | |||
typed_args, | |||
args, | |||
trace | |||
) |
Definition at line 31 of file graphicsmanagermacrodefs.h.
#define ION_WRAP_PROD_GL_FUNC | ( | name, | |
return_type, | |||
typed_args, | |||
args, | |||
trace | |||
) |
In production builds, just invoke the function directly.
Since tracing is disabled in production builds, however, any tests that rely on tracing must be disabled or they will fail.
Definition at line 59 of file graphicsmanagermacrodefs.h.