Home | History | Annotate | Download | only in hwui

Lines Matching refs:format

59      * Creates a new PixelBuffer object with the specified format and
66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
73 * Returns the format of this render buffer.
143 * Returns the number of bytes per pixel in the specified format.
149 static uint32_t formatSize(GLenum format) {
150 switch (format) {
161 * Creates a new render buffer in the specified format and dimensions.
162 * The format must be GL_ALPHA or GL_RGBA.
164 PixelBuffer(GLenum format, uint32_t width, uint32_t height):
165 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {