Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6291934B2 - Information processing apparatus, drawing method, and program - Google Patents
[go: Go Back, main page]

JP6291934B2 - Information processing apparatus, drawing method, and program - Google Patents

Information processing apparatus, drawing method, and program Download PDF

Info

Publication number
JP6291934B2
JP6291934B2 JP2014054885A JP2014054885A JP6291934B2 JP 6291934 B2 JP6291934 B2 JP 6291934B2 JP 2014054885 A JP2014054885 A JP 2014054885A JP 2014054885 A JP2014054885 A JP 2014054885A JP 6291934 B2 JP6291934 B2 JP 6291934B2
Authority
JP
Japan
Prior art keywords
memory
frequency
display data
transfer
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2014054885A
Other languages
Japanese (ja)
Other versions
JP2015176569A (en
Inventor
雄一知 金子
雄一知 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2014054885A priority Critical patent/JP6291934B2/en
Publication of JP2015176569A publication Critical patent/JP2015176569A/en
Application granted granted Critical
Publication of JP6291934B2 publication Critical patent/JP6291934B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、描画処理によって共通バスが専有されないようにすることができる情報処理装置、描画方法、及びプログラムに関する。   The present invention relates to an information processing apparatus, a drawing method, and a program that can prevent a common bus from being occupied by a drawing process.

コンピュータや携帯端末などの情報処理装置における画像の描画技術として、表示データをメインメモリに書き込み、その後、バスを介してメインメモリからビデオメモリへ表示データを転送する技術が知られている(例えば、特許文献1,2参照)。   As an image drawing technique in an information processing apparatus such as a computer or a portable terminal, a technique for writing display data to a main memory and then transferring the display data from the main memory to the video memory via a bus (for example, (See Patent Documents 1 and 2).

特許文献1に記載されている技術では、メモリデータ転送コントローラが、表示データの書き換えに同期して、メインメモリからメモリバスを介して表示データを読み込み、PCIバス(共通バス)上のビデオメモリへライト転送することにより、画像を描画するようにしている。この特許文献1に記載されている技術によれば、メインメモリからメモリデータ転送コントローラへの表示データのリード転送と、メモリデータ転送コントローラから共通バス上のビデオメモリへのライト転送とを並行して実行できるので、表示データの転送速度を高速化することができる。   In the technique described in Patent Document 1, a memory data transfer controller reads display data from a main memory via a memory bus in synchronization with rewriting of display data, and transfers it to a video memory on a PCI bus (common bus). An image is drawn by performing write transfer. According to the technique described in Patent Document 1, display data read transfer from the main memory to the memory data transfer controller and write transfer from the memory data transfer controller to the video memory on the common bus are performed in parallel. Since it can be executed, the display data transfer speed can be increased.

また、特許文献2に記載されている技術では、データ転送制御装置が、CPUの動作モードに応じた周期で、メインメモリに記録されている表示データを共通バス上のビデオメモリへDMA転送することにより、画像を描画するようにしている。より具体的には、CPUの動作モードが通常動作モードである場合は、フレームの書き換え周期に同期してDMA転送を実行し、動作モードが表示データの書き換えが行われないスタンバイモードである場合は、DMA転送を停止し、消費電力を抑えるようにしている。   In the technique described in Patent Document 2, the data transfer control device DMA-transfers display data recorded in the main memory to the video memory on the common bus at a cycle according to the operation mode of the CPU. Thus, an image is drawn. More specifically, when the CPU operation mode is the normal operation mode, the DMA transfer is executed in synchronization with the frame rewrite cycle, and the operation mode is the standby mode in which display data is not rewritten. DMA transfer is stopped to reduce power consumption.

特開平8−180012号公報JP-A-8-180012 特開2003−122335号公報JP 2003-122335 A

上述した特許文献1に記載されている技術は、メモリデータ転送コントローラが、表示データの書き換えに同期してメインメモリからビデオメモリに表示データを転送するようにしているので、メインメモリに表示データを書き込むためのライトコマンドが連続して多数発生する高頻度描画時に、共通バスが描画処理によって専有されてしまう危険性がある。そして、共通バスが描画処理によって専有されてしまうと、共通バスに接続されているUSBコントローラやLANコントローラといったデバイスを利用した処理を行うことができなくなってしまう。   In the technique described in Patent Document 1 described above, the memory data transfer controller transfers the display data from the main memory to the video memory in synchronization with the rewriting of the display data. There is a risk that the common bus is occupied by the drawing process at the time of high-frequency drawing in which a large number of write commands for writing are generated in succession. If the common bus is exclusively used for drawing processing, processing using a device such as a USB controller or a LAN controller connected to the common bus cannot be performed.

また、特許文献2に記載されている技術は、データ転送制御装置が、フレームの書き換え周期に同期してメインメモリから共通バス上のビデオメモリに表示データをDMA転送するようにしているので、メインメモリに表示データを書き込むためのライトコマンドが連続して発生した場合、共通バスが描画処理によって共通バスが専有されてしまう危険性がある。   In the technique described in Patent Document 2, the data transfer control device DMA-transfers display data from the main memory to the video memory on the common bus in synchronization with the frame rewrite cycle. When write commands for writing display data to the memory are continuously generated, there is a risk that the common bus will be occupied by the drawing process.

[発明の目的]
そこで、本発明の目的は、高頻度描画時に共通バスが描画処理によって専有されてしまう危険性があるという課題を解決した情報処理装置を提供することにある。
[Object of invention]
Therefore, an object of the present invention is to provide an information processing apparatus that solves the problem that there is a risk that a common bus may be occupied by drawing processing during high-frequency drawing.

本発明に係る情報処理装置は、
共通バスに接続された第1のメモリと、
ローカルバスに接続された第2のメモリと、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段と、
前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段とを備える。
An information processing apparatus according to the present invention includes:
A first memory connected to a common bus;
A second memory connected to the local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
Transfer means for transferring the display data recorded in the second memory to the first memory at a transfer frequency different from the display data write frequency to the second memory.

本発明に係る描画方法は、
書き込み手段が、共通バスに接続された第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記ローカルバスに接続された第2のメモリに表示データを書き込み、
転送手段が、前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する。
The drawing method according to the present invention includes:
In response to a write command instructing writing of display data to the first memory connected to the common bus, the writing means writes the display data to the second memory connected to the local bus,
The transfer means transfers the display data recorded in the second memory to the first memory at a transfer frequency different from the display data write frequency to the second memory.

本発明に係るプログラムは、
共通バスに接続された第1のメモリと、ローカルバスに接続された第2のメモリとを備えたコンピュータを、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段、
前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段として機能させる。
The program according to the present invention is:
A computer comprising a first memory connected to a common bus and a second memory connected to a local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
It functions as transfer means for transferring display data recorded in the second memory to the first memory at a transfer frequency different from the display data write frequency to the second memory.

本発明によれば、高頻度描画時に、描画処理によって共通バスが専有されてしまう危険性を少ないものにすることができるという効果を得ることができる。   According to the present invention, it is possible to reduce the risk that the common bus is occupied by the drawing process during high-frequency drawing.

本発明の第1の実施の形態に係る情報処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the information processing apparatus which concerns on the 1st Embodiment of this invention. 書き込み手段の処理例を示すフローチャートである。It is a flowchart which shows the process example of a writing means. 転送手段の処理例を示すフローチャートである。It is a flowchart which shows the example of a process of a transfer means. 本発明の第2の実施の形態に係る情報処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the information processing apparatus which concerns on the 2nd Embodiment of this invention. フィルタドライバの処理例を示すフローチャートである。It is a flowchart which shows the process example of a filter driver. ドライバの処理例を示すフローチャートである。It is a flowchart which shows the process example of a driver.

次に、図面を参照して本発明の実施の形態について詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

[本発明の第1の実施の形態]
図1を参照すると、本発明の第1の実施の形態に係るコンピュータ等の情報処理装置は、共通バス11に接続された第1のメモリ1と、ローカルバス12に接続された第2のメモリ2、書き込み手段3、及び転送手段4を備えている。
[First embodiment of the present invention]
Referring to FIG. 1, an information processing apparatus such as a computer according to a first embodiment of the present invention includes a first memory 1 connected to a common bus 11 and a second memory connected to a local bus 12. 2, a writing unit 3, and a transfer unit 4.

共通バス11に接続されている第1のメモリ1は、ビデオメモリであり、表示する画像を表す表示データが記録される。なお、共通バス11には、第1のメモリ1以外にUSBコントローラやLANコントローラ等のデバイスも接続されているが、図1では図示を省略している。   The first memory 1 connected to the common bus 11 is a video memory, in which display data representing an image to be displayed is recorded. In addition to the first memory 1, devices such as a USB controller and a LAN controller are connected to the common bus 11, but are not shown in FIG. 1.

ローカルバス12に接続されている第2のメモリ2は、メインメモリであり、第1のメモリ1へ転送する表示データが記録される。   The second memory 2 connected to the local bus 12 is a main memory, and display data to be transferred to the first memory 1 is recorded.

書き込み手段3は、第1のメモリ1に対する表示データの書き込みを指示するライトコマンドに応答して、第2のメモリ2に表示データを書き込む機能を有する。   The writing unit 3 has a function of writing display data to the second memory 2 in response to a write command instructing writing of display data to the first memory 1.

転送手段4は、第2のメモリ2に対する表示データの書き込み頻度(単位時間当たりの書き込み回数)と異なる転送頻度(単位時間当たりの転送回数)で、第2のメモリ2に記録されている表示データを第1のメモリ1に転送する。より具体的には、転送手段4は、第2のメモリ2に対する表示データの書き込み頻度よりも少ない転送頻度で、第2のメモリ2に記録されている表示データを第1のメモリ1に転送する機能を有する。   The transfer means 4 displays the display data recorded in the second memory 2 at a transfer frequency (transfer count per unit time) different from the display data write frequency (write count per unit time) to the second memory 2. Is transferred to the first memory 1. More specifically, the transfer unit 4 transfers the display data recorded in the second memory 2 to the first memory 1 with a transfer frequency lower than the display data write frequency to the second memory 2. It has a function.

なお、書き込み手段3、及び転送手段4は、CPUによって実現可能であり、その場合は、例えば次のようにする。CPUを書き込み手段3、及び転送手段4として機能させるためのプログラムを記録したディスク、半導体メモリ、その他の記録媒体を用意し、CPUに上記プログラムを読み取らせる。CPUは、読み取ったプログラムに従って自身の動作を制御することにより、自CPU上に書き込み手段3、及び転送手段4を実現する。   Note that the writing unit 3 and the transfer unit 4 can be realized by a CPU. In this case, for example, the following is performed. A disk, a semiconductor memory, and other recording media recording programs for causing the CPU to function as the writing unit 3 and the transfer unit 4 are prepared, and the CPU reads the program. The CPU realizes the writing unit 3 and the transfer unit 4 on its own CPU by controlling its own operation according to the read program.

次に、本実施の形態の動作について説明する。   Next, the operation of the present embodiment will be described.

書き込み手段3は、第1のメモリ1に対する表示データの書き込みを指示するライトコマンドが入力されると(図2のステップS21がYes)、第2のメモリに上記表示データを書き込む(ステップS22)。これに対して、上記ライトコマンド以外のコマンドが入力された場合(ステップS21がNo)は、入力されたコマンドをそのまま実行する(ステップS23)。   When a write command for instructing writing of display data to the first memory 1 is input (step S21 in FIG. 2 is Yes), the writing means 3 writes the display data into the second memory (step S22). On the other hand, when a command other than the write command is input (No in step S21), the input command is executed as it is (step S23).

一方、転送手段4は、図3のフローチャートに示すように、転送タイミングとなる毎に(ステップS31がYes)、第2のメモリ2に記録されている表示データ(例えば、1フレーム分の表示データ)を第1のメモリ1に転送する(ステップS32)。ここで、転送タイミングになったか否かは、例えば、予め定められている所定時間が経過したか否かに基づいて判定する。なお、上記所定時間は、第2のメモリ2から第1のメモリ1への表示データの転送頻度が、第2のメモリ2に対する表示データの書き込み頻度よりも少なくなるように定められている。   On the other hand, as shown in the flowchart of FIG. 3, the transfer unit 4 displays the display data (for example, display data for one frame) recorded in the second memory 2 every time the transfer timing comes (Yes in step S31). ) Is transferred to the first memory 1 (step S32). Here, whether the transfer timing has come is determined based on, for example, whether a predetermined time has passed. The predetermined time is set such that the display data transfer frequency from the second memory 2 to the first memory 1 is lower than the display data write frequency to the second memory 2.

[第1の実施の形態の効果]
本実施の形態によれば、高頻度描画時に、描画処理によって共通バスが専有されてしまう危険性を少ないものにすることができるという効果を得ることができる。その理由は、第2のメモリに対する表示データの書き込み頻度よりも少ない転送頻度で、第2のメモリに記録されている表示データを第1のメモリに転送するようにしているからである。つまり、意図的に第2のメモリから第1のメモリへの転送処理を間引くようにしているからである。
[Effect of the first embodiment]
According to the present embodiment, it is possible to obtain an effect that it is possible to reduce the risk that the common bus is occupied by the drawing process during high-frequency drawing. This is because the display data recorded in the second memory is transferred to the first memory at a transfer frequency lower than the display data write frequency to the second memory. That is, the transfer process from the second memory to the first memory is intentionally thinned out.

[本発明の第2の実施の形態]
次に、本発明の第2の実施の形態に係る情報処理装置について説明する。
[Second embodiment of the present invention]
Next, an information processing apparatus according to the second embodiment of the present invention will be described.

図4を参照すると、本実施の形態に係る情報処理装置は、CPU101、メインメモリ102、及びサウスブリッジ105がバス(ローカルバス)B1〜B3を介してノースブリッジ104に接続され、メインメモリ102上には仮想VRAM103が設けられている。また、サウスブリッジ105にはバス(共通バス)B4が接続され、共通バスB4には、SASコントローラ201、LANコントローラ202、ビデオコントローラ203、及びUSBコントローラ204が接続されている。また、各コントローラ201,203,204には、それぞれHDD211、VRAM212、及びUSBデバイス213が接続されている。また、本実施の形態に係る情報処理装置では、オペレーティングシステム301上で、アプリケーションプログラム302、ビデオドライバ303、フィルタドライバ304、及びドライバ305が動作している。   Referring to FIG. 4, in the information processing apparatus according to the present embodiment, a CPU 101, a main memory 102, and a south bridge 105 are connected to a north bridge 104 via buses (local buses) B1 to B3. Is provided with a virtual VRAM 103. A bus (common bus) B4 is connected to the south bridge 105, and a SAS controller 201, a LAN controller 202, a video controller 203, and a USB controller 204 are connected to the common bus B4. In addition, each of the controllers 201, 203, and 204 is connected to an HDD 211, a VRAM 212, and a USB device 213. In the information processing apparatus according to this embodiment, the application program 302, the video driver 303, the filter driver 304, and the driver 305 are operating on the operating system 301.

VRAM212は、第1のメモリとして機能するものであり、表示する画像を表す表示データが記録される。メインメモリ102上に設けられた仮想VRAM103は、第2のメモリとして機能するものであり、VRAM212へ転送する表示データが書き込まれる。   The VRAM 212 functions as a first memory and records display data representing an image to be displayed. The virtual VRAM 103 provided on the main memory 102 functions as a second memory, and display data to be transferred to the VRAM 212 is written therein.

アプリケーションプログラム302は、処理結果を表示するための描画命令を発行する機能を有する。   The application program 302 has a function of issuing a drawing command for displaying the processing result.

ビデオドライバ303は、アプリケーションプログラム302が発行した描画命令に従った画像を表示するためのポステッドライトコマンドを作成する機能を有する。このポステッドライトコマンドには、表示データが含まれると共に、ライトアドレスとしてVRAM212上のアドレスが含まれる。   The video driver 303 has a function of creating a posted light command for displaying an image in accordance with a drawing command issued by the application program 302. The posted write command includes display data and an address on the VRAM 212 as a write address.

フィルタドライバ304は、書き込み手段として機能するものであり、ビデオドライバ303から出力されるポステッドライトコマンドを、メインメモリ102上の仮想VRAM103に対するライトコマンドに変換する機能や、変換後のライトコマンドに従って表示データを仮想VRAM103に書き込む機能を有する。なお、ポステッドライトコマンドに含まれているライトアドレスは、VRAM212上のアドレスであるので、ポステッドライトコマンドを仮想VRAM103に対するライトコマンドに変換する際には、ライトアドレスを仮想VRAM103上の対応するアドレスに変換する必要がある。より具体的には、予め定められているVRAM212上のアドレスと仮想VRAM103上のアドレスの対応関係を示す対応テーブルや、演算式を用いて仮想VRAM103上のアドレスに変換する。   The filter driver 304 functions as a writing unit, and displays a posted write command output from the video driver 303 into a write command for the virtual VRAM 103 on the main memory 102 or a converted write command. It has a function of writing data to the virtual VRAM 103. Since the write address included in the posted write command is an address on the VRAM 212, when the posted write command is converted into a write command for the virtual VRAM 103, the write address is a corresponding address on the virtual VRAM 103. Need to be converted to More specifically, the address is converted into an address on the virtual VRAM 103 by using a correspondence table showing a correspondence relationship between a predetermined address on the VRAM 212 and an address on the virtual VRAM 103 or an arithmetic expression.

ドライバ305は、転送手段として機能するものであり、仮想VRAM103に対する表示データの書き込み頻度よりも少ない転送頻度で、仮想VRAM103に記録されている表示データをVRAM212に転送する機能を有する。例えば、仮想VRAM103に対する表示データの書き込み頻度が毎秒60フレームである場合には、転送頻度を毎秒30フレームとする。   The driver 305 functions as a transfer unit, and has a function of transferring display data recorded in the virtual VRAM 103 to the VRAM 212 at a transfer frequency lower than the display data write frequency to the virtual VRAM 103. For example, when the display data writing frequency to the virtual VRAM 103 is 60 frames per second, the transfer frequency is set to 30 frames per second.

次に、本実施の形態の動作について、詳細に説明する。   Next, the operation of the present embodiment will be described in detail.

オペレーティングシステム301上で動作するアプリケーションプログラム302がその処理結果を表示するために描画命令を出力すると、それを検出したオペレーティングシステム301が描画命令をビデオドライバ303に渡す。これにより、ビデオドライバ303は、表示データをVRAM212に書き込むためのポステッドライトコマンドを作成して出力する。   When the application program 302 that operates on the operating system 301 outputs a drawing command to display the processing result, the operating system 301 that has detected the drawing command passes the drawing command to the video driver 303. As a result, the video driver 303 creates and outputs a posted write command for writing the display data to the VRAM 212.

ビデオドライバ303の下位に配置されているフィルタドライバ304は、ビデオドライバ303からVRAM212に表示データを書き込むためのポステッドライトコマンドが出力されると(図5のステップS51がYes)、上記ポステッドライトコマンドを仮想VRAM103に対するライトコマンドに変換し、変換後のライトコマンドを実行する(ステップS52)。これにより、仮想VRAM212の対応するアドレスに表示データが書き込まれる。また、フィルタドライバ304は、ビデオドライバ303から出力されたコマンドが、VRAM212に対するポステッドライトコマンド以外のコマンドである場合(ステップS51がNo)は、そのコマンドをそのまま実行する。なお、本実施の形態では、1/60秒毎に、1フレーム分の表示データが仮想VRAMに書き込まれるとする。   When a posted write command for writing display data to the VRAM 212 is output from the video driver 303 (step S51 in FIG. 5 is Yes), the filter driver 304 disposed below the video driver 303 outputs the posted write command. The command is converted into a write command for the virtual VRAM 103, and the converted write command is executed (step S52). As a result, the display data is written to the corresponding address in the virtual VRAM 212. If the command output from the video driver 303 is a command other than the posted write command for the VRAM 212 (No in step S51), the filter driver 304 executes the command as it is. In this embodiment, it is assumed that display data for one frame is written into the virtual VRAM every 1/60 seconds.

一方、仮想VRAM103の内容をVRAM212へ転送するドライバ305は、図6のフローチャートに示すように、1/30秒が経過する毎に(ステップS61〜63)、仮想VRAM103に記録されている1フレーム分の表示データをVRAM212に転送する。   On the other hand, the driver 305 for transferring the contents of the virtual VRAM 103 to the VRAM 212, as shown in the flowchart of FIG. 6, every time 1/30 seconds elapse (steps S61 to S63), for one frame recorded in the virtual VRAM 103. Are transferred to the VRAM 212.

なお、上述した実施の形態では、仮想VRAM103からVRAM121への転送頻度を1/30秒毎に1フレームとしたが、仮想VRAM103への書き込み頻度より少なければ、これに限られない。また、転送頻度は、書き込み頻度が多くなるほど大きな値となる可変値であってもよい(但し、書き込み頻度よりも少ないことが必要)。より具体的には、フィルタドライバ304がドライバ305に対して仮想VRAM103への表示データの書き込み頻度を通知し、ドライバ305が通知された書き込み頻度に応じた転送頻度で仮想VRAM103に記録されている表示データをVRAM212へ転送する。更に、転送頻度として、書き込み頻度よりも小さく、且つ共通バスB4の最大帯域よりも小さな固定値や、書き込み頻度よりも小さく、且つその最大値が共通バスB4の最大帯域よりも小さい可変値を使用するようにしてもよい。このように、共通バスB4の最大帯域を考慮して転送頻度を決定することにより、共通バスB4が描画処理によって専有されないようにすることができる。   In the above-described embodiment, the transfer frequency from the virtual VRAM 103 to the VRAM 121 is set to one frame every 1/30 seconds. However, the transfer frequency is not limited to this as long as it is less than the write frequency to the virtual VRAM 103. Further, the transfer frequency may be a variable value that increases as the writing frequency increases (however, it needs to be lower than the writing frequency). More specifically, the filter driver 304 notifies the driver 305 of the display data writing frequency to the virtual VRAM 103, and the display recorded in the virtual VRAM 103 at a transfer frequency corresponding to the notified writing frequency. Data is transferred to the VRAM 212. Furthermore, as the transfer frequency, a fixed value smaller than the write frequency and smaller than the maximum bandwidth of the common bus B4 or a variable value smaller than the write frequency and smaller than the maximum bandwidth of the common bus B4 is used. You may make it do. Thus, by determining the transfer frequency in consideration of the maximum bandwidth of the common bus B4, it is possible to prevent the common bus B4 from being exclusively used for drawing processing.

[第2の実施の形態の効果]
本実施の形態によれば、高頻度描画時に、描画処理によって共通バスが専有される危険性を少ないものにすることができる。その理由は、メインメモリ上の仮想VRAMに対する表示データの書き込み頻度よりも少ない転送頻度で、仮想VRAMに書き込まれている表示データを共通バス上のVRAMに転送するようにしているからである。
[Effect of the second embodiment]
According to the present embodiment, it is possible to reduce the risk that the common bus is occupied by the drawing process during high-frequency drawing. This is because the display data written in the virtual VRAM is transferred to the VRAM on the common bus at a transfer frequency lower than the display data write frequency to the virtual VRAM on the main memory.

<付記>
上記実施形態の一部又は全部は、以下の付記のように記載され得るが、以下には限られない。
<Appendix>
A part or all of the above embodiment can be described as the following supplementary notes, but is not limited thereto.

(付記1)
共通バスに接続された第1のメモリと、
ローカルバスに接続された第2のメモリと、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段と、
前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段とを備えたことを特徴とする情報処理装置。
(Appendix 1)
A first memory connected to a common bus;
A second memory connected to the local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
Transfer means for transferring display data recorded in the second memory to the first memory at a transfer frequency different from the display data write frequency to the second memory. Processing equipment.

(付記2)
付記1記載の情報処理装置において、
前記転送頻度は、前記第2のメモリに対する表示データの書き込み頻度よりも少ないことを特徴とする情報処理装置。
(Appendix 2)
In the information processing apparatus according to attachment 1,
The information processing apparatus, wherein the transfer frequency is lower than a display data write frequency to the second memory.

(付記3)
付記1または2に記載の情報処理装置において、
前記ライトコマンドは、ライトアドレスとして前記第1のメモリ上のアドレスを含み、
前記書き込み手段は、予め定められている前記第1のメモリ上のアドレスと前記第2のメモリ上のアドレスとの対応関係に基づいて、前記ライトコマンドに含まれているライトアドレスを前記第2のメモリ上のアドレスに変換し、該変換後のアドレスに表示データを書き込むことを特徴とする情報処理装置。
(Appendix 3)
In the information processing apparatus according to appendix 1 or 2,
The write command includes an address on the first memory as a write address,
The writing means determines a write address included in the write command based on a predetermined correspondence relationship between the address on the first memory and the address on the second memory. An information processing apparatus that converts an address on a memory and writes display data to the converted address.

(付記4)
付記1乃至3の何れか1つに記載の情報処理装置において、
前記転送頻度は、固定値であることを特徴とする情報処理装置。
(Appendix 4)
In the information processing apparatus according to any one of appendices 1 to 3,
The information processing apparatus, wherein the transfer frequency is a fixed value.

(付記5)
付記1乃至3の何れか1つに記載の情報処理装置において、
前記転送頻度は、前記書き込み頻度に応じて変化する可変値であることを特徴とする情報処理装置。
(Appendix 5)
In the information processing apparatus according to any one of appendices 1 to 3,
The information processing apparatus, wherein the transfer frequency is a variable value that changes in accordance with the write frequency.

(付記6)
付記1乃至5の何れか1つに記載の情報処理装置において、
前記ライトコマンドは、ポステッドライトコマンドであることを特徴とする情報処理装置。
(Appendix 6)
In the information processing apparatus according to any one of appendices 1 to 5,
The information processing apparatus, wherein the write command is a posted write command.

(付記7)
書き込み手段が、共通バスに接続された第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記ローカルバスに接続された第2のメモリに表示データを書き込み、
転送手段が、前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送することを特徴とする描画方法。
(Appendix 7)
In response to a write command instructing writing of display data to the first memory connected to the common bus, the writing means writes the display data to the second memory connected to the local bus,
A drawing method, wherein the transfer means transfers the display data recorded in the second memory to the first memory at a transfer frequency different from the display data write frequency to the second memory.

(付記8)
付記7記載の描画方法において、
前記転送頻度は、前記第2のメモリに対する表示データの書き込み頻度よりも少ないことを特徴とする描画方法。
(Appendix 8)
In the drawing method according to attachment 7,
The drawing method, wherein the transfer frequency is lower than a display data write frequency to the second memory.

(付記9)
付記7または8記載の描画方法において、
前記ライトコマンドは、ライトアドレスとして前記第1のメモリ上のアドレスを含み、
前記書き込み手段は、予め定められている前記第1のメモリ上のアドレスと前記第2のメモリ上のアドレスとの対応関係に基づいて、前記ライトコマンドに含まれているライトアドレスを前記第2のメモリ上のアドレスに変換し、該変換後のアドレスに表示データを書き込むことを特徴とする描画方法。
(Appendix 9)
In the drawing method according to appendix 7 or 8,
The write command includes an address on the first memory as a write address,
The writing means determines a write address included in the write command based on a predetermined correspondence relationship between the address on the first memory and the address on the second memory. A drawing method characterized by converting to an address on a memory and writing display data to the converted address.

(付記10)
付記7乃至9の何れか1つに記載の描画方法において、
前記転送頻度は、固定値であることを特徴とする描画方法。
(Appendix 10)
In the drawing method according to any one of appendices 7 to 9,
The drawing method, wherein the transfer frequency is a fixed value.

(付記11)
付記7乃至9の何れか1つに記載の描画方法において、
前記転送頻度は、前記書き込み頻度に応じて変化する可変値であることを特徴とする描画方法。
(Appendix 11)
In the drawing method according to any one of appendices 7 to 9,
The drawing method, wherein the transfer frequency is a variable value that changes in accordance with the writing frequency.

(付記12)
付記7乃至11の何れか1つに記載の描画方法において、
前記ライトコマンドは、ポステッドライトコマンドであることを特徴とする描画方法。
(Appendix 12)
In the drawing method according to any one of appendices 7 to 11,
The drawing method, wherein the write command is a posted write command.

(付記13)
共通バスに接続された第1のメモリと、ローカルバスに接続された第2のメモリとを備えたコンピュータを、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段、
前記第2のメモリに対する表示データの書き込み頻度と異なる転送頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段として機能させるためのプログラム。
(Appendix 13)
A computer comprising a first memory connected to a common bus and a second memory connected to a local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
A program for functioning as transfer means for transferring display data recorded in the second memory to the first memory at a transfer frequency different from the writing frequency of display data to the second memory.

(付記14)
付記13記載のプログラムにおいて、
前記転送頻度は、前記第2のメモリに対する表示データの書き込み頻度よりも少ないことを特徴とするプログラム。
(Appendix 14)
In the program described in Appendix 13,
The program according to claim 1, wherein the transfer frequency is lower than a display data write frequency to the second memory.

(付記15)
付記13または14記載のプログラムにおいて、
前記ライトコマンドは、ライトアドレスとして前記第1のメモリ上のアドレスを含み、
前記書き込み手段は、予め定められている前記第1のメモリ上のアドレスと前記第2のメモリ上のアドレスとの対応関係に基づいて、前記ライトコマンドに含まれているライトアドレスを前記第2のメモリ上のアドレスに変換し、該変換後のアドレスに表示データを書き込むことを特徴とするプログラム。
(Appendix 15)
In the program described in Appendix 13 or 14,
The write command includes an address on the first memory as a write address,
The writing means determines a write address included in the write command based on a predetermined correspondence relationship between the address on the first memory and the address on the second memory. A program for converting to an address on a memory and writing display data to the converted address.

(付記16)
付記13乃至15の何れか1つに記載のプログラムにおいて、
前記転送頻度は、固定値であることを特徴とするプログラム。
(Appendix 16)
In the program according to any one of appendices 13 to 15,
The transfer frequency is a fixed value.

(付記17)
付記13乃至15の何れか1つに記載のプログラムにおいて、
前記転送頻度は、前記書き込み頻度に応じて変化する可変値であることを特徴とするプログラム。
(Appendix 17)
In the program according to any one of appendices 13 to 15,
The transfer frequency is a variable value that changes in accordance with the write frequency.

(付記18)
付記13乃至17の何れか1つに記載のプログラムにおいて、
前記ライトコマンドは、ポステッドライトコマンドであることを特徴とするプログラム。
(Appendix 18)
In the program according to any one of appendices 13 to 17,
The program, wherein the write command is a posted write command.

本発明は、コンピュータ、FTサーバ、携帯端末などの情報処理装置において画像を表示する際に利用することができる。   The present invention can be used when displaying an image in an information processing apparatus such as a computer, an FT server, or a portable terminal.

1・・・第1のメモリ
2・・・第2のメモリ
3・・・書き込み手段
4・・・転送手段
11・・・共通バス
12・・・ローカルバス
101・・・CPU
102・・・メインメモリ
103・・・仮想VRAM
104・・・ノースブリッジ
105・・・サウスブリッジ
201・・・SASコントローラ
202・・・LANコントローラ
203・・・ビデオコントローラ
204・・・USBコントローラ
211・・・HDD
212・・・VRAM
213・・・USBデバイス
301・・・オペレーティングシステム
302・・・アプリケーションプログラム
303・・・ビデオドライバ
304・・・フィルタドライバ
305・・・ドライバ
B1〜B4・・・バス
DESCRIPTION OF SYMBOLS 1 ... 1st memory 2 ... 2nd memory 3 ... Writing means 4 ... Transfer means 11 ... Common bus 12 ... Local bus 101 ... CPU
102: Main memory 103: Virtual VRAM
104: North Bridge 105 ... South Bridge 201 ... SAS Controller 202 ... LAN Controller 203 ... Video Controller 204 ... USB Controller 211 ... HDD
212 ... VRAM
213: USB device 301 ... Operating system 302 ... Application program 303 ... Video driver 304 ... Filter driver 305 ... Driver B1-B4 ... Bus

Claims (7)

共通バスに接続された第1のメモリと、
ローカルバスに接続された第2のメモリと、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段と、
前記第2のメモリに対する表示データの書き込み頻度であるフレーム単位でのデータの書き込み頻度よりも少ない転送頻度であるフレーム単位でのデータの転送の頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段とを備えたことを特徴とする情報処理装置。
A first memory connected to a common bus;
A second memory connected to the local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
The display recorded in the second memory at a frequency of data transfer in frame units that is a transfer frequency lower than the data write frequency in frame units that is the display data write frequency to the second memory An information processing apparatus comprising transfer means for transferring data to the first memory.
請求項1記載の情報処理装置において、
前記ライトコマンドは、ライトアドレスとして前記第1のメモリ上のアドレスを含み、
前記書き込み手段は、予め定められている前記第1のメモリ上のアドレスと前記第2のメモリ上のアドレスとの対応関係に基づいて、前記ライトコマンドに含まれているライトアドレスを前記第2のメモリ上のアドレスに変換し、該変換後のアドレスに表示データを書き込むことを特徴とする情報処理装置。
The information processing apparatus according to claim 1 Symbol placement,
The write command includes an address on the first memory as a write address,
The writing means determines a write address included in the write command based on a predetermined correspondence relationship between the address on the first memory and the address on the second memory. An information processing apparatus that converts an address on a memory and writes display data to the converted address.
請求項1または2に記載の情報処理装置において、
前記転送頻度は、固定値であることを特徴とする情報処理装置。
The information processing apparatus according to claim 1 or 2 ,
The information processing apparatus, wherein the transfer frequency is a fixed value.
請求項1または2に記載の情報処理装置において、
前記転送頻度は、前記書き込み頻度に応じて変化する可変値であることを特徴とする情報処理装置。
The information processing apparatus according to claim 1 or 2 ,
The information processing apparatus, wherein the transfer frequency is a variable value that changes in accordance with the write frequency.
請求項1乃至の何れか1項に記載の情報処理装置において、
前記ライトコマンドは、ポステッドライトコマンドであることを特徴とする情報処理装置。
The information processing apparatus according to any one of claims 1 to 4 ,
The information processing apparatus, wherein the write command is a posted write command.
書き込み手段が、共通バスに接続された第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、ローカルバスに接続された第2のメモリに表示データを書き込み、
転送手段が、前記第2のメモリに対する表示データの書き込み頻度であるフレーム単位でのデータの書き込み頻度よりも少ない転送頻度であるフレーム単位でのデータの転送の頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送することを特徴とする描画方法。
Writing means is responsive to a write command for instructing writing of display data to the first memory connected to the common bus, writing the display data in the second memory connected to local bus,
The transfer means records data in the second memory at a frequency of data transfer in frame units that is a transfer frequency lower than a data write frequency in frame units that is a display data write frequency in the second memory. A drawing method, wherein the displayed display data is transferred to the first memory.
共通バスに接続された第1のメモリと、ローカルバスに接続された第2のメモリとを備えたコンピュータを、
前記第1のメモリに対する表示データの書き込みを指示するライトコマンドに応答して、前記第2のメモリに表示データを書き込む書き込み手段、
前記第2のメモリに対する表示データの書き込み頻度であるフレーム単位でのデータの書き込み頻度よりも少ない転送頻度であるフレーム単位でのデータの転送の頻度で、前記第2のメモリに記録されている表示データを前記第1のメモリに転送する転送手段として機能させるためのプログラム。
A computer comprising a first memory connected to a common bus and a second memory connected to a local bus;
Writing means for writing display data to the second memory in response to a write command for instructing writing of display data to the first memory;
The display recorded in the second memory at a frequency of data transfer in frame units that is a transfer frequency lower than the data write frequency in frame units that is the display data write frequency to the second memory A program for causing data to function as transfer means for transferring data to the first memory.
JP2014054885A 2014-03-18 2014-03-18 Information processing apparatus, drawing method, and program Expired - Fee Related JP6291934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014054885A JP6291934B2 (en) 2014-03-18 2014-03-18 Information processing apparatus, drawing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014054885A JP6291934B2 (en) 2014-03-18 2014-03-18 Information processing apparatus, drawing method, and program

Publications (2)

Publication Number Publication Date
JP2015176569A JP2015176569A (en) 2015-10-05
JP6291934B2 true JP6291934B2 (en) 2018-03-14

Family

ID=54255659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014054885A Expired - Fee Related JP6291934B2 (en) 2014-03-18 2014-03-18 Information processing apparatus, drawing method, and program

Country Status (1)

Country Link
JP (1) JP6291934B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08180012A (en) * 1994-12-27 1996-07-12 Toshiba Corp Computer system
JPH1195975A (en) * 1997-09-22 1999-04-09 Keyence Corp Display device
JP2002311918A (en) * 2001-04-18 2002-10-25 Seiko Epson Corp Liquid crystal display
US20050237329A1 (en) * 2004-04-27 2005-10-27 Nvidia Corporation GPU rendering to system memory

Also Published As

Publication number Publication date
JP2015176569A (en) 2015-10-05

Similar Documents

Publication Publication Date Title
TWI601038B (en) Low-latency touch-input device
EP2936325B1 (en) Techniques to configure a solid state drive to operate in a storage mode or a memory mode
US9984651B2 (en) Method and apparatus for displaying composition screen image by composing screen images of operating systems (OSs)
US20130057572A1 (en) Multiple Display Device Taskbars
WO2014059886A1 (en) Method and apparatus for obtaining image
KR102387460B1 (en) Data storage device and method for operating thereof
CN114023270B (en) An electronic ink screen driving method, device, equipment and storage medium
US9324388B2 (en) Allocating memory address space between DIMMs using memory controllers
WO2017096910A1 (en) Method and system for adaptively adjusting display scale of office software
TWI678657B (en) Control method, electronic device and non-transitory computer readable storage medium
CN111295658B (en) Simulation device, simulation method, and computer-readable storage medium
CN108062234B (en) A system and method for realizing server host accessing BMC FLASH through mailbox protocol
JP4836488B2 (en) Data transfer device and semiconductor integrated circuit device
JP6291934B2 (en) Information processing apparatus, drawing method, and program
JP2008282314A (en) Simulator, simulation method
TWI441026B (en) Electronic device and method of setting removal policy of usb device
JP6214367B2 (en) Image composition apparatus and image composition program
US9762574B2 (en) Techniques for providing software support for a hardware component of a computing device
US11175801B2 (en) Interactor for a graphical object
JP2014229191A (en) Memory controller, memory control method and program
US10241686B2 (en) Storage device, information processing device, data access method and program
CN115951855A (en) Method and device for processing display command set of chip-based chip system
KR101337950B1 (en) Device and method for graphic data output
JP2013205898A (en) Data processing device and program
TW202311933A (en) Management method and electronic device for display window

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180129

R150 Certificate of patent or registration of utility model

Ref document number: 6291934

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees