Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwinglutils.h
Show First 20 Lines • Show All 492 Lines • ▼ Show 20 Line(s) | 419 | public: | |||
---|---|---|---|---|---|
493 | * Be aware that framebuffer blitting may not be supported on all hardware. Use blitSupported to check whether | 493 | * Be aware that framebuffer blitting may not be supported on all hardware. Use blitSupported to check whether | ||
494 | * it is supported. | 494 | * it is supported. | ||
495 | * @param source Geometry in screen coordinates which should be blitted, if not specified complete framebuffer is used | 495 | * @param source Geometry in screen coordinates which should be blitted, if not specified complete framebuffer is used | ||
496 | * @param destination Geometry in attached texture, if not specified complete texture is used as destination | 496 | * @param destination Geometry in attached texture, if not specified complete texture is used as destination | ||
497 | * @param filter The filter to use if blitted content needs to be scaled. | 497 | * @param filter The filter to use if blitted content needs to be scaled. | ||
498 | * @see blitSupported | 498 | * @see blitSupported | ||
499 | * @since 4.8 | 499 | * @since 4.8 | ||
500 | **/ | 500 | **/ | ||
501 | void blitFromFramebuffer(const QRect &source = QRect(), const QRect &destination = QRect(), GLenum filter = GL_LINEAR); | 501 | void blitFromFramebuffer(const QRect &source = QRect(), const QRect &destination = QRect(), GLenum filter = GL_LINEAR, bool transpose = false); | ||
502 | 502 | | |||
503 | /** | 503 | /** | ||
504 | * Sets the virtual screen size to @p s. | 504 | * Sets the virtual screen size to @p s. | ||
505 | * @since 5.2 | 505 | * @since 5.2 | ||
506 | **/ | 506 | **/ | ||
507 | static void setVirtualScreenSize(const QSize &s) { | 507 | static void setVirtualScreenSize(const QSize &s) { | ||
508 | s_virtualScreenSize = s; | 508 | s_virtualScreenSize = s; | ||
509 | } | 509 | } | ||
▲ Show 20 Lines • Show All 316 Lines • Show Last 20 Lines |