Home | History | Annotate | Download | only in libagl

Lines Matching defs:base

33     const GGLSurface* base = &tex->surface;    
34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
36 int w = base->width;
37 int h = base->height;
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
53 int bs = base->stride;
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
58 uint16_t const * src = (uint16_t const *)base->data;
79 else if (base->format == GGL_PIXEL_FORMAT_RGBA_5551)
81 uint16_t const * src = (uint16_t const *)base->data;
99 else if (base->format == GGL_PIXEL_FORMAT_RGBA_8888)
101 uint32_t const * src = (uint32_t const *)base->data;
126 else if ((base->format == GGL_PIXEL_FORMAT_RGB_888) ||
127 (base->format == GGL_PIXEL_FORMAT_LA_88) ||
128 (base->format == GGL_PIXEL_FORMAT_A_8) ||
129 (base->format == GGL_PIXEL_FORMAT_L_8))
132 switch (base->format) {
137 uint8_t const * src = (uint8_t const *)base->data;
155 else if (base->format == GGL_PIXEL_FORMAT_RGBA_4444)
157 uint16_t const * src = (uint16_t const *)base->data;
177 ALOGE("Unsupported format (%d)", base->format);
185 base = &cur;