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

隨筆-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>
            欧美亚洲一区在线| 亚洲综合精品自拍| 在线一区免费观看| 夜夜嗨av一区二区三区四季av| 在线视频观看日韩| 在线观看日韩精品| 在线免费高清一区二区三区| 亚洲高清在线| 亚洲精品一区二区三区不| 一本色道久久| 篠田优中文在线播放第一区| 久久精品国产99精品国产亚洲性色| 久久久av毛片精品| 免费观看日韩| 亚洲经典视频在线观看| 亚洲高清色综合| 宅男66日本亚洲欧美视频| 亚洲免费一区二区| 韩国一区二区三区在线观看 | 国产精品丝袜白浆摸在线| 欧美四级在线观看| 国产乱码精品一区二区三区忘忧草| 国产一区二区三区久久久久久久久| 亚洲国产欧美一区| 亚洲伊人色欲综合网| 久久性天堂网| 99热免费精品在线观看| 欧美专区在线| 欧美日韩成人一区| 国模吧视频一区| 一本色道精品久久一区二区三区| 久久人人97超碰精品888| 亚洲美女黄网| 久久五月天婷婷| 国产精品久久久久久久久| 狠狠色狠狠色综合日日tαg| 亚洲视频电影图片偷拍一区| 免费在线欧美黄色| 亚洲欧美中文日韩在线| 欧美日韩mv| 在线日韩日本国产亚洲| 亚洲欧美日韩在线一区| 亚洲国产欧美一区二区三区同亚洲| 亚洲主播在线播放| 欧美激情一区二区三区在线视频观看| 国产一区久久| 欧美亚洲一区| 久久中文字幕一区二区三区| 亚洲自拍16p| 亚洲一区二区三区乱码aⅴ蜜桃女| 久久精品成人一区二区三区| 亚洲精品久久久蜜桃| 欧美一级视频| 欧美日韩精品在线观看| 亚洲高清视频的网址| 久久成人精品| 亚洲一品av免费观看| 欧美日韩天堂| 99精品国产高清一区二区| 美玉足脚交一区二区三区图片| 午夜精品三级视频福利| 国产精品久久久久久久久久妞妞| 亚洲视频电影在线| 一本大道av伊人久久综合| 欧美日韩美女一区二区| 99精品免费| 亚洲精品一区二区三区在线观看| 欧美不卡视频一区发布| 亚洲人成网站999久久久综合| 狂野欧美激情性xxxx| 久久精品九九| 亚洲国产午夜| 亚洲美女黄网| 国产美女精品一区二区三区| 欧美专区在线| 欧美一区二区三区婷婷月色| 狠狠色噜噜狠狠狠狠色吗综合| 中文网丁香综合网| 亚洲国产日韩一区二区| 欧美精品情趣视频| 一二三区精品| 亚洲天堂成人在线观看| 国产日韩精品视频一区| 久久久久www| 久久亚洲一区二区三区四区| 亚洲人成在线观看| 一本色道久久综合亚洲精品不卡| 国产精品一区二区在线观看| 久久久久久精| 欧美激情一区三区| 欧美伊人久久久久久午夜久久久久 | 一区二区欧美激情| 一本到12不卡视频在线dvd| 欧美激情中文字幕乱码免费| 亚洲一二三级电影| 久久成人精品无人区| 亚洲国产精品一区二区三区| 亚洲精品视频中文字幕| 国产婷婷色一区二区三区| 欧美激情一区二区在线| 欧美亚洲成人精品| 久久精品国产99精品国产亚洲性色| 国产精品xnxxcom| 久久久久www| 欧美另类视频在线| 久久久久欧美精品| 欧美一区二区三区精品电影| 国产一区二区中文| 99精品国产高清一区二区| 国产欧美日韩亚州综合| 亚洲高清在线精品| 国产乱码精品一区二区三区忘忧草| 欧美国产日韩xxxxx| 国产麻豆综合| 99精品国产在热久久婷婷| 极品少妇一区二区| 亚洲综合精品四区| 亚洲伊人伊色伊影伊综合网| 美女黄色成人网| 小嫩嫩精品导航| 欧美伦理一区二区| 欧美黑人多人双交| 激情综合电影网| 欧美在线播放一区二区| 午夜国产精品影院在线观看| 美国成人直播| 欧美专区一区二区三区| 国产精品青草久久| 99riav1国产精品视频| 亚洲经典自拍| 开心色5月久久精品| 久久久91精品国产一区二区精品| 国产精品区一区| 一本色道久久综合精品竹菊 | 加勒比av一区二区| 亚洲一区三区在线观看| 亚洲影院在线| 欧美日韩成人一区二区三区| 欧美国产日韩精品| 亚洲图中文字幕| 亚洲欧美综合一区| 亚洲欧美国产视频| 欧美成人免费网| 亚洲国产乱码最新视频| 在线观看亚洲视频| 久久久一本精品99久久精品66| 欧美一区高清| 国产一区二区三区在线观看免费| 性欧美大战久久久久久久免费观看| 欧美中文字幕不卡| 亚洲成人在线视频网站| 老司机久久99久久精品播放免费| 小嫩嫩精品导航| 狠狠色噜噜狠狠狠狠色吗综合| 久久爱91午夜羞羞| 欧美国内亚洲| 亚洲神马久久| 国产美女一区二区| 欧美一区二区三区四区夜夜大片| 欧美在线网站| 一区二区自拍| 欧美成人亚洲成人| 在线亚洲欧美专区二区| 久久国产精品99精品国产| 黄网站色欧美视频| 久久久久9999亚洲精品| 欧美成人综合网站| 欧美主播一区二区三区美女 久久精品人 | 欧美制服丝袜| 欧美精品日韩综合在线| 国产一区二区三区日韩欧美| 久久全国免费视频| 亚洲美女色禁图| 欧美中文字幕精品| 日韩亚洲欧美精品| 国产麻豆精品在线观看| 久久尤物视频| 亚洲一区二区成人| 欧美激情国产高清| 香蕉久久夜色精品国产| 国内精品一区二区三区| 欧美大秀在线观看| 欧美一区二区三区四区在线| 亚洲三级国产| 美女性感视频久久久| 亚洲影院高清在线| 亚洲精品一区二区三区婷婷月| 国产精品午夜在线| 欧美日韩情趣电影| 毛片基地黄久久久久久天堂| 亚洲激情女人| 蜜桃av一区二区| 欧美在线视频一区二区| 一区二区不卡在线视频 午夜欧美不卡'| 国产喷白浆一区二区三区| 蜜月aⅴ免费一区二区三区 | 最新亚洲激情| 麻豆av福利av久久av| 在线亚洲免费| 一本色道久久88综合日韩精品|