Bug 59710 - SKGLView renders 60% darker than SKCanvasView
Summary: SKGLView renders 60% darker than SKCanvasView
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC All
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-24 18:40 UTC by erictetz
Modified: 2017-09-25 20:39 UTC (History)
2 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
side by side SKGLView and SKCanvasView (118.92 KB, image/png)
2017-09-24 18:40 UTC, erictetz
Details
sample project to reproduce the bug (247.58 KB, application/octet-stream)
2017-09-24 21:54 UTC, erictetz
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description erictetz 2017-09-24 18:40:33 UTC
Created attachment 24905 [details]
side by side SKGLView and SKCanvasView

SKGLView renders 60% darker than SKCanvasView, using identical drawing code.

Attached is an image showing them side by side. The only difference is which of the following controls was uncommented:

        <!--<skia:SKCanvasView PaintSurface="OnCanvasViewPaintSurface" />-->
        <skia:SKGLView PaintSurface="OnCanvasViewPaintSurface" />
Comment 1 erictetz 2017-09-24 21:54:44 UTC
Created attachment 24906 [details]
sample project to reproduce the bug
Comment 2 Paul DiPietro [MSFT] 2017-09-25 15:35:49 UTC
Cross-reference here for later investigation:

https://github.com/mono/SkiaSharp/issues/372
Comment 3 Paul DiPietro [MSFT] 2017-09-25 20:39:41 UTC
Appears to be answered here:

https://github.com/mono/SkiaSharp/issues/299#issuecomment-331990904