dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card
@ 2016-05-15 11:38 bugzilla-daemon
  2016-05-15 11:46 ` bugzilla-daemon
  2016-05-16  8:31 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2016-05-15 11:38 UTC (permalink / raw)
  To: dri-devel


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-16  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-15 11:38 [Bug 95406] glLogicOp (GL_XOR) does not work on AMD/ATI card bugzilla-daemon
2016-05-15 11:46 ` bugzilla-daemon
2016-05-16  8:31 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox