summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-04-28 20:14:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-04-28 20:14:54 -0700
commitd476ded09cdbf37cdaebee3a0e0b8c4cead28b5c (patch)
tree7c09235c41f3e23b10cfb53b56b7cd943ed94a4f /include
parent522aca1fbc4cd7449d892b56966ddbb12753472c (diff)
parent8e86a7aba5003a620bb130b8ab7b444dacf6da9f (diff)
downloadframeworks_base-d476ded09cdbf37cdaebee3a0e0b8c4cead28b5c.zip
frameworks_base-d476ded09cdbf37cdaebee3a0e0b8c4cead28b5c.tar.gz
frameworks_base-d476ded09cdbf37cdaebee3a0e0b8c4cead28b5c.tar.bz2
Merge "get rid of dependency on copybit HAL module"
Diffstat (limited to 'include')
-rw-r--r--include/private/opengles/gl_context.h2
-rw-r--r--include/ui/Region.h23
2 files changed, 0 insertions, 25 deletions
diff --git a/include/private/opengles/gl_context.h b/include/private/opengles/gl_context.h
index c7db9a6..72416c1 100644
--- a/include/private/opengles/gl_context.h
+++ b/include/private/opengles/gl_context.h
@@ -26,7 +26,6 @@
#endif
#include <private/pixelflinger/ggl_context.h>
-#include <hardware/copybit.h>
#include <hardware/gralloc.h>
#include <GLES/gl.h>
@@ -606,7 +605,6 @@ struct prims_t {
struct copybits_context_t {
// A handle to the blit engine, if it exists, else NULL.
- copybit_device_t* blitEngine;
int32_t minScale;
int32_t maxScale;
android_native_buffer_t* drawSurfaceBuffer;
diff --git a/include/ui/Region.h b/include/ui/Region.h
index 925fd06..6c9a620 100644
--- a/include/ui/Region.h
+++ b/include/ui/Region.h
@@ -24,8 +24,6 @@
#include <ui/Rect.h>
-#include <hardware/copybit.h>
-
namespace android {
// ---------------------------------------------------------------------------
@@ -183,27 +181,6 @@ Region& Region::operator -= (const Region& rhs) {
Region& Region::operator += (const Point& pt) {
return translateSelf(pt.x, pt.y);
}
-
-// ---------------------------------------------------------------------------
-
-struct region_iterator : public copybit_region_t {
- region_iterator(const Region& region)
- : b(region.begin()), e(region.end()) {
- this->next = iterate;
- }
-private:
- static int iterate(copybit_region_t const * self, copybit_rect_t* rect) {
- region_iterator const* me = static_cast<region_iterator const*>(self);
- if (me->b != me->e) {
- *reinterpret_cast<Rect*>(rect) = *me->b++;
- return 1;
- }
- return 0;
- }
- mutable Region::const_iterator b;
- Region::const_iterator const e;
-};
-
// ---------------------------------------------------------------------------
}; // namespace android