B4X FEED Need to manually write colors into a framebuffer

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Need to manually write colors into a framebuffer است. این موضوع تا کنون 25 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Need to manually write colors into a framebuffer
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
25
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Long story short, I'm toying with the idea of creating a retro computer emulator that has an 800x525 display.

I guess the easiest way to describe what I need is a way to byte-blast from an existing byte array into some kind of bitmap that has already been set up to render in 2, 4, or 16 colors. I had the idea of having an existing Windows Bitmap file wrapper (header + blank image area for 800x525), and blasting the bytes into the .bmp "file".

Even a way to write the 3 RGB bytes per color into a native B4A bitmap or image framebuffer would be nice.

Does LibGDX support some of the things I might need? Block copying byte arrays into an image/bitmap/canvas, etc.?

 

عقب
بالا