Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_services_VncFlinger
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_services_VncFlinger
Commits
ded338d5
Commit
ded338d5
authored
1 year ago
by
Nick
Browse files
Options
Downloads
Patches
Plain Diff
VncFlinger: delay sending surface for a bit
Change-Id: I939d82418b16dbb6c6aa8d21a52bd755c01999dd
parent
da429e8b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/vncflinger/AndroidDesktop.cpp
+2
-3
2 additions, 3 deletions
src/vncflinger/AndroidDesktop.cpp
with
2 additions
and
3 deletions
src/vncflinger/AndroidDesktop.cpp
+
2
−
3
View file @
ded338d5
...
...
@@ -34,8 +34,6 @@ AndroidDesktop::AndroidDesktop() {
ALOGE
(
"Failed to create event notifier"
);
return
;
}
runJniCallbackNewSurfaceAvailable
();
}
AndroidDesktop
::~
AndroidDesktop
()
{
...
...
@@ -302,7 +300,6 @@ void AndroidDesktop::onBufferDimensionsChanged(uint32_t width, uint32_t height)
mVirtualDisplay
.
clear
();
mVirtualDisplay
=
new
VirtualDisplay
(
&
mDisplayMode
,
&
mDisplayState
,
mPixels
->
width
(),
mPixels
->
height
(),
mLayerId
,
this
);
runJniCallbackNewSurfaceAvailable
();
mDisplayRect
=
mVirtualDisplay
->
getDisplayRect
();
...
...
@@ -312,6 +309,8 @@ void AndroidDesktop::onBufferDimensionsChanged(uint32_t width, uint32_t height)
mServer
->
setPixelBuffer
(
mPixels
.
get
(),
computeScreenLayout
());
mServer
->
setScreenLayout
(
computeScreenLayout
());
runJniCallbackNewSurfaceAvailable
();
}
void
AndroidDesktop
::
queryConnection
(
network
::
Socket
*
sock
,
const
char
*
/*userName*/
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment