Lines Matching refs:mWindowInfo

349         : mNativeWindow(window), mWindowInfo(windowInfo), mGrContext(grContext) {}  in VulkanSurface()
360 for (uint32_t i = 0; i < mWindowInfo.bufferCount; i++) { in releaseBuffers()
384 for (uint32_t i = 0; i < mWindowInfo.bufferCount; i++) { in invalidateBuffers()
417 if (actualSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
418 if (actualSize != mWindowInfo.actualSize) { in dequeueNativeBuffer()
421 mWindowInfo.actualSize = actualSize; in dequeueNativeBuffer()
429 if (transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
438 mWindowInfo.transform = transformHint; in dequeueNativeBuffer()
441 mWindowInfo.size = actualSize; in dequeueNativeBuffer()
442 if (mWindowInfo.transform & NATIVE_WINDOW_TRANSFORM_ROT_90) { in dequeueNativeBuffer()
443 mWindowInfo.size.set(actualSize.height(), actualSize.width()); in dequeueNativeBuffer()
446 mWindowInfo.preTransform = GetPreTransformMatrix(mWindowInfo.size, mWindowInfo.transform); in dequeueNativeBuffer()
447 mWindowInfo.pixelSnapMatrix = GetPixelSnapMatrix(mWindowInfo.size, mWindowInfo.transform); in dequeueNativeBuffer()
451 for (idx = 0; idx < mWindowInfo.bufferCount; idx++) { in dequeueNativeBuffer()
464 if (idx == mWindowInfo.bufferCount) { in dequeueNativeBuffer()
474 if (mWindowInfo.colorMode != ColorMode::Default) { in dequeueNativeBuffer()
480 kTopLeft_GrSurfaceOrigin, mWindowInfo.colorspace, &surfaceProps, in dequeueNativeBuffer()
545 mWindowInfo.colorspace = std::move(colorSpace); in setColorSpace()
550 if (mWindowInfo.colorMode == ColorMode::Hdr || mWindowInfo.colorMode == ColorMode::Hdr10) { in setColorSpace()
551 mWindowInfo.dataspace = P3_XRB; in setColorSpace()
553 mWindowInfo.dataspace = ColorSpaceToADataSpace( in setColorSpace()
554 mWindowInfo.colorspace.get(), BufferFormatToColorType(mWindowInfo.bufferFormat)); in setColorSpace()
556 LOG_ALWAYS_FATAL_IF(mWindowInfo.dataspace == HAL_DATASPACE_UNKNOWN && in setColorSpace()
557 mWindowInfo.bufferFormat != AHARDWAREBUFFER_FORMAT_R8_UNORM, in setColorSpace()
561 int err = ANativeWindow_setBuffersDataSpace(mNativeWindow.get(), mWindowInfo.dataspace); in setColorSpace()
565 mWindowInfo.dataspace, strerror(-err), err); in setColorSpace()