Flutter Engine
The Flutter Engine
GrVkDescriptorSet.cpp
Go to the documentation of this file.
1/*
2* Copyright 2016 Google Inc.
3*
4* Use of this source code is governed by a BSD-style license that can be
5* found in the LICENSE file.
6*/
7
9
13
15 VkDescriptorSet descSet,
17 GrVkDescriptorSetManager::Handle handle)
18 : INHERITED(gpu)
19 , fDescSet(descSet)
20 , fPool(pool)
21 , fHandle(handle) {
22 fPool->ref();
23}
24
25void GrVkDescriptorSet::freeGPUData() const {
26 fPool->unref();
27}
28
29void GrVkDescriptorSet::onRecycle() const {
31}
32
AutoreleasePool pool
GrVkDescriptorSet(GrVkGpu *gpu, VkDescriptorSet descSet, GrVkDescriptorPool *pool, GrVkDescriptorSetManager::Handle handle)
GrVkResourceProvider & resourceProvider()
Definition: GrVkGpu.h:83
void recycleDescriptorSet(const GrVkDescriptorSet *descSet, const GrVkDescriptorSetManager::Handle &)