diff options
| author | Romain Guy <romainguy@google.com> | 2011-01-26 13:43:01 -0800 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2011-01-26 13:43:01 -0800 |
| commit | 2b1847ea60650a9f68372abe860415f18b55081d (patch) | |
| tree | 1ec502a48a720f8167240c6563af32f235a9bffb /libs/hwui/DisplayListRenderer.cpp | |
| parent | d30b36d3cdccc7854dedf5e3c020d2f4a8afa7b8 (diff) | |
| download | frameworks_base-2b1847ea60650a9f68372abe860415f18b55081d.zip frameworks_base-2b1847ea60650a9f68372abe860415f18b55081d.tar.gz frameworks_base-2b1847ea60650a9f68372abe860415f18b55081d.tar.bz2 | |
Remove unused API
Change-Id: I1714fd82a64b752f0350ef4ef9179ce19e089c6a
Diffstat (limited to 'libs/hwui/DisplayListRenderer.cpp')
| -rw-r--r-- | libs/hwui/DisplayListRenderer.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp index c2106d4..cfc853c 100644 --- a/libs/hwui/DisplayListRenderer.cpp +++ b/libs/hwui/DisplayListRenderer.cpp @@ -82,8 +82,6 @@ void PathHeap::flatten(SkFlattenableWriteBuffer& buffer) const { /////////////////////////////////////////////////////////////////////////////// const char* DisplayList::OP_NAMES[] = { - "AcquireContext", - "ReleaseContext", "Save", "Restore", "RestoreToCount", @@ -239,16 +237,6 @@ bool DisplayList::replay(OpenGLRenderer& renderer, uint32_t level) { needsInvalidate |= renderer.callDrawGLFunction(functor); } break; - case AcquireContext: { - DISPLAY_LIST_LOGD("%s%s", (char*) indent, OP_NAMES[op]); - renderer.acquireContext(); - } - break; - case ReleaseContext: { - DISPLAY_LIST_LOGD("%s%s", (char*) indent, OP_NAMES[op]); - renderer.releaseContext(); - } - break; case Save: { int rendererNum = getInt(); DISPLAY_LIST_LOGD("%s%s %d", (char*) indent, OP_NAMES[op], rendererNum); @@ -644,15 +632,9 @@ void DisplayListRenderer::finish() { } void DisplayListRenderer::interrupt() { - } -void DisplayListRenderer::resume() { -} -void DisplayListRenderer::acquireContext() { - // TODO: probably noop instead of calling super - addOp(DisplayList::AcquireContext); - OpenGLRenderer::acquireContext(); +void DisplayListRenderer::resume() { } bool DisplayListRenderer::callDrawGLFunction(Functor *functor) { @@ -661,12 +643,6 @@ bool DisplayListRenderer::callDrawGLFunction(Functor *functor) { return false; // No invalidate needed at record-time } -void DisplayListRenderer::releaseContext() { - // TODO: probably noop instead of calling super - addOp(DisplayList::ReleaseContext); - OpenGLRenderer::releaseContext(); -} - int DisplayListRenderer::save(int flags) { addOp(DisplayList::Save); addInt(flags); |
