MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010196 | VTK | (No Category) | public | 2010-01-28 21:21 | 2016-08-12 09:55 |
| Reporter | François Bertel | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0010196: Improve fine-tuning of OpenGL/Mesa RenderWindow | ||||
| Description | Right now, there is no way for a user to force the creation of the default OpenGL framebuffer [1] of an OpenGL renderer window with a particular set of criteria (number of bits in the depth buffer, in the color buffer, ...) It could be done by adding some preference profile object. For example, this profile could have a minimum number of bits for a depth buffer, a minimum number of bits for the colorbuffer. In parallel, each item of the preference list should have a boolean value saying if the item is required or if it is up to the system to pick any. For the illustration purpose of the discussion, let's call vtkFrameBufferProfile a class composed of two pointers. The first one to a vtkFrameBufferProfileValues object and the second one to a vtkFrameBufferProfileMask object. class vtkFrameBufferProfile { public: vtkFrameBufferProfileValues *GetValues(); vtkFrameBufferProfileMask *GetMask(); } For example, with: vtkFrameBufferProfile *p=vtkFrameBufferProfile::New(); p->GetValues()->SetDepthBufferBits(24); p->GetMask()->SetDepthBufferBits(true); p->GetMask()->SetColorBufferBits(false); the user is asking for a minimum of 24 bits in the depth buffer but does not care about how many bits are used for the colorbuffer. The system will create a framebuffer with at least 24bits in its depth buffer and with any kind of colorbuffer, regardless of the colorbufferbits preference value. To build the list of preferences, we can use references [2],[3] and [4]. [1] "default" framebuffer, as defined in the OpenGL 3.2 Compatibility Profile Specification, section 2.1, page 6 as the window system-provided framebuffer http://www.opengl.org/registry/doc/glspec32.compatibility.20091207.pdf [^] [2] GLX 1.4 http://www.opengl.org/documentation/specs/glx/glx1.4.pdf [^] [3] WGL pixel format: http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt [^] [4] NSOpenGLPixelFormat: Mac OS X http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSOpenGLPixelFormat_Class/Reference/Reference.html [^] | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-01-28 21:21 | François Bertel | New Issue | |||
| 2010-01-28 21:22 | François Bertel | Status | backlog => tabled | ||
| 2010-01-28 21:22 | François Bertel | Assigned To | => François Bertel | ||
| 2010-09-07 13:43 | François Bertel | Assigned To | François Bertel => | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037138 | |||
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||