OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96b206
)
remove unused code
author
Mathias Agopian
<mathias@google.com>
Wed, 16 Dec 2009 01:22:56 +0000
(17:22 -0800)
committer
Mathias Agopian
<mathias@google.com>
Wed, 16 Dec 2009 01:22:56 +0000
(17:22 -0800)
modules/gralloc/gralloc_priv.h
patch
|
blob
|
history
diff --git
a/modules/gralloc/gralloc_priv.h
b/modules/gralloc/gralloc_priv.h
index
5d7db26
..
75bcd1d
100644
(file)
--- a/
modules/gralloc/gralloc_priv.h
+++ b/
modules/gralloc/gralloc_priv.h
@@
-95,10
+95,6
@@
struct private_handle_t {
magic = 0;
}
- bool usesPhysicallyContiguousMemory() {
- return false;
- }
-
static int validate(const native_handle* h) {
const private_handle_t* hnd = (const private_handle_t*)h;
if (!h || h->version != sizeof(native_handle) ||
@@
-110,13
+106,6
@@
struct private_handle_t {
}
return 0;
}
-
- static private_handle_t* dynamicCast(const native_handle* in) {
- if (validate(in) == 0) {
- return (private_handle_t*) in;
- }
- return NULL;
- }
#endif
};