[Bug 65426] New: openGL glDeleteBuffers does not delete buffers created using glGenBuffers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 5 09:33:01 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65426

          Priority: medium
            Bug ID: 65426
          Assignee: xorg-driver-ati at lists.x.org
           Summary: openGL glDeleteBuffers does not delete buffers created
                    using glGenBuffers
        QA Contact: xorg-team at lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: dan.j.allen at ntlworld.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Driver/Radeon
           Product: xorg

Description of problem:

Testing a working application using openGL (through JOGL) failed on Fedora 18.
I was trying to find the cause of another problem but noticed that buffers
created using glGenBuffers are not deleted when using glDeleteBuffers in the
process.

How reproducible:

The following code is used in the display method of a JOGL application:

int[] buffer = new int[1];
for(int i = 0; i < 5; i++)
{
    gl.glGenBuffers(1, buffer, 0);
    System.out.println("Buffer Generated: " + buffer[0]);
    gl.glDeleteBuffers(1, buffer, 0);
}

Steps to Reproduce:
1. Execute a simple JOGL application with the above in the display method.

Actual results:

Buffer Generated: 1
Buffer Generated: 2
Buffer Generated: 3
Buffer Generated: 4
Buffer Generated: 5

Expected results:

Buffer Generated: 1
Buffer Generated: 1
Buffer Generated: 1
Buffer Generated: 1
Buffer Generated: 1

Additional info:

This has been reported in the Fedora bug reporting system. However, testing
this in Ubuntu 13.04 gave the same results. I was recommended to report this
directly at xorg.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20130605/324e3b88/attachment.html>


More information about the xorg-driver-ati mailing list