equal
deleted
inserted
replaced
183 #ifndef __WINS__ // \todo instead of "#ifndef" should make a check if alpha mode is supported |
183 #ifndef __WINS__ // \todo instead of "#ifndef" should make a check if alpha mode is supported |
184 // Create a rendering surface. |
184 // Create a rendering surface. |
185 EGLint attriblist[] = |
185 EGLint attriblist[] = |
186 { |
186 { |
187 EGL_VG_ALPHA_FORMAT, EGL_VG_ALPHA_FORMAT_PRE, |
187 EGL_VG_ALPHA_FORMAT, EGL_VG_ALPHA_FORMAT_PRE, |
|
188 #ifdef SYMBIAN_GRAPHICS_WSERV_QT_EFFECTS |
|
189 EGL_RENDER_BUFFER, EGL_SINGLE_BUFFER, |
|
190 #endif |
188 EGL_NONE |
191 EGL_NONE |
189 }; |
192 }; |
190 attriblistPtr = &attriblist[0]; |
193 attriblistPtr = &attriblist[0]; |
191 #endif |
194 #endif |
192 |
195 |
294 void CHuiVg10RenderSurface::SwapBuffers() |
297 void CHuiVg10RenderSurface::SwapBuffers() |
295 { |
298 { |
296 eglSwapBuffers(iEglDisplay, iEglSurface); |
299 eglSwapBuffers(iEglDisplay, iEglSurface); |
297 } |
300 } |
298 |
301 |
|
302 void CHuiVg10RenderSurface::Finish() |
|
303 { |
|
304 vgFinish(); |
|
305 } |
299 |
306 |
300 void CHuiVg10RenderSurface::BindTexture(TInt /*aTextureUnit*/, |
307 void CHuiVg10RenderSurface::BindTexture(TInt /*aTextureUnit*/, |
301 const MHuiSegmentedTexture& aTexture, |
308 const MHuiSegmentedTexture& aTexture, |
302 TInt /*aSegment*/) |
309 TInt /*aSegment*/) |
303 { |
310 { |