Bug 335647 - OpenGL canvas doesn't show the checkered transparency.
Summary: OpenGL canvas doesn't show the checkered transparency.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 14:55 UTC by wolthera
Modified: 2014-06-06 08:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2014-06-01 14:55:17 UTC
So, since a week or so the openGL canvas doesn't show the checkers indicating a transparent background.

For me this had not been much of a problem, because the color it chose instead was white. (Intel open source drivers & Radeon open source drivers)

A while back boudewijn had the same problem for him it was black.

There's someone in IRC who has the problem with Nvidea proprietary drivers(black)

Reproducible: Always

Steps to Reproduce:
1.Make a new picture.
2.Have one transparent layer, draw something on it.
3.Turn off all opaque layers.
Actual Results:  
The transparent bits will render as black or white.

Expected Results:  
Checkers being drawn where there's transparency only.

boud mentions it had to do with a difference between kernel and driver version, but how does one go checking that?
Comment 1 Dmitry Kazakov 2014-06-02 06:30:17 UTC
Yes, same here, regression.
Comment 2 Halla Rempt 2014-06-02 09:27:36 UTC
Yes, its broken again -- I don't know what's up here, though -- did we change any opengl code recently?
Comment 3 Dmitry Kazakov 2014-06-06 08:51:32 UTC
Git commit 58b0742c1543268590b24a817aef7c5333007503 by Dmitry Kazakov.
Committed on 06/06/2014 at 08:51.
Pushed by dkazakov into branch 'krita-testing-kazakov'.

Fix painting checkers on openGL mode

It was too optimistic to remove these two files in
29fe3ddc51b4b296b07586fe.

M  +3    -0    krita/data/shaders/CMakeLists.txt
A  +12   -0    krita/data/shaders/simple_texture.frag
A  +10   -0    krita/data/shaders/simple_texture_legacy.frag

http://commits.kde.org/calligra/58b0742c1543268590b24a817aef7c5333007503
Comment 4 Dmitry Kazakov 2014-06-06 08:52:00 UTC
Git commit 85214b66210be08b6b122b6c850188dc4dc102b6 by Dmitry Kazakov.
Committed on 06/06/2014 at 08:51.
Pushed by dkazakov into branch 'master'.

Fix painting checkers on openGL mode

It was too optimistic to remove these two files in
29fe3ddc51b4b296b07586fe.

M  +3    -0    krita/data/shaders/CMakeLists.txt
A  +12   -0    krita/data/shaders/simple_texture.frag
A  +10   -0    krita/data/shaders/simple_texture_legacy.frag

http://commits.kde.org/calligra/85214b66210be08b6b122b6c850188dc4dc102b6