summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-04-10 14:24:30 -0700
committer Mathias Agopian <mathias@google.com> 2009-04-10 14:24:30 -0700
commit076b1cc3a9b90aa5b381a1ed268ca0b548444c9b (patch)
treeb87f7863623b37fa9a6cc4ef48934aab46f79986 /opengl/libagl/TextureObjectManager.h
parent4ec21527096d0dcaa99634e6058aca3a415461af (diff)
Integrate from //sandbox/mathias/donut/...@145728
SurfaceFlinger rework for new EGL driver model support.
Diffstat (limited to 'opengl/libagl/TextureObjectManager.h')
-rw-r--r--opengl/libagl/TextureObjectManager.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/opengl/libagl/TextureObjectManager.h b/opengl/libagl/TextureObjectManager.h
index 74ed1a45b2..497528c76b 100644
--- a/opengl/libagl/TextureObjectManager.h
+++ b/opengl/libagl/TextureObjectManager.h
@@ -1,16 +1,16 @@
/*
** Copyright 2006, 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
+** 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
+** 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
+** 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.
*/
@@ -81,6 +81,9 @@ public:
GLint crop_rect[4];
GLint generate_mipmap;
GLint direct;
+#ifdef LIBAGL_USE_GRALLOC_COPYBITS
+ int copybits_fd;
+#endif // LIBAGL_USE_GRALLOC_COPYBITS
};
void EGLTextureObject::incStrong(const void* id) const {