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

隨筆-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免费观看| 午夜精品99久久免费| 欧美中文字幕在线观看| 欧美二区在线播放| 欧美色区777第一页| 国产精品一二三四区| 在线看日韩av| 亚洲综合色噜噜狠狠| 裸体丰满少妇做受久久99精品| 欧美好吊妞视频| 亚洲午夜国产一区99re久久 | 久久精品一二三| 亚洲精品国产拍免费91在线| 亚洲人成77777在线观看网| 亚洲四色影视在线观看| 免费试看一区| 国产一区二区你懂的| 宅男噜噜噜66国产日韩在线观看| 欧美中文字幕| 亚洲综合成人婷婷小说| 欧美黑人国产人伦爽爽爽| 一区二区三区日韩在线观看| 欧美一区视频在线| 欧美日韩一区二区高清| 亚洲欧洲一区二区三区久久| 久久久久久久999| 亚洲女人小视频在线观看| 欧美午夜视频在线观看| 夜夜嗨av一区二区三区四季av| 欧美福利一区二区| 欧美成人乱码一区二区三区| 亚洲日本成人| 亚洲精品精选| 国产精品电影观看| 久久国产精品黑丝| 久久综合伊人77777| 在线视频成人| 亚洲人成网站精品片在线观看| 欧美精品国产精品| 欧美在线日韩| 欧美顶级少妇做爰| 亚洲欧美中文另类| 欧美一区二区三区久久精品| 亚洲国产精品99久久久久久久久| 欧美成人免费全部| 国产精品久久久久aaaa| 嫩模写真一区二区三区三州| 欧美激情按摩| 久久久免费av| 国产精品婷婷午夜在线观看| 男人的天堂亚洲在线| 国产精品扒开腿做爽爽爽软件| 久久久久国产精品厨房| 欧美体内she精视频在线观看| 老司机精品福利视频| 欧美性色aⅴ视频一区日韩精品| 国产亚洲精品aa午夜观看| 欧美激情a∨在线视频播放| 开元免费观看欧美电视剧网站| 欧美日精品一区视频| 亚洲人成在线观看一区二区| 黄色成人片子| 久久激情视频久久| 久久只有精品| 尤妮丝一区二区裸体视频| 香蕉久久夜色精品国产| 午夜精品www| 国产精品久久影院| 亚洲一区二区毛片| 久久精品中文字幕一区二区三区 | 99综合精品| 亚洲午夜未删减在线观看| 欧美少妇一区| 新67194成人永久网站| 欧美在线免费观看亚洲| 依依成人综合视频| 欧美国产三区| 亚洲欧美日本国产有色| 麻豆精品91| 国产精品99久久久久久久久久久久 | 久久久久久久一区| 亚洲国产毛片完整版| 欧美天堂在线观看| 久久精品2019中文字幕| 亚洲欧洲一区二区三区久久| 正在播放亚洲| 在线成人亚洲| 欧美午夜电影完整版| 久久av一区二区| 亚洲国产美国国产综合一区二区| 欧美精品在线免费播放| 午夜一区在线| 一本大道av伊人久久综合| 久久视频在线看| 亚洲欧美卡通另类91av| 亚洲国产日韩一级| 一区二区在线不卡| 国产伦精品免费视频| 欧美三级在线视频| 欧美激情一二区| 欧美成人精品h版在线观看| 欧美在线一二三区| 一本到12不卡视频在线dvd| 亚洲国产精品一区在线观看不卡| 欧美中文字幕视频| 欧美亚洲视频| 性欧美8khd高清极品| 欧美一区二区三区精品电影| 亚洲欧美日韩一区在线观看| 亚洲视频一区在线| 在线视频一区观看| 亚洲尤物在线视频观看| 亚洲欧美日韩一区二区在线| 亚洲欧美经典视频| 久久久久久久尹人综合网亚洲| 欧美一区三区二区在线观看| 午夜欧美不卡精品aaaaa| 欧美一区二区三区免费视频| 久久午夜电影网| 亚洲电影免费观看高清完整版在线观看| 狂野欧美性猛交xxxx巴西| 亚洲高清毛片| 亚洲影音一区| 久久综合一区二区| 国产精品每日更新在线播放网址| 国产精品美女诱惑| 91久久精品国产91久久| 欧美一级一区| 欧美激情亚洲激情| 亚洲欧美日本国产有色| 久久久久久久999| 一区二区三区免费观看| 每日更新成人在线视频| 国产欧美亚洲一区| 亚洲午夜在线| 91久久国产自产拍夜夜嗨| 久久久另类综合| 国产一区二区看久久| 久久精品国产综合| 亚洲免费在线| 国产女优一区| 久久九九久精品国产免费直播| 亚洲主播在线观看| 国产精品入口尤物| 久久黄色网页| 欧美专区中文字幕| 亚洲电影免费观看高清完整版在线观看 | 国产精品久久| 亚洲网站在线| 亚洲午夜精品久久久久久app| 欧美人与禽猛交乱配视频| 一本色道久久综合精品竹菊| 亚洲欧洲日韩在线| 国产精品久久久久久久久久三级| 亚洲私人影吧| 欧美一区三区三区高中清蜜桃| 国内精品久久久久久久影视麻豆| 久久福利影视| 欧美不卡视频| 久久国产精品久久久| 久久久久久久综合狠狠综合| 亚洲电影av| 欧美亚洲综合另类| 亚洲麻豆视频| 欧美在线观看网址综合| 一区二区三区精品视频| 欧美亚洲视频| 亚洲一区图片| 久久视频国产精品免费视频在线 | 亚洲精品之草原avav久久| 国产精品手机在线| 亚洲国产精品免费| 国产欧美69| 一区二区三区免费观看| 亚洲国产欧美一区二区三区同亚洲| 亚洲免费成人| 日韩视频一区二区三区| 久久久www成人免费精品| 欧美一区不卡| 国产精品久久国产愉拍 | 亚洲国产欧美日韩| 欧美在线观看一区二区| 欧美中文日韩| 国产亚洲一区二区三区| 新片速递亚洲合集欧美合集 | 久久精品国产综合| 午夜精品区一区二区三| 欧美色欧美亚洲高清在线视频|