GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Look into sharing storage buffers · Issue #126 · fastplotlib/fastplotlib

Look into sharing storage buffers  #126

New issue
Copy link
New issue
Copy link
Closed
#511
Closed
Look into sharing storage buffers #126
#511
Copy link

Description

@kushalkolar
kushalkolar
opened on Feb 1, 2023
Issue body actions

When for example the colors are the same across millions of points.

Activity

  1. kushalkolar commented on Feb 7, 2023

    @kushalkolar
    kushalkolar
    on Feb 7, 2023
    MemberAuthor
    More actions

    We could allow setting features like colors from a shared buffer, make some kind of SharedBuffer class which can be passed to colors for LineGraphic, ScatterGraphic etc. In these cases we should decide if we still want to allow slicable setting of ColorFeature, maybe we could and just print a warning that a SharedBuffer is being sliced and set since this will effects all Graphic objects that share the buffer.

  2. kushalkolar commented on Apr 19, 2023

    @kushalkolar
    kushalkolar
    on Apr 19, 2023
    MemberAuthor
    More actions

    This might be possible by passing color to LineMaterial etc. instead of colors to Geometry when creating lines, scatters, etc. Need to thoroughly test VRAM usage when creating tens of thousands of lines.

  3. ArjunPutcha commented on May 9, 2023

    @ArjunPutcha
    ArjunPutcha
    on May 9, 2023
    Collaborator
    More actions

    To confirm:
    Goal is to create a class that can be called to store data - like colors - into shared memory objects. Upon initialization of the shared mem object, any Graphic objects linked to it will have to share R/W access to it (we can use mutexes).

    Then, each graphic object will called the sharedbuffer class instead of ColorFeature to initialize/read color array.

    Is this still the goal?

  4. kushalkolar commented on May 9, 2023

    @kushalkolar
    kushalkolar
    on May 9, 2023
    MemberAuthor
    More actions

    Nope, look into the uniform buffers in pygfx. They can be used for lines by setting the color on the LineMaterial instead of the Geometry.

  5. kushalkolar
    closed this as completedin #511on Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.