OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MiniFence
(Results
1 - 4
of
4
) sorted by null
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
MiniFence.h
24
/*
MiniFence
is a minimal re-implementation of Fence from libui. It exists to
27
class
MiniFence
: public LightRefBase<
MiniFence
> {
29
static const sp<
MiniFence
> NO_FENCE;
31
// Construct a new
MiniFence
object with an invalid file descriptor.
32
MiniFence
();
34
// Construct a new
MiniFence
object to manage a given fence file descriptor.
35
// When the new
MiniFence
object is destructed the file descriptor will be
37
explicit
MiniFence
(int fenceFd);
40
MiniFence
(const MiniFence& rhs) = delete
[
all
...]
HWC2On1Adapter.h
26
#include "
MiniFence
.h"
158
: mFences({
MiniFence
::NO_FENCE,
MiniFence
::NO_FENCE}) {}
161
mFences.emplace(new
MiniFence
(fenceFd));
165
const sp<
MiniFence
>& get() const {
171
std::queue<sp<
MiniFence
>> mFences;
176
FencedBuffer() : mBuffer(nullptr), mFence(
MiniFence
::NO_FENCE) {}
179
void setFence(int fenceFd) { mFence = new
MiniFence
(fenceFd); }
186
sp<
MiniFence
> mFence;
558
const sp<
MiniFence
>& getReleaseFence() const
[
all
...]
/frameworks/native/libs/hwc2on1adapter/
MiniFence.cpp
17
#include "hwc2on1adapter/
MiniFence
.h"
23
const sp<
MiniFence
>
MiniFence
::NO_FENCE = sp<
MiniFence
>(new
MiniFence
);
25
MiniFence
::
MiniFence
() :
29
MiniFence
::
MiniFence
(int fenceFd) :
33
MiniFence
::~MiniFence()
[
all
...]
HWC2On1Adapter.cpp
736
if (releaseFence !=
MiniFence
::NO_FENCE) {
[
all
...]
Completed in 761 milliseconds