青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆-20  評論-0  文章-0  trackbacks-0

Hardware overlay

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Hardware overlay, also known as video overlay, is a method of rendering an image to a display screen with a dedicated memory buffer inside computer video hardware, to display a fast-moving video image such as a computer game, a DVD, or the signal from a TV card. Hardware overlay is supported by most video cards (since about 1998) and media players.

Contents

[hide]

Overview

The use of a hardware overlay is important for several reasons. First, in a graphical user interface (GUI) operating system such as Windows, one display is typically used to display multiple simultaneous applications. Second, consider how a display works without a hardware overlay. When each application draws to the screen, the operating system's graphical subsystem must constantly check to ensure that the objects being drawn appear on the appropriate location on the screen, and that they don't collide with overlapping and neighboring windows. The graphical subsystem must clip objects while they are being drawn when a collision occurs. This constant checking and clipping ensures that different applications can cooperate with one another in sharing a display, but also consumes a significant proportion of computing power.

The way a computer draws on its display is by writing a bitmapped representation of the graphics into a special portion of its memory known as video memory. Without any hardware overlays, there is only one chunk of video memory which all applications must share - and the location of a given application's video memory moves whenever the user changes the position of the application's window. With shared video memory, an application must constantly check that it is only writing to memory that belongs to that application.

When running a high-bandwidth video application such as games or movie playing, the computing power and complexity needed to perform this constant clipping and checking negatively impacts performance and compatibility. To escape these limitations, the hardware overlay was invented.

An application using a hardware overlay gets a completely separate section of video memory that belongs only to that application. Because nothing else uses it, the program never needs to waste time considering whether a given piece of the memory belongs to it, nor does it need to worry about the user moving the window and changing the location of the video memory. To get the image from the separate video memory to display in tandem with the remaining shared elements on the display, the graphical subsystem associates a certain attribute (for example, a particular color) to be a "mask" for that overlay, which the graphics card understands to mean that it is to draw from the separate overlay buffer onto the screen. (This technique is commonly known as "chroma key".)

As an example, assume the color "purple" is defined as the mask color that triggers the overlay to appear. An application that plays a DVD will draw a solid purple rectangle on the shared screen, and then "play" the DVD into the special region of memory dedicated to the overlay. The graphics card will render the DVD playback only inside the purple area. If another window moves over top of the purple area and obscures a part of it, then the graphics hardware performs the clipping by itself. In practice, the actual color "purple" is not used - rather, either a nondescript near-black color is used (as the system often has thousands of such shades to choose from), or the mask region is denoted using some similar masking method not involving colors.

Screenshots

One consequence of hardware overlay use is that a screenshot program (for example, the one automatically built into Windows that activates when the PrtSc key is pressed) often does not capture the content appearing in the hardware overlay window. Rather, a blank region containing only the special mask color is captured. This is because the screen capture routine doesn't consider the special video memory regions dedicated to overlays - it simply captures the shared main screen as rendered by the software's graphical subsystem. Some Digital Rights Management schemes use hardware overlay to display protected content on the screen, taking advantage of this quirk to prevent the copying of protected documents by way of screen capture[citation needed].

Secondary displays

Many newer graphics cards can support more than one monitor and/or a TV screen as output device. Typically one of these output devices has to be declared the "primary" one, and only the primary one can display hardware overlays. There are exceptions: Intel writes in its FAQ for their Embedded Graphics Drivers that the overlay can be attached to either one of the displays but not both and some newer Matrox graphics card support overlay on both displays (e.g. Parhelia Series).

It is a combination of hardware support and driver features, some graphics cards may support overlay on the second display, but the drivers may not support it (yet).

A common complaint is that DVD movies play fine on a laptop screen, but don't display on a TV connected to the laptop; in these cases the TV has to be designated as the primary display. In extreme cases the use of hardware overlays has to be disabled in the media player.

Implementations in various operating systems

Starting with Windows Vista's enhanced graphics capabilities, the basic concept of hardware overlays is replaced by full hardware compositing for every application window running on the system, not just movie players or games, through the Desktop Window Manager. Mac OS X has been using hardware compositing since Quartz Extreme was introduced in Mac OS X 10.2. To improve performance, each program draws to its own independent memory buffer instead of to a slow graphical subsystem. (In Windows Vista, each hardware overlay is more correctly known as a Direct3D surface). Then, the system's GPU assembles each of the windows into a single display screen in real time. With enhanced GPUs on the market capable of stunning 3D graphics as a consequence of the video game industry, impressive motion, scaling, and lighting effects can be applied to normal 2D windows by the operating system.

In the X Window System, the windowing system of most Unix operating systems, the XVideo extension can be used to allow applications to employ hardware overlays.

posted on 2008-02-27 09:39 Magic 閱讀(887) 評論(0)  編輯 收藏 引用 所屬分類: 計算機技術

只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久久国产一区二区| 亚洲盗摄视频| 亚洲一区二区三区在线观看视频| 欧美裸体一区二区三区| 日韩亚洲欧美成人| 亚洲美女毛片| 国产精品爽黄69| 久久久国产亚洲精品| 久久综合久久综合久久| 亚洲区第一页| 亚洲午夜精品福利| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲国产一区视频| 亚洲激情一区| 国产精品白丝av嫩草影院| 午夜日韩在线| 麻豆精品网站| 亚洲欧美日韩爽爽影院| 久久久久欧美精品| 一本久久综合亚洲鲁鲁| 亚洲欧美日产图| 在线免费观看欧美| 中文精品视频| 亚洲福利国产精品| 亚洲视频在线二区| 亚洲电影在线| 亚洲图片欧美午夜| 亚洲二区精品| 亚洲欧美激情诱惑| 99国产精品自拍| 性色av一区二区怡红| 日韩亚洲欧美一区二区三区| 亚洲一二三区在线观看| 亚洲三级免费观看| 亚洲欧美日韩成人| 99视频热这里只有精品免费| 欧美综合77777色婷婷| 夜色激情一区二区| 久久久亚洲精品一区二区三区 | 久久er99精品| 欧美高清视频免费观看| 久久精品国产清自在天天线| 欧美午夜片在线免费观看| 欧美成人精品一区二区| 国产婷婷成人久久av免费高清 | 性欧美激情精品| 欧美片第一页| 欧美电影免费观看网站| 国产啪精品视频| aa亚洲婷婷| 亚洲视频第一页| 欧美精品久久天天躁| 欧美freesex交免费视频| 国产日韩欧美一区二区| 亚洲一区二区精品| 一区二区三区精品| 欧美激情中文字幕一区二区| 欧美a级大片| 一区二区三区在线不卡| 欧美一区二区黄| 久久国产精品久久国产精品| 国产精品二区在线| 亚洲午夜在线观看视频在线| 亚洲一区在线免费| 国产精品毛片| 亚洲一区二区三区午夜| 欧美一区二区黄色| 国产精品日韩欧美大师| 亚洲在线电影| 久久激情婷婷| 黄色小说综合网站| 久久夜色精品国产噜噜av| 噜噜噜在线观看免费视频日韩| 国内精品嫩模av私拍在线观看 | 最新国产乱人伦偷精品免费网站| 亚洲黄一区二区三区| 蘑菇福利视频一区播放| 亚洲国产精品久久人人爱蜜臀| 亚洲国产精品一区二区www在线| 久久综合中文字幕| 亚洲日本中文字幕| 亚洲天堂第二页| 国产麻豆91精品| 久久av一区| 亚洲国产精品久久人人爱蜜臀| 一本色道久久综合亚洲精品不卡| 欧美成人免费在线观看| 99热免费精品在线观看| 欧美专区在线观看| 亚洲国产精品久久久久秋霞不卡| 欧美精品91| 亚洲一区在线看| 老司机精品久久| 这里只有精品电影| 国产偷国产偷精品高清尤物| 美女国内精品自产拍在线播放| 91久久国产综合久久蜜月精品 | 亚洲网站在线看| 国产一区二区三区电影在线观看| 美女在线一区二区| 亚洲午夜在线观看| 欧美国产日韩二区| 香蕉成人久久| 亚洲国产成人在线| 国产视频在线观看一区二区三区 | 久久免费高清| 亚洲美女在线看| 久久天堂国产精品| 亚洲视频欧美在线| 在线成人黄色| 国产精品久久久久久久久久免费看| 欧美综合国产精品久久丁香| 99精品视频免费在线观看| 看片网站欧美日韩| 亚洲欧美一区二区三区久久| 亚洲成人直播| 国产日韩三区| 欧美日韩精品一二三区| 久久久久久亚洲综合影院红桃| av成人福利| 亚洲国内自拍| 免费成人在线观看视频| 欧美一区二区日韩| 中日韩视频在线观看| 有坂深雪在线一区| 国产一区二区三区免费不卡| 欧美日韩一区在线观看视频| 欧美mv日韩mv国产网站| 久久精品国产精品| 羞羞答答国产精品www一本 | 欧美激情bt| 麻豆久久婷婷| 久久亚洲欧美| 久久免费精品日本久久中文字幕| 欧美一区二区免费| 午夜精品久久久久久久久| 一区二区三区毛片| 艳妇臀荡乳欲伦亚洲一区| 亚洲狼人精品一区二区三区| 雨宫琴音一区二区在线| 伊人久久婷婷| 激情小说另类小说亚洲欧美| 国产视频亚洲| 国产一区二区三区久久精品| 国产视频在线一区二区| 国产色爱av资源综合区| 国产女人18毛片水18精品| 国产精品午夜春色av| 国产精品久久久一本精品| 国产精品美女www爽爽爽| 国产精品一区二区久久精品| 国产精品人人爽人人做我的可爱| 国产精品乱码| 国内外成人免费激情在线视频| 国产综合视频| 在线观看视频免费一区二区三区| 亚洲国产精品精华液2区45| 亚洲国产你懂的| 艳女tv在线观看国产一区| 在线天堂一区av电影| 欧美一级片在线播放| 久久久久国产一区二区三区四区| 老色鬼精品视频在线观看播放| 欧美1区2区视频| 亚洲国产另类 国产精品国产免费| 亚洲精品1区2区| 亚洲图片在线| 久久久久女教师免费一区| 欧美激情欧美激情在线五月| 欧美揉bbbbb揉bbbbb| 国产欧美精品va在线观看| 伊人久久av导航| 亚洲视频在线播放| 欧美在线亚洲一区| 欧美成人69av| 一区二区国产日产| 午夜精品久久久久久久蜜桃app | 亚洲精品美女久久久久| 在线亚洲电影| 久久久久久久综合日本| 亚洲电影免费在线观看| 亚洲视频中文| 牛牛国产精品| 国产午夜亚洲精品不卡| 亚洲美女网站| 久久婷婷人人澡人人喊人人爽| 亚洲人成人99网站| 欧美中文字幕视频在线观看| 欧美精品二区三区四区免费看视频| 国产精品毛片在线| 亚洲免费成人av电影| 久久精品国产亚洲精品| 日韩午夜av在线| 久久综合九色综合欧美就去吻| 国产精品久久毛片a| 亚洲巨乳在线| 牛夜精品久久久久久久99黑人| 亚洲一区二区动漫| 欧美日本高清| 亚洲激情影视|