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

推薦內容橫式

本月熱門文章

什麼是 OTA ?

[失戀歌單] 陳奕迅/林夕 <想哭> - 若無其事原來是最狠的報復

內政部也來辦聯誼 單身聯誼不厭券 內政部109年單身聯誼活動

【直擊】新北國王聖誕週:從福和管弦的磅礡氣勢到全恩菲、曼萍的女神魅力,打造職籃最頂視覺聽覺饗宴!

轉錄 女神變黃金剩女只因「太難追」? 這些30+女星貌美如花卻仍然單身

[裝修百科] 鐵工師傅 公寓陽台安裝防盜鐵窗紀錄

Taiwan CPBL team Rakuten Monkeys Quick Guide

半澤直樹兩主角 堺雅人 香川照之 搞笑體驗銀行生活

新北市板橋區私立寶仁幼兒園負責人褚家雯 園長彭瑞君 還有經營那些教育機構?

這個網誌中的熱門文章

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