+
+bool
+RawImageProxy::same (shared_ptr<const ImageProxy> other) const
+{
+ shared_ptr<const RawImageProxy> rp = dynamic_pointer_cast<const RawImageProxy> (other);
+ if (!rp) {
+ return false;
+ }
+
+ return (*_image.get()) == (*rp->image().image.get());
+}
+
+size_t
+RawImageProxy::memory_used () const
+{
+ return _image->memory_used ();
+}