Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
gl
GrGLSemaphore.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017 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
8
#include "
src/gpu/ganesh/gl/GrGLSemaphore.h
"
9
10
#include "
src/gpu/ganesh/gl/GrGLGpu.h
"
11
12
GrGLSemaphore::GrGLSemaphore(
GrGLGpu
* gpu,
bool
isOwned)
13
: fGpu(gpu), fSync(nullptr), fIsOwned(isOwned) {
14
}
15
16
GrGLSemaphore::~GrGLSemaphore
() {
17
if
(fSync && fIsOwned) {
18
fGpu->
deleteSync
(fSync);
19
}
20
}
GrGLGpu.h
GrGLSemaphore.h
GrGLGpu
Definition:
GrGLGpu.h:89
GrGLGpu::deleteSync
void deleteSync(GrGLsync)
Definition:
GrGLGpu.cpp:4411
GrGLSemaphore::~GrGLSemaphore
~GrGLSemaphore() override
Definition:
GrGLSemaphore.cpp:16
Generated on Sun Jun 23 2024 21:56:19 for Flutter Engine by
1.9.4