Lines Matching refs:cb
59 surface_t* cb = &(c->state.buffers.color); in ggl_copyPixels() local
62 if (uint32_t(xs) > cb->width) in ggl_copyPixels()
64 if (uint32_t(ys) > cb->height) in ggl_copyPixels()
66 if (uint32_t(xs + width) > cb->width) in ggl_copyPixels()
68 if (uint32_t(ys + height) > cb->height) in ggl_copyPixels()
105 const GGLFormat* fp = &(c->formats[cb->format]); in ggl_copyPixels()
106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data) in ggl_copyPixels()
107 + (xs + (cb->stride * ys)) * fp->size; in ggl_copyPixels()
108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) in ggl_copyPixels()
109 + (xd + (cb->stride * yd)) * fp->size; in ggl_copyPixels()
110 const size_t bpr = cb->stride * fp->size; in ggl_copyPixels()