naiveproxy/services/viz/public/interfaces/compositing/texture_releaser.mojom
2018-08-14 22:19:20 +00: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);
};