Questions tagged [off-screen]

rendering that doesn't involve displaying or printing, usually directed to a buffer or a file.

117 questions
3
votes
2 answers

Easiest way for offscreen rendering with QOpenGLWidget

I have a hidden QOpenGLWidget (Qt 5.4.2, NOT QGLWidget) and I want to basically continually do grab() or grabFramebuffer() to get its content (and write it to disk). The widget renders fine when visible, but does not when hidden. If I do a show()…
Bim
  • 1,008
  • 1
  • 10
  • 29
2
votes
0 answers

Qt & OpenGL - rendering off-screen : QGLFrameBufferObject?

i'm new to OpenGL and i need to use a QGLFrameBufferObject for off-screen rendering (or solve my problem with grabFrameBuffer, see below). I read the example in Qt Documentation, but there are too many things at once, it is kind of difficult for…
RyuKa
  • 61
  • 1
  • 5
2
votes
2 answers

Running OpenGL application without any graphic server

I want to write application for digital signage but I want it to run in minimal environment so I don't want X11 server. Is it possible to run on one account OpenGl app without X11 (or any other graphic drawing library with at least 2D graphics)?
Hauleth
  • 22,873
  • 4
  • 61
  • 112
2
votes
0 answers

Off screen rendering mode in iOS

In CALayer class, there's a property named shouldRasterize. In documentation, it say that when this property is set to YES, the layer is rendered as a bitmap.In WWDC 2010 videos, session 123: Building Animation Driven Interfaces, it say when this…
vietstone
  • 8,784
  • 16
  • 52
  • 79
2
votes
0 answers

Turning on the locked screen Ionic 4

I want to turn the mobile screen on when the screen is locked in order to develope a reminder mobile app. Can anyone help me with any cordova plugin or third party library ?
2
votes
0 answers

requestAnimationFrame not supported in this Worker

I'm continuing with my canvas hobby a-a-and hit another problem while trying to offload most of the things with web workers. This is the current design: [creating and starting the core web worker core.js from index.html] var canvas =…
1000Gbps
  • 1,455
  • 1
  • 29
  • 34
2
votes
1 answer

My WebView does not render an HTML page if the screen is off on Oreo

WebView successfully renders html page even if the screen is off on android version pre 8.0/8.1 But it doesn't on Android 8.1. I wonder why? Maybe somebody could give me a hint how can I affect on this behaviour. Any help would be very appreciated!
2
votes
3 answers

how move a single div offscreen

i have 2 overlapping divs like so: div.back { background:url(brick.png); background-attachment:fixed; background-position:right top; background-repeat:no-repeat; height:765px; z-index:200; } div.flash { …
rjk
  • 49
  • 1
  • 6
2
votes
1 answer

Why ImageView of screen is not drawn

I need to create a bounce animation on a layout that contains a RecyclerView and an ImageView. To simplify the explanation here is an illustration of my current layout: The RecyclerView (Red) take all screen size, and under it I position an…
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
2
votes
1 answer

Does an offscreen canvas have as much "space" as a normal one?

I have a situation similar to this question about copying data between canvases, but in my case I think I'm running into issues with the canvas engine itself and I'd like some understanding/guidance on what I might be doing wrong. I'm creating an…
Joseph Weissman
  • 5,697
  • 5
  • 46
  • 75
2
votes
1 answer

chromiumembedded mp4 request cancelled

I'm using CEF in offscreen mode to display web pages in my application. All the sites and functionality I've tried so far worked fine till I tried video. Youtube and other sites work fine but I created a small page to autoplay an MP4 and it didn't…
2
votes
1 answer

jquery tooltip should change position when offscreen

on window scrolling the Tooltip should appear correctly above/below/left/right of its parent. Once I scrolled down on my Demo the position of the Tooltip brakes. How can I calculate the y-offset of the parent and display the tooltip in the right…
DDfrontenderLover
  • 470
  • 1
  • 6
  • 23
2
votes
0 answers

Android onSensorChanged Bug: Ways to fix it

So there are plenty of threads and questions regarding the following bug/feature on android devices: When registering for SensorEvents from SensorManager in Android Development, your application only will be notified until the screen of the device…
2
votes
3 answers

Loading hidden/offscreen UIWebView

Actually I have two related questions here, about different use cases of loading requests in a UIWebView. Is it safe to call - [UIWebView loadRequest:] on a web view that is inserted in the view hierarchy and its hidden property or the one of its…
DevGansta
  • 5,564
  • 2
  • 16
  • 16
2
votes
4 answers

Java3D off-screen rendering memory leak

To enable saving of a snapshot of my 3d canvas, I've extended Canvas3D in the next way: class OffScreenCanvas3D extends Canvas3D { OffScreenCanvas3D(GraphicsConfiguration graphicsConfiguration, boolean offScreen) { …
Uko
  • 13,134
  • 6
  • 58
  • 106