Skip to main content

All Questions

Tagged with
0 votes
0 answers
35 views

SDL-GPU Rendering to texture results in rough edges

I have a texture and I render a circle to it using SDL-GPU, then I render this texture to the window: #include "SDL2/SDL.h" #include "SDL2/SDL_gpu.h" int main() { if (SDL_Init(...
uselessguy's user avatar
1 vote
1 answer
36 views

can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux?

can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux? constraints: need to use single plane and single framebuffer what I already ...
sai teja reddy's user avatar
0 votes
1 answer
279 views

Creating a window just to get its framebuffer?

I've been writing this small ray-tracing engine in C/C++, and so far I've got basic functionality, where the finished image gets written to an image. However, I want to be able to create a window and ...
Matthew G.'s user avatar
1 vote
0 answers
434 views

Linux framebuffer not updating when using KD_GRAPHICS

I've been trying to do some old-school drawing on the Linux framebuffer. I'm aware this is not the "modern" way to do things but exploring it out of curiosity. I am confused that my screen ...
cowile's user avatar
  • 56
0 votes
1 answer
214 views

Using glTexImage2D to render to texture, blank result. (Dreamcast GLdc)

I am trying to create a quick render to texture example using GLdc, a OpenGL implementation for the Sega Dreamcast. I have verified that both my Texture and Framebuffer Object are complete, yet the ...
B. Morris's user avatar
1 vote
1 answer
475 views

What are the usage differences between multiple viewports vs multiple framebuffers?

I'm quite new learn OpenGL and the topic of framebuffers is quite confusing to me. I read that some uses of it is to generate a second target to render to, allowing us to make mirrors etc. However, ...
tomatto's user avatar
  • 149
-1 votes
1 answer
185 views

Multisampled framebuffer only visible with Nvidia cards, not AMD or Intel HD Graphics

The program only renders the framebuffer with Nvidia graphic cards. I have tested the same release with AMD and Intel, and it shows black. I create the framebuffer: enum FBOIDS { FBO, FBO_MS, ...
christt105's user avatar
3 votes
0 answers
919 views

Is there any way to force the linux framebuffer to display a frame instantly?

I'm making a video player in C++, which displays the video on the linux framebuffer. The frames aren't visible directly after updating, but only after the tty is updated (e.g. the cursor blinks or I ...
MaxSilvester's user avatar
0 votes
0 answers
122 views

Depth of field WebGL

I'm new to WebGL and I need to implement Depth of Field. I'm doing this by creating two framebuffers. On the first framebuffer I render a texture (fbTexture) and a depth texture (depthTex), which are ...
AsYouWereAPx's user avatar
1 vote
1 answer
1k views

Rendering to different framebuffers with multithreading rendering in Vulkan

I was trying to reproduce a result that is similar to this video: https://www.youtube.com/watch?v=21UsMuFTN0k Specifically, I want to render the whole scene to a different texture, and put the texture ...
Gary C.'s user avatar
  • 35
1 vote
0 answers
287 views

Linux framebuffer bits_per_pixel vs offset values for determining pixel format

The fb_var_screeninfo has several fields that I can use for determining the pixel formats, most notably bits_per_pixel and length / offset fields for red / green / blue / alpha ("transp") channels. ...
dv_'s user avatar
  • 1,287
1 vote
1 answer
2k views

OpenGL : reading color buffer

I attached 4 color buffers to a framebuffer and render in each of them. Each color buffer has the size of the window. I'm trying to read the color of the pixels of one of these color buffers using the ...
Arctic Pi's user avatar
  • 669
0 votes
1 answer
782 views

OpenGL Qt : problem using framebuffers for bloom effect

I'm following this tutorial for the bloom effect. I'm working with Qt and the scene I'm trying to render is composed by five cubes and five lights placed randomly, something like this. Unfortunately ...
Arctic Pi's user avatar
  • 669
3 votes
1 answer
4k views

managing linux framebuffer(fb0) permission in low level c graphics code

I'm trying to learn low level graphics programming on linux using C. I'm fairly new to both linux and C. I'm trying to figure out the most responsible way to manage permissions for /dev/fb0 in my code....
Logan Bender's user avatar
2 votes
0 answers
207 views

Intercept and divert graphic output before it hits the linux framebuffer, not using X11

I have been researching this issue for about a week, and it may be that I don't know the right questions to ask. I am running a debian distro (Raspbian Stretch on the RaspberryPi). I am not using X11....
Apollo's user avatar
  • 1,005

15 30 50 per page