Questions tagged [off-screen]

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

117 questions
1
vote
2 answers

Why depth test does not work in offscreen rendering for color pick?

I'm using coloring and off-screen rendering to implement a selection tool for QUADS on OpenGL. But the depth test seems to not work in the off-screen rendering and at certain angles and rotations, the QUAD behind the front one is selected. Any…
Hamed Rajabi Varamini
  • 3,439
  • 3
  • 24
  • 38
1
vote
1 answer

Will "off-screen" ADBannerView count impressions?

I'm maintaining a sole instance of ADBannerView (as the docs suggested), and present is at some points troughout the UX. But I can see that bannerViewDidLoadAd: callbacks are keep invoked even if the banner is not presented. That is really good on…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
1
vote
1 answer

How to set a view to off-screen in a complex layout tree?

I've given following structure of a layout for a tablet app:
Camino2007
  • 796
  • 10
  • 17
1
vote
2 answers

Complete layout before showing the activity window

I have the following scenario: in activity A, when a user clicks a button, the app sends a request to the server to retrieve some information, then this information is placed into an intent to start activity B. In activity B, in onCreate method, I…
Aleks G
  • 56,435
  • 29
  • 168
  • 265
1
vote
1 answer

Create "invisible" graphics

I need Your help in generating offscreen images from graphics class and converting them to binary data without setting them visible on screen. I want to generate large amounts of labels and send them to a printer as binary data. If i create the…
Qba
  • 21
  • 2
0
votes
2 answers

Is it possible to make parallel rendering with Vulkan?

My question is fairly simple and may look naive, but I don't see a lot of talks about it, because mainly articles and posts I saw treats of real-time rendering. But when I see a GPU can have up to 8 or 16 graphics queues. I was wondering if we can…
0
votes
0 answers

Update an object when an other object is within camera view

I am using a rig which is holding eye objects. My model is moving a lot later on, and for example the head will meet the ground, eyes down there as well. Now there is a slight problem. My object's origin is up in the rest pose head position. If I…
0
votes
0 answers

Why doesn't it show up after I change the offscreen size?

I'm trying to write examples in webgl where the implementation of fbo does not render successfully if the original size is changed. The original size of OFFSCREEN_WIDTH and OFFSCREEN_HEIGHT is 256 pixels,When I change the value nothing is rendered…
0
votes
0 answers

The way that copy data to a linear tiled image(not using stage buffer)when the format of image is VK_FORMAT_R8G8B8_UNORM seems not work correctly?

There are two ways that can copy data to image(using stage buffer or not).In the first way that using stage buffer, when the image format is VK_FORMAT_R8G8B8A8_UNORM or VK_FORMAT_R8G8B8_UNORM, it works correctly.But in the way that not using stage…
0
votes
1 answer

Using PDF.js to render to an offscreen canvas

The goal is to render pages of a pdf to an offsrceen canvas to that I can copy portions of the page to a visible canvas. As a first step, the code below is intended to render the entire first page of a pdf. It renders to an offscreen canvas, then…
Randall Fairman
  • 296
  • 3
  • 9
0
votes
0 answers

Onscreen Rendering as well as Offscreen Rendering of electron window

I liked the Offscreen Rendering feature of electron app. I can render window content to image so easily with this feature. const { app, BrowserWindow } = require('electron') const fs = require('fs') app.disableHardwareAcceleration() let…
Alok
  • 7,734
  • 8
  • 55
  • 100
0
votes
1 answer

How to take action based on detection of locked or off screen in flutter app

By using a flutter package from pub.dev named "torch_compat 1.0.2" for turning on/off flashlight in android app, how to turn off flashlight (trigger TorchCompat.turnOff()) when locked or off screen state detected. Current code: import…
0
votes
0 answers

texture with alpha component rendered offscreen: dots pattern in a multisample renderPass

I create an offscreen texture with alpha component, samples in the offscreen renderPass is VK_SAMPLE_COUNT_1_BIT. When I use this texture in a VK_SAMPLE_COUNT_4_BIT renderPass, I get black dots pattern where there is an alpha component. I understand…
Leon
  • 554
  • 4
  • 18
0
votes
1 answer

why images are going off the page, and no other content is

I have a section that is all p and img elements, they both line up at the same place, but the img will go off screen while the p does not. I have box-sizing:border-box in my body css, I've tried adding justify content and align items, I've added the…
erin
  • 23
  • 4
0
votes
1 answer

Qt application running with `-platform offscreen` argument cannot establish websocket connection

I have a GUI application which contains a websocket server QWebSocketServer. I also have a python script which sends messages and the application processes them. Everything works well. During testing I wanted to run the application in headless mode…