Limitation in EAGLView

Can I increase the frame of EAGLView(I am setting CGRectMake(0,0,320*3,480*3) above 1024, If i set frame above 1024 it works correctly in iOS 4.2 but in iOS 4.1 devices its not working if i set frame above 1024.

DO i need to add any extra code for 4.1? 
Why the textures are not displaying in IOS 4.1 devices if i set the frame of EAGLView above 1024?

UPDATED: I created a sample openGL project and i replaced didFinishLaunchingWithOptions with following code.... It works well in simulator but It is not displaying anything on devices < IOS 4.2.

#define VIEWSIZEFACTOR 3 // our EAGLView nees to be multiple of 320X480 to maintain aspect ratio.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    CGRect rect = [[UIScreen mainScreen] bounds];
    [self.viewController.view setFrame:CGRectMake(-500, -500, rect.size.width*VIEWSIZEFACTOR, rect.size.height*VIEWSIZEFACTOR)]; //CHANGESIZE

    [self.window addSubview:self.viewController.view];
    return YES;


Could it be that the iOS 4.2 device is a more recent one than the iOS 4.1 device? More modern devices (iPhone 3GS & 4, iPad, newer iPod Touch) use a more advanced GPU which supports the OpenGL ES2.0 pipeline and larger textures (2048x2048).

Need Your Help

The behavior of __CUDA_ARCH__ macro

cuda gpu nvidia

In the host code, it seems that the __CUDA_ARCH__ macro wont generate different code path, instead, it will generate code for exact the code path for the current device.

Grails spring security using dynamodb

grails spring-security amazon-dynamodb

I am unable to log in my user into a grails application using spring security and dynamodb.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.