Lines Matching refs:dst
58 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src)
60 dst->width = src->width;
61 dst->height = src->height;
62 dst->stride = src->stride;
63 dst->data = src->data;
64 dst->format = src->format;
65 dst->dirty = 1;
66 if (__builtin_expect(dst->stride < 0, false)) {
67 const GGLFormat& pixelFormat(c->formats[dst->format]);
68 const int32_t bpr = -dst->stride * pixelFormat.size;
69 dst->data += bpr * (dst->height-1);
325 int dh, int dl, // dst