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

隨筆-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 閱讀(861) 評論(0)  編輯 收藏 引用 所屬分類: 計算機技術
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            卡通动漫国产精品| 久久国产精品亚洲77777| 亚洲免费视频在线观看| 亚洲视频在线一区| 99在线观看免费视频精品观看| 亚洲狼人综合| 亚洲香蕉在线观看| 欧美一区二区三区的| 欧美日本中文字幕| 欧美激情精品久久久六区热门| 欧美另类综合| 国产精品久久77777| 国产欧美一区二区三区视频| 国产日韩欧美在线一区| 一区二区三区在线观看视频| 亚洲国产精品99久久久久久久久| 亚洲精品免费看| 亚洲在线不卡| 久久综合五月| 日韩视频二区| 久久国产婷婷国产香蕉| 欧美国产精品中文字幕| 国产精品色网| 亚洲精品人人| 欧美一区激情| 亚洲全部视频| 亚洲私人影院在线观看| 久久久噜噜噜| 国产精品日本精品| 亚洲国产日韩欧美在线动漫| 亚洲你懂的在线视频| 欧美成人国产| 亚洲欧美成人精品| 欧美精品久久久久久久久久| 国产一区视频网站| 在线中文字幕不卡| 欧美jizzhd精品欧美喷水| 一本久久综合亚洲鲁鲁| 免费亚洲视频| 国产视频观看一区| 亚洲婷婷国产精品电影人久久 | 午夜精品福利在线| 欧美成人激情在线| 午夜国产不卡在线观看视频| 欧美理论电影在线播放| 亚洲大片在线观看| 亚洲精品国产无天堂网2021| 精品9999| 久久不射2019中文字幕| 亚洲精品四区| 蜜桃av噜噜一区| 国外成人网址| 欧美在线短视频| 一区电影在线观看| 欧美激情国产高清| 亚洲国产精品黑人久久久| 久久精品国产96久久久香蕉| 亚洲综合日韩在线| 欧美日一区二区在线观看 | 久久久久综合| 亚洲综合色在线| 欧美欧美在线| 99精品黄色片免费大全| 亚洲国产一区二区视频| 久久综合影音| 亚洲精品一区二区三区不| 亚洲第一综合天堂另类专| 另类天堂av| 亚洲日本乱码在线观看| 亚洲国产精品一区在线观看不卡| 久久精品国产免费观看| 精品动漫一区二区| 欧美成年人网站| 欧美大香线蕉线伊人久久国产精品| 亚洲福利视频二区| 亚洲国产成人一区| 欧美日韩精品在线播放| 亚洲欧美日韩国产另类专区| 亚洲一区二区在线免费观看| 国产日韩在线一区| 久久综合九色九九| 久久综合九色综合久99| 亚洲精品欧美极品| 一区二区三区黄色| 国产日韩欧美不卡| 免费成人av| 欧美日韩福利视频| 欧美在线视频一区二区三区| 久久视频精品在线| 一区二区国产日产| 性欧美长视频| 亚洲人成免费| 亚洲欧美在线播放| 91久久精品国产91久久性色| 在线亚洲成人| 在线不卡中文字幕播放| 日韩亚洲精品视频| 国产在线不卡精品| 亚洲国产视频一区| 国产精品视频网| 亚洲国产成人在线视频| 国产精品久久久久影院亚瑟| 免费不卡亚洲欧美| 国产精品卡一卡二| 欧美激情视频一区二区三区不卡| 国产精品女主播一区二区三区| 免费观看久久久4p| 国产精品一级| 亚洲精品国精品久久99热| 狠狠色丁香婷婷综合久久片| 日韩西西人体444www| 亚洲国产精彩中文乱码av在线播放| 亚洲图片欧美一区| 日韩视频不卡| 久久综合九色九九| 老妇喷水一区二区三区| 国产精品欧美一区二区三区奶水| 亚洲电影免费在线观看| 国内精品亚洲| 中日韩视频在线观看| 亚洲美女啪啪| 久久最新视频| 麻豆国产va免费精品高清在线| 国产精品色网| avtt综合网| 美女91精品| 另类春色校园亚洲| 国产亚洲网站| 亚洲欧美一区在线| 欧美一区二区三区在线看| 欧美日韩在线播放三区四区| 91久久久一线二线三线品牌| 亚洲大片免费看| 久久蜜臀精品av| 狂野欧美激情性xxxx欧美| 国产一区二区三区久久悠悠色av | 欧美一级久久久| 亚洲一区激情| 欧美三级韩国三级日本三斤| 亚洲日本乱码在线观看| 99re成人精品视频| 欧美精品啪啪| 日韩一级免费| 亚洲一区免费在线观看| 国产精品成人va在线观看| 一道本一区二区| 午夜国产一区| 国产日产欧美精品| 久久国产手机看片| 欧美 日韩 国产精品免费观看| 亚洲国产精品电影| 欧美国产日产韩国视频| 欧美高清在线观看| 91久久精品美女高潮| 欧美成人小视频| 亚洲免费观看在线视频| 午夜一区二区三区在线观看| 国产亚洲一区二区三区在线观看| 欧美制服丝袜| 亚洲福利专区| 夜夜嗨av一区二区三区| 国产精品啊啊啊| 欧美一区亚洲一区| 欧美成人日韩| 亚洲一区二区三区激情| 国产无一区二区| 久热精品视频在线观看一区| 日韩视频一区二区三区在线播放| 午夜亚洲精品| 亚洲国产精品女人久久久| 欧美日韩视频在线一区二区观看视频| 亚洲深夜影院| 欧美成人tv| 欧美影院视频| 亚洲另类在线视频| 国产精品视频一二三| 你懂的一区二区| 亚洲一区免费网站| 亚洲成人在线网| 欧美一级淫片播放口| 91久久一区二区| 国产日韩精品在线| 欧美日韩亚洲91| 久久久亚洲国产天美传媒修理工| 亚洲精品久久久久久久久久久久| 久久九九免费视频| 一本一本久久a久久精品综合麻豆| 国产日韩精品一区二区| 欧美精品国产一区| 久久久久久自在自线| 免费日本视频一区| 性欧美超级视频| 99国产精品99久久久久久粉嫩| 久久久久一区| 亚洲永久精品大片| 亚洲美女色禁图| …久久精品99久久香蕉国产| 国产伦精品一区二区三| 欧美视频亚洲视频| 欧美精品一区二区三区在线看午夜|