LibreOffice Module vcl (master) 1
Classes | Macros
OpenGLHelper.hxx File Reference
#include <epoxy/gl.h>
#include <sal/detail/log.h>
#include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx>
#include <rtl/ustring.hxx>
#include <sstream>
#include <string_view>
Include dependency graph for OpenGLHelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenGLHelper
 

Macros

#define VCL_GL_INFO(stream)
 Helper to do a SAL_INFO as well as a GL log. More...
 
#define VCL_GL_WARN(stream)
 Helper to do a SAL_WARN as well as a GL log. More...
 
#define CHECK_GL_ERROR()   do { } while (false)
 

Macro Definition Documentation

◆ CHECK_GL_ERROR

#define CHECK_GL_ERROR ( )    do { } while (false)

Definition at line 119 of file OpenGLHelper.hxx.

◆ VCL_GL_INFO

#define VCL_GL_INFO (   stream)
Value:
do { \
if (SAL_DETAIL_ENABLE_LOG_INFO) \
{ \
::std::ostringstream detail_stream; \
detail_stream << stream; \
} \
} while (false)
Reference< XOutputStream > stream
static void debugMsgStream(std::ostringstream const &pStream)

Helper to do a SAL_INFO as well as a GL log.

Definition at line 23 of file OpenGLHelper.hxx.

◆ VCL_GL_WARN

#define VCL_GL_WARN (   stream)
Value:
do { \
if (SAL_DETAIL_ENABLE_LOG_INFO) \
{ \
::std::ostringstream detail_stream; \
detail_stream << stream; \
} \
} while (false)
static void debugMsgStreamWarn(std::ostringstream const &pStream)

Helper to do a SAL_WARN as well as a GL log.

Definition at line 34 of file OpenGLHelper.hxx.