blob: 32d00aa05ac66fda6442e5f84a6a53fef2ac6a0c [file] [log] [blame]
// Auto-generated with: android/scripts/gen-entries.py --mode=functions distrib/android-emugl/host/libs/libOpenglRender/render_api.entries --output=distrib/android-emugl/host/libs/libOpenglRender/render_api_functions.h
// DO NOT EDIT THIS FILE
#ifndef RENDER_API_FUNCTIONS_H
#define RENDER_API_FUNCTIONS_H
#include "render_api_platform_types.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
typedef void (*OnPostFn)(void* context, int width, int height, int ydir,
int format, int type, unsigned char* pixels);
#define LIST_RENDER_API_FUNCTIONS(X) \
X(int, initLibrary, ()) \
X(int, setStreamMode, (int mode)) \
X(int, initOpenGLRenderer, (int width, int height, bool useSubWindow, char* addr, size_t addrLen)) \
X(void, getHardwareStrings, (const char** vendor, const char** renderer, const char** version)) \
X(void, setPostCallback, (OnPostFn onPost, void* onPostContext)) \
X(bool, createOpenGLSubwindow, (FBNativeWindowType window, int x, int y, int width, int height, float zRot)) \
X(bool, destroyOpenGLSubwindow, ()) \
X(void, setOpenGLDisplayRotation, (float zRot)) \
X(void, repaintOpenGLDisplay, ()) \
X(int, stopOpenGLRenderer, ()) \
#endif // RENDER_API_FUNCTIONS_H