Home
last modified time | relevance | path

Searched refs:Api (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp29 Layer::Api layerApi) in DeferredLayerUpdater()
53 if (mSurfaceTexture.get() && mLayerApi == Layer::Api::OpenGL && mGLContextAttached) { in destroyLayer()
85 if (mLayer->getApi() == Layer::Api::Vulkan) { in apply()
91 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::OpenGL, in apply()
93 mLayer->getApi(), Layer::Api::OpenGL, Layer::Api::Vulkan); in apply()
114 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::OpenGL, in doUpdateTexImage()
116 Layer::Api::OpenGL, Layer::Api::Vulkan); in doUpdateTexImage()
153 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::Vulkan, in doUpdateVkTexImage()
155 Layer::Api::OpenGL, Layer::Api::Vulkan); in doUpdateVkTexImage()
DLayer.h43 enum class Api { enum
48 Api getApi() const { return mApi; } in getApi()
98 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter>, int alpha,
106 Api mApi;
DDeferredLayerUpdater.h49 Layer::Api layerApi);
104 Layer::Api getBackingLayerApi() { return mLayerApi; } in getBackingLayerApi()
122 Layer::Api mLayerApi;
DVkLayer.h32 : Layer(renderState, Api::Vulkan, colorFilter, alpha, mode) in VkLayer()
DLayer.cpp26 Layer::Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter> colorFilter, int alpha, in Layer()
DGlLayer.cpp36 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode) in GlLayer()
DCaches.cpp171 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::OpenGL); in dumpMemoryUsage()
DRecordingCanvas.cpp565 LOG_ALWAYS_FATAL_IF(layerHandle->getBackingLayerApi() != Layer::Api::OpenGL); in drawLayer()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp221 const DvrApi_v1& Api() { return api_; } in Api() function in DvrApi
256 int ret = dvr_.Api().PerformanceSetSchedulerPolicy(0, "graphics"); in Start()
282 dvr_.Api().ReadBufferQueueHandleEvents( in Start()
308 dvr_.Api().ReadBufferQueueGetEventFd(new_queue->GetReadQueue()); in CreateSurface()
325 ret = dvr_.Api().WriteBufferQueueCreate( in BufferQueueHolder()
333 ret = dvr_.Api().WriteBufferQueueCreateReadQueue(write_queue_, in BufferQueueHolder()
340 ret = dvr_.Api().ReadBufferQueueSetBufferAvailableCallback( in BufferQueueHolder()
348 dvr_.Api().WriteBufferQueueGetANativeWindow(write_queue_, &surface_); in BufferQueueHolder()
378 ret = dvr_.Api().ReadBufferQueueAcquireBuffer( in HandleBufferAvailable()
388 ret = dvr_.Api().ReadBufferQueueReleaseBuffer(read_queue_, buffer, in HandleBufferAvailable()
/frameworks/base/libs/hwui/tests/unit/
DDeferredLayerUpdaterTests.cpp34 if (layerUpdater->backingLayer()->getApi() == Layer::Api::OpenGL) { in RENDERTHREAD_TEST()
48 if (layerUpdater->backingLayer()->getApi() == Layer::Api::OpenGL) { in RENDERTHREAD_TEST()
54 if (layerUpdater->backingLayer()->getApi() == Layer::Api::OpenGL) { in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp49 if (layer->getApi() == Layer::Api::OpenGL) { in DrawLayer()
64 SkASSERT(layer->getApi() == Layer::Api::Vulkan); in DrawLayer()
DSkiaVulkanPipeline.cpp126 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::Vulkan); in createTextureLayer()
DSkiaOpenGLPipeline.cpp195 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::OpenGL); in createTextureLayer()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h483 Api, enumerator
508 virtual status_t disconnect(int api, DisconnectMode mode = DisconnectMode::Api) = 0;
DBufferQueueProducer.h140 virtual status_t disconnect(int api, DisconnectMode mode = DisconnectMode::Api);
DBufferHubProducer.h90 status_t disconnect(int api, DisconnectMode mode = DisconnectMode::Api) override;
DSurface.h259 IGraphicBufferProducer::DisconnectMode::Api);
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h82 status_t disconnect(int api, DisconnectMode mode = DisconnectMode::Api)
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp66 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::OpenGL, in layerLostGlContext()
99 LOG_ALWAYS_FATAL_IF(layer->getApi() != Layer::Api::Vulkan, in layerDestroyedVkContext()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp222 const char* layerType = layer->getApi() == Layer::Api::OpenGL ? "GlLayer" : "VkLayer"; in dumpMemoryUsage()
DOpenGLPipeline.cpp137 return new DeferredLayerUpdater(mRenderThread.renderState(), createLayer, Layer::Api::OpenGL); in createTextureLayer()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp79 if (layerUpdater->backingLayer()->getApi() == Layer::Api::OpenGL) { in createTextureLayerUpdater()
/frameworks/av/media/libstagefright/bqhelper/
DConversion.cpp1514 case BGraphicBufferProducer::DisconnectMode::Api: in toHidlDisconnectMode()
1533 return BGraphicBufferProducer::DisconnectMode::Api; in toGuiDisconnectMode()
1537 return BGraphicBufferProducer::DisconnectMode::Api; in toGuiDisconnectMode()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp959 case BGraphicBufferProducer::DisconnectMode::Api: in toHDisconnectMode()
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp596 int api, DisconnectMode mode = DisconnectMode::Api) override { in disconnect()

12