bugGNUstep - Bugs: bug #12160, NSOpenGLView does not seem to be...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12160: NSOpenGLView does not seem to be working correctly

Submitted by:  None
Submitted on:  Sun 27 Feb 2005 05:27:00 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Invalid
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Sat 03 Mar 2007 08:04:25 PM UTC, comment #4:

Recent discussions/tests have shown that this is not an issue.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sat 18 Jun 2005 11:52:14 PM UTC, comment #3:

It appears as though if the window is off screen when the GL content is drawn, and is then brought to the front, it's contents appear blank (or transparent as the case may be). If the view is subsequently drawn once the window is being displayed, it's contents are drawn properly. GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sat 18 Jun 2005 11:43:56 PM UTC, comment #2:

Removing the timer in stefan's example code (the one attached to the message, not to this bug) causes it to exhibit the same behavior. I'm guessing that there is something in the code that's called after the initial drawRect: call which is causing the buffer to be flushed.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Fri 17 Jun 2005 12:07:13 PM UTC, comment #1:

This appears to be a problem in the code which initializes the open gl context.

I will take a look at this. GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 27 Feb 2005 05:27:00 AM UTC, original submission:

I've tried several times to to create a Custom Class of NSOpenGLView in Gorm and implementing the drawRect: method of the class; however, in the application window, in the location of the View, nothing is draw. All I can see is the background image on my desktop where the view's geometry should be. I thought this might be a problem with Gorm, so I wrote an Application without it, and duplicated this behavior.

I thought I might have been looking over something, so I recreated my application in IB on OSX, and the Application displayed correctly what I implemented in the drawRect: method.

There is a working OpenGL example by Stephen Urbanek
See:
http://lists.gnu.org/archive/html/discuss-gnustep/2004-11/msg00191.html

but I'm not sure what exactly makes his example work.

My example code is included below.

Anonymous

 

Attached Files
file #2621:  GLBugTest.tar.gz added by None (34KiB - application/x-gzip - OpenGL Bug test applications)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gcasa (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Mar 2007 08:04:25 PM UTCgcasaStatusIn Progress=>Invalid
      Open/ClosedOpen=>Closed
    Fri 17 Jun 2005 12:07:13 PM UTCgcasaStatusNone=>In Progress
      Assigned toNone=>gcasa
    Sat 19 Mar 2005 06:23:30 PM UTCkkerleCarbon-Copy-=>Added kkerle
    Sun 27 Feb 2005 05:27:00 AM UTCNoneAttached File-=>Added GLBugTest.tar.gz, #2243

    Back to the top


    Powered by Savane 3.1-cleanup1