diff options
| author | 2011-01-31 11:32:33 -0800 | |
|---|---|---|
| committer | 2011-01-31 11:32:33 -0800 | |
| commit | 056340ac95f233090990d77266d89aad3b60f913 (patch) | |
| tree | 6de7d20303f7778706e1d1dd4c0beaece8fd0d7e /include | |
| parent | 25503f1c9f0b5f718052b71dc5b21d1c8576d015 (diff) | |
| parent | 235ec8ad24293fbfbd282d5379ea8e225ef083bc (diff) | |
Merge "stubs"
Diffstat (limited to 'include')
| -rw-r--r-- | include/gui/SurfaceTexture.h | 31 | ||||
| -rw-r--r-- | include/gui/SurfaceTextureClient.h | 30 | ||||
| -rw-r--r-- | include/utils/Functor.h | 27 |
3 files changed, 88 insertions, 0 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h new file mode 100644 index 000000000000..726b57c1e007 --- /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<android::SurfaceTexture>* const) {} + void incStrong(android::sp<android::SurfaceTexture>* const) {} +}; + +} + +#endif diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h new file mode 100644 index 000000000000..a83756ee8741 --- /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 <ui/egl/android_natives.h> + +namespace android { + +struct SurfaceTextureClient : public ANativeWindow { + SurfaceTextureClient(const sp<SurfaceTexture>&){} +}; + +} + +#endif diff --git a/include/utils/Functor.h b/include/utils/Functor.h new file mode 100644 index 000000000000..56a75571230b --- /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 + |