Lines Matching refs:format
61 * Creates a new PixelBuffer object with the specified format and
68 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
75 * Returns the format of this render buffer.
150 * Returns the number of bytes per pixel in the specified format.
156 static uint32_t formatSize(GLenum format) {
157 switch (format) {
167 * Returns the alpha channel offset in the specified format.
173 static uint32_t formatAlphaOffset(GLenum format) {
174 switch (format) {
181 ALOGE("unsupported format: %d",format);
187 * Creates a new render buffer in the specified format and dimensions.
188 * The format must be GL_ALPHA or GL_RGBA.
190 PixelBuffer(GLenum format, uint32_t width, uint32_t height):
191 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {