• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jni / vispy
70%
master: 70%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 10 Aug 2023 01:56PM UTC
Token 5ujarwRdNvYGAcPJx3POKCAphGL0ZeEnZ regen
Build 4 Last
Files 345
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main

17 Apr 2025 12:23PM UTC coverage: 70.074% (+0.2%) from 69.903%
14532569852

push

github

web-flow
Various optimizations related to camera linking and mesh normals (#2532)

See #2530 

CC @jintaoLee-roger

This is a collection of optimizations uncovered in #2530 debugging by me
or @jintaolee-roger. The main ideas are to not update camera properties
unless the value has actually changed. This prevents expensive
transform-updating methods from being called unnecessarily. This is
especially noticeable when a single camera move updates 4+ properties of
a linked property and each one tries to report that the view/transform
has changed. It does this in two ways:

1. Don't execute a transform update if we're updating properties
2. Don't update a property (and signal a view change) if the property
value is the same

This PR also adds some checks in the mesh light filter to see if vertex
normals have actually changed before submitting/uploading the normals to
the GPU. It also enables the use of a previously unused (yet defined for
some reason?) `MeshData._vertex_normal_indexed_by_faces`. This allows
the check in the light filter to actually work with a simple identity
(`is`) check.


TODO:

* Testing of performance by @jintaolee-roger
* Adding tests for at least the normals caching in the meshdata.

---------

Co-authored-by: Lorenzo Gaifas <brisvag@gmail.com>

5872 of 10611 branches covered (55.34%)

Branch coverage included in aggregate %.

60 of 68 new or added lines in 6 files covered. (88.24%)

171 existing lines in 10 files now uncovered.

24180 of 32275 relevant lines covered (74.92%)

2.46 hits per line

Relevant lines Covered
Build:
Build:
32275 RELEVANT LINES 24180 COVERED LINES
2.46 HITS PER LINE
Source Files on main
  • Tree
  • List 345
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
14532569852 main Various optimizations related to camera linking and mesh normals (#2532) See #2530 CC @jintaoLee-roger This is a collection of optimizations uncovered in #2530 debugging by me or @jintaolee-roger. The main ideas are to not update camera proper... push 18 Apr 2025 08:54AM UTC web-flow github
70.07
12291385307 main Add modifiers to QT native gesture events (#2631) ### Why this PR? Mouse Events forwarded from QT to the canvas events have a `modifers` attribute that is very useful to create enhanced interactions. For instance it can be used to make CONTROL +... push 12 Dec 2024 06:59AM UTC web-flow github
69.9
9266685178 main Merge pull request #2587 from jni/unbound-step-size Loosen bound on relative step size push 28 May 2024 09:16AM UTC web-flow github
69.9
See All Builds (3)

Badge your Repo: vispy

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc