Home
last modified time | relevance | path

Searched defs:virgl_renderer_callbacks (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/virglrenderer/src/
H A Dvirglrenderer.h54 struct virgl_renderer_callbacks { struct
55 int version;
56 void (*write_fence)(void *cookie, uint32_t fence);
65 …ext (*create_gl_context)(void *cookie, int scanout_idx, struct virgl_renderer_gl_ctx_param *param);
67 void (*destroy_gl_context)(void *cookie, virgl_renderer_gl_context ctx);
69 int (*make_current)(void *cookie, int scanout_idx, virgl_renderer_gl_context ctx);
78 int (*get_drm_fd)(void *cookie);
81 void (*write_context_fence)(void *cookie, uint32_t ctx_id, uint32_t ring_idx, uint64_t fence_id);
84 int (*get_server_fd)(void *cookie, uint32_t version);
90 void *(*get_egl_display)(void *cookie);
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/generated/
H A Dvirgl_renderer_bindings.rs74 pub struct virgl_renderer_callbacks { struct
75 pub version: ::std::os::raw::c_int,
76 pub write_fence: ::std::option::Option<
79 pub create_gl_context: ::std::option::Option<
86 pub destroy_gl_context: ::std::option::Option<
89 pub make_current: ::std::option::Option<
96 pub get_drm_fd: ::std::option::Option<
121 cb: *mut virgl_renderer_callbacks, in virgl_renderer_init()