naiveproxy/services/viz/public/interfaces/compositing/texture_releaser.mojom

15 lines
493 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +03:00
// 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);
};