Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cairo support #31

Merged
merged 23 commits into from
Oct 7, 2023
Merged

Cairo support #31

merged 23 commits into from
Oct 7, 2023

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    fa4e16f View commit details
    Browse the repository at this point in the history
  2. Initial cairo support

    Implements:
    * image_ops_create
    * image_ops_update
    * image_ops_delete
    * font_ops_create (Using cairo w/ freetype2)
    * script_ops_draw_line
    * script_ops_draw_triangle
    * script_ops_draw_quad
    * script_ops_draw_rect
    * script_ops_draw_rrect
    * script_ops_draw_arc
    * script_ops_draw_sector
    * script_ops_draw_circle
    * script_ops_draw_text
    * script_ops_begin_path
    * script_ops_close_path
    * script_ops_fill_path
    * script_ops_stroke_path
    * script_ops_move_to
    * script_ops_line_to
    * script_ops_bezier_to
    * script_ops_push_state
    * script_ops_pop_state
    * script_ops_transform
    * script_ops_scale
    * script_ops_rotate
    * script_ops_translate
    * script_ops_fill_color
    * script_ops_fill_linear
    * script_ops_fill_radial
    * script_ops_fill_image
    * script_ops_stroke_width
    * script_ops_stroke_color
    * script_ops_line_cap
    * script_ops_line_join
    * script_ops_miter_limit
    * script_ops_font
    * script_ops_font_size
    * script_ops_text_align
    * script_ops_text_base
    
    Signed-off-by: Jon Ringle <[email protected]>
    ringlej committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3328b81 View commit details
    Browse the repository at this point in the history
  3. debug script ids

    ringlej committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    be9bba5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d9a8c18 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4b7b99c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    90cfc93 View commit details
    Browse the repository at this point in the history
  7. cairo: script_ops_scissor

    ringlej committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    b6aed81 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    90100ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c13fcf6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    631993c View commit details
    Browse the repository at this point in the history
  11. cairo: script_ops_fill_stream

    ringlej committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    e2af638 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2cfa437 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Configuration menu
    Copy the full SHA
    9f680e8 View commit details
    Browse the repository at this point in the history
  2. cairo: Manage dynamic array of image patterns with an id lookup

    This matches what is done similarly in glnvg__allocTexture() in the nvg
    code to generate ids to use for looking up image data. This change will
    remove the 32-bit constraint that was previously done with cairo images
    and allow cairo to build on 64-bit architecture.
    ringlej committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    a83894a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48d2b2b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a585064 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cfff8ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6b9b5df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    99899f0 View commit details
    Browse the repository at this point in the history
  8. cairo: script_ops_arc

    ringlej committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    6a2e70f View commit details
    Browse the repository at this point in the history
  9. cairo: script_ops_arc_to

    ringlej committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    4cc9cc4 View commit details
    Browse the repository at this point in the history
  10. Allow running scenic_driver_local under a debugger

    This is useful to either run scenic_driver_local with:
     * gdbserver
     * valgrind
    
    For example, you could now have in your config:
    `debugger: "gdbserver :5555"`
    
    which will wait for you to attach gdb with a remote target on port 5555 and
    set breakpoints and step through code
    
    valgrind is useful for debugging memory issues such as malloc/free, memory
    overruns and memory leaks.
    ringlej committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    288dc5d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    68b0c39 View commit details
    Browse the repository at this point in the history