Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan K
flow3r firmware
Commits
1c885f83
Commit
1c885f83
authored
1 year ago
by
pippin
Browse files
Options
Downloads
Patches
Plain Diff
ctx: trim and tune config
parent
f639af07
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/ctx/ctx_config.h
+51
-73
51 additions, 73 deletions
components/ctx/ctx_config.h
with
51 additions
and
73 deletions
components/ctx/ctx_config.h
+
51
−
73
View file @
1c885f83
...
...
@@ -16,63 +16,67 @@
#endif
#endif
#define CTX_TINYVG 0
#define CTX_TVG_STDIO 0
#define CTX_DITHER 1
// set this to 1 to keep framebuffer in internal memory
// wifi does not seem to want to work then
#define CTX_ST3M_FB_INTERNAL_RAM 0
#define CTX_PDF 0
// set this to 1 for faster 8bpp mode - with some glitching
#define CTX_NATIVE_GRAYA8 0
// this might also limit max texture sizes, increasing it
// causes performance drop, so kept just above what we need
#define CTX_DITHER 1
#define CTX_PROTOCOL_U8_COLOR 1
#define CTX_AVOID_CLIPPED_SUBDIVISION 0
#define CTX_LIMIT_FORMATS 1
#define CTX_ENABLE_FLOAT 0
#define CTX_32BIT_SEGMENTS 0
#define CTX_ENABLE_RGBA8 1
#define CTX_ENABLE_RGB8 1
#define CTX_ENABLE_RGB332 1
#define CTX_RASTERIZER 1
#define CTX_ENABLE_RGB565 1
#define CTX_ENABLE_RGB565_BYTESWAPPED 1
#define CTX_ENABLE_CBRLE 0
#define CTX_ENABLE_CM 0
#define CTX_BITPACK_PACKER 0
#define CTX_COMPOSITING_GROUPS 0
#define CTX_RENDERSTREAM_STATIC 0
#define CTX_GRADIENT_CACHE 1
#define CTX_MIN_JOURNAL_SIZE 512 // grows dynamically
#define CTX_MIN_EDGE_LIST_SIZE 512 // is also max and limits complexity
// of paths that can be filled
#define CTX_STATIC_OPAQUE 1
#define CTX_ENABLE_CM 0
#define CTX_ALWAYS_USE_NEAREST_FOR_SCALE1 1
#define CTX_EVENTS 0
#define CTX_FORCE_INLINES 0
#define CTX_RAW_KB_EVENTS 0
#define CTX_THREADS 0
#define CTX_TILED 0
#define CTX_BAREMETAL 1
#define CTX_ONE_FONT_ENGINE 1
#define CTX_MAX_SCANLINE_LENGTH 256
#define CTX_1BIT_CLIP 0
#define CTX_MAX_JOURNAL_SIZE (1024*512)
// is also max and limits complexity
// of paths that can be filled
#define CTX_MIN_EDGE_LIST_SIZE 512
#define CTX_MAX_DASHES
10
#define CTX_MAX_DASHES
32
#define CTX_MAX_GRADIENT_STOPS 10
#define CTX_CM 0
#define CTX_SHAPE_CACHE 0
#define CTX_SHAPE_CACHE_DEFAULT 0
#define CTX_MAX_STATES 10
#define CTX_MAX_EDGES 127
#define CTX_MAX_PENDING 64
#define CTX_GRADIENT_CACHE_ELEMENTS 128
#define CTX_RASTERIZER_MAX_CIRCLE_SEGMENTS 64
#define CTX_NATIVE_GRAYA8 0 // set this to 1 for faster 8bpp mode - with some glitching
#define CTX_ENABLE_SHADOW_BLUR 0
#define CTX_FONTS_FROM_FILE 0
#define CTX_MAX_KEYDB 16
#define CTX_MAX_TEXTURES 32
#define CTX_PARSER_MAXLEN 512
#define CTX_PARSER_FIXED_TEMP 1
#define CTX_CURRENT_PATH 1
#define CTX_STRINGPOOL_SIZE 256
#define CTX_AUDIO 0
#define CTX_CLIENTS 0
#define CTX_ALWAYS_USE_NEAREST_FOR_SCALE1 1
#define CTX_MAX_DEVICES 1
#define CTX_MAX_KEYBINDINGS 16
#define CTX_MAX_CBS 8
#define CTX_MAX_LISTEN_FDS 1
#if defined(CONFIG_FLOW3R_CTX_FLAVOUR_FULL)
#define CTX_COMPOSITE_O3 1
#define CTX_GSTATE_PROTECT 1
#define CTX_ENABLE_CLIP 1
#define CTX_FRAGMENT_SPECIALIZE 1
#define CTX_FAST_FILL_RECT 1
#define CTX_BLENDING_AND_COMPOSITING 1
#define CTX_ENABLE_YUV420 1
#define CTX_ENABLE_RGBA8 1
#define CTX_ENABLE_RGB332 1
#define CTX_ENABLE_RGB8 1
#define CTX_ENABLE_GRAY8 1
#define CTX_ENABLE_GRAYA8 1
#define CTX_ENABLE_GRAY1 1
...
...
@@ -81,45 +85,19 @@
#define CTX_STB_IMAGE 1
#define STBI_ONLY_PNG
#define STBI_ONLY_JPEG
#define CTX_FORMATTER 1
#define CTX_PARSER 1
#define CTX_FORCE_INLINES 0
#else
#define CTX_ENABLE_GRAY1 0
#define CTX_ENABLE_GRAY2 0
#define CTX_ENABLE_GRAY4 0
#define CTX_ENABLE_CLIP 0
#define CTX_FRAGMENT_SPECIALIZE 0
#define CTX_FAST_FILL_RECT 0
#define CTX_BLENDING_AND_COMPOSITING 0
#define CTX_FORCE_INLINES 0
#define CTX_INLINED_GRADIENTS 0
#define CTX_FORMATTER 0
#define CTX_PARSER 0
#endif
#define CTX_RAW_KB_EVENTS 0
#define CTX_MATH 1
#define CTX_TERMINAL_EVENTS 0 // gets rid of posix bits and bobs
#define CTX_THREADS 0
#define CTX_TILED 0
#define CTX_BRAILLE_TEXT 0
#define CTX_BAREMETAL 1
#define CTX_EVENTS 0
#define CTX_MAX_DEVICES 1
#define CTX_MAX_KEYBINDINGS 16
#define CTX_RASTERIZER 1
#define CTX_MAX_STATES 10
#define CTX_MAX_EDGES 127
#define CTX_MAX_PENDING 64
#define CTX_MAX_CBS 8
#define CTX_MAX_LISTEN_FDS 1
#define CTX_ONE_FONT_ENGINE 1
#define CTX_STATIC_FONT(font) \
ctx_load_font_ctx(ctx_font_##font##_name, \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment