Lines Matching refs:contents
83 hwc_display_contents_1_t* contents)
85 if (contents != nullptr) {
86 for (size_t l = 0; l < contents->numHwLayers; ++l) {
87 auto& layer = contents->hwLayers[l];
91 std::free(contents);
1250 // Only prepare display contents for displays HWC1 knows about
1317 auto contents = static_cast<hwc_display_contents_1_t*>(std::malloc(size));
1318 std::memcpy(contents, mHwc1RequestedContents.get(), size);
1319 for (size_t layerId = 0; layerId < contents->numHwLayers; ++layerId) {
1320 auto& layer = contents->hwLayers[layerId];
1325 return HWC1Contents(contents);
1328 void HWC2On1Adapter::Display::setReceivedContents(HWC1Contents contents)
1332 mHwc1ReceivedContents = std::move(contents);
1876 auto contents =
1878 contents->numHwLayers = numLayers;
1879 mHwc1RequestedContents.reset(contents);
2482 auto& contents = mHwc1Contents[c];
2483 if (!contents) {
2487 for (size_t l = 0; l < contents->numHwLayers; ++l) {
2488 ALOGV(" %zd: %d", l, contents->hwLayers[l].compositionType);
2492 // Return the received contents to their respective displays