Pre loader

E/libEGL: call to OpenGL ES API with no current context (logged once per thread) in logcat

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

I am considering applying server-side licensing for my javerScript application.

In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support-dev.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)

However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)

I wonder if there is a sample code implemented in C++ for server-side licensing.

Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?

Version
2 or 2.1
  • You must to post comments
Great Answer
0
0

Hi Sergey,

Thanks for your inquiry.

I’m not sure that there is something we can do to fix this message because this message is device specific ( couldn’t be reproduced on all type of devices). May I ask which device do you use for testing? Does it support OpenGL ES 2.0? I’ve tried to reproduce it on Samsung Galaxy S3 with API 19 and I don’t see it. I’m asking because this message could be caused by some bug in OpenGL driver for your specific device or custom Android firmware created by device vendor.

The only workaround in this case which should prevent showing of this message is to switch on other RenderSurface implementation which doesn’t use OpenGL for drawing:

        // use alternative RenderSurface implementation which uses Canvas API for drawing
        surface.setRenderSurface(new RenderSurface(context));

Hope this will help you!

Best regards,
Yura

  • You must to post comments
0
0

Thanks for the reply. In fact, this error in the log does not interfere with normal operation, I sent another request to you. The problem is that the surface doesn’t appear in a Linear container, because that’s what I need. I sent the markup and the code to you.

// use alternative RenderSurface implementation which uses Canvas API for drawing
surface.setRenderSurface(new RenderSurface(context));

Does not solve the problem

  • Yura Khariton
    Well if switching to Canvas based RenderSurface doesn’t help then your problem isn’t caused by that OpenGL error. I would suggest to check your layout – maybe chart is overlapped by some other View or it has zero size.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies