Home | History | Annotate | Download | only in hwui

Lines Matching refs:format

32      * Creates a new render buffer in the specified format and dimensions.
33 * The format must be one of the formats allowed by glRenderbufferStorage().
35 RenderBuffer(GLenum format, uint32_t width, uint32_t height):
36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
55 * Returns the format of this render buffer.
124 * Returns the number of bits per component in the specified format.
125 * The format must be one of the formats allowed by glRenderbufferStorage().
127 static uint32_t formatSize(GLenum format) {
128 switch (format) {
145 * Indicates whether the specified format represents a stencil buffer.
147 static bool isStencilBuffer(GLenum format) {
148 switch (format) {
158 * Returns the name of the specified render buffer format.
160 static const char* formatName(GLenum format) {
161 switch (format) {