From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card
Date: Sun, 15 May 2016 11:38:03 +0000 [thread overview]
Message-ID: <bug-95406-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1522 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95406
Bug ID: 95406
Summary: glLogicOp (GL_XOR) does not work on AMD/ATI card
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: dri-devel@lists.freedesktop.org
Reporter: franz.reiter@cadcam.co.at
Linux-driver on Ubuntu 14.04.4/64-bit with card AMD/ATI Richland Radeon HD
8570D
(AMD Radeon R7 240):
it seems that "glLogicOp (GL_XOR)" does not work:
..
glLogicOp (GL_XOR);
glEnable (GL_COLOR_LOGIC_OP);
..
glPixelZoom (1.f, 1.f);
glDrawPixels (rb_dx, rb_dy, // width, height
// GL_BLUE, // yellow
GL_GREEN, // violet
// GL_RED, // cyan
GL_FLOAT,
fBuf); // data
glDisable(GL_COLOR_LOGIC_OP);
creates a black background only.
Sourcecode: see function GL_RubberBox_draw in:
https://github.com/gcad3d/gcad3d/blob/master/src/gr/ut_GL.c
The proprietary AMD/ATI-driver and all Nvidia-cards/drivers work ok with this
code.
---------------------------------------------------------
CAD-CAM Services Ing. Franz Reiter
email franz.reiter@cadcam.co.at
http://www.cadcam.co.at
http://www.gcad3d.org
---------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3031 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2016-05-15 11:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 11:38 bugzilla-daemon [this message]
2016-05-15 11:46 ` [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card bugzilla-daemon
2016-05-16 8:31 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-95406-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox