Android-cuttlefish cvd tool
Classes | Namespaces | Macros
gles.h File Reference
#include <optional>
#include "GLES/gl.h"
#include "GLES2/gl2.h"
#include "GLES2/gl2ext.h"
#include "GLES3/gl3.h"
#include "cuttlefish/host/graphics_detector/egl.h"
#include "cuttlefish/host/graphics_detector/gles_funcs.h"
#include "cuttlefish/host/graphics_detector/lib.h"
Include dependency graph for gles.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gfxstream::Gles
 

Namespaces

namespace  gfxstream
 

Macros

#define CHECK_GL_ERROR()
 
#define DECLARE_GLES_FUNCTION_MEMBER_POINTER(return_type, function_name, signature, args)    return_type(*function_name) signature = nullptr;
 

Macro Definition Documentation

◆ CHECK_GL_ERROR

#define CHECK_GL_ERROR ( )
Value:
do { \
if (GLenum error = gles->glGetError(); error != GL_NO_ERROR) { \
LOG(ERROR) << __FILE__ << ":" << __LINE__ << ":" << __PRETTY_FUNCTION__ \
<< " found error: " << error; \
} \
} while (0);
#define error(format, args...)
Definition: fec_private.h:201
@ ERROR
Definition: logging.h:92

◆ DECLARE_GLES_FUNCTION_MEMBER_POINTER

#define DECLARE_GLES_FUNCTION_MEMBER_POINTER (   return_type,
  function_name,
  signature,
  args 
)     return_type(*function_name) signature = nullptr;