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

推薦內容橫式

本月熱門文章

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

台灣人波蘭旅遊小撇步

蔣經國時代 1981年 陳文成命案 始終沒有一個交代!

Crypto.com 要發卡了,期待 ~! 申請的Ruby Steel這個級別 送Spotify

PTT企業綽號列表

還原林宅血案:監察委員田秋堇第一手證言

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

蔣經國時代 1980年 林宅血案 真的令人無法相信政府

1947年228事件 台灣人民應該持續去了解歷史,尋找真相

悲痛!XREX區塊鏈金融犯罪調查師陳梅慧Miffy殞落,揭露虛擬貨幣犯罪背後的黑幕

這個網誌中的熱門文章

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

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

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

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

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

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

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

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

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