Skip to main content

Questions tagged [framebuffer]

In general a framebuffer is a graphic hardware-independent abstraction layer used to display output to a monitor or display.

1 vote
1 answer
174 views

Display NumPy array as an image using fbi on Ubuntu

I would like to display a NumPy array as an image on the screen from a Python script. I need to do this without starting X, so I can't use OpenCV, PIL, etc. Is it possible to do this using fbi in a ...
Matt's user avatar
  • 35
1 vote
0 answers
91 views

Why is the framebuffer texture completley blank?

I have this problem, where I have 2 framebuffers. And I draw to a different one each frame. So on the first frame it would be the first framebuffer, then the second, then the first again and so on. ...
Grigori Iakimenko's user avatar
1 vote
1 answer
50 views

WebGL color conversion during gl.readPixels()

I'm copying a framebuffer to a pixel buffer object. Is there a way during the call of gl.readPixels() to go from RGBA to only RED ? In OpenGL, we can control the glReadPixels() transfer with ...
Sébastien Bémelmans's user avatar
1 vote
0 answers
218 views

Can't read frame buffer colormap information using ioctl on raspberry pi

I am working on Raspberry Pi 4, with raspios bullseye-arm-64-lite (version 11). I want to configure the frame buffer to 8-bits per pixel and use a custom colormap. I configured the frame buffer to 8-...
hkv's user avatar
  • 11
2 votes
2 answers
141 views

C# Linux Framebuffer Unsafe byte[] to CairoSharp ImageSurface

I am trying to create an image surface in c# CairoSharp using these two constructors: public ImageSurface(byte[] data, Format format, int width, int height, int stride); public ImageSurface(IntPtr ...
maxfridbe's user avatar
  • 5,930
0 votes
0 answers
75 views

WebGL FrameBuffer gets chopped to size of canvas

I have recently tried to learn WebGL so im trying to make 2d game with tiled map, most of code that renders sprites are pasted from a guide that I used to learn some basics. Problem: It only renders ...
LewisSaber's user avatar
0 votes
0 answers
108 views

GL_INVALID_OPERAION in glDrawElements while rendering to Framebuffer from external texture

I am trying to render the contents of an external texture (which gets its data from android MediaCodec) to a framebuffer with a texture atttachment (first pass) and then using that texture to render ...
bsguru's user avatar
  • 462
1 vote
2 answers
355 views

C (OSDev) - How could I shift the contents of a 32-bit framebuffer upwards efficiently?

I'm working on writing a hobby operating system. Currently a large struggle that I'm having is attempting to scroll the framebuffer upwards. It's simply a 32-bit linear framebuffer. I have access to ...
Techflash's user avatar
0 votes
1 answer
394 views

How to get white (or other) color on FBTERM and CURSES without scrambling BOX drawing characters?

My question & current states: I'm writing TUI software that is on fbterm using python-curses library. My objective here is to get some colors, most importantly PURE WHITE color. My current state: ...
Garid's user avatar
  • 105
1 vote
1 answer
224 views

Delayed Pixel Buffer Read from Multiple Framebuffers on GL_TEXTURE_2D_ARRAY

Using Android, OpenGL ES 3.0 Attempting to write multiple layers of a GL_TEXTURE_2D_ARRAY using framebuffer objects to create heightmaps in sequence, and then read from all of the layers of the ...
G. Putnam's user avatar
  • 1,322
0 votes
1 answer
362 views

GL_INVALID_OPERATION: Only array uniforms may have count > 1. Framebuffer in webgl2

I got it spot light. I cut most interest part of code. it almost all there related with framebuffer: App.operation.draws.drawSquareTex = function(object) { var lighting = true; // eslint-disable-...
Nikola Lukic's user avatar
  • 4,197
0 votes
1 answer
771 views

WebGL - Rendering to framebuffer instead of to canvas example extended

The Goal I am trying to extend the WebGL Render to Texture Tutorial to learn WebGL better. So far, I've been able to adjust it so that it renders an image textured-cube instead: Now, what I'm trying ...
Joe's user avatar
  • 1,888
0 votes
1 answer
124 views

Wrong camera movement and wrong rendering result using the framebuffer - LearnOpenGL [closed]

I wonder if you can help me... I followed learnopengl.com and learned the details about framebuffer. However when I am creating my own scene I found that when I press key "W", the camera ...
RiverFlows's user avatar
-1 votes
1 answer
290 views

Rendering to framebuffer and then to screen has reduced quality

I seem to have a problem with my rendering. When I render to a framebuffer and then to screen, the images just seem less vibrant and kind of faded. Even simple ones. In the picture above, the pink ...
user3193075's user avatar
-3 votes
1 answer
785 views

How to do a linear frame buffer in assembly

I am using Bochs and trying to develop a simple operating system, using Assembly and C. I have chosen to use 1024x768 at 24bpp, but I cannot write to the majority of the screen as 0xa0000 to 0xaffff ...
Assembly Dev's user avatar

15 30 50 per page
1 2 3
4
5
77