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

隨筆-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>
            久久久亚洲高清| 亚洲视频在线视频| 老鸭窝亚洲一区二区三区| 国产自产精品| 老司机精品久久| 久久综合狠狠| 亚洲久久在线| 99天天综合性| 国产精品yjizz| 久久精品欧美日韩| 久久久亚洲人| 亚洲美女在线国产| 在线中文字幕一区| 国产伦精品一区二区三区在线观看| 欧美一区二区精品久久911| 亚洲欧美精品伊人久久| 好吊妞**欧美| 亚洲国内自拍| 欧美性天天影院| 久久久999精品视频| 久久天堂成人| 亚洲视频精品| 久久国产毛片| 亚洲一区二区三区在线视频| 亚洲一区在线看| 在线播放国产一区中文字幕剧情欧美 | 亚洲欧洲99久久| 曰本成人黄色| 亚洲午夜激情| 亚洲韩日在线| 亚洲欧美日韩在线不卡| 91久久精品国产91久久性色| 一本色道久久综合精品竹菊 | 国产精品入口尤物| 欧美大片在线看免费观看| 欧美日韩一区二区三区在线 | 亚洲二区在线| 国产情侣一区| 亚洲九九爱视频| 在线成人免费视频| 亚洲影视九九影院在线观看| 亚洲区欧美区| 久久疯狂做爰流白浆xx| 亚洲伊人网站| 欧美承认网站| 欧美sm重口味系列视频在线观看| 国产精品国产三级国产aⅴ9色| 欧美/亚洲一区| 国产午夜亚洲精品羞羞网站| 亚洲日本中文字幕| 亚洲激情二区| 久久久噜噜噜久久久| 亚洲欧美制服另类日韩| 欧美日韩色婷婷| 亚洲国产另类久久精品| 一区二区在线观看av| 香蕉免费一区二区三区在线观看| 亚洲视频 欧洲视频| 欧美成va人片在线观看| 欧美成人久久| 亚洲激情校园春色| 久久亚裔精品欧美| 欧美3dxxxxhd| 亚洲国产精品传媒在线观看| 久久久久国产精品一区| 久久这里只有精品视频首页| 国产人成一区二区三区影院| 亚洲欧美综合另类中字| 久久国产99| 黑人极品videos精品欧美裸| 欧美一区二区网站| 久久久久久久久一区二区| 国产一区二区精品久久91| 欧美在线视频网站| 久久久久9999亚洲精品| 精品999在线观看| 久久亚洲私人国产精品va媚药| 久久婷婷国产综合精品青草| 在线观看欧美| 欧美成人三级在线| 9人人澡人人爽人人精品| 亚洲男女自偷自拍| 国产一级揄自揄精品视频| 欧美亚洲专区| 欧美大片免费观看| 日韩视频免费在线| 国产精品福利网站| 午夜日韩激情| 欧美激情91| 亚洲网址在线| 国产一区二区三区在线观看免费视频| 久久成人国产| 亚洲欧洲一区二区在线观看| 亚洲午夜在线| 激情欧美丁香| 欧美日韩在线免费| 亚洲免费一区二区| 欧美风情在线观看| 亚洲在线一区| 尤物99国产成人精品视频| 欧美精品一线| 亚洲欧美日韩综合国产aⅴ| 免费久久99精品国产自在现线| 99精品国产在热久久婷婷| 国产欧美日韩综合一区在线观看| 久久久久久久一区| 一区二区三区视频在线观看| 久久综合一区二区| 亚洲一区二区三区四区在线观看 | 激情一区二区三区| 欧美日本在线一区| 久久精品国产精品亚洲综合| 亚洲国产精品一区二区尤物区| 亚洲欧美99| 亚洲第一福利视频| 国产精品久久久久久久app| 美日韩精品免费观看视频| 亚洲天堂男人| 亚洲人成网站精品片在线观看| 欧美有码视频| 一本色道88久久加勒比精品 | 国产精品久久久久久影视| 老牛国产精品一区的观看方式| 亚洲线精品一区二区三区八戒| 欧美大片一区二区三区| 久久久久国产一区二区三区| 亚洲图片欧美日产| 99精品免费网| 亚洲国产专区校园欧美| 一区二区三区在线看| 国产欧美精品一区aⅴ影院| 欧美色另类天堂2015| 欧美成人在线网站| 免费欧美在线| 久久人人爽人人| 久久久99精品免费观看不卡| 亚洲在线黄色| 亚洲一区二区三区精品视频| 一本久久综合| 日韩手机在线导航| 日韩图片一区| 亚洲人成人一区二区在线观看| 男男成人高潮片免费网站| 久久琪琪电影院| 久久久久一区二区三区四区| 性色av一区二区三区在线观看| 亚洲影院在线观看| 亚洲一区二区三区高清不卡| 亚洲综合999| 亚洲欧美韩国| 在线欧美日韩| 国产亚洲欧美日韩精品| 国产精品一区二区男女羞羞无遮挡| 欧美日韩中文字幕日韩欧美| 欧美日韩亚洲一区二区三区四区| 欧美国产一区二区| 欧美日韩岛国| 欧美韩日一区二区| 午夜精品久久久久久久99水蜜桃| 亚洲午夜精品视频| 亚洲在线一区二区三区| 午夜精品久久久| 久久精品国产久精国产爱| 久久免费的精品国产v∧| 久久久久国色av免费观看性色| 嫩草国产精品入口| 欧美激情视频一区二区三区免费| 欧美日韩在线第一页| 国产亚洲欧洲| 亚洲精品久久久久中文字幕欢迎你| 一本大道久久a久久精品综合| 亚洲在线不卡| 久久久91精品国产一区二区三区| 女主播福利一区| 日韩午夜电影av| 羞羞答答国产精品www一本| 久久频这里精品99香蕉| 欧美色网一区二区| 国产一区在线播放| 日韩系列在线| 久久久久久欧美| 日韩小视频在线观看专区| 亚洲欧美日韩一区二区三区在线| 久久精品免费电影| 欧美日韩成人综合在线一区二区 | 久久噜噜噜精品国产亚洲综合| 欧美gay视频激情| 国产精品色婷婷久久58| 亚洲国产一区视频| 新狼窝色av性久久久久久| 亚洲第一网站免费视频| 亚洲一区二区三区成人在线视频精品 | 亚洲欧美亚洲| 亚洲第一色中文字幕| 亚洲影视在线播放| 欧美岛国激情| 国产亚洲欧美日韩美女| 亚洲视频专区在线| 欧美xart系列高清| 欧美在线视频a|