mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
i965/dri: Rewrite comment for intelCreateBuffer
The old comment pinned this function to X11 windows. In reality, this function serves more than X11 and more than just windows. Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
fd6c2a3f3e
commit
85dd3e4de1
1 changed files with 5 additions and 1 deletions
|
|
@ -1152,7 +1152,11 @@ intelDestroyScreen(__DRIscreen * sPriv)
|
|||
|
||||
|
||||
/**
|
||||
* This is called when we need to set up GL rendering to a new X window.
|
||||
* Create a gl_framebuffer and attach it to __DRIdrawable::driverPrivate.
|
||||
*
|
||||
*_This implements driDriverAPI::createNewDrawable, which the DRI layer calls
|
||||
* when creating a EGLSurface, GLXDrawable, or GLXPixmap. Despite the name,
|
||||
* this does not allocate GPU memory.
|
||||
*/
|
||||
static GLboolean
|
||||
intelCreateBuffer(__DRIscreen *dri_screen,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue