diff --git a/Readme.md b/Readme.md index a6863da..dba57c9 100644 --- a/Readme.md +++ b/Readme.md @@ -28,34 +28,34 @@ The dependencies are: * sokol-tools * Powershell (if you want to use my build scripts) -The project is so far in a "codebase boostrapping" phase. Most the work being done right now is setting up high perfomrance linear zoom rendering for text and UI. +The project is so far in a "codebase boostrapping" phase. Most the work being done right now is setting up high performance linear zoom rendering for text and UI. -The project's is organized into 2 modules sectr_host & sectr. +The project's is organized into 2 runtime modules sectr_host & sectr. The host module loads the main module & its memory. Hot-reloading it's dll when it detects a change. -Major 'codebase modules': +Codebase organization: -* App : General app config & contextual state -* Engine : client interface for host, tick, update, rendering. +* App: General app config, state, and operations. +* Engine: client interface for host, tick, update, rendering. * Has the following definitions: startup, shutdown, reload, tick, clean_frame (which host hooks up to when managing the client dll) * Will handle async ops. -* Font Provider : Manages fonts. +* Font Provider: Manages fonts. * Bulk of visualization must be able to render text effectively - * Going to use some form of caching. - * Needs to be able to scale text in-realtime to linear values. -* Grime : Name speaks for itself, stuff not directly related to the target features to iterate upon for the prototype. + * Bulk of implementation maintained as a separate library: [VEFontCache-Odin](https://github.com/Ed94/VEFontCache-Odin) +* Grime: Name speaks for itself, stuff not directly related to the target features to iterate upon for the prototype. * Defining dependency aliases or procedure overload tables, rolling own allocator, data structures, etc. -* Input : All human input related features +* Input: All human input related features * Base input features (polling & related) are platform abstracted from sokol_app * Entirely user rebindable -* Parsers +* Math: The usual for 2D/3D. +* Parsers: * AST generation, editing, and serialization. * Parsers for different levels of "synatitic & semantic awareness", Formatting -> Domain Specific AST * Figure out pragmatic transformations between ASTs. -* Project : Encpasulation of user config/context/state separate from persistent app's +* Project: Encpasulation of user config/context/state separate from persistent app's * Manages the codebase (database & model view controller) * Manages workspaces : View compositions of the codebase -* UI : Core graphic user interface framework, AST visualzation & editing, backend visualization +* UI: Core graphic user interface framework, AST visualzation & editing, backend visualization * PIMGUI (Persistent Immediate Mode User Interface) * Auto-layout * Supports heavy procedural generation of box widgets diff --git a/code/sectr/shaders/ve_source_shared.shdc.glsl b/code/sectr/shaders/ve_source_shared.shdc.glsl index e3ab25a..2d30f5d 100644 --- a/code/sectr/shaders/ve_source_shared.shdc.glsl +++ b/code/sectr/shaders/ve_source_shared.shdc.glsl @@ -5,6 +5,10 @@ out vec2 uv; void main() { - uv = vec2( v_texture.x, 1 - v_texture.y ); +#if SOKOL_GLSL + uv = vec2( v_texture.x, v_texture.y ); +#else + uv = vec2( v_texture.x, 1.0 - v_texture.y ); +#endif gl_Position = vec4( v_position, 0.0, 1.0 ); } diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 5d7a531..8e1151e 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -222,9 +222,10 @@ push-location $path_root # $build_args += $flag_sanitize_address # $build_args += $flag_sanitize_memory # $build_args += $flag_show_debug_messages - foreach ($arg in $build_args) { - write-host `t $arg -ForegroundColor Cyan - } + + # foreach ($arg in $build_args) { + # write-host `t $arg -ForegroundColor Cyan + # } if ( Test-Path $module_dll) { $module_dll_pre_build_hash = get-filehash -path $module_dll -Algorithm MD5 @@ -301,9 +302,10 @@ push-location $path_root $build_args += ($flag_max_error_count + '10') # $build_args += $flag_sanitize_address # $build_args += $flag_sanitize_memory - foreach ($arg in $build_args) { - write-host `t $arg -ForegroundColor Cyan - } + + # foreach ($arg in $build_args) { + # write-host `t $arg -ForegroundColor Cyan + # } if ( Test-Path $executable) { $executable_pre_build_hash = get-filehash -path $executable -Algorithm MD5