Home
last modified time | relevance | path

Searched refs:Renderer (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DRenderer.cpp37 Renderer *Renderer::getInstance() { in getInstance()
38 static std::unique_ptr<Renderer> sRenderer = std::make_unique<Renderer>(ConstructorTag{}); in getInstance()
42 void Renderer::setWindow(ANativeWindow *window, int32_t width, int32_t height) { in setWindow()
64 void Renderer::start() { in start()
76 void Renderer::stop() { in stop()
81 float Renderer::getAverageFps() { in getAverageFps()
85 void Renderer::requestDraw() { in requestDraw()
90 Renderer::ThreadState::ThreadState() { in ThreadState()
132 Renderer::ThreadState::~ThreadState() { in ~ThreadState()
138 void Renderer::ThreadState::onSettingsChanged(const Settings *settings) { in onSettingsChanged()
[all …]
DOrbit.cpp61 Renderer::getInstance(); in Java_com_prefabulated_bouncyball_OrbitActivity_nInit()
81 Renderer::getInstance()->setWindow(window, in Java_com_prefabulated_bouncyball_OrbitActivity_nSetSurface()
88 Renderer::getInstance()->setWindow(nullptr, 0, 0); in Java_com_prefabulated_bouncyball_OrbitActivity_nClearSurface()
94 Renderer::getInstance()->start(); in Java_com_prefabulated_bouncyball_OrbitActivity_nStart()
100 Renderer::getInstance()->stop(); in Java_com_prefabulated_bouncyball_OrbitActivity_nStop()
117 return Renderer::getInstance()->getAverageFps(); in Java_com_prefabulated_bouncyball_OrbitActivity_nGetAverageFps()
123 Renderer::getInstance()->setWorkload(load); in Java_com_prefabulated_bouncyball_OrbitActivity_nSetWorkload()
DRenderer.h35 class Renderer {
42 explicit Renderer(ConstructorTag) {} in Renderer() function
44 static Renderer *getInstance();
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
DRenderer.cpp45 Renderer *Renderer::getInstance() { in getInstance()
46 static std::unique_ptr<Renderer> sRenderer = std::make_unique<Renderer>(ConstructorTag{}); in getInstance()
50 void Renderer::setWindow(ANativeWindow *window, int32_t width, int32_t height) { in setWindow()
72 void Renderer::start() { in start()
79 void Renderer::stop() { in stop()
83 float Renderer::getAverageFps() { in getAverageFps()
87 void Renderer::requestDraw() { in requestDraw()
91 void Renderer::enqueue(Task task) { in enqueue()
96 void Renderer::launchThread() { in launchThread()
104 void Renderer::terminateThread() REQUIRES(mThreadMutex) { in terminateThread()
[all …]
DRenderer.h33 class Renderer {
40 explicit Renderer(ConstructorTag) { in Renderer() function
44 static Renderer *getInstance();
Dtftestapp.cpp179 Renderer::getInstance()->setQuality(nSpheres, tesselation); in SetFidelityParams()
247 Renderer::getInstance()->setWindow(window, in Java_com_google_tuningfork_TFTestActivity_resize()
253 Renderer::getInstance()->setWindow(nullptr, 0, 0); in Java_com_google_tuningfork_TFTestActivity_clearSurface()
257 Renderer::getInstance()->start(); in Java_com_google_tuningfork_TFTestActivity_start()
261 Renderer::getInstance()->stop(); in Java_com_google_tuningfork_TFTestActivity_stop()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp85 const NuPlayer::Renderer::PcmInfo NuPlayer::Renderer::AUDIO_PCMINFO_INITIALIZER = {
94 const int64_t NuPlayer::Renderer::kMinPositionUpdateDelayUs = 100000ll;
110 NuPlayer::Renderer::Renderer( in Renderer() function in android::NuPlayer::Renderer
161 NuPlayer::Renderer::~Renderer() { in ~Renderer()
180 void NuPlayer::Renderer::queueBuffer( in queueBuffer()
192 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS()
202 status_t NuPlayer::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
213 status_t NuPlayer::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) { in onConfigPlayback()
237 status_t NuPlayer::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
250 status_t NuPlayer::Renderer::onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in onGetPlaybackSettings()
[all …]
DNuPlayerDecoderPassThrough.h30 const sp<Renderer> &renderer);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
52 sp<Renderer> mRenderer;
DNuPlayerDecoder.h33 const sp<Renderer> &renderer = NULL,
51 virtual void onSetRenderer(const sp<Renderer> &renderer);
73 sp<Renderer> mRenderer;
DNuPlayerRenderer.h33 struct NuPlayer::Renderer : public AHandler { struct
38 Renderer(const sp<MediaPlayerBase::AudioSink> &sink, argument
110 virtual ~Renderer(); argument
298 DISALLOW_EVIL_CONSTRUCTORS(Renderer); argument
DNuPlayerDecoderBase.h43 void setRenderer(const sp<Renderer> &renderer);
78 virtual void onSetRenderer(const sp<Renderer> &renderer) = 0;
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp84 const NuPlayer2::Renderer::PcmInfo NuPlayer2::Renderer::AUDIO_PCMINFO_INITIALIZER = {
93 const int64_t NuPlayer2::Renderer::kMinPositionUpdateDelayUs = 100000LL;
109 NuPlayer2::Renderer::Renderer( in Renderer() function in android::NuPlayer2::Renderer
160 NuPlayer2::Renderer::~Renderer() { in ~Renderer()
179 void NuPlayer2::Renderer::queueBuffer( in queueBuffer()
191 void NuPlayer2::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS()
201 status_t NuPlayer2::Renderer::setPlaybackSettings(const AudioPlaybackRate &rate) { in setPlaybackSettings()
212 status_t NuPlayer2::Renderer::onConfigPlayback(const AudioPlaybackRate &rate /* sanitized */) { in onConfigPlayback()
230 status_t NuPlayer2::Renderer::getPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in getPlaybackSettings()
243 status_t NuPlayer2::Renderer::onGetPlaybackSettings(AudioPlaybackRate *rate /* nonnull */) { in onGetPlaybackSettings()
[all …]
DNuPlayer2DecoderPassThrough.h30 const sp<Renderer> &renderer);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
52 sp<Renderer> mRenderer;
DNuPlayer2Decoder.h36 const sp<Renderer> &renderer = NULL,
54 virtual void onSetRenderer(const sp<Renderer> &renderer);
76 sp<Renderer> mRenderer;
DNuPlayer2Renderer.h34 struct NuPlayer2::Renderer : public AHandler { struct
39 Renderer(const sp<MediaPlayer2Interface::AudioSink> &sink, argument
112 virtual ~Renderer(); argument
299 DISALLOW_EVIL_CONSTRUCTORS(Renderer); argument
DNuPlayer2DecoderBase.h43 void setRenderer(const sp<Renderer> &renderer);
78 virtual void onSetRenderer(const sp<Renderer> &renderer) = 0;
/frameworks/native/cmds/flatland/
DFlatland.h32 class Renderer; variable
37 Renderer* (*rendererFactory)();
61 class Renderer {
63 virtual ~Renderer() {} in ~Renderer()
69 Renderer* staticGradient();
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java33 import com.android.onemedia.playback.Renderer;
44 protected Renderer mRenderer;
46 protected Renderer.Listener mRenderListener;
162 private class RenderListener implements Renderer.Listener {
189 case Renderer.STATE_ENDED: in onStateChanged()
190 case Renderer.STATE_STOPPED: in onStateChanged()
193 case Renderer.STATE_INIT: in onStateChanged()
194 case Renderer.STATE_PREPARING: in onStateChanged()
197 case Renderer.STATE_ERROR: in onStateChanged()
200 case Renderer.STATE_PAUSED: in onStateChanged()
[all …]
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java45 setRenderer(new Renderer()); in TestFramerateView()
67 private class Renderer implements GLSurfaceView.Renderer { class in TestFramerateView
68 public Renderer() { in Renderer() method in TestFramerateView.Renderer
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java66 setRenderer(new Renderer()); in init()
69 private class Renderer implements GLSurfaceView.Renderer { class in TestView
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java66 setRenderer(new Renderer()); in init()
69 private class Renderer implements GLSurfaceView.Renderer { class in GLJNIView
/frameworks/base/media/java/android/media/
DSubtitleController.java40 private Vector<Renderer> mRenderers;
104 mRenderers = new Vector<Renderer>(); in SubtitleController()
327 for (Renderer renderer: mRenderers) { in addTrack()
386 public abstract static class Renderer { class in SubtitleController
422 public void registerRenderer(Renderer renderer) { in registerRenderer()
436 for (Renderer renderer: mRenderers) { in hasRendererFor()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java53 setRenderer(new Renderer()); in GL2JavaView()
56 private static class Renderer implements GLSurfaceView.Renderer { class in GL2JavaView
58 public Renderer() { in Renderer() method in GL2JavaView.Renderer
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java59 setRenderer(new Renderer()); in TestLatencyView()
84 private class Renderer implements GLSurfaceView.Renderer { class in TestLatencyView
87 public Renderer() { in Renderer() method in TestLatencyView.Renderer
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java21 import android.opengl.GLSurfaceView.Renderer;
47 public void setRenderer(Renderer renderer) { in setRenderer()
319 private Renderer mRenderer;
325 public RenderThread(Renderer renderer) { in RenderThread()

123