diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:04:26 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-02-04 18:49:00 +0100 |
commit | 1f516978527b223882c02d8c23834a0f30279dec (patch) | |
tree | 7472bb21b145c2c586a3ad7aebb7bd136cef9e70 /client/red_gl_canvas.cpp | |
parent | c1694fb51bb29d3cbd03f679372339f9e8f29803 (diff) | |
download | spice-1f516978527b223882c02d8c23834a0f30279dec.tar.gz spice-1f516978527b223882c02d8c23834a0f30279dec.tar.xz spice-1f516978527b223882c02d8c23834a0f30279dec.zip |
Rename symbols that were changed in spice-protocol
This is an automatic change using:
$ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
$ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
Diffstat (limited to 'client/red_gl_canvas.cpp')
-rw-r--r-- | client/red_gl_canvas.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp index f08dd4dc..830de035 100644 --- a/client/red_gl_canvas.cpp +++ b/client/red_gl_canvas.cpp @@ -70,7 +70,7 @@ void GCanvas::create_pixmap(int width, int height, RedWindow *win, void GCanvas::copy_pixels(const QRegion& region, RedDrawable& dest_dc) { for (int i = 0; i < (int)region.num_rects; i++) { - Rect* r = ®ion.rects[i]; + SpiceRect* r = ®ion.rects[i]; dest_dc.copy_pixels(*_pixmap, r->left, r->top, *r); } } @@ -105,85 +105,85 @@ void GCanvas::set_access_params(unsigned long base, unsigned long max) gl_canvas_set_access_params(_canvas, base, max); } -void GCanvas::draw_fill(Rect *bbox, Clip *clip, Fill *fill) +void GCanvas::draw_fill(SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill) { gl_canvas_draw_fill(_canvas, bbox, clip, fill); _pixmap->update_texture(bbox); } -void GCanvas::draw_text(Rect *bbox, Clip *clip, Text *text) +void GCanvas::draw_text(SpiceRect *bbox, SpiceClip *clip, SpiceText *text) { gl_canvas_draw_text(_canvas, bbox, clip, text); _pixmap->update_texture(bbox); } -void GCanvas::draw_opaque(Rect *bbox, Clip *clip, Opaque *opaque) +void GCanvas::draw_opaque(SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque) { gl_canvas_draw_opaque(_canvas, bbox, clip, opaque); _pixmap->update_texture(bbox); } -void GCanvas::draw_copy(Rect *bbox, Clip *clip, Copy *copy) +void GCanvas::draw_copy(SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy) { gl_canvas_draw_copy(_canvas, bbox, clip, copy); _pixmap->update_texture(bbox); } -void GCanvas::draw_transparent(Rect *bbox, Clip *clip, Transparent* transparent) +void GCanvas::draw_transparent(SpiceRect *bbox, SpiceClip *clip, SpiceTransparent* transparent) { gl_canvas_draw_transparent(_canvas, bbox, clip, transparent); _pixmap->update_texture(bbox); } -void GCanvas::draw_alpha_blend(Rect *bbox, Clip *clip, AlphaBlnd* alpha_blend) +void GCanvas::draw_alpha_blend(SpiceRect *bbox, SpiceClip *clip, SpiceAlphaBlnd* alpha_blend) { gl_canvas_draw_alpha_blend(_canvas, bbox, clip, alpha_blend); _pixmap->update_texture(bbox); } -void GCanvas::copy_bits(Rect *bbox, Clip *clip, Point *src_pos) +void GCanvas::copy_bits(SpiceRect *bbox, SpiceClip *clip, SpicePoint *src_pos) { gl_canvas_copy_pixels(_canvas, bbox, clip, src_pos); _pixmap->update_texture(bbox); } -void GCanvas::draw_blend(Rect *bbox, Clip *clip, Blend *blend) +void GCanvas::draw_blend(SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend) { gl_canvas_draw_blend(_canvas, bbox, clip, blend); _pixmap->update_texture(bbox); } -void GCanvas::draw_blackness(Rect *bbox, Clip *clip, Blackness *blackness) +void GCanvas::draw_blackness(SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness) { gl_canvas_draw_blackness(_canvas, bbox, clip, blackness); _pixmap->update_texture(bbox); } -void GCanvas::draw_whiteness(Rect *bbox, Clip *clip, Whiteness *whiteness) +void GCanvas::draw_whiteness(SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness) { gl_canvas_draw_whiteness(_canvas, bbox, clip, whiteness); _pixmap->update_texture(bbox); } -void GCanvas::draw_invers(Rect *bbox, Clip *clip, Invers *invers) +void GCanvas::draw_invers(SpiceRect *bbox, SpiceClip *clip, SpiceInvers *invers) { gl_canvas_draw_invers(_canvas, bbox, clip, invers); _pixmap->update_texture(bbox); } -void GCanvas::draw_rop3(Rect *bbox, Clip *clip, Rop3 *rop3) +void GCanvas::draw_rop3(SpiceRect *bbox, SpiceClip *clip, SpiceRop3 *rop3) { gl_canvas_draw_rop3(_canvas, bbox, clip, rop3); _pixmap->update_texture(bbox); } -void GCanvas::draw_stroke(Rect *bbox, Clip *clip, Stroke *stroke) +void GCanvas::draw_stroke(SpiceRect *bbox, SpiceClip *clip, SpiceStroke *stroke) { gl_canvas_draw_stroke(_canvas, bbox, clip, stroke); _pixmap->update_texture(bbox); } -void GCanvas::put_image(const PixmapHeader& image, const Rect& dest, +void GCanvas::put_image(const PixmapHeader& image, const SpiceRect& dest, const QRegion* clip) { gl_canvas_put_image(_canvas, &dest, image.data, image.width, image.height, |