From 235ec8ad24293fbfbd282d5379ea8e225ef083bc Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Sat, 29 Jan 2011 06:19:37 -0800 Subject: stubs Change-Id: I829039f3817a172e66eeb9df397e896a488a259d --- include/gui/SurfaceTexture.h | 31 +++++++++++++++++++++++++++++++ include/gui/SurfaceTextureClient.h | 30 ++++++++++++++++++++++++++++++ include/utils/Functor.h | 27 +++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 include/gui/SurfaceTexture.h create mode 100644 include/gui/SurfaceTextureClient.h create mode 100644 include/utils/Functor.h (limited to 'include') diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h new file mode 100644 index 0000000..726b57c1 --- /dev/null +++ b/include/gui/SurfaceTexture.h @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ANDROID_GUI_SURFACETEXTURE_H +#define ANDROID_GUI_SURFACETEXTURE_H + +namespace android { + +struct SurfaceTexture { + SurfaceTexture(GLuint) {} + void updateTexImage() {} + void decStrong(android::sp* const) {} + void incStrong(android::sp* const) {} +}; + +} + +#endif diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h new file mode 100644 index 0000000..a83756e --- /dev/null +++ b/include/gui/SurfaceTextureClient.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ANDROID_GUI_SURFACETEXTURECLIENT_H +#define ANDROID_GUI_SURFACETEXTURECLIENT_H + +#include + +namespace android { + +struct SurfaceTextureClient : public ANativeWindow { + SurfaceTextureClient(const sp&){} +}; + +} + +#endif diff --git a/include/utils/Functor.h b/include/utils/Functor.h new file mode 100644 index 0000000..56a7557 --- /dev/null +++ b/include/utils/Functor.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2011 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ANDROID_FUNCTOR_H +#define ANDROID_FUNCTOR_H + +namespace android { + +struct Functor{}; + +} + +#endif + -- cgit v1.1