webgpu-native / webgpu-headers

https://webgpu-native.github.io/webgpu-headers/
BSD 3-Clause "New" or "Revised" License
341 stars 38 forks source link

FooReference is called Foo::AddRef in COM and therefore also in DirectX, Blink, and Gecko #198

Open kdashg opened 12 months ago

kdashg commented 12 months ago

AddRef and Release are what I would call the standard names in industry because of those and the value of interoperability with them.

It can't be renamed without breaking literally any users of this header though. :) Ideally it'd be nicer to go back in time and change it, but an alias is probably the next best thing. (maybe even a deprecation marker on Reference?)

Cc @Kangz

kainino0x commented 11 months ago

webgpu.h meeting: yes, let's do this!