tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PWebGPUTypes.ipdlh (563B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2  * License, v. 2.0. If a copy of the MPL was not distributed with this
      3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 using struct mozilla::null_t from "mozilla/ipc/IPCCore.h";
      6 
      7 namespace mozilla {
      8 namespace webgpu {
      9 
     10 struct BufferMapSuccess {
     11     uint64_t offset;
     12     uint64_t size;
     13     bool writable;
     14 };
     15 
     16 struct BufferMapError {
     17     nsCString message;
     18 };
     19 
     20 union BufferMapResult {
     21     BufferMapSuccess;
     22     BufferMapError;
     23 };
     24 
     25 }  // namespace layers
     26 }  // namespace mozilla