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.
162 * Returns the number of bytes per pixel in the specified format.
168 static uint32_t formatSize(GLenum format) {
169 switch (format) {
180 * Creates a new render buffer in the specified format and dimensions.
181 * The format must be GL_ALPHA or GL_RGBA.
183 PixelBuffer(GLenum format, uint32_t width, uint32_t height):
184 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {