<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - glLogicOp (GL_XOR) does not work on AMD/ATI card"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95406">95406</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>glLogicOp (GL_XOR) does not work on AMD/ATI card
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>franz.reiter@cadcam.co.at
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="https://github.com/gcad3d/gcad3d/blob/master/src/gr/ut_GL.c">https://github.com/gcad3d/gcad3d/blob/master/src/gr/ut_GL.c</a>

The proprietary AMD/ATI-driver and all Nvidia-cards/drivers work ok with this
code.

---------------------------------------------------------
CAD-CAM Services Ing. Franz Reiter
email <a href="mailto:franz.reiter@cadcam.co.at">franz.reiter@cadcam.co.at</a>
<a href="http://www.cadcam.co.at">http://www.cadcam.co.at</a>
<a href="http://www.gcad3d.org">http://www.gcad3d.org</a>
---------------------------------------------------------</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>