| 232 | } |
| 233 | |
| 234 | void OglRenderer::drawRasterBuffer(rasterBufferObj *overlay, double opacity, int srcX, int srcY, int dstX, int dstY, int width, int height) |
| 235 | { |
| 236 | // todo to support all alpha and srcx/y this needs to be done by creating a texture |
| 237 | makeCurrent(); |
| 238 | glDrawPixels(width, height, GL_BGRA, GL_UNSIGNED_BYTE, overlay->data.rgba.pixels); |
| 239 | } |
| 240 | |
| 241 | void OglRenderer::setTransparency(double transparency) |
| 242 | { |
no outgoing calls
no test coverage detected