OSDN Git Service

Remove unused getConfigSpec methods from ApiDemos sample code
authorJack Palevich <jackpal@google.com>
Fri, 21 Aug 2009 18:48:50 +0000 (11:48 -0700)
committerJack Palevich <jackpal@google.com>
Fri, 21 Aug 2009 18:48:50 +0000 (11:48 -0700)
commit69b316479aae90d2453c0fc5c4cfcada84f864ef
treec6b7e3d66caace5162f8aff89eb229875b96ba52
parenta9cf4c7a9c60aa1b82250c9e010fa2b3cb990066
Remove unused getConfigSpec methods from ApiDemos sample code

At one time during the development of GLSurfaceView, the
GLSurfaceView.Renderer interface had a getConfigSpec method that was used to
select the frame buffer format. This method was removed from the
Renderer interface before GLSurfaceView became a public API, but
the sample code still defined these now-unused methods.

To reduce the chance of confusing a developer who uses the sample code,
this change removes the dead, no-longer-called getConfigSpec
implementations from the three samples.

See GLSurfaceView.setEGLConfigChooser for the replacement
technique.