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

隨筆-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| 国产精品jizz在线观看美国 | 西瓜成人精品人成网站| 欧美日韩一区二区三| 亚洲第一精品夜夜躁人人爽| 一区二区高清在线观看| 亚洲国产成人av好男人在线观看| 久久精品成人一区二区三区 | 国产日韩欧美不卡| 欧美在线91| 欧美一区中文字幕| 一区二区亚洲精品国产| 久久精品女人| 久久成人免费电影| 亚洲国产一区在线| 欧美激情一区三区| 欧美美女操人视频| 午夜精品国产更新| 欧美专区第一页| 亚洲福利视频二区| 亚洲日本在线视频观看| 欧美日韩国产成人在线91| 亚洲啪啪91| 亚洲精品美女| 亚洲狼人综合| 一区二区三区视频在线| 欧美日韩国产系列| 一区二区日韩欧美| 国产精品视屏| 另类av一区二区| 欧美精品福利视频| 亚洲男人的天堂在线aⅴ视频| 日韩亚洲欧美中文三级| 国产精品日产欧美久久久久| 在线亚洲国产精品网站| 在线亚洲一区| 国色天香一区二区| 亚洲精品国产视频| 国产日韩欧美一二三区| 免费欧美高清视频| 欧美午夜不卡影院在线观看完整版免费| 香蕉av777xxx色综合一区| 久久国产欧美| 亚洲视频在线免费观看| 欧美一区成人| 在线亚洲一区观看| 久久看片网站| 午夜免费在线观看精品视频| 亚洲欧美日韩精品综合在线观看| 黄色影院成人| 亚洲图片欧洲图片av| 精品99一区二区| 夜夜嗨av一区二区三区网页| 国产精品久久久久久久久果冻传媒| 久久久国产精品一区二区中文| 蜜桃久久av| 久久久蜜桃精品| 国产精品久久国产三级国电话系列 | 久久精品国产清自在天天线| 伊人久久男人天堂| 亚洲男人第一网站| 日韩一区二区精品视频| 性8sex亚洲区入口| 亚洲午夜精品久久| 欧美高清在线一区| 另类尿喷潮videofree| 国产精品久久久久天堂| 女人色偷偷aa久久天堂| 国产精品h在线观看| 亚洲第一福利视频| 在线观看日韩欧美| 久久精品国产一区二区三区免费看 | 久久久久国色av免费看影院| 亚洲精品在线免费| 久久婷婷麻豆| 开心色5月久久精品| 国产精品日韩欧美综合| 亚洲精品一二| 在线视频精品一| 欧美欧美午夜aⅴ在线观看| 久久av一区| 狂野欧美激情性xxxx| 欧美视频精品在线| 日韩午夜在线视频| 亚洲天堂av高清| 欧美日韩另类视频| 一区二区三区高清不卡| 99re这里只有精品6| 美女视频网站黄色亚洲| 美女网站在线免费欧美精品| 国产精品入口日韩视频大尺度| 亚洲精品欧美在线| 99亚洲伊人久久精品影院红桃| 久热精品视频在线免费观看| 欧美制服丝袜| 国产一区二区0| 久久久久久高潮国产精品视| 亚洲欧美色一区| 国产手机视频一区二区| 亚洲一区二区三区在线看| 亚洲永久免费| 国产日本欧美一区二区| 欧美一区二区在线免费播放| 亚洲欧美成人综合| 国产欧美日韩亚洲一区二区三区| 亚洲一区二区三区中文字幕在线| 亚洲图片自拍偷拍| 国产日韩av一区二区| 久久www免费人成看片高清| 麻豆精品国产91久久久久久| 国产亚洲制服色| 久热这里只精品99re8久| 欧美激情亚洲国产| 亚洲午夜伦理| 黄色亚洲网站| 欧美人与性动交a欧美精品| 9国产精品视频| 欧美一区亚洲一区| 亚洲国产精品综合| 国产精品福利在线| 久久美女艺术照精彩视频福利播放| 毛片一区二区三区| 夜久久久久久| 国产精品乱人伦一区二区 | 亚洲国产清纯| 亚洲精品中文字幕在线观看| 亚洲国产精品小视频| 亚洲在线免费视频| 亚洲欧洲另类| 欧美成va人片在线观看| 国产精品久久一级| 一区二区三区高清不卡| 久久综合狠狠综合久久综合88| 在线日韩成人| 国产精品99久久久久久宅男| 亚洲一区二区三区在线| 久久国产手机看片| 欧美日韩国语| 亚洲少妇自拍| 亚洲国产综合在线看不卡| 亚洲第一视频网站| 亚洲一级一区| 欧美日韩视频| 亚洲一区二区精品在线| 久久久人成影片一区二区三区观看| 久久国产精品毛片| 亚洲精品久久久久久久久久久久久| 国产美女扒开尿口久久久| 国产精品永久| 中文国产成人精品| 免费不卡亚洲欧美| 先锋影院在线亚洲| 欧美人与禽猛交乱配| 国产亚洲欧洲一区高清在线观看| 99精品视频免费| 91久久久久久国产精品| 国产精品入口福利| 欧美激情国产日韩精品一区18| 日韩视频精品在线| 国产精品毛片a∨一区二区三区|国 | 亚洲一区二区精品视频| 亚洲影院污污.| 亚洲国产成人av好男人在线观看| 久久香蕉国产线看观看av| 91久久线看在观草草青青| 亚洲欧美综合一区| 日韩天天综合| 亚洲激情一区二区| 亚洲国产精品视频一区| **性色生活片久久毛片| 国产嫩草一区二区三区在线观看| 欧美日韩视频在线一区二区观看视频 | 欧美大片一区二区| 裸体一区二区三区| 欧美sm极限捆绑bd| 欧美承认网站| 亚洲第一黄网| 亚洲激情在线观看| 亚洲精品中文字幕女同| 一区二区三区久久精品| 亚洲视频欧美视频| 亚洲综合色婷婷| 欧美一区二区大片| 欧美一区国产二区| 久久综合九九| 欧美精品久久久久a| 亚洲一区二区三区高清| 国产乱码精品一区二区三区五月婷 | 亚洲欧美一区二区三区久久| 午夜精品成人在线视频|