//myView->MustBeResized(); // can be used instead of SetWindow() when EGLsurface has not been changed
EGLContext anEglContext = eglGetCurrentContext();
+ myView->SetImmediateUpdate (Standard_False);
myView->SetWindow (aWindow, (Aspect_RenderingContext )anEglContext);
//saveSnapshot ("/sdcard/Download/tt.png", theWidth, theHeight);
}
return;
}
- myView->FitAll();
+ myView->FitAll (0.01, Standard_False);
+ myView->Invalidate();
}
// =======================================================================
}
myView->StartRotation (theStartX, theStartY, 0.45);
+ myView->Invalidate();
}
// =======================================================================
}
myView->Rotation (theX, theY);
+ myView->Invalidate();
}
// =======================================================================
}
myView->Pan (theDX, theDY);
+ myView->Invalidate();
}
// =======================================================================
}
myContext->MoveTo (theX, theY, myView, Standard_False);
- myContext->Select (Standard_True);
+ myContext->Select (Standard_False);
+ myView->Invalidate();
}
// =======================================================================