|
static float | edgeFunction (const GF_Vec4 *a, const GF_Vec4 *b, const GF_Vec4 *c) |
|
float | edgeFunction_pre (const GF_Vec4 *a, const Float b_minus_a_x, const Float b_minus_a_y, const GF_Vec4 *c) |
|
static GFINLINE Bool | evg3d_persp_divide (GF_Vec4 *pt) |
|
static GFINLINE void | evg_ndc_to_raster (GF_EVGSurface *surf, GF_Vec4 *pt, TPos *x, TPos *y) |
|
static GFINLINE int | gray3d_move_to (GF_EVGSurface *surf, TPos x, TPos y) |
|
GF_Err | evg_raster_render_path_3d (GF_EVGSurface *surf) |
|
void | evg_get_fragment (GF_EVGSurface *surf, EVGRasterCtx *rctx, Bool *is_transparent) |
|
static void | push_patch_pixel (AAScanline *sl, s32 x, u32 col, u8 coverage, Float depth, Float write_depth, u32 idx1, u32 idx2) |
|
static PatchPixel * | get_patch_pixel (AAScanline *sl, s32 x) |
|
static void | remove_patch_pixel (AAScanline *sl, s32 x) |
|
void | EVG3D_SpanFunc (int y, int count, EVG_Span *spans, GF_EVGSurface *surf, EVGRasterCtx *rctx) |
|
static GFINLINE Bool | precompute_tri (GF_EVGSurface *surf, GF_EVGFragmentParam *fparam, TPos xmin, TPos xmax, TPos ymin, TPos ymax, TPos _x1, TPos _y1, TPos _x2, TPos _y2, TPos _x3, TPos _y3, GF_Vec4 *s_pt1, GF_Vec4 *s_pt2, GF_Vec4 *s_pt3, u32 vidx1, u32 vidx2, u32 vidx3) |
|
GF_Err | evg_raster_render3d (GF_EVGSurface *surf, u32 *indices, u32 nb_idx, Float *vertices, u32 nb_vertices, u32 nb_comp, GF_EVGPrimitiveType prim_type) |
|
GF_Err | evg_raster_render3d_path (GF_EVGSurface *surf, GF_Path *path, Float z) |
|
GF_EXPORT GF_Err | gf_evg_surface_clear_depth (GF_EVGSurface *surf, Float depth) |
|
GF_EXPORT GF_Err | gf_evg_surface_viewport (GF_EVGSurface *surf, u32 x, u32 y, u32 w, u32 h) |
|
static Bool | depth_test_never (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_always (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_less (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_less_equal (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_equal (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_greater (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_greater_equal (Float depth_buf_value, Float frag_value) |
|
static Bool | depth_test_not_equal (Float depth_buf_value, Float frag_value) |
|
GF_EXPORT GF_Err | gf_evg_set_depth_test (GF_EVGSurface *surf, GF_EVGDepthTest mode) |
|
GF_Err | evg_3d_update_depth_range (GF_EVGSurface *surf) |
|
EVG_Surface3DExt * | evg_init_3d_surface (GF_EVGSurface *surf) |
|
GF_Err | gf_evg_surface_set_fragment_shader (GF_EVGSurface *surf, gf_evg_fragment_shader shader, gf_evg_fragment_shader_init shader_init, void *shader_udta) |
|
GF_Err | gf_evg_surface_disable_early_depth (GF_EVGSurface *surf, Bool disable) |
|
GF_Err | gf_evg_surface_set_vertex_shader (GF_EVGSurface *surf, gf_evg_vertex_shader shader, void *shader_udta) |
|
GF_Err | gf_evg_surface_set_ccw (GF_EVGSurface *surf, Bool is_ccw) |
|
GF_Err | gf_evg_surface_set_backcull (GF_EVGSurface *surf, Bool backcull) |
|
GF_Err | gf_evg_surface_set_antialias (GF_EVGSurface *surf, Bool antialias) |
|
GF_Err | gf_evg_surface_set_min_depth (GF_EVGSurface *surf, Float min_depth) |
|
GF_Err | gf_evg_surface_set_max_depth (GF_EVGSurface *surf, Float max_depth) |
|
GF_Err | gf_evg_surface_set_clip_zero (GF_EVGSurface *surf, Bool clip_zero) |
|
GF_Err | gf_evg_surface_set_point_size (GF_EVGSurface *surf, Float size) |
|
GF_Err | gf_evg_surface_set_line_size (GF_EVGSurface *surf, Float size) |
|
GF_Err | gf_evg_surface_set_point_smooth (GF_EVGSurface *surf, Bool smooth) |
|
GF_Err | gf_evg_surface_write_depth (GF_EVGSurface *surf, Bool do_write) |
|
GF_Err | gf_evg_surface_set_depth_buffer (GF_EVGSurface *surf, Float *depth) |
|