DALI_LOG_ERROR("eglQuerySurface(%d)\n", eglGetError());
age = 0;
}
-
- // 0 - invalid buffer
- // 1, 2, 3
- if(age > 3)
- {
- DALI_LOG_ERROR("EglImplementation::GetBufferAge() buffer age %d > 3\n", age);
- age = 0; // shoudn't be more than 3 back buffers, if there is just reset, I don't want to add extra history level
- }
-
return age;
}
mWindowPositionSize.height = newHeight;
DALI_LOG_RELEASE_INFO("Update position & resize signal by server, current angle [%d] x[%d] y[%d] w[%d] h[%d]\n", mWindowRotationAngle, mWindowPositionSize.x, mWindowPositionSize.y, mWindowPositionSize.width, mWindowPositionSize.height);
+ ecore_wl2_window_geometry_set(mEcoreWindow, mWindowPositionSize.x, mWindowPositionSize.y, mWindowPositionSize.width, mWindowPositionSize.height);
+
Dali::PositionSize newPositionSize = RecalculatePositionSizeToCurrentOrientation(mWindowPositionSize);
DALI_LOG_RELEASE_INFO("emit signal to update window's position and size, x[%d] y[%d] w[%d] h[%d]\n", newPositionSize.x, newPositionSize.y, newPositionSize.width, newPositionSize.height);
mUpdatePositionSizeSignal.Emit(newPositionSize);