Questions tagged [off-screen]

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

117 questions
2
votes
0 answers

Drawing offscreen with Quartz2D and using the result as an OpenGL ES texture in iOS

According to the docs I've read, offscreen drawing with a CGLayer is the highest performance way to do Quartz 2D drawing because it allows the drawing to be stored/managed by the GPU and VRAM. When I'm finished drawing I'd like to grab the pixel…
user501138
  • 869
  • 2
  • 9
  • 16
1
vote
1 answer

iOS - off-screen rendering using OpenGL ES2

I want to implement image edition using OpenGL shaders. I have found some examples how to implement off-screen rendering using OpenGL ES1. Do you now any example about off-screen rendering using OpenGL ES2 ans shaders on iPhone? Thank you in advance…
Martin Pilch
  • 3,245
  • 3
  • 38
  • 61
1
vote
0 answers

How to wait layout sistem to determine item's size when exposing QML item to C++?

I am working on a spesific case about taking images from a running QML application. I do that by rendering QQuickItems(which is exposed from qml) on a off-screen window to grab their images. Exposing & passing part: (this can be done in main.cpp) …
dynerp
  • 76
  • 6
1
vote
0 answers

Get composed frames from Qt WaylandOutput

I'm starting to look into the Qt WaylandCompositor and I am wondering if it is possible to get access to the composed frame of a WaylandOutput, preferably rendered off-screen. So that I can implement something similar than the Weston remoting plugin…
Moritz
  • 41
  • 4
1
vote
1 answer

Flipping the View horizontally - How?

Recently I've found that all of my scene objects are in left-handed coordinates, but Java 3D uses right-hand coordinates. There is a solution: flipping the scene Z-axis and reverting the triangles winding order. But this will be a horrible mess. It…
WindRider
  • 11,958
  • 6
  • 50
  • 57
1
vote
1 answer

Can I use direct2d hardware-acceleration in serverside scenarios?

Browsing through direct2d resources it seems hardware-acceleration is not available for server-side scenarios. My requirement is to render images off-screen. While this is easy to achieve using WicBitmapRenderTarget it isn't hardware-accelerated. Is…
Goran
  • 6,798
  • 9
  • 41
  • 57
1
vote
0 answers

OpenGL rendering & display in different processes

What are the solutions on Windows to split the OpenGL rendering from the display? By that I mean that a process in the background takes care of the whole scene drawing, and a separate process should simply render a texture with the result. Most…
elmarco
  • 31,633
  • 21
  • 64
  • 68
1
vote
0 answers

Detecting scrolling FPS for UIKit in Swift

im working on color blending, offscreen-rendering topics. I can't find Core Animation option in Instruments in Xcode 13 to visualize it. How can I detect fps while table view or collection view is scrolling?
1
vote
1 answer

How to allow the mouse cursor to cross the upper screen edge on windows 10?

I would need to allow the mouse cursor to cross the upper edge of the screen. And ideally to activate/deactivate this option with some python code. I couldn't find any clue about how to do that. Any idea? The reason why: I am coding a psychology…
G.Gab
  • 11
  • 1
1
vote
2 answers

Rendering animated CALayer off-screen using CARenderer with MTLTexture

I want to render animated NSView (or just the underlying CALayer) into a series of images without the view being presented on the screen AT ALL. I figured how to do that with CARenderer and MTLTexture but there are some issues with the below…
Ian Bytchek
  • 8,804
  • 6
  • 46
  • 72
1
vote
3 answers

Expanding DIV how to check when it has exceeded screen size

We have a DIV that is loaded with content based on user options in a form. The DIV can grow to large to be seen on screen as it is also a sticky element and follows the user on the screen. How would we get the DIV to work out if some of itself is…
Walrus
  • 19,801
  • 35
  • 121
  • 199
1
vote
3 answers

How to stop my character going off-screen?

I want my character to stop everytime I hit the edge of the screen/canvas, so I added some rectangle at the end of each border(with a 2d collider), so my character will collide with it and stop moving in that direction, but the thing is that if, for…
Alex Arek
  • 57
  • 7
1
vote
2 answers

Unity offscreen target indicator-how to show the way to an object with a specific tag?

UNITY 2D C# Hi everyone. I have a script that allows the arrow to show where the point is . My problem: 1) I would like the arrow to show the way to a point with a specific tag or name. How to do it? Because now, shows the way to the point…
Polan31
  • 11
  • 1
  • 5
1
vote
1 answer

WordPress site using the kale theme - site appears off screen and needs scrolling to appear on mobile devices

I have a problem with formatting. I have built a WordPress site: cookingacademy.co.il. I used the kale theme for the site. When using a mobile device sometimes the site appears off the screen and you need to scroll to make it appear on the…
1
vote
1 answer

OpenGL offscreen render

I have an application that creates a 3D model and exports an image from that. I use this example to do it: #include #include #include #include #include GLfloat light_diffuse[] = {…
amin mirzaee
  • 109
  • 2
  • 9