Ream v0.1.0-1
C++ graphics library for Linux
Loading...
Searching...
No Matches
Public Attributes | List of all members
RGLFramebufferInfo Struct Reference

Describes an existing OpenGL framebuffer object to wrap as an RGLImage. More...

#include <RGLImage.h>

Public Attributes

GLuint id
 The GL framebuffer object name (0 refers to the default framebuffer).
 
SkISize size {}
 Framebuffer size in pixels.
 
RFormat format
 DRM fourcc format of the framebuffer's color attachment.
 
SkAlphaType alphaType { kUnknown_SkAlphaType }
 Alpha interpretation of the pixels.
 

Detailed Description

Describes an existing OpenGL framebuffer object to wrap as an RGLImage.

Used by RGLImage::BorrowFramebuffer() to build an image backed by a framebuffer that Ream does not own.

Member Data Documentation

◆ id

GLuint id

The GL framebuffer object name (0 refers to the default framebuffer).

◆ size

SkISize size {}

Framebuffer size in pixels.

◆ format

RFormat format

DRM fourcc format of the framebuffer's color attachment.

◆ alphaType

SkAlphaType alphaType { kUnknown_SkAlphaType }

Alpha interpretation of the pixels.