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

隨筆-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>
            亚洲国产日韩欧美| 午夜久久影院| 亚洲伊人观看| 一区二区三区高清| 亚洲午夜在线| 99re66热这里只有精品3直播 | 国产精品国产三级国产普通话99 | 亚洲欧美日韩区| 国产亚洲欧洲997久久综合| 午夜精品免费在线| 久久久久国产一区二区| 亚洲激情校园春色| 欧美激情第3页| 国产欧美欧美| 国产精品久久久久77777| 久久国产精品99国产精| 久久久av网站| 亚洲免费视频一区二区| 久久综合久色欧美综合狠狠 | 亚洲一区国产精品| 久久人人爽人人| 午夜视频一区二区| 欧美黄色大片网站| 亚洲激情网站| 亚洲高清在线| 欧美在线影院在线视频| av成人国产| 欧美三级不卡| 亚洲日韩欧美一区二区在线| 在线免费观看日本欧美| 欧美亚洲日本一区| 久久久精品2019中文字幕神马| 欧美日韩性视频在线| 欧美激情精品久久久久久免费印度| 国产麻豆精品视频| 亚洲一区二区三| 久久久水蜜桃av免费网站| 欧美日韩免费在线| 99在线精品视频在线观看| 亚洲精品一区二区在线观看| 亚洲欧美日韩成人高清在线一区| 欧美v日韩v国产v| 亚洲天堂久久| 亚洲东热激情| 美女免费视频一区| 亚洲六月丁香色婷婷综合久久| 精久久久久久久久久久| 久久一区二区三区国产精品| 亚洲第一页中文字幕| 欧美高清视频一二三区| 亚洲一区国产一区| 最新亚洲电影| 欧美韩国在线| 久久国产精品99国产精| 亚洲午夜精品一区二区三区他趣| 亚洲日本在线视频观看| 久久激情综合网| 日韩一级大片在线| 一二三四社区欧美黄| 亚洲精品久久久蜜桃 | 欧美一区三区二区在线观看| 亚洲日本中文字幕| 亚洲美女网站| 亚洲国产精品一区二区第四页av| 国产欧美一区二区精品性色| 老牛影视一区二区三区| 午夜久久一区| 欧美一级久久| 久久精品视频在线播放| 亚洲欧美另类中文字幕| 亚洲一区二区三区高清| 亚洲视频综合| 久久精品人人做人人爽电影蜜月| 久久黄色网页| 欧美大片在线观看一区| 欧美交受高潮1| 久久精品一级爱片| 另类图片国产| 欧美日韩国产欧美日美国产精品| 欧美日韩在线另类| 国产手机视频一区二区| 伊人久久婷婷| 99精品国产在热久久下载| 亚洲素人一区二区| 久久成人av少妇免费| 久久久久久久久一区二区| 欧美激情1区| 亚洲午夜一区| 美女视频黄 久久| 久久久综合网站| 亚洲美女区一区| 久久国产综合精品| 欧美激情视频在线免费观看 欧美视频免费一 | 欧美jizz19性欧美| 欧美jjzz| 极品尤物一区二区三区| 亚洲午夜av| 免费看黄裸体一级大秀欧美| 中国成人黄色视屏| 欧美精品v国产精品v日韩精品| 国产毛片精品视频| 亚洲视频高清| 亚洲福利国产精品| 亚洲在线免费观看| 欧美日韩国产精品专区| 亚洲激情成人| 老司机精品导航| 久久激情综合网| **欧美日韩vr在线| 性欧美超级视频| 韩日精品在线| 午夜影院日韩| 欧美一级电影久久| 国产午夜久久| 欧美亚洲综合久久| 亚洲主播在线| 国内精品久久久久久影视8| 欧美一区二区三区四区在线观看地址| 亚洲精品网站在线播放gif| 久久这里只有精品视频首页| 尤物99国产成人精品视频| 久久久精品欧美丰满| 午夜精品久久久久久久99樱桃| 国产精品视频导航| 欧美一区2区三区4区公司二百| 羞羞色国产精品| 在线观看成人网| 亚洲国产精品久久人人爱蜜臀| 欧美成人dvd在线视频| 久久精品国产清高在天天线| 国内精品久久久久久影视8 | 亚洲国产精品电影在线观看| 美日韩在线观看| 在线一区二区日韩| 亚洲欧洲一区二区天堂久久 | 麻豆精品网站| 日韩视频免费观看高清在线视频 | 欧美一级精品大片| 亚洲伦理在线免费看| 欧美一进一出视频| 亚洲黄色影院| 欧美一区国产在线| 亚洲视频一区二区免费在线观看| 亚洲男人天堂2024| 日韩一区二区精品葵司在线| 欧美一区二区黄| 亚洲自拍偷拍视频| 欧美α欧美αv大片| 久久久国产视频91| 国产精品久久久久久亚洲调教| 亚洲国产综合在线看不卡| 尤妮丝一区二区裸体视频| 亚洲欧美激情一区二区| 亚洲欧美视频在线观看视频| 欧美精品激情| 一本久久综合| 亚洲天堂成人| 欧美视频免费看| 一本色道久久综合精品竹菊 | 久久精精品视频| 国产精品久久久久久久久久ktv| 欧美第一黄网免费网站| 伊人精品在线| 欧美.日韩.国产.一区.二区| 久久久久中文| 伊人久久大香线| 欧美不卡视频| 日韩特黄影片| 国产精品视频不卡| 欧美一区二区三区另类| 久久久夜夜夜| 一区二区高清在线观看| 国产精品视频大全| 久久久久九九视频| 亚洲精品色图| 久久婷婷国产综合国色天香| 国产真实乱子伦精品视频| 免费高清在线视频一区·| 日韩五码在线| 开元免费观看欧美电视剧网站| 亚洲日韩中文字幕在线播放| 国产免费成人| 欧美成人午夜视频| 欧美一区二区视频在线| 日韩亚洲精品在线| 欧美国产日产韩国视频| 亚洲深夜福利网站| 91久久在线| 在线观看国产日韩| 国产精品一二三四区| 免费在线亚洲| 欧美一区成人| 亚洲系列中文字幕| 亚洲国产精品电影| 免费中文日韩| 免费久久99精品国产自| 久久久久综合| 麻豆免费精品视频| 久久久久久综合网天天| 久久精品毛片|