Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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
26 fPool->unref();
27}
28
32
AutoreleasePool pool
void freeGPUData() const override
GrVkDescriptorSet(GrVkGpu *gpu, VkDescriptorSet descSet, GrVkDescriptorPool *pool, GrVkDescriptorSetManager::Handle handle)
void onRecycle() const override
GrVkResourceProvider & resourceProvider()
Definition GrVkGpu.h:83
void recycleDescriptorSet(const GrVkDescriptorSet *descSet, const GrVkDescriptorSetManager::Handle &)