Just finished the test, simple full screen flip and bltfast, um ... I feel again. Since the National Day in the New Year, I didn't touch DX, and I ran to study the SPI. At that time, I made a similar thing to Permeo Secure Driver. The agent is HTTP Connect instead of SOCKS, which is used to filter the school agent from the IP address of foreign network and play online games. Length. I just came back, I seem to have more people on the page. . Has anyone been? Or is my own brush? ... Whether, still write down the problem, go to 9CBS later, Ogdev's forum is too cold in the past few days, I don't know if the New Year is not on the BBS. Question List: 1. What time is it wrong? Is it lost? 2. When the main page is lost, do you need to judge whether other pages are lost and go to RELOADBITMAP? 3. If you do not build a clipper, if the area of the BLT exceeds the target page size, does it really have a memory access error? 4. It seems that there is also ... I just took a shower ... I forgot about the problem 1. In the source program of GoldenPoint Holy Sword 2, it seems to have a judgment in FLIP DDRVAL = LPDDSPRIMARY-> FLIP (NULL, 0); IF (DDRVAL == DD_OK) {Break;} If (DDRVAL == DDERR_SURFACELOST) For Question 2, do you want to return whether DDERR_SURFACELOST is returned each time the BLT operation of the page? For questions 3, I will know later. . . . Play a plate of Warcraft now ...
Question 3 Test Result: It is nothing happening. Performance is exactly the same as the establishment of a cutting cutter --_-
The new problem is coming, if you want to remove the two color bLT, what should I write?
Try DDBLTFAST_SRCCOLORKEY , |, & DDBLTFAST_DESTCOLORKEY
The result is not good.
If you use DestColorKe, you can't see anything.
. This problem should be studied. . .