lv_opengles_private.h¶
Functions
-
void lv_opengles_render(unsigned int texture, const lv_area_t *texture_area, lv_opa_t opa, int32_t disp_w, int32_t disp_h, const lv_area_t *texture_clip_area, bool h_flip, bool v_flip, lv_color_t fill_color, bool blend_opt, bool flipRB)¶
-
void lv_opengles_render_texture_rbswap(unsigned int texture, const lv_area_t *texture_area, lv_opa_t opa, int32_t disp_w, int32_t disp_h, const lv_area_t *texture_clip_area, bool h_flip, bool v_flip)¶
Render a texture using alternate blending mode, with red and blue channels flipped in the shader.
- Parameters:
texture – OpenGL texture ID
texture_area – the area in the window to render the texture in
opa – opacity to blend the texture with existing contents
disp_w – width of the window/framebuffer being rendered to
disp_h – height of the window/framebuffer being rendered to
h_flip – horizontal flip
v_flip – vertical flip
-
void lv_opengles_regular_viewport(int32_t x, int32_t y, int32_t w, int32_t h)¶
Set the OpenGL viewport, with vertical co-ordinate conversion
- Parameters:
x – x position of the viewport
y – y position of the viewport
w – width of the viewport
h – height of the viewport