naiveproxy/services/viz/public/interfaces/compositing/texture_releaser.mojom
2018-02-02 05:49:39 -05:00

15 lines
493 B
Plaintext

// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module viz.mojom;
import "gpu/ipc/common/sync_token.mojom";
// This interface behaves similar to viz::ReleaseCallback but works across
// process boundaries. Once Release is called, it releases the texture that it
// is associated with.
interface TextureReleaser {
Release(gpu.mojom.SyncToken sync_token, bool is_lost);
};