Hello,
I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function.
Changelog: Cyril Margorin comargo@gmail.com add test of StretchDIBits()/GetDIBits() bunch to gdi/test/bitmap.c
-- Cyril Margorin
Cyril Margorin wrote:
Hello,
I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function.
Changelog: Cyril Margorin comargo@gmail.com add test of StretchDIBits()/GetDIBits() bunch to gdi/test/bitmap.c
-- Cyril Margorin
Do you know whether this test is related to this bug? - http://bugs.winehq.org/show_bug.cgi?id=201
Alex Villacís Lasso
On 1/26/06, Alex Villacís Lasso a_villacis@palosanto.com wrote:
Cyril Margorin wrote:
Hello,
I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function.
Do you know whether this test is related to this bug? - http://bugs.winehq.org/show_bug.cgi?id=201
This seems like the black screen with starcraft on battle.net problem. From what I have read before, it comes from not having a real DIB Engine. So I think this is the related bug: http://bugs.winehq.org/show_bug.cgi?id=421
Jesse
Am Freitag, 27. Januar 2006 00:57 schrieb Alex Villacís Lasso:
Cyril Margorin wrote:
Hello,
I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function.
Changelog: Cyril Margorin comargo@gmail.com add test of StretchDIBits()/GetDIBits() bunch to gdi/test/bitmap.c
-- Cyril Margorin
Do you know whether this test is related to this bug? - http://bugs.winehq.org/show_bug.cgi?id=201
Alex Villacís Lasso
Also reminds me of my pet-bug: http://bugs.winehq.org/show_bug.cgi?id=1973
So my bug might be a duplicate of 201 then, it seems...?
Ciao, Willie
Hello,
During researching of problem in StretchDIBits I've found interesting fact: If I turn off XShm function (by undefining USE_LIBXXSHM in config.h) test passes and application works ok (image is ok). So I think that something wrong in using XShmPutImage / XShmGetImage. Do you have any suggestions?
2006/1/27, Cyril Margorin comargo@gmail.com:
Hello,
I've discovered, that using of GetDIBits after StretchDIBits doesn't return correct data. More then - all pixels that it returns are black. In attachment the test function.
Changelog: Cyril Margorin comargo@gmail.com add test of StretchDIBits()/GetDIBits() bunch to gdi/test/bitmap.c
-- Cyril Margorin
-- Cyril Margorin