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

orion-ecs / keen-eye / 20881812010
65%

Build:
DEFAULT BRANCH: main
Ran 10 Jan 2026 05:30PM UTC
Jobs 1
Files 1424
Run time 2min
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

10 Jan 2026 05:25PM UTC coverage: 86.003% (-0.07%) from 86.072%
20881812010

push

github

tyevco
feat(graphics): Add GPU instanced rendering for batched draw calls

Implement GPU instancing to batch multiple entities with the same mesh into
single draw calls, reducing CPU overhead significantly (100-1000x fewer draw
calls for similar objects like trees, rocks, particles).

Key additions:
- InstanceBufferHandle: Opaque handle for instance buffer GPU resources
- InstanceData: Per-instance data struct (ModelMatrix + ColorTint)
- InstanceBatch: ECS component marking entities for instanced rendering
- InstanceBufferManager: Manages GPU instance buffers with pooling
- InstanceBatchingSystem: Batches and renders instanced entities
- Instanced shaders: InstancedLit, InstancedUnlit, InstancedSolid variants

The implementation uses vertex attribute divisors for per-instance data:
- Locations 0-3: Per-vertex data (Position, Normal, TexCoord, Color)
- Locations 4-7: Per-instance ModelMatrix (mat4 = 4 vec4s)
- Location 8: Per-instance ColorTint

Closes #899

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

9425 of 13097 branches covered (71.96%)

Branch coverage included in aggregate %.

192 of 370 new or added lines in 12 files covered. (51.89%)

2 existing lines in 2 files now uncovered.

163249 of 187679 relevant lines covered (86.98%)

0.99 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
75.27
-3.01% tests/KeenEyes.Assets.Tests/BuiltInAssetTests.cs
8
65.79
-2.89% tests/KeenEyes.Graphics.Tests/Mocks/MockGraphicsDevice.cs
29
79.67
-10.69% src/KeenEyes.Testing/Graphics/MockGraphicsContext.cs
29
87.56
-7.12% src/KeenEyes.Testing/Graphics/MockGraphicsDevice.cs
32
11.29
-0.75% src/KeenEyes.Graphics.Silk/SilkGraphicsContext.cs
73
9.68
src/KeenEyes.Graphics.Silk/Resources/InstanceBufferManager.cs

Uncovered Existing Lines

Lines Coverage ∆ File
1
65.98
-1.03% src/KeenEyes.Parallelism/JobHandle.cs
1
87.56
-7.12% src/KeenEyes.Testing/Graphics/MockGraphicsDevice.cs
Jobs
ID Job ID Ran Files Coverage
1 20881812010.1 10 Jan 2026 05:30PM UTC 1424
86.0
GitHub Action Run
Source Files on build 20881812010
  • Tree
  • List 1424
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20881812010
  • 5f958e58 on github
  • Prev Build on main (#20874146014)
  • Next Build on main (#20884320757)
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

© 2026 Coveralls, Inc