equal
deleted
inserted
replaced
26 #include <coecntrl.h> |
26 #include <coecntrl.h> |
27 #include <w32std.h> |
27 #include <w32std.h> |
28 #include <gdi.h> |
28 #include <gdi.h> |
29 #include "uiacceltk/HuiProbe.h" |
29 #include "uiacceltk/HuiProbe.h" |
30 #include "uiacceltk/HuiEnv.h" |
30 #include "uiacceltk/HuiEnv.h" |
|
31 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
|
32 #include <graphics/wstfxconst.h> |
|
33 #endif |
31 |
34 |
32 #include <M3G/m3g_core.h> |
35 #include <M3G/m3g_core.h> |
33 |
36 |
34 |
37 |
35 CHuiVg10RenderSurface* CHuiVg10RenderSurface::NewL(CHuiDisplay& aDisplay) |
38 CHuiVg10RenderSurface* CHuiVg10RenderSurface::NewL(CHuiDisplay& aDisplay) |
194 #endif |
197 #endif |
195 |
198 |
196 if(iDisplay->NativeWindow()) |
199 if(iDisplay->NativeWindow()) |
197 { |
200 { |
198 HUI_DEBUG(_L("CHuiVg10RenderSurface::CreateSurface() - Attempting to create a real window surface.")); |
201 HUI_DEBUG(_L("CHuiVg10RenderSurface::CreateSurface() - Attempting to create a real window surface.")); |
|
202 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
|
203 RDebug::Printf("STFX: ALF_HACK CHuiVg10RenderSurface::CreateSurface()"); |
|
204 iDisplay->NativeWindow()->SetPurpose(ETfxPurposeDesktopWindow); |
|
205 #endif |
199 EGLSurface surf = eglCreateWindowSurface(iEglDisplay, aConfig, |
206 EGLSurface surf = eglCreateWindowSurface(iEglDisplay, aConfig, |
200 iDisplay->NativeWindow(), attriblistPtr); |
207 iDisplay->NativeWindow(), attriblistPtr); |
201 |
208 |
202 TBool useDirtyAreas = CHuiStatic::Renderer().Allows(EHuiRenderPluginAllowSwapBufferPreserve); |
209 TBool useDirtyAreas = CHuiStatic::Renderer().Allows(EHuiRenderPluginAllowSwapBufferPreserve); |
203 if (useDirtyAreas) |
210 if (useDirtyAreas) |