Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
21f95a3b
Commit
21f95a3b
authored
Feb 21, 2013
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restored source compatibility
parent
a938534a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
internal.hpp
modules/core/include/opencv2/core/internal.hpp
+13
-1
opengl_interop.hpp
modules/core/include/opencv2/core/opengl_interop.hpp
+1
-8
No files found.
modules/core/include/opencv2/core/internal.hpp
View file @
21f95a3b
...
...
@@ -752,7 +752,7 @@ typedef struct CvBigFuncTable
#ifdef __cplusplus
// Deprecated
//
<
Deprecated
class
CV_EXPORTS
CvOpenGlFuncTab
{
...
...
@@ -779,6 +779,18 @@ CV_EXPORTS void icvSetOpenGlFuncTab(const CvOpenGlFuncTab* tab);
CV_EXPORTS
bool
icvCheckGlError
(
const
char
*
file
,
const
int
line
,
const
char
*
func
=
""
);
// >
namespace
cv
{
namespace
ogl
{
CV_EXPORTS
bool
checkError
(
const
char
*
file
,
const
int
line
,
const
char
*
func
=
""
);
}}
#if defined(__GNUC__)
#define CV_CheckGlError() CV_DbgAssert( (cv::ogl::checkError(__FILE__, __LINE__, __func__)) )
#else
#define CV_CheckGlError() CV_DbgAssert( (cv::ogl::checkError(__FILE__, __LINE__)) )
#endif
#endif //__cplusplus
#endif // __OPENCV_CORE_INTERNAL_HPP__
modules/core/include/opencv2/core/opengl_interop.hpp
View file @
21f95a3b
...
...
@@ -46,17 +46,10 @@
#ifdef __cplusplus
#include "opencv2/core/core.hpp"
#include "opencv2/core/opengl_interop_deprecated.hpp"
namespace
cv
{
namespace
ogl
{
CV_EXPORTS
bool
checkError
(
const
char
*
file
,
const
int
line
,
const
char
*
func
=
""
);
#if defined(__GNUC__)
#define CV_CheckGlError() CV_DbgAssert( (cv::gl::checkError(__FILE__, __LINE__, __func__)) )
#else
#define CV_CheckGlError() CV_DbgAssert( (cv::gl::checkError(__FILE__, __LINE__)) )
#endif
/////////////////// OpenGL Objects ///////////////////
//! Smart pointer for OpenGL buffer memory with reference counting.
...
...
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