| { | |
| "_comment": [ | |
| "Copyright 2019 The Dawn & Tint Authors", | |
| "", | |
| "Redistribution and use in source and binary forms, with or without", | |
| "modification, are permitted provided that the following conditions are met:", | |
| "", | |
| " 1. Redistributions of source code must retain the above copyright notice, this", | |
| " list of conditions and the following disclaimer.", | |
| "", | |
| " 2. Redistributions in binary form must reproduce the above copyright notice,", | |
| " this list of conditions and the following disclaimer in the documentation", | |
| " and/or other materials provided with the distribution.", | |
| "", | |
| " 3. Neither the name of the copyright holder nor the names of its", | |
| " contributors may be used to endorse or promote products derived from", | |
| " this software without specific prior written permission.", | |
| " ", | |
| "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"", | |
| "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE", | |
| "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE", | |
| "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE", | |
| "FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL", | |
| "DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR", | |
| "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER", | |
| "CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,", | |
| "OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE", | |
| "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." | |
| ], | |
| "_doc": "See docs/dawn/codegen.md", | |
| "kotlin_package": "androidx.webgpu", | |
| "jni_primitives" : { | |
| "bool": "jboolean", | |
| "double": "jdouble", | |
| "float": "jfloat", | |
| "size_t": "jlong", | |
| "int": "jint", | |
| "int32_t": "jint", | |
| "uint16_t": "jshort", | |
| "uint32_t": "jint", | |
| "uint64_t": "jlong", | |
| "void *": "jobject", | |
| "void const *": "jobject", | |
| "void": "void" | |
| }, | |
| "jni_signatures" : { | |
| "bool": "Z", | |
| "double": "D", | |
| "float": "F", | |
| "int": "I", | |
| "int16_t": "S", | |
| "int32_t": "I", | |
| "int64_t": "J", | |
| "size_t": "J", | |
| "uint16_t": "S", | |
| "uint32_t": "I", | |
| "uint64_t": "J", | |
| "void *": "J" | |
| }, | |
| "kdocs_blocklist": [ | |
| "ReturnedWithOwnership", | |
| "SurfaceGetCurrentTexture", | |
| "Chained in @ref WGPUSurfaceDescriptor", | |
| "OutStructChainError", | |
| "ImplementationAllocatedStructChain", | |
| "NonFiniteFloatValueError", | |
| "SentinelValues" | |
| ], | |
| "kdocs_replacements": { | |
| "See @ref SentinelValues.": "", | |
| "(See also @ref SentinelValues.)": "", | |
| "[defaults](@ref SentinelValues)": "defaults", | |
| "color using @ref DoubleAsSupertype": "color using @ref Color", | |
| "WGPUCallbackMode_": "CallbackMode.", | |
| "See @ref CallbackStatuses": "@see [CallbackStatuses](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Asynchronous%20Operations.md#callback-statuses-callbackstatuses)", | |
| "LocalizableHumanReadableMessageString": "[LocalizableHumanReadableMessageString](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Strings.md#output-string-outputstring)", | |
| "see @ref CallbackReentrancy": "@see [CallbackReentrancy](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Asynchronous%20Operations.md#callback-reentrancy-callbackreentrancy)", | |
| "See @ref ErrorScopes": "@see [ErrorScopes](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Errors.md#error-scopes-errorscopes)", | |
| "@ref DeviceError": "@see [DeviceError](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Errors.md#device-error-deviceerror)", | |
| "@ref DeviceRelease": "@see [DeviceRelease](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Ownership.md#releasing-a-device-object-devicerelease)", | |
| "@ref Asynchronous-Operations": "@see [Asynchronous-Operations](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/Asynchronous%20Operations.md#asynchronous-operations-asynchronous-operations)", | |
| "See @ref MappedRangeBehavior": "@see [MappedRangeBehavior](https://github.com/webgpu-native/webgpu-headers/blob/main/doc/articles/BufferMapping.md#mapped-range-behavior-mappedrangebehavior)", | |
| "In Wasm, this is more efficient than copying from a mapped range into a `malloc`'d range.": "", | |
| "In Wasm, this is more efficient than copying from a `malloc`'d range into a mapped range.": "", | |
| "In Wasm, if `memcpy`ing into this range, prefer using @ref wgpuBufferWriteMappedRange instead for better performance.": "", | |
| "In Wasm, if `memcpy`ing from this range, prefer using @ref wgpuBufferReadMappedRange instead for better performance.": "" | |
| }, | |
| "customize_api": { | |
| "objects": { | |
| "device": { | |
| "methods": { | |
| "get lost future": { | |
| "omitted": true | |
| } | |
| } | |
| }, | |
| "instance": { | |
| "methods": { | |
| "wait any": { | |
| "omitted": true | |
| } | |
| } | |
| } | |
| }, | |
| "structures": { | |
| "future": { | |
| "omitted": true | |
| }, | |
| "future wait info": { | |
| "omitted": true | |
| }, | |
| "external texture descriptor": { | |
| "exclude_members": [ | |
| "plane 0", | |
| "apparent size", | |
| "src transfer function parameters", | |
| "dst transfer function parameters", | |
| "gamut conversion matrix", | |
| "do yuv to rgb conversion only", | |
| "yuv to rgb conversion matrix" | |
| ], | |
| "additional_members": [ | |
| { | |
| "name": "srcColorSpace", | |
| "type": "color space dawn", | |
| "category": "structure", | |
| "optional": false | |
| }, | |
| { | |
| "name": "dstColorSpace", | |
| "type": "predefined color space", | |
| "category": "kotlin type", | |
| "optional": false | |
| } | |
| ] | |
| } | |
| }, | |
| "enums": { | |
| "wait status": { | |
| "omitted": true | |
| } | |
| }, | |
| "function pointer": { | |
| "proc": { | |
| "omitted": true | |
| } | |
| } | |
| } | |
| } |