openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp
branchNewGraphicsArchitecture
changeset 107 97c593d3e0a5
parent 104 2ae553ab1feb
child 170 c794569c62b8
equal deleted inserted replaced
104:2ae553ab1feb 107:97c593d3e0a5
    17 #include <e32std.h>
    17 #include <e32std.h>
    18 #include <vg\vgcontext.h>
    18 #include <vg\vgcontext.h>
    19 #include <vg\vgcontext_symbian.h>
    19 #include <vg\vgcontext_symbian.h>
    20 #include <egl.h>
    20 #include <egl.h>
    21 
    21 
    22 #define MAX_WIDTH 		640*4 // in bytes
    22 #ifdef __WINS__
    23 #define MAX_HEIGHT 		480*4 // in bytes
    23   #define MAX_WIDTH 		320*4 // in bytes
       
    24   #define MAX_HEIGHT 		320*4 // in bytes
       
    25 #else
       
    26   #define MAX_WIDTH 		640*4 // in bytes
       
    27   #define MAX_HEIGHT 		480*4 // in bytes
       
    28 #endif
       
    29 
    24 class TEgl
    30 class TEgl
    25 	{
    31 	{
    26 public:
    32 public:
    27 	TEgl() :
    33 	TEgl() :
    28 	iEgldisplay(0),
    34 	iEgldisplay(0),