Home
last modified time | relevance | path

Searched refs:getCaps (Results 1 – 24 of 24) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLESvalidate.cpp29 if ((ctx && ctx->getCaps()->GL_EXT_PACKED_DEPTH_STENCIL) && in pixelType()
34 (ctx->getCaps()->GL_ARB_HALF_FLOAT_PIXEL || ctx->getCaps()->GL_NV_HALF_FLOAT) && in pixelType()
61 if (ctx && ctx->getCaps()->GL_EXT_TEXTURE_FORMAT_BGRA8888 && format == GL_BGRA_EXT) in pixelFrmt()
63 if (ctx && ctx->getCaps()->GL_EXT_PACKED_DEPTH_STENCIL && format == GL_DEPTH_STENCIL_OES) in pixelFrmt()
DTextureUtils.cpp899 return ctx->getCaps()->hasEtc2Support; in shouldPassthroughCompressedFormat()
901 return ctx->getCaps()->hasAstcSupport; in shouldPassthroughCompressedFormat()
903 return ctx->getCaps()->hasBptcSupport; in shouldPassthroughCompressedFormat()
905 return ctx->getCaps()->hasS3tcSupport; in shouldPassthroughCompressedFormat()
907 return ctx->getCaps()->hasRgtcSupport; in shouldPassthroughCompressedFormat()
DGLEScontext.cpp419 m_indexedTransformFeedbackBuffers.resize(getCaps()->maxTransformFeedbackSeparateAttribs); in init()
420 m_indexedUniformBuffers.resize(getCaps()->maxUniformBufferBindings); in init()
421 m_indexedAtomicCounterBuffers.resize(getCaps()->maxAtomicCounterBufferBindings); in init()
422 m_indexedShaderStorageBuffers.resize(getCaps()->maxShaderStorageBufferBindings); in init()
423 m_blendStates.resize(getCaps()->ext_GL_EXT_draw_buffers_indexed ? getCaps()->maxDrawBuffers in init()
868 if (getCaps()->ext_GL_EXT_draw_buffers_indexed) { in postLoadRestoreCtx()
2506 std::vector<GLenum> colorAttachments(getCaps()->maxDrawBuffers); in queryCurrFboBits()
3012 if (getCaps()->ext_GL_EXT_draw_buffers_indexed) { in blitFromReadBufferToTextureFlipped()
3068 if (getCaps()->ext_GL_EXT_draw_buffers_indexed) { in blitFromReadBufferToTextureFlipped()
3138 if (getCaps()->ext_GL_EXT_draw_buffers_indexed) { in blitFromReadBufferToEGLImage()
[all …]
/hardware/google/gfxstream/guest/platform/stub/
DStubVirtGpuDevice.cpp23 struct VirtGpuCaps StubVirtGpuDevice::getCaps(void) { return mCaps; } in getCaps() function in StubVirtGpuDevice
DStubVirtGpu.h68 struct VirtGpuCaps getCaps(void) override;
/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpu.h56 struct VirtGpuCaps getCaps(void) override;
DFuchsiaVirtGpuDevice.cpp95 struct VirtGpuCaps FuchsiaVirtGpuDevice::getCaps(void) { return {}; } in getCaps() function in FuchsiaVirtGpuDevice
/hardware/google/gfxstream/guest/platform/linux/
DLinuxVirtGpu.h68 virtual struct VirtGpuCaps getCaps(void);
DLinuxVirtGpuDevice.cpp148 struct VirtGpuCaps LinuxVirtGpuDevice::getCaps(void) { return mCaps; } in getCaps() function in LinuxVirtGpuDevice
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp269 if (ctx->getCaps()->GL_ARB_MATRIX_PALETTE && ctx->getCaps()->GL_ARB_VERTEX_BLEND) { in getProcAddressGles1()
291 if (ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT) { in getProcAddressGles1()
2337 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsRenderbufferOES()
2354 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glBindRenderbufferOES()
2385 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glDeleteRenderbuffersOES()
2395 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glGenRenderbuffersOES()
2411 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glRenderbufferStorageOES()
2437 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glGetRenderbufferParameterivOES()
2501 RET_AND_SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION,GL_FALSE); in glIsFramebufferOES()
2542 SET_ERROR_IF(!ctx->getCaps()->GL_EXT_FRAMEBUFFER_OBJECT,GL_INVALID_OPERATION); in glBindFramebufferOES()
[all …]
DGLEScmValidate.cpp234 if (ctx->getCaps()->GL_EXT_PACKED_DEPTH_STENCIL && internalformat==GL_DEPTH24_STENCIL8_OES) in renderbufferInternalFrmt()
DGLEScmContext.h41 virtual const GLSupport* getCaps() const override { return &(GLEScontext::s_glSupportGles1); } in getCaps() function
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpu.h88 VirtGpuCaps getCaps() override;
DRutabagaVirtGpuDevice.cpp93 VirtGpuCaps RutabagaVirtGpuDevice::getCaps() { return mCaps; } in getCaps() function in gfxstream::RutabagaVirtGpuDevice
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Context.cpp107 tf->setMaxSize(getCaps()->maxTransformFeedbackSeparateAttribs); in init()
378 if (getCaps()->textureBufferAny()) { in postLoadRestoreCtx()
819 return getCaps()->maxTexImageUnits; in getMaxTexUnits()
823 return getCaps()->maxCombinedTexImageUnits; in getMaxCombinedTexUnits()
860 tf->setMaxSize(getCaps()->maxTransformFeedbackSeparateAttribs); in bindTransformFeedback()
DGLESv2Context.h37 virtual const GLSupport* getCaps() const override { in getCaps() function
DGLESv2Validate.cpp241 ((glesMinorVersion == 1 && ctx->getCaps()->textureBufferAny()) || in bufferTarget()
358 (glesMinorVersion == 1 && ctx->getCaps()->textureBufferAny())); in textureTarget()
482 return index < (GLuint)ctx->getCaps()->maxVertexAttribs; in arrayIndex()
DGLESv30Imp.cpp1142 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glEnableiEXT()
1149 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glDisableiEXT()
1157 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glBlendEquationiEXT()
1165 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glBlendEquationSeparateiEXT()
1173 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glBlendFunciEXT()
1181 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glBlendFuncSeparateiEXT()
1190 SET_ERROR_IF(!ctx->getCaps()->ext_GL_EXT_draw_buffers_indexed, GL_INVALID_OPERATION); in glColorMaskiEXT()
DGLESv2Imp.cpp533 …SET_ERROR_IF(!GLESv2Validate::attribIndex(index, ctx->getCaps()->maxVertexAttribs),GL_INVALID_VALU… in glBindAttribLocation()
635 std::vector<GLenum> colorAttachments(ctx->getCaps()->maxDrawBuffers); in sUpdateFboEmulation()
2534 bool es2 = ctx->getCaps()->GL_ARB_ES2_COMPATIBILITY; in glGetIntegerv()
/hardware/google/gfxstream/guest/GoldfishAddressSpace/
DVirtioGpuAddressSpaceStream.cpp93 auto caps = instance->getCaps(); in createVirtioGpuAddressSpaceStream()
/hardware/google/gfxstream/guest/platform/include/
DVirtGpu.h178 virtual struct VirtGpuCaps getCaps(void) = 0;
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DHostConnection.cpp299 auto caps = instance->getCaps(); in connect()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLEScontext.h312 virtual const GLSupport* getCaps() const = 0;
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp1400 mCaps = instance->getCaps(); in setupCaps()