What is Framebuffer ? 名詞解釋 Framebuffer

What is Framebuffer ?


wiki : Framebuffer

A framebuffer is a video output device that drives a video display from a memory buffer containing a complete frame of data.

Framebuffer 的架構,是利用 mmap 向 kernel 映射出 "顯示記憶體"區塊(註一、其他memory access的方式 ),讓linux的user可以透過framebuffer device(而不需要透過底層的driver)直接對display memory進行讀寫操作。

The information in the buffer typically consists of color values for every pixel (point that can be displayed) on the screen.
Framebuffer裡主要是顯示資訊。

Color values are commonly stored in 1-bit monochrome, 4-bit palettized, 8-bit palettized, 16-bit highcolor and 24-bit truecolor formats. An additional alpha channel is sometimes used to retain information about pixel transparency.

以上是Color values的格式 Orz 不是很懂。

The total amount of the memory required to drive the framebuffer depends on the resolution of the output signal, and on the color depth and palette size.

而所會用到的記憶體大小就看你要顯示的多清楚了!
註一、其他memory access的方式;
  • Mapping the entire framebuffer to a given memory range.
  • Port commands to set each pixel, range of pixels or palette entry.
  • Mapping a memory range smaller than the framebuffer memory, then bank switching as necessary.

相關閱讀:
有關linux 開發的訓練課程請見:

留言

Google Search

推薦內容橫式

本月熱門文章

2025 中華民國政府該怎麼用現有預算做事情?

什麼是 OTA ?

八炯統戰影片心得 千萬要謹慎 勿掉入金錢陷阱

孫生的謊言 - 性騷擾被判刑 法院認證

泰國北碧 大象世界 Elephants World Kanchanaburi - 大象保護園區 大象照料體驗行程

蔣萬安訪中後,換侯友宜訪美,中國國民黨有機會組成侯蔣配嗎?

中華民國國軍辛苦了 因應中共軍演努力監視

2020年 中華人民共和國 軍機繞台380次 中華民國國防部回應

[FAANG面試] Amazon/AWS 領導力準則 14 Amazon Leadership Principles

這個網誌中的熱門文章

Android應用開發豆知識:利用 adb 安裝 apk 到裝置上

Android 中文輸入法 官方版 ! Gboard - Google 鍵盤 開始支援注音輸入啦

Google Play 推薦Android app 誠徵App排行榜

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

[家教][社會觀察] 建中教我的事 沒上建中被父母親折磨? 在建中到底是如何 ...

[FAANG面試] Amazon/AWS 領導力準則 14 Amazon Leadership Principles

Acer ICONIA Smart S300 更新後越來越好 Acer也有出手機?!

[品質控制] 什麼是Sanity test ? 軟體測試常見名詞整理 包含不同部門的測試人員負責範圍

新鮮人找工作:職場名詞解釋 AE FAE Pre-sales Post-sales