OSDN Git Service

Clean up minor opengl errors/warnings.
authorLingfeng Yang <lfy@google.com>
Sat, 30 Jan 2016 00:02:25 +0000 (16:02 -0800)
committerLingfeng Yang <lfy@google.com>
Mon, 1 Feb 2016 19:39:20 +0000 (19:39 +0000)
commit0d75675ad262120982918f806102ddfceec23a10
treebdc7cbfc6ed528bac23f6904de0825e5a890814a
parentbc8c1bd8c5947167817d42d8e79b3821fd1c404a
Clean up minor opengl errors/warnings.

There are always disconcerting messages printed to logcat
whenever developing apps on the emulator.

glUtilsParamSize and other functions
often fail with "unknow param 0x00..."

These are missing GLenums and types that for
some reason are not in glUtils.cpp
in OpenglCodecCommon.

There also has been a long-standing warning
that eglSurfaceAttrib is not implemented.

It seems we don't need to implement that to get things done,
so we will give a no-op implementation that suppresses
the warning.

Change-Id: I1b672cedf1672fc09cfe6a832f908e1496cc7a46
shared/OpenglCodecCommon/GLClientState.cpp
shared/OpenglCodecCommon/glUtils.cpp
system/egl/egl.cpp