Browse Source
GAL canvases: add DrawBitmap(), using a basic brute force algo for OpenGL, and a optimized code for Cairo. In this fix the brute force means draw each pixel as a rectangle. It works fine, but could be optimized.
pull/13/head
GAL canvases: add DrawBitmap(), using a basic brute force algo for OpenGL, and a optimized code for Cairo. In this fix the brute force means draw each pixel as a rectangle. It works fine, but could be optimized.
pull/13/head
committed by
Tomasz Wlostowski
8 changed files with 125 additions and 1 deletions
-
56common/gal/cairo/cairo_gal.cpp
-
41common/gal/opengl/opengl_gal.cpp
-
13common/worksheet_viewitem.cpp
-
3include/gal/cairo/cairo_gal.h
-
6include/gal/graphics_abstraction_layer.h
-
3include/gal/opengl/opengl_gal.h
-
2include/worksheet_shape_builder.h
-
2include/worksheet_viewitem.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue