From 4fec873a98f7b4380720cd1ad006f74c8cdc73da Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 29 Jun 2012 14:12:52 -0700 Subject: one more step towards multiple display support - remove dependency on cached state in validateVisibility - get rid of mVertices and mTransformedBounds - get rid of validateVisibility - get rid of unlockPageFlip - handleTransaction now returns a dirty region - computevisibileregion now uses window-manager space --- include/utils/Vector.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/utils') diff --git a/include/utils/Vector.h b/include/utils/Vector.h index e39a5b7..a89393f 100644 --- a/include/utils/Vector.h +++ b/include/utils/Vector.h @@ -72,11 +72,11 @@ public: //! returns number of items in the vector inline size_t size() const { return VectorImpl::size(); } - //! returns wether or not the vector is empty + //! returns whether or not the vector is empty inline bool isEmpty() const { return VectorImpl::isEmpty(); } //! returns how many items can be stored without reallocating the backing store inline size_t capacity() const { return VectorImpl::capacity(); } - //! setst the capacity. capacity can never be reduced less than size() + //! sets the capacity. capacity can never be reduced less than size() inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } /*! @@ -102,12 +102,12 @@ public: const TYPE& mirrorItemAt(ssize_t index) const; /*! - * modifing the array + * modifying the array */ //! copy-on write support, grants write access to an item TYPE& editItemAt(size_t index); - //! grants right acces to the top of the stack (last element) + //! grants right access to the top of the stack (last element) TYPE& editTop(); /*! -- cgit v1.1