summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RenderArea.cpp
blob: 93759e8ad7f7578ba5e77c872c124215ee8b923b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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