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

          Priority: medium
            Bug ID: 65426
          Assignee: [email protected]
           Summary: openGL glDeleteBuffers does not delete buffers created
                    using glGenBuffers
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          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.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to