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

隨筆-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>
            在线亚洲+欧美+日本专区| 在线性视频日韩欧美| 欧美一区二区播放| 亚洲一区久久| 国产嫩草一区二区三区在线观看| 一本久久a久久免费精品不卡| 欧美激情亚洲国产| 欧美精品一区二区蜜臀亚洲 | 久久久www成人免费毛片麻豆| 国产欧美亚洲日本| 欧美中在线观看| 久久精品99久久香蕉国产色戒| 国内久久婷婷综合| 欧美~级网站不卡| 欧美精品啪啪| 欧美亚洲综合在线| 久久久福利视频| 亚洲狼人综合| 在线一区观看| 激情久久久久久久| 亚洲狠狠丁香婷婷综合久久久| 欧美成人午夜激情视频| 亚洲午夜精品一区二区三区他趣| 亚洲欧美三级在线| 在线观看日韩一区| 亚洲麻豆av| 黄页网站一区| 在线一区二区三区四区五区| 国产精品试看| 欧美激情中文字幕在线| 国产精品大片wwwwww| 久久亚洲精品欧美| 欧美日韩三级电影在线| 久久久久久9| 欧美日韩一区二区三区在线| 欧美中文字幕视频| 你懂的视频欧美| 欧美在线免费视频| 欧美高清视频在线| 久久久欧美精品| 欧美日本中文| 欧美成人亚洲成人日韩成人| 国产精品国产三级国产aⅴ入口| 免费不卡在线观看av| 欧美视频在线观看一区| 欧美aa在线视频| 国产免费观看久久黄| 亚洲狼人精品一区二区三区| 在线观看欧美日本| 亚洲欧美一区二区激情| 亚洲午夜一区二区| 久久综合给合| 久久美女性网| 国产伦精品一区二区三区视频孕妇| 亚洲精品一区二区三区福利| 亚洲国产精品传媒在线观看 | 美女在线一区二区| 国产麻豆综合| 亚洲性视频网站| 亚洲网站在线| 欧美日韩国产另类不卡| 欧美福利一区二区| 一区二区三区在线视频观看| 亚洲午夜精品视频| 亚洲一区二区三区久久 | 夜夜夜久久久| 一区二区三区日韩欧美| 欧美xx69| 亚洲黄一区二区三区| 亚洲国产另类精品专区 | 夜夜嗨av色综合久久久综合网| 夜夜嗨av色一区二区不卡| 免费久久99精品国产| 免费在线观看精品| 亚洲福利专区| 欧美黑人国产人伦爽爽爽| 亚洲国产精品成人综合色在线婷婷| 激情综合激情| 免费视频一区| 亚洲黄网站黄| 亚洲视频精品在线| 欧美视频在线视频| 亚洲免费在线视频一区 二区| 欧美在线观看你懂的| 国产三级欧美三级| 久久精品综合一区| 毛片一区二区| 日韩视频在线一区二区| 欧美日本一区二区高清播放视频| 日韩一级二级三级| 亚洲视频播放| 国产精品美女www爽爽爽| 午夜精品久久久久久久久| 久久精品亚洲一区二区三区浴池| 在线日韩av| 欧美另类69精品久久久久9999| 一区二区三区毛片| 久久精品国产v日韩v亚洲| 亚洲黄色小视频| 欧美日韩国产精品专区| 亚洲欧美另类中文字幕| 免费不卡在线观看av| 日韩午夜激情av| 国产午夜精品久久久| 久久躁狠狠躁夜夜爽| 99re8这里有精品热视频免费| 久久国产一二区| 亚洲日本va午夜在线电影| 国产精品久久久免费| 久久免费高清视频| 日韩一区二区精品视频| 久久久久国色av免费观看性色| 亚洲精品视频在线看| 国产精品伦理| 欧美成人免费网站| 亚洲综合视频在线| 亚洲电影免费在线观看| 午夜精品久久久久久久蜜桃app| 亚洲高清不卡在线| 国产精品主播| 欧美日韩精品一区二区三区四区| 欧美一区二区三区四区在线| 亚洲人成77777在线观看网| 久久九九有精品国产23| 国产精品99久久久久久宅男| 国外成人免费视频| 国产精品久久久久久户外露出| 免费一级欧美片在线播放| 午夜激情综合网| 一区二区三区欧美成人| 亚洲成人在线视频播放 | 欧美一区国产在线| 一二三四社区欧美黄| 欧美成人69av| 美女精品网站| 久久精品国产亚洲精品| 99在线热播精品免费99热| 精久久久久久| 精品成人在线| 韩国欧美国产1区| 国产欧美日韩精品在线| 欧美日韩在线观看一区二区三区 | 亚洲午夜一区二区三区| 亚洲精品久久久久中文字幕欢迎你 | 欧美在线播放| 亚洲在线免费| 亚洲影视在线| 亚洲欧美日产图| 亚洲欧美日韩综合一区| 日韩一级大片| 亚洲视频免费观看| 亚洲精品之草原avav久久| 亚洲黄色三级| 一本久久综合| 亚洲欧美日韩精品在线| 亚洲一区在线免费| 亚洲欧美日韩一区| 亚洲一区bb| 亚洲欧美日韩国产成人精品影院| 亚洲欧美三级在线| 欧美在线资源| 免费在线观看精品| 亚洲国产欧美不卡在线观看 | 久久精品国产99| 久久综合色88| 欧美好骚综合网| 99re热这里只有精品视频| 99精品免费| 午夜日韩在线| 巨胸喷奶水www久久久免费动漫| 欧美a一区二区| 欧美日韩精品免费观看视一区二区 | 欧美调教vk| 国产女主播一区二区三区| 国产精品一区2区| 国内成人自拍视频| 亚洲人人精品| 欧美在线观看www| 欧美成人自拍| 亚洲无毛电影| 久久久久久9| 欧美精品一区在线观看| 国产精品一卡二| 亚洲精品久久久久久一区二区| 亚洲欧美国产制服动漫| 久久日韩粉嫩一区二区三区| 欧美激情久久久久| 亚洲午夜精品国产| 你懂的视频一区二区| 国产精品免费电影| 亚洲电影中文字幕| 亚洲欧美日韩在线播放| 欧美成人免费全部| 亚洲一区二区三区四区五区黄 | 在线视频一区观看| 久久久久久久久蜜桃| 欧美日韩国产精品| 一区在线视频| 欧美一区二区三区免费看| 91久久亚洲|