diff options
| author | 2016-07-22 16:11:42 -0700 | |
|---|---|---|
| committer | 2016-07-25 18:17:53 +0000 | |
| commit | a0c0ff2f9a45fd1be86a7ad428296381e7138ad9 (patch) | |
| tree | d44fdfe79e040b6f40e641907c0711cc6ea950d2 /libs/hwui/PixelBuffer.h | |
| parent | dbe193a97d4f959b05fd20033e106a1a4d45f3b6 (diff) | |
Remove redundant code for getMappedPointer in PixelBuffer
b/29755121
Change-Id: I6cd5bbe11a53bc5e1cd421671d3d9aa89591d886
Diffstat (limited to 'libs/hwui/PixelBuffer.h')
| -rw-r--r-- | libs/hwui/PixelBuffer.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libs/hwui/PixelBuffer.h b/libs/hwui/PixelBuffer.h index bbef36b72e4f..9536bc807fbc 100644 --- a/libs/hwui/PixelBuffer.h +++ b/libs/hwui/PixelBuffer.h @@ -99,12 +99,6 @@ public: } /** - * Returns the currently mapped pointer. Returns NULL if the buffer - * is not mapped. - */ - virtual uint8_t* getMappedPointer() const = 0; - - /** * Upload the specified rectangle of this pixel buffer as a * GL_TEXTURE_2D texture. Calling this method will trigger * an unmap() if necessary. @@ -199,8 +193,7 @@ protected: /** * Unmaps this buffer, if needed. After the buffer is unmapped, * the pointer previously returned by map() becomes invalid and - * should not be used. After calling this method, getMappedPointer() - * will always return NULL. + * should not be used. */ virtual void unmap() = 0; |