/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/ |
D | NamedObject.cpp | 43 GLEScontext::dispatcher().glGenBuffers(1,&m_globalName); in NamedObject() 46 GLEScontext::dispatcher().glGenTextures(1,&m_globalName); in NamedObject() 49 GLEScontext::dispatcher().glGenRenderbuffers(1, &m_globalName); in NamedObject() 52 GLEScontext::dispatcher().glGenFramebuffers(1,&m_globalName); in NamedObject() 57 m_globalName = GLEScontext::dispatcher().glCreateProgram(); in NamedObject() 60 m_globalName = GLEScontext::dispatcher().glCreateShader( in NamedObject() 64 m_globalName = GLEScontext::dispatcher().glCreateShader( in NamedObject() 68 m_globalName = GLEScontext::dispatcher().glCreateShader( in NamedObject() 74 GLEScontext::dispatcher().glGenSamplers(1, &m_globalName); in NamedObject() 77 GLEScontext::dispatcher().glGenQueries(1, &m_globalName); in NamedObject() [all …]
|
D | GLEScontext.cpp | 176 GLDispatch GLEScontext::s_glDispatch; 177 android::base::Lock GLEScontext::s_lock; 178 std::string* GLEScontext::s_glExtensionsGles1 = NULL; 179 bool GLEScontext::s_glExtensionsGles1Initialized = false; 180 std::string* GLEScontext::s_glExtensionsGles31 = NULL; 181 bool GLEScontext::s_glExtensionsGles31Initialized = false; 182 std::string* GLEScontext::s_glExtensions = NULL; 183 bool GLEScontext::s_glExtensionsInitialized = false; 184 std::string GLEScontext::s_glVendorGles1; 185 std::string GLEScontext::s_glRendererGles1; [all …]
|
D | FramebufferData.cpp | 59 GLDispatch& dispatcher = GLEScontext::dispatcher(); in restore() 150 GLDispatch& dispatcher = GLEScontext::dispatcher(); in restore() 221 class GLEScontext* ctx, in setAttachment() 275 GLint FramebufferData::getAttachmentSamples(GLEScontext* ctx, GLenum attachment) { in getAttachmentSamples() 295 void FramebufferData::getAttachmentDimensions(GLEScontext* ctx, GLenum attachment, GLint* width, GL… in getAttachmentDimensions() 321 GLint FramebufferData::getAttachmentInternalFormat(GLEScontext* ctx, GLenum attachment) { in getAttachmentInternalFormat() 341 void FramebufferData::separateDepthStencilWorkaround(GLEScontext* ctx) { in separateDepthStencilWorkaround() 434 GLEScontext::dispatcher().glDeleteRenderbuffers(1, &(m_attachPoints[idx].name)); in detachObject() 437 GLEScontext::dispatcher().glDeleteTextures(1, &(m_attachPoints[idx].name)); in detachObject() 466 auto& gl = GLEScontext::dispatcher(); in refreshSeparateDepthStencilAttachmentState() [all …]
|
D | GLESbuffer.cpp | 77 GLDispatch& dispatcher = GLEScontext::dispatcher(); in onSave() 120 GLDispatch& dispatcher = GLEScontext::dispatcher(); in restore()
|
D | ScopedGLState.cpp | 28 auto& gl = GLEScontext::dispatcher(); in push() 96 auto& gl = GLEScontext::dispatcher(); in ~ScopedGLState()
|
D | GLESvalidate.cpp | 28 bool GLESvalidate::pixelType(GLEScontext * ctx, GLenum type) { in pixelType() 60 bool GLESvalidate::pixelFrmt(GLEScontext* ctx ,GLenum format) { in pixelFrmt()
|
D | TextureUtils.cpp | 276 GLenum decompressedInternalFormat(GLEScontext* ctx, GLenum compressedFormat) { in decompressedInternalFormat() 363 ScopedFetchUnpackData(GLEScontext* ctx, GLintptr offset, in ScopedFetchUnpackData() 386 const GLEScontext* mCtx; 391 void doCompressedTexImage2D(GLEScontext* ctx, GLenum target, GLint level, in doCompressedTexImage2D() 613 GLEScontext::dispatcher().glDeleteRenderbuffers(1, &rbo); in deleteRenderbufferGlobal() 804 void doCompressedTexImage2DNative(GLEScontext* ctx, GLenum target, GLint level, GLenum internalform… in doCompressedTexImage2DNative() 815 void doCompressedTexSubImage2DNative(GLEScontext* ctx, GLenum target, GLint level, GLint xoffset, G… in doCompressedTexSubImage2DNative() 897 bool shouldPassthroughCompressedFormat(GLEScontext* ctx, GLenum internalformat) { in shouldPassthroughCompressedFormat() 1254 TextureUnpackReset::TextureUnpackReset(GLEScontext* ctx) : glesContext(ctx) { in TextureUnpackReset()
|
D | meson.build | 10 'GLEScontext.cpp',
|
D | Android.bp | 35 "GLEScontext.cpp",
|
D | CMakeLists.txt | 8 GLEScontext.cpp
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/ |
D | GLESv2Validate.h | 28 static bool renderbufferParam(GLEScontext* ctx, GLenum param); 29 static bool framebufferTarget(GLEScontext* ctx, GLenum target); 30 static bool framebufferAttachment(GLEScontext* ctx, GLenum attachment); 31 static bool bufferTarget(GLEScontext* ctx, GLenum target); 32 static bool bufferUsage(GLEScontext* ctx, GLenum usage); 33 static bool bufferParam(GLEScontext* ctx, GLenum pname); 34 static bool blendEquationMode(GLEScontext* ctx, GLenum mode); 37 static bool textureTarget(GLEScontext* ctx, GLenum param); 38 static bool textureParams(GLEScontext* ctx, GLenum param); 41 static bool pixelStoreParam(GLEScontext* ctx, GLenum param); [all …]
|
D | GLESv2Validate.cpp | 159 bool GLESv2Validate::renderbufferParam(GLEScontext* ctx, GLenum pname){ in renderbufferParam() 178 bool GLESv2Validate::framebufferTarget(GLEScontext* ctx, GLenum target) { in framebufferTarget() 190 bool GLESv2Validate::framebufferAttachment(GLEScontext* ctx, GLenum attachment) { in framebufferAttachment() 218 bool GLESv2Validate::bufferTarget(GLEScontext* ctx, GLenum target) { in bufferTarget() 248 bool GLESv2Validate::bufferUsage(GLEScontext* ctx, GLenum usage) { in bufferUsage() 268 bool GLESv2Validate::bufferParam(GLEScontext* ctx, GLenum pname) { in bufferParam() 285 bool GLESv2Validate::blendEquationMode(GLEScontext* ctx, GLenum mode){ in blendEquationMode() 344 bool GLESv2Validate::textureTarget(GLEScontext* ctx, GLenum target) { in textureTarget() 364 bool GLESv2Validate::textureParams(GLEScontext* ctx, GLenum param) { in textureParams() 423 bool GLESv2Validate::pixelStoreParam(GLEScontext* ctx, GLenum param){ in pixelStoreParam() [all …]
|
D | GLESv2Context.cpp | 64 GLEScontext::initGlobal(iface); in initGlobal() 70 GLEScontext::init(nativeTextureDecompressionEnabled); in init() 119 GLEScontext::initDefaultFBO( in initDefaultFBO() 157 : GLEScontext(globalNameSpace, stream, glLib) { in GLESv2Context() 206 GLEScontext::onSave(stream); in onSave() 240 GLDispatch& dispatcher = GLEScontext::dispatcher(); in postLoadRestoreCtx() 404 GLEScontext::postLoadRestoreCtx(); in postLoadRestoreCtx() 414 return GLEScontext::loadObject(type, localName, stream); in loadObject() 891 return GLEScontext::getIndexedBuffer(target, index); in getIndexedBuffer() 910 GLEScontext::bindIndexedBuffer(target, index, buffer, offset, size, in bindIndexedBuffer() [all …]
|
D | ShaderParser.cpp | 91 GLEScontext::dispatcher().glShaderSource(globalName, 1, &src, NULL); in restore() 93 GLEScontext::dispatcher().glShaderSource(globalName, 1, parsedLines(), NULL); in restore() 96 GLEScontext::dispatcher().glCompileShader(globalName); in restore()
|
D | ProgramData.cpp | 134 GLDispatch& dispatcher = GLEScontext::dispatcher(); in getUniformValue() 219 GLDispatch& dispatcher = GLEScontext::dispatcher(); in collectUniformInfo() 256 GLDispatch& dispatcher = GLEScontext::dispatcher(); in collectUniformBlockInfo() 271 GLDispatch& dispatcher = GLEScontext::dispatcher(); in collectTransformFeedbackInfo() 335 GLEScontext::dispatcher().glGetProgramiv(ProgramName, in onSave() 387 GLDispatch& dispatcher = GLEScontext::dispatcher(); in restore() 1093 GLDispatch& gl = GLEScontext::dispatcher(); in sInitializeUniformLocs() 1140 GLDispatch& dispatcher = GLEScontext::dispatcher(); in initGuestUniformLocForKey() 1167 GLDispatch& dispatcher = GLEScontext::dispatcher(); in initGuestUniformLocForKey() 1180 GLDispatch& dispatcher = GLEScontext::dispatcher(); in getGuestUniformLocation()
|
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/ |
D | TranslatorIfaces.h | 88 class GLEScontext; variable 97 …GLEScontext* (*createGLESContext)(int majorVersion, int minorVe… 98 … void (*initContext)(GLEScontext*, ShareGroupPtr, bool); 100 void (*deleteGLESContext)(GLEScontext*); 104 void (*setShareGroup)(GLEScontext*,ShareGroupPtr); 129 GLEScontext* (*getGLESContext)();
|
D | FramebufferData.h | 72 void setAttachment(class GLEScontext* ctx, 83 GLint getAttachmentSamples(class GLEScontext* ctx, GLenum attachment); 84 …void getAttachmentDimensions(class GLEScontext* ctx, GLenum attachment, GLint* width, GLint* heigh… 85 GLint getAttachmentInternalFormat(class GLEScontext* ctx, GLenum attachment); 87 void validate(class GLEScontext* ctx); 107 void separateDepthStencilWorkaround(class GLEScontext* ctx);
|
D | TextureUtils.h | 43 void doCompressedTexImage2D(GLEScontext* ctx, GLenum target, GLint level, 48 GLenum decompressedInternalFormat(GLEScontext* ctx, GLenum compressedFormat); 86 void doCompressedTexImage2DNative(GLEScontext* ctx, GLenum target, GLint level, GLenum internalform… 87 void doCompressedTexSubImage2DNative(GLEScontext* ctx, GLenum target, GLint level, GLint xoffset, G… 96 bool shouldPassthroughCompressedFormat(GLEScontext* ctx, GLenum internalformat); 117 TextureUnpackReset(GLEScontext* ctx); 126 GLEScontext* glesContext = nullptr;
|
D | GLESvalidate.h | 24 static bool pixelType(GLEScontext * ctx,GLenum type); 26 static bool pixelFrmt(GLEScontext* ctx , GLenum format);
|
D | GLESmacros.h | 51 GLEScontext* ctx = s_eglIface->getGLESContext(); \ 71 GLEScontext* ctx = s_eglIface->getGLESContext(); \
|
/hardware/google/gfxstream/host/gl/glestranslator/EGL/ |
D | ThreadInfo.h | 22 class GLEScontext; variable 27 GLEScontext* glesCtx, 33 GLEScontext* glesContext = nullptr;
|
D | EglContext.h | 43 GLEScontext* glesCtx, 56 GLEScontext* getGlesContext() { return m_glesContext; } in getGlesContext() 69 GLEScontext* m_glesContext = nullptr;
|
D | ThreadInfo.cpp | 23 GLEScontext* glesCtx, in updateInfo()
|
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/ |
D | CoreProfileEngine.cpp | 50 GLEScontext::compileAndValidateCoreShader( in getDrawTexOESCoreState() 54 GLEScontext::compileAndValidateCoreShader( in getDrawTexOESCoreState() 58 GLEScontext::linkAndValidateProgram(m_drawTexOESCoreState.vshader, in getDrawTexOESCoreState() 62 GLDispatch& gl = GLEScontext::dispatcher(); in getDrawTexOESCoreState() 93 GLDispatch& gl = GLEScontext::dispatcher(); in teardown() 220 auto& gl = GLEScontext::dispatcher(); in getGeometryDrawState() 226 GLEScontext::compileAndValidateCoreShader( in getGeometryDrawState() 231 GLEScontext::compileAndValidateCoreShader( in getGeometryDrawState() 236 GLEScontext::linkAndValidateProgram(m_geometryDrawState.vshader, in getGeometryDrawState() 240 GLEScontext::compileAndValidateCoreShader( in getGeometryDrawState() [all …]
|
D | GLEScmValidate.h | 39 static bool renderbufferInternalFrmt(GLEScontext * ctx, GLenum internalformat);
|