top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android: how to use Tracer for OpenGL ES for window which is added in a service?

0 votes
710 views

I am working on create some window that is create in a service and got some UI problem recently. The difficult thing is that I cant use the Tracer for OpenGL ES tool because I cannot specify an Activity, so What should I do to trace the frame in my window?

posted May 15, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

–1 vote

To run Tracer in Device Monitor:

1-Start the Android Device Monitor tool.
2-Activate the perspective for Tracer by choosing Window > Open Perspective...
3-Select Tracer for OpenGL ES and click OK.
and for further information go to this link
https://developer.android.com/studio/profile/gltracer.html#generating

answer May 18, 2016 by Hasan Raza
Similar Questions
+2 votes

I am trying to get video playback running on our board which does not have mali support (HW accelerated graphics). Before adding hardware codec, I was trying to get it working with software omx codecs.
What is the procedure for this? Do we have to add YUV support in default gralloc and software opengl library? If not, do we have to convert YUV to RGB in stagefright? how can I do that? Is there any document for it?

+1 vote

I'm currently trying to evaluate the security concept of the various OpenGL implementations and GPU drivers on Android, as compared to the Linux DRI/DRM infrastructure.
How does the system guarantee that an application can only access its own address space when submitting commands to the GPU?Since the drivers seem to mainly reside in the user space as shared libraries, I suppose that there can't be any verification of the command buffers, which is how it is done in the DRM in the mainline Linux kernel.
My guess is that this is done in hardware with an IOMMU on the platforms that support it. Is that correct? And what happens on systems that don't have an IOMMU, or is that a requirement for Android?

+1 vote

Suppose I have two apps which are using location service.

Inside the service manager I want to identify these calls separately for these apps, such as I can say that this call is for ProcessX and that call is for ProcessY. How would I do it?

...