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 — Releases · gogpu/gpucontext

Releases · gogpu/gpucontext

v0.32.1

v0.32.1 Latest
Latest
@kolkov kolkov released this 25 Nov 14:33
v0.32.1
b060f2c

Dependency update: gputypes v0.8.2 → v0.9.2.

The public API is unchanged — the signature-level golden regenerates with zero diff (1 package / 346 identifiers). The gputypes types this module exposes — DownlevelCapabilities, Features, TextureFormat — keep their shapes between the two pins; gputypes' own v0.9.0 Backends widening is its release's event, and Backends is not part of gpucontext's public surface. Consumers are lifted to gputypes ≥ v0.9.2 by Go's module version selection when they take this release.

The Go floor stays at 1.25 in this release. The move to 1.27 is a separate, ecosystem-wide step that will be made as one movement later.

Note: this tag is placed on the dependency-bump commit (the last commit before the separate Go-floor change on main), so the CHANGELOG in this tagged tree still lists the entry under [Unreleased]; this note is the release record of its composition.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.32.0 — IME contract (ADR-045)

v0.32.0 — IME contract (ADR-045)
@kolkov kolkov released this 08 Nov 12:07
v0.32.0
5566483

Changed (breaking)

  • IME contract (ADR-045), based on gpucontext#30 by @besmpl. One extended IMEController instead of versioned
    interfaces; all text positions are UTF-8 byte offsets.
    • IMEController: SetIMEPosition(x, y int) is replaced by SetIMECursorArea(IMECursorArea) (logical DIP).
      New methods: SetIMEContentType, SetIMESurroundingText, CancelIME, IMECapabilities. Every method must
      be safe from any goroutine.
    • IMEState: CursorPos, SelectionStart and SelectionEnd are replaced by Cursor and Selection
      (IMETextRange). A {-1, -1} cursor means the IME hides it (HasCursor).
    • Migration: hosts implement the new methods. Methods for unsupported operations are no-ops, and
      IMECapabilities reports what the platform does. Consumers read state.Cursor.Start where they read
      state.CursorPos.

Added

  • IMETextRange, IMESurroundingText, IMECursorArea, IMEDeleteSurroundingEvent, with UTF-8 validation that
    never clamps.
  • ContentPurpose (incl. Chat) and the ContentHint bitset, with names from tables keyed by the constants.
  • IMECapabilities in three groups, as in winit: cursor area, content type, surrounding text.
  • Optional IMEEventSource (OnIMECanceled, OnIMEDisabled, OnIMEDeleteSurrounding), found by type assertion.

Documentation

  • WindowProvider.RequestRedraw must be safe to call from any goroutine, and requests coalesce.
  • Package doc, AGENTS.md and ROADMAP list the IME interfaces.

Changed

  • deps: gputypes v0.8.0 → v0.8.2

Full Changelog: v0.31.3...v0.32.0

Contributors

  • @besmpl
besmpl
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.31.3 — gputypes v0.8.0 dep bump (ADR-072)

v0.31.3 — gputypes v0.8.0 dep bump (ADR-072)
@kolkov kolkov released this 31 Aug 08:33
v0.31.3
a50e6f9
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Dep bump: gputypes v0.7.0 → v0.8.0 (Viewport, ScissorRect, DrawArgs, DrawIndexedArgs).

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.31.2 — docs fix for struct-based UpdateRegion API

v0.31.2 — docs fix for struct-based UpdateRegion API
@kolkov kolkov released this 30 Aug 19:00
v0.31.2
dcc811b
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Fixed

  • docs: update README and ROADMAP for struct-based UpdateRegion API (image.Rectangle + ImageDataLayout). v0.31.1 shipped with stale documentation showing old 6-parameter signature. Code was correct in v0.31.1, docs fixed in v0.31.2.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.31.1 — struct-based TextureRegionUpdater.UpdateRegion

v0.31.1 — struct-based TextureRegionUpdater.UpdateRegion
@kolkov kolkov released this 30 Aug 18:55
v0.31.1
103ca1b
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Changed

  • TextureRegionUpdater.UpdateRegion — struct API (#484) — replaced six positional int parameters with image.Rectangle + ImageDataLayout (WebGPU / Go stdlib idiom). Fixes silent parameter-swap bugs. Zero-value layout = offset 0, tight packed rows, region height.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.31.0 — strided TextureRegionUpdater.UpdateRegion

v0.31.0 — strided TextureRegionUpdater.UpdateRegion
@lkmavi lkmavi released this 30 Aug 17:35
v0.31.0
ae83f66
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Changed

  • TextureRegionUpdater.UpdateRegion — strided upload (gogpu/gogpu#484) — added bytesPerRow parameter (pre-v1.0 signature change). 0 = tightly packed rows (w * bytesPerPixel), matching WebGPU ImageDataLayout.bytesPerRow. Enables zero-copy dirty-band uploads from full-frame buffers without extractRegion memcpy.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.30.0 — DownlevelCapabilities on DeviceProvider (ADR-071)

v0.30.0 — DownlevelCapabilities on DeviceProvider (ADR-071)
@kolkov kolkov released this 30 Aug 10:38
v0.30.0
94b5e6d
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Add DownlevelCapabilities() to DeviceProvider interface — the 7th method.

Added

  • DeviceProvider.DownlevelCapabilities() — returns gputypes.DownlevelCapabilities for backend capability queries. Enables consumers (gg, g3d, Born ML) to check compute support, indirect execution, and other capabilities that may be absent on non-conformant backends (GLES 3.0, CPU software rasterizer).

Returns zero-value if implementation does not track downlevel capabilities (backward compatible — treat as no capabilities).

Architecture decision (ADR-071): interface method, not type-assert. Follows Flutter Impeller "check capabilities, not backend type" principle (context.h:97). Matches Rust wgpu Adapter::get_downlevel_capabilities().

Changed

  • deps: gputypes v0.6.0 → v0.7.0 (DownlevelCapabilities types)

Cascade

gputypes v0.7.0 (released) → gpucontext v0.30.0 → wgpu v0.33.0 → gogpu → gg

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.29.0 — Features() on DeviceProvider

v0.29.0 — Features() on DeviceProvider
@kolkov kolkov released this 27 Aug 20:30
v0.29.0
b3b9b06
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Features() on DeviceProvider

New method on DeviceProvider interface — enables consumers to query optional device capabilities without importing wgpu.

Added

  • DeviceProvider.Features() gputypes.Features — returns bitfield of optional device capabilities (e.g., FeatureRayQuery, FeatureTimestampQuery). Returns 0 if implementation does not track features (backward compatible). Matches Rust wgpu device.features() pattern.

Changed

  • deps: gputypes v0.5.2 → v0.6.0 (ray tracing types)

Consumers

Implementations updated in cascade:

  • gogpu — returns features from wgpu.Device.Features()
  • gg — NullDeviceHandle returns 0 (no GPU, no features)
  • g3d — can now query FeatureRayQuery before using RT
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.28.0 — MouseButton and Modifiers stringers

v0.28.0 — MouseButton and Modifiers stringers
@kolkov kolkov released this 13 Aug 05:42
v0.28.0
fbcb63f
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Added

  • MouseButton.String() — button names (Left, Right, Middle, X1, X2) for debugging and logging
  • Modifiers.String() — deterministic modifier string (Ctrl+Alt+Shift+Super+CapsLock+NumLock), order matches gogpu/ui event convention

Changed

  • deps: gputypes v0.5.1 → v0.5.2
  • Shared string constants between Key, Button, and MouseButton stringers
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v0.27.0 — SurfaceCompositor Interface (ADR-067)

v0.27.0 — SurfaceCompositor Interface (ADR-067)
@kolkov kolkov released this 10 Aug 18:39
v0.27.0
3398a24
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Added

  • SurfaceCompositor interface (ADR-067) — compositor-level bridge between gogpu and content renderers (gg, g3d). 4 methods: ShouldPreserveContent, DamageRects, MarkContentRendered, CompositeMSAAOverlay. Enterprise pattern validated by Chromium cc/Skia, GTK4 GSK, Flutter flow/ source code.
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402775 — 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.