diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-04-29 03:54:29 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-07-16 14:22:37 +0200 |
| commit | 8c6d3a47e08c9f1330d2316eaa708ff097d02d2a (patch) | |
| tree | 370aded9143a7b182dcbdc490e9df362d4c91095 /src/vkvg_context_internal.h | |
| parent | 6ba0aa0111253b1b5fdea4d3e9e364ee994fd1da (diff) | |
add curve debug facility, measure frame rateCurvesDebug
Diffstat (limited to 'src/vkvg_context_internal.h')
| -rw-r--r-- | src/vkvg_context_internal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vkvg_context_internal.h b/src/vkvg_context_internal.h index e0282d7..0ab0e42 100644 --- a/src/vkvg_context_internal.h +++ b/src/vkvg_context_internal.h @@ -28,7 +28,7 @@ #include "vkh.h" #include "vkvg_fonts.h" -#define VKVG_PTS_SIZE 16384 +#define VKVG_PTS_SIZE 32768 #define VKVG_VBO_SIZE VKVG_PTS_SIZE * 2 #define VKVG_IBO_SIZE VKVG_VBO_SIZE * 2 #define VKVG_PATHES_SIZE 256 @@ -137,6 +137,14 @@ typedef struct _vkvg_context_t { vkvg_context_save_t* pSavedCtxs;//last ctx saved ptr VkClearRect clearRect; + //debug curves + float m_approximation_scale; + float m_angle_tolerance; + float m_distance_tolerance; + float m_cusp_limit; + float curve_recursion_limit; + float curve_collinearity_epsilon; + float curve_angle_tolerance_epsilon; }vkvg_context; bool _current_path_is_empty (VkvgContext ctx); |