/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLcommon/ |
D | ObjectNameSpace.cpp | 357 tex) { in onSave() argument 358 stream->putBe32(tex.first); in onSave() 360 if (tex.second.get() && tex.second->isDirty()) { in onSave() 367 tex.first, in onSave() 368 [saver, &tex](android::base::Stream* stream, in onSave() 370 if (!tex.second.get()) return; in onSave() 371 saver(tex.second.get(), stream, buffer); in onSave()
|
D | FramebufferData.cpp | 572 unsigned int tex = 0; in validate() local 573 ctx->dispatcher().glGenTextures(1, &tex); in validate() 576 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, tex); in validate() 584 …spatcher().glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, 0); in validate() 585 setAttachment(ctx, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, ObjectDataPtr(), true); in validate()
|
D | GLEScontext.cpp | 452 void GLEScontext::setActiveTexture(GLenum tex) { in setActiveTexture() argument 453 m_activeTexture = tex - GL_TEXTURE0; in setActiveTexture() 583 gl.glDeleteTextures(1, &m_blitState.tex); in ~GLEScontext() 2189 void GLEScontext::setBindedTexture(GLenum target, unsigned int tex) { in setBindedTexture() argument 2191 m_texState[m_activeTexture][pos].texture = tex; in setBindedTexture() 2230 unsigned int tex) { in getTextureLocalName() argument 2231 return (tex!=0? tex : getDefaultTextureName(target)); in getTextureLocalName() 2812 gl.glGenTextures(1, &m_blitState.tex); in setupImageBlitState() 2893 GL_TEXTURE_2D, m_blitState.tex, 0); in setupImageBlitForTexture() 2911 gl.glBindTexture(GL_TEXTURE_2D, m_blitState.tex); in setupImageBlitForTexture() [all …]
|
/device/generic/vulkan-cereal/stream-servers/gl/ |
D | ColorBufferGl.cpp | 49 bool bindFbo(GLuint* fbo, GLuint tex, bool ensureTextureAttached) { in bindFbo() argument 55 GL_TEXTURE_2D, tex, 0); in bindFbo() 63 GL_TEXTURE_2D, tex, 0); in bindFbo() 358 GLuint tex[2] = {m_tex, m_blitTex}; in ~ColorBufferGl() local 359 s_gles2.glDeleteTextures(2, tex); in ~ColorBufferGl() 412 GLuint tex = m_resizer->update(m_tex, width, height, rotation); in readPixelsScaled() local 413 if (bindFbo(&m_scaleRotationFbo, tex, m_needFboReattach)) { in readPixelsScaled() 859 bool ColorBufferGl::post(GLuint tex, float rotation, float dx, float dy) { in post() argument 862 return m_textureDraw->draw(tex, rotation, dx, dy); in post()
|
D | YUVConverter.cpp | 466 static void readYUVTex(GLuint tex, FrameworkFormat format, YUVPlane plane, void* pixels, in readYUVTex() argument 472 s_gles2.glBindTexture(GL_TEXTURE_2D, tex); in readYUVTex() 498 GLuint tex, in subUpdateYUVGLTex() argument 512 s_gles2.glBindTexture(GL_TEXTURE_2D, tex); in subUpdateYUVGLTex()
|
D | TextureResize.cpp | 285 GLuint tex[2] = {mFBWidth.texture, mFBHeight.texture}; in ~TextureResize() local 286 s_gles2.glDeleteTextures(2, tex); in ~TextureResize()
|
D | ColorBufferGl.h | 165 bool post(GLuint tex, float rotation, float dx, float dy);
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLClientState.cpp | 1525 TextureRec* tex = new TextureRec; in addTextureRec() local 1526 tex->id = id; in addTextureRec() 1527 tex->target = target; in addTextureRec() 1528 tex->format = -1; in addTextureRec() 1529 tex->multisamples = 0; in addTextureRec() 1530 tex->immutable = false; in addTextureRec() 1531 tex->boundEGLImage = false; in addTextureRec() 1532 tex->hasStorage = false; in addTextureRec() 1533 tex->dims = new TextureDims[6]; in addTextureRec() 1534 tex->hasCubeNegX = false; in addTextureRec() [all …]
|
D | GLClientState.h | 814 GLint tex = getActiveTexture() + GL_TEXTURE0; in getClientStateParameter() local 815 *out = tex; in getClientStateParameter()
|
/device/generic/goldfish/camera/ |
D | FakeRotatingCamera.cpp | 112 abc3d::AutoTexture tex(GL_TEXTURE_2D, GL_RGB, 8, 8, in loadTestPatternTextureA() local 117 return tex; in loadTestPatternTextureA() 148 abc3d::AutoTexture tex(GL_TEXTURE_2D, GL_RGBA, 8, 8, in loadTestPatternTextureColors() local 153 return tex; in loadTestPatternTextureColors() 191 abc3d::AutoTexture tex(GL_TEXTURE_2D, GL_RGB, in loadTestPatternTextureAcircles() local 197 return tex; in loadTestPatternTextureAcircles()
|
/device/generic/vulkan-cereal/stream-servers/vulkan/ |
D | CompositorVk.cpp | 46 alignas(8) glm::vec2 tex; member 68 .offset = offsetof(struct Vertex, tex), in getAttributeDescription() 76 { .pos = {-1.0f, -1.0f}, .tex = {0.0f, 0.0f}}, 77 { .pos = { 1.0f, -1.0f}, .tex = {1.0f, 0.0f}}, 78 { .pos = { 1.0f, 1.0f}, .tex = {1.0f, 1.0f}}, 79 { .pos = {-1.0f, 1.0f}, .tex = {0.0f, 1.0f}},
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 2894 GLuint tex = state->getBoundTexture(target); in s_glTexSubImage2D() local 2899 if (tex && !state->queryTexEGLImageBacked(tex)) { in s_glTexSubImage2D() 2901 (neededWidth > state->queryTexWidth(level, tex) || in s_glTexSubImage2D() 2902 neededHeight > state->queryTexHeight(level, tex) || in s_glTexSubImage2D() 2903 neededDepth > state->queryTexDepth(level, tex)), in s_glTexSubImage2D() 3632 GLuint tex = ctx->m_state->getBoundTexture(stateTarget); in s_glCompressedTexSubImage2D() local 3634 GLint internalFormat = ctx->m_state->queryTexInternalFormat(tex); in s_glCompressedTexSubImage2D() 3652 GLint totalWidth = ctx->m_state->queryTexWidth(level, tex); in s_glCompressedTexSubImage2D() 3653 GLint totalHeight = ctx->m_state->queryTexHeight(level, tex); in s_glCompressedTexSubImage2D() 4514 GLuint tex = state->getBoundTexture(target); in s_glTexSubImage3D() local [all …]
|
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLES_CM/ |
D | GLEScmContext.cpp | 194 void GLEScmContext::setActiveTexture(GLenum tex) { in setActiveTexture() argument 195 m_activeTexture = tex - GL_TEXTURE0; in setActiveTexture() 198 void GLEScmContext::setClientActiveTexture(GLenum tex) { in setClientActiveTexture() argument 199 m_clientActiveTexture = tex - GL_TEXTURE0; in setClientActiveTexture() 477 unsigned int tex = GL_TEXTURE0+i; in setupArraysPointers() local 478 setClientActiveTexture(tex); in setupArraysPointers() 479 s_glDispatch.glClientActiveTexture(tex); in setupArraysPointers() 1706 ObjectLocalName tex = getTextureLocalName(GL_TEXTURE_2D,texname); in drawTexOES() local 1709 NamedObjectType::TEXTURE, tex); in drawTexOES()
|
D | GLEScmImp.cpp | 341 static TextureData* getTextureData(ObjectLocalName tex){ in getTextureData() argument 344 if (!ctx->shareGroup()->isObject(NamedObjectType::TEXTURE, tex)) { in getTextureData() 350 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in getTextureData() 353 ctx->shareGroup()->setObjectData(NamedObjectType::TEXTURE, tex, in getTextureData() 363 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData() local 364 return getTextureData(ctx->getTextureLocalName(target,tex)); in getTextureTargetData() 405 TextureData* tex = getTextureData(texture); in glIsTexture() local 406 return tex ? tex->wasBound : GL_FALSE; in glIsTexture() 709 unsigned int tex = ctx->getBindedTexture(target); in s_glInitTexImage2D() local 710 ctx->shareGroup()->genName(NamedObjectType::TEXTURE, tex, in s_glInitTexImage2D() [all …]
|
D | GLEScmContext.h | 45 void setActiveTexture(GLenum tex) override; 46 void setClientActiveTexture(GLenum tex);
|
D | CoreProfileEngine.cpp | 723 ObjectLocalName tex = mCtx->getTextureLocalName(GL_TEXTURE_2D, bindedTex); in drawTexOES() local 725 auto objData = mCtx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in drawTexOES() 840 ObjectLocalName tex = mCtx->getTextureLocalName(GL_TEXTURE_2D, bindedTex); in preDrawTextureUnitEmulation() local 841 auto objData = mCtx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in preDrawTextureUnitEmulation()
|
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/include/GLcommon/ |
D | GLEScontext.h | 251 virtual void setActiveTexture(GLenum tex); 255 void setBindedTexture(GLenum target,unsigned int tex); 259 ObjectLocalName getTextureLocalName(GLenum target, unsigned int tex); 713 GLuint tex = 0; member
|
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/ |
D | YUVConverter.cpp | 186 GLuint tex, in subUpdateYUVGLTex() argument 190 s_gles2.glBindTexture(GL_TEXTURE_2D, tex); in subUpdateYUVGLTex()
|
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLES_V2/ |
D | GLESv2Imp.cpp | 469 static TextureData* getTextureData(ObjectLocalName tex) { in getTextureData() argument 473 ctx->shareGroup()->getObjectData(NamedObjectType::TEXTURE, tex); in getTextureData() 476 ctx->shareGroup()->setObjectData(NamedObjectType::TEXTURE, tex, in getTextureData() 486 unsigned int tex = ctx->getBindedTexture(target); in getTextureTargetData() local 487 return getTextureData(ctx->getTextureLocalName(target,tex)); in getTextureTargetData() 603 if (TextureData* tex = getTextureData(name)) { in sHasAttachmentWithFormat() local 604 GLenum tex_internalformat = tex->internalFormat; in sHasAttachmentWithFormat() 1040 unsigned int tex = ctx->getBindedTexture(target); in s_glInitTexImage2D() local 1041 ctx->shareGroup()->genName(NamedObjectType::TEXTURE, tex, in s_glInitTexImage2D() 1045 NamedObjectType::TEXTURE, tex); in s_glInitTexImage2D() [all …]
|