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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
386eac20
Commit
386eac20
authored
1 year ago
by
pippin
Committed by
schneider
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ctx: move -O3 pragma to rasterizer
parent
dc1da072
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#6153
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/ctx/ctx.c
+1
-1
1 addition, 1 deletion
components/ctx/ctx.c
components/ctx/ctx_config.h
+13
-2
13 additions, 2 deletions
components/ctx/ctx_config.h
components/micropython/usermodule/mp_uctx.c
+0
-4
0 additions, 4 deletions
components/micropython/usermodule/mp_uctx.c
with
14 additions
and
7 deletions
components/ctx/ctx.c
+
1
−
1
View file @
386eac20
#include
"ctx_config.h"
#define CTX_IMPLEMENTATION
#include
"ctx.h"
\ No newline at end of file
#include
"ctx.h"
This diff is collapsed.
Click to expand it.
components/ctx/ctx_config.h
+
13
−
2
View file @
386eac20
...
...
@@ -8,6 +8,15 @@
#include
"sdkconfig.h"
#endif
#ifndef __clang__
#if CONFIG_FLOW3R_CTX_FLAVOUR_FULL
#pragma GCC optimize("O3")
#else
#pragma GCC optimize("Oz")
#endif
#endif
#define CTX_TINYVG 1
#define CTX_TVG_STDIO 0
#define CTX_DITHER 1
...
...
@@ -61,6 +70,8 @@
#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_GRAY8 1
#else
#define CTX_ENABLE_CLIP 0
#define CTX_FRAGMENT_SPECIALIZE 0
...
...
@@ -72,10 +83,10 @@
#define CTX_RAW_KB_EVENTS 0
#define CTX_MATH
0
#define CTX_MATH
1
#define CTX_TERMINAL_EVENTS 0 // gets rid of posix bits and bobs
#define CTX_THREADS 0
#define CTX_TILED
1
#define CTX_TILED
0
#define CTX_FORMATTER 0 // we want these eventually
#define CTX_PARSER 0 // enabled
#define CTX_BRAILLE_TEXT 0
...
...
This diff is collapsed.
Click to expand it.
components/micropython/usermodule/mp_uctx.c
+
0
−
4
View file @
386eac20
#ifndef __clang__
#pragma GCC optimize("O3")
#endif
#include
<stdlib.h>
#include
"py/binary.h"
#include
"py/obj.h"
...
...
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