Home
last modified time | relevance | path

Searched refs:p_type (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DShareGroup.cpp61 [this](NamedObjectType p_type, ObjectLocalName p_localName) { in ShareGroup() argument
62 return this->getObjectDataPtrNoLock(p_type, p_localName); in ShareGroup()
113 ns->postLoadRestore([this](NamedObjectType p_type, in postLoadRestore()
115 return getGlobalName(p_type, p_localName); in postLoadRestore()
182 ShareGroup::getGlobalName(NamedObjectType p_type, in getGlobalName() argument
185 assert(p_type != NamedObjectType::FRAMEBUFFER); in getGlobalName()
186 if (toIndex(p_type) >= toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in getGlobalName()
190 return m_nameSpace[toIndex(p_type)]->getGlobalName(p_localName); in getGlobalName()
194 ShareGroup::getLocalName(NamedObjectType p_type, in getLocalName() argument
197 assert(p_type != NamedObjectType::FRAMEBUFFER); in getLocalName()
[all …]
DObjectNameSpace.cpp38 NameSpace::NameSpace(NamedObjectType p_type, GlobalNameSpace *globalNameSpace, in NameSpace() argument
40 m_type(p_type), in NameSpace()
DGLEScontext.cpp636 [this](NamedObjectType p_type, ObjectLocalName p_localName) { in postLoad() argument
637 if (p_type == NamedObjectType::FRAMEBUFFER) { in postLoad()
640 return m_shareGroup->getObjectDataPtr(p_type, p_localName); in postLoad()
748 fbData->makeTextureDirty([this](NamedObjectType p_type, in postSave()
750 if (p_type == NamedObjectType::FRAMEBUFFER) { in postSave()
753 return m_shareGroup->getObjectDataPtr(p_type, p_localName); in postSave()
768 [this](NamedObjectType p_type, ObjectLocalName p_localName) { in postLoadRestoreCtx() argument
769 if (p_type == NamedObjectType::FRAMEBUFFER) { in postLoadRestoreCtx()
772 return m_shareGroup->getGlobalName(p_type, p_localName); in postLoadRestoreCtx()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DShareGroup.h67 unsigned int getGlobalName(NamedObjectType p_type, ObjectLocalName p_localName);
73 ObjectLocalName getLocalName(NamedObjectType p_type, unsigned int p_globalName);
78 NamedObjectPtr getNamedObject(NamedObjectType p_type, ObjectLocalName p_localName);
84 void deleteName(NamedObjectType p_type, ObjectLocalName p_localName);
90 …void replaceGlobalObject(NamedObjectType p_type, ObjectLocalName p_localName, NamedObjectPtr p_glo…
95 bool isObject(NamedObjectType p_type, ObjectLocalName p_localName);
100 void setObjectData(NamedObjectType p_type, ObjectLocalName p_localName,
106 unsigned int ensureObjectOnBind(NamedObjectType p_type, ObjectLocalName p_localName);
111 ObjectData* getObjectData(NamedObjectType p_type, ObjectLocalName p_localName);
112 ObjectDataPtr getObjectDataPtr(NamedObjectType p_type, ObjectLocalName p_localName);
[all …]
DObjectData.h50 typedef std::function<ObjectDataPtr(NamedObjectType p_type,
DObjectNameSpace.h53 NameSpace(NamedObjectType p_type, GlobalNameSpace *globalNameSpace,
/hardware/google/gfxstream/host/gl/
DColorBufferGl.h118 GLenum p_type,
123 bool readPixelsScaled(int width, int height, GLenum p_format, GLenum p_type, int skinRotation,
141 bool subUpdate(int x, int y, int width, int height, GLenum p_format, GLenum p_type,
144 FrameworkFormat fwkFormat, GLenum p_format, GLenum p_type,
DColorBufferGl.cpp389 bool ColorBufferGl::readPixels(int x, int y, int width, int height, GLenum p_format, GLenum p_type, in readPixels() argument
408 if ((p_format == GL_RGB || p_format == GL_RGB8) && p_type == GL_UNSIGNED_BYTE) { in readPixels()
411 s_gles2.glReadPixels(x, y, width, height, GL_RGBA, p_type, tmpPixels); in readPixels()
414 s_gles2.glReadPixels(x, y, width, height, p_format, p_type, pixels); in readPixels()
424 bool ColorBufferGl::readPixelsScaled(int width, int height, GLenum p_format, GLenum p_type, in readPixelsScaled() argument
453 p_format == GL_RGB && p_type == GL_UNSIGNED_BYTE && in readPixelsScaled()
465 rect.size.h, p_format, p_type, readPixelsDst); in readPixelsScaled()
469 s_gles2.glReadPixels(0, 0, width, height, p_format, p_type, in readPixelsScaled()
584 bool ColorBufferGl::subUpdate(int x, int y, int width, int height, GLenum p_format, GLenum p_type, in subUpdate() argument
586 return subUpdateFromFrameworkFormat(x, y, width, height, m_frameworkFormat, p_format, p_type, in subUpdate()
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dbuild_id.c65 if (info->dlpi_phdr[i].p_type == PT_LOAD) { in build_id_find_nhdr_callback()
75 if (info->dlpi_phdr[i].p_type != PT_NOTE) in build_id_find_nhdr_callback()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Context.cpp388 [this](NamedObjectType p_type, ObjectLocalName p_localName) { in postLoadRestoreCtx() argument
389 switch (p_type) { in postLoadRestoreCtx()
395 return m_shareGroup->getGlobalName(p_type, in postLoadRestoreCtx()