Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-05-2011, 09:04 PM   #1 (permalink)
Registered Member
 
TechnoEagle's Avatar
 
Join Date: Sep 2010
Posts: 69
TechnoEagle is on a distinguished road
Question simple question about opengl es

I currently have 20 uibuttons on the screen. When you tap one, it disappears and is replaced by a particle explosion (using particle emitter from project on this page: Particle Designer ).

I am experiencing serious problems with performance, and after running tests, it seems the lag is caused by the call to glClear(GL_COLOR_BUFFER_BIT);

I am confused since glClear() is a common OpenGL function and I would not have thought I would experience issues.

I would appreciate any advice on how to speed up/optimize calls to glClear(). I am a beginner with OpenGL and OpenGL ES, so I might be making a simple mistake.
TechnoEagle is offline   Reply With Quote
Reply

Bookmarks

Tags
glclear, help!, opengl es, performance, uibutton

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 363
7 members and 356 guests
blueorb, fredidf, iAppDeveloper, iGamesDev, mottdog, sacha1996, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:31 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0