Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: Iff197c557c06673a1ad85a9bbd36caa38efb88b7
This commit is contained in:
Mathias Agopian 2013-02-14 17:34:35 -08:00
parent 7effe0ce84
commit cc50111825
5 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@
#include "utils/StrongPointer.h"
#include <gui/CpuConsumer.h>
#include <gui/SurfaceTextureClient.h>
#include <gui/Surface.h>
#include <unistd.h>

View file

@ -29,7 +29,7 @@
#include "utils/StrongPointer.h"
#include <gui/CpuConsumer.h>
#include <gui/SurfaceTextureClient.h>
#include <gui/Surface.h>
#include <string>

View file

@ -21,7 +21,7 @@
#include <iostream>
#include <gui/CpuConsumer.h>
#include <gui/SurfaceTextureClient.h>
#include <gui/Surface.h>
#include <utils/Condition.h>
#include <utils/Mutex.h>
@ -142,7 +142,7 @@ protected:
mCpuConsumer = new CpuConsumer(p.mHeapCount);
mCpuConsumer->setName(String8("CameraStreamTest::mCpuConsumer"));
mNativeWindow = new SurfaceTextureClient(
mNativeWindow = new Surface(
mCpuConsumer->getProducerInterface());
ASSERT_EQ(OK,

View file

@ -322,7 +322,7 @@ StreamAdapter::StreamAdapter(sp<IGraphicBufferProducer> consumer):
mId(-1),
mWidth(0), mHeight(0), mFormat(0)
{
mConsumerInterface = new SurfaceTextureClient(consumer);
mConsumerInterface = new Surface(consumer);
camera2_stream_ops::dequeue_buffer = dequeue_buffer;
camera2_stream_ops::enqueue_buffer = enqueue_buffer;
camera2_stream_ops::cancel_buffer = cancel_buffer;

View file

@ -22,7 +22,7 @@
#include <system/camera_metadata.h>
#include <hardware/camera2.h>
#include <gui/SurfaceTextureClient.h>
#include <gui/Surface.h>
#include <gui/CpuConsumer.h>
#include <utils/List.h>