Lines Matching refs:contents
83 hwc_display_contents_1_t* contents) in operator ()() argument
85 if (contents != nullptr) { in operator ()()
86 for (size_t l = 0; l < contents->numHwLayers; ++l) { in operator ()()
87 auto& layer = contents->hwLayers[l]; in operator ()()
91 std::free(contents); in operator ()()
1318 auto contents = static_cast<hwc_display_contents_1_t*>(std::malloc(size)); in cloneRequestedContents() local
1319 std::memcpy(contents, mHwc1RequestedContents.get(), size); in cloneRequestedContents()
1320 for (size_t layerId = 0; layerId < contents->numHwLayers; ++layerId) { in cloneRequestedContents()
1321 auto& layer = contents->hwLayers[layerId]; in cloneRequestedContents()
1326 return HWC1Contents(contents); in cloneRequestedContents()
1329 void HWC2On1Adapter::Display::setReceivedContents(HWC1Contents contents) in setReceivedContents() argument
1333 mHwc1ReceivedContents = std::move(contents); in setReceivedContents()
1877 auto contents = in reallocateHwc1Contents() local
1879 contents->numHwLayers = numLayers; in reallocateHwc1Contents()
1880 mHwc1RequestedContents.reset(contents); in reallocateHwc1Contents()
2483 auto& contents = mHwc1Contents[c]; in prepareAllDisplays() local
2484 if (!contents) { in prepareAllDisplays()
2488 for (size_t l = 0; l < contents->numHwLayers; ++l) { in prepareAllDisplays()
2489 ALOGV(" %zd: %d", l, contents->hwLayers[l].compositionType); in prepareAllDisplays()