Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
native
/
a5517d710e729ed4ebfc44016d3cc77c25505d87
/
.
/
services
/
surfaceflinger
/
RenderArea.cpp
blob: 93759e8ad7f7578ba5e77c872c124215ee8b923b [
file
] [
log
] [
blame
]
#include
"RenderArea.h"
namespace
android
{
float
RenderArea
::
getCaptureFillValue
(
CaptureFill
captureFill
)
{
switch
(
captureFill
)
{
case
CaptureFill
::
CLEAR
:
return
0.0f
;
case
CaptureFill
::
OPAQUE
:
default
:
return
1.0f
;
}
}
}
// namespace android