This is a migrated thread and some comments may be shown as answers.

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2866d0640> to GL_RENDERBUFFER 1

1 Answer 267 Views
PdfViewer
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Dec 2019, 04:06 PM

Xamarin.Forms 4.1.0.555619

Telerik.Ui.for.Xamarin 2019.3.1119.1

Hey,

I am trying to show a pdf from a stream via the pdfViewer,

<Grid>
         <Grid.RowDefinitions>
             <RowDefinition Height="Auto"/>
             <RowDefinition />
         </Grid.RowDefinitions>
         <telerikPdfViewer:RadPdfViewerToolbar PdfViewer="{Binding Source={x:Reference pdfViewer}}">
             <telerikPdfViewer:ZoomInToolbarItem />
             <telerikPdfViewer:ZoomOutToolbarItem />
             <telerikPdfViewer:ToggleLayoutModeToolbarItem />
         </telerikPdfViewer:RadPdfViewerToolbar>
         <telerikPdfViewer:RadPdfViewer x:Name="pdfViewer"
                                Grid.Row="1"
                                        Source="{Binding DocStream, Mode=TwoWay}"
                                PageSpacing="15"
                                MinZoomLevel="0.2"
                                MaxZoomLevel="5" />
     </Grid>

 

The view renders but there is no pdf, just a grey blank screen, there is no crash however the console output gives the following;

Im thinking SkiaSharp? but at a loss as to a solution?

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x2866d0640> to GL_RENDERBUFFER 1
Failed to make complete multisample framebuffer object 8cd6
Failed to make complete framebuffer object 8cd6

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Dec 2019, 08:48 AM

Hello David,

We haven't received such a report so far related to RadPdfViewer. I researched around and indeed, the error seems related to the SkiaSharp SKGLView not properly rendered on iOS,  still, I cannot reproduce it on my side.

Could you confirm that you have SkiaSharp, SkiaSharp.Views and SkiaSharp.Views.Forms NuGet packages referenced in all projects? The minimum required version is 1.68, can you tell which version you're using?

Would it be possible to try to isolate the in a runnable sample and send it over?  You would need to open a support ticket and attach it there.

Thanks in advance for your cooperation on this.

Regards,
Yana
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
PdfViewer
Asked by
David
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or