Home
last modified time | relevance | path

Searched refs:oldSurface (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/surface/
Dclip.dart18 void adoptElements(_DomClip oldSurface) {
19 super.adoptElements(oldSurface);
20 _childContainer = oldSurface._childContainer;
21 oldSurface._childContainer = null;
95 void update(PersistedClipRect oldSurface) {
96 super.update(oldSurface);
97 if (rect != oldSurface.rect) {
147 void update(PersistedClipRRect oldSurface) {
148 super.update(oldSurface);
149 if (rrect != oldSurface.rrect) {
[all …]
Dbackdrop_filter.dart28 void adoptElements(PersistedBackdropFilter oldSurface) {
29 super.adoptElements(oldSurface);
30 _childContainer = oldSurface._childContainer;
31 _filterElement = oldSurface._filterElement;
32 oldSurface._childContainer = null;
95 void update(PersistedBackdropFilter oldSurface) {
96 super.update(oldSurface);
97 if (filter != oldSurface.filter) {
Dsurface.dart599 /// Whether this surface can update an existing [oldSurface].
600 bool canUpdateAsMatch(PersistedSurface oldSurface) {
601 return oldSurface.isActive && runtimeType == oldSurface.runtimeType;
655 /// called when [isTotalMatchFor] returns true for the [oldSurface]. Otherwise
656 /// adopting the [oldSurface]'s elements could lead to correctness issues.
659 void adoptElements(covariant PersistedSurface oldSurface) {
660 assert(oldSurface.rootElement != null);
661 assert(oldSurface.isActive || oldSurface.isPendingUpdate);
663 if (oldSurface.isPendingUpdate) {
665 assert(identical(self.oldLayer, oldSurface));
[all …]
Dtransform.dart33 void update(PersistedTransform oldSurface) {
34 super.update(oldSurface);
36 if (identical(oldSurface.matrix4, matrix4)) {
42 if (matrix4[i] != oldSurface.matrix4[i]) {
Doffset.dart39 void update(PersistedOffset oldSurface) {
40 super.update(oldSurface);
42 if (oldSurface.dx != dx || oldSurface.dy != dy) {
Dopacity.dart46 void update(PersistedOpacity oldSurface) {
47 super.update(oldSurface);
48 if (alpha != oldSurface.alpha || offset != oldSurface.offset) {
Dpicture.dart427 bool _computeOptimalCullRect(PersistedPicture oldSurface) {
430 if (oldSurface == null || !oldSurface.picture.recordingCanvas.didDraw) {
436 assert(oldSurface._optimalLocalCullRect != null);
438 final bool surfaceBeingRetained = identical(oldSurface, this);
441 : oldSurface._optimalLocalCullRect;
502 void _applyPaint(PersistedPicture oldSurface) {
503 final EngineCanvas oldCanvas = oldSurface?._canvas;
538 void update(PersistedPicture oldSurface) {
539 super.update(oldSurface);
541 if (dx != oldSurface.dx || dy != oldSurface.dy) {
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglResizeTests.cpp275 bool compareCorners (const Surface& oldSurface, const Surface& newSurface) in compareCorners() argument
277 const int oldWidth = oldSurface.getWidth(); in compareCorners()
278 const int oldHeight = oldSurface.getHeight(); in compareCorners()
294 getSubregion(oldSurface.getAccess(), oldX, oldY, minWidth, minHeight); in compareCorners()
405 const Surface oldSurface = readSurface(m_gl, oldEglSize); in iterate() local
418 << TestLog::Image("Before resizing", "Before resizing", oldSurface) in iterate()
422 m_status.checkResult(compareCorners(oldSurface, newSurface), in iterate()
/third_party/flutter/engine/flutter/lib/web_ui/test/
Dcompositing_test.dart269 void update(PersistedPicture oldSurface) {
270 super.update(oldSurface);