Article View: free.pl.comp.games.development
Article #223Re: DirectX, problem z surface'ami
From: Ko�ek Szymon
Date: Mon, 18 Jul 2005 05:49
Date: Mon, 18 Jul 2005 05:49
13 lines
1466 bytes
1466 bytes
> Renderowanie: > LPDIRECT3DSURFACE9 sBB; > m_pd3dDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &sBB); > D3DXLoadSurfaceFromSurface(sBB, NULL, NULL, fgSurface, NULL, NULL, > D3DX_DEFAULT, D3DCOLOR_ARGB(255,0,0,0)); Hardkorowy killer wydajnosci :). A nie lepiej utworzyc sobie teksturke i Draw*Primitive uzyc ?. (To pytanie retoryczne - bo oczywiscie lepiej :) ). Operacja bedzie w pelni akcelerowana, nie ma zadnych problemow z kanalem alpha itp itd. pozdr. Simon
Technical Details
Message-ID:
<dbffs8$fjj$1@atlantis.news.tpi.pl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsstand.newsread.com!newsfeed.news2me.com!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<da6li1$o62$1@news.dialog.net.pl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1162ab,33b11a7e09da3222 X-Google-Attributes: gid1162ab,public X-Google-Language: POLISH,Latin2 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsstand.newsread.com!newsfeed.news2me.com!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Ko�ek Szymon" <simon@bf2engine.com> Newsgroups: free.pl.comp.games.development Subject: Re: DirectX, problem z surface'ami Date: Mon, 18 Jul 2005 07:49:04 +0200 Organization: BF!Team Lines: 15 Message-ID: <dbffs8$fjj$1@atlantis.news.tpi.pl> References: <da6li1$o62$1@news.dialog.net.pl> NNTP-Posting-Host: 217.96.21.97 X-Trace: atlantis.news.tpi.pl 1121665736 15987 217.96.21.97 (18 Jul 2005 05:48:56 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 18 Jul 2005 05:48:56 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000