Imagination PowerVR SDK Blog

'2D active' is always 40%

pvrtrace

#1

Hi there,

On my program ‘2D active’ is always 40~50% and ‘2D time per frame’ is 5msec~7msec even if eglSwapbuffer is not called.
Is this the normal? Is there anyone who knows how I can remove this 2D operation?

My enviromnet is listed below.
device: Asus ZenFone2
gpu: PowerVR Rogue G6430
driver: OpenGL ES 3.1 build 1.4@3283119
OS: Android
Surface: created by eglCreateWindow in navie code using naviewindow related with SurfaceHolder provided by SurfaceView on FrameLayout

EGLConfig attribute:
const EGLint attribs[] = {
EGL_CONFIG_CAVEAT, EGL_NONE,
EGL_SURFACE_TYPE, EGL_WINDOW_BIT|EGL_PBUFFER_BIT,
EGL_RENDERABLE_TYPE,EGL_OPENGL_ES2_BIT,
EGL_BLUE_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_RED_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_DEPTH_SIZE,24,
EGL_STENCIL_SIZE,8,
EGL_NONE
};


#2

Hi Shinya,
Can you attach the pvrtrace record file for this APP?
Then I can reproduce you problem locally.

Thanks,
Kevin