Home
last modified time | relevance | path

Searched refs:shaderData (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/host/vulkan/emulated_textures/
DGpuDecompressionPipeline.cpp187 const ShaderData* shaderData = getDecompressionShader(mCompressedFormat, mImageType); in initialize() local
188 if (!shaderData) { in initialize()
196 .codeSize = shaderData->size, in initialize()
197 .pCode = shaderData->code, in initialize()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DProgramData.h81 bool attachShader(GLuint shader, ShaderParser* shaderData, GLenum type);
DProgramData.cpp699 bool ProgramData::attachShader(GLuint shader, ShaderParser* shaderData, in attachShader() argument
704 s.shader = shaderData; in attachShader()
DGLESv2Imp.cpp457 auto shaderData = ctx->shareGroup()->getObjectData( in s_detachShader() local
459 if (!shaderData) return; in s_detachShader()
460 ShaderParser* shaderParser = (ShaderParser*)shaderData; in s_detachShader()
512 auto shaderData = ctx->shareGroup()->getObjectData( in glAttachShader() local
514 SET_ERROR_IF(!shaderData || !programData ,GL_INVALID_OPERATION); in glAttachShader()
515 SET_ERROR_IF(!(shaderData->getDataType() ==SHADER_DATA) || in glAttachShader()
518 GLenum shaderType = ((ShaderParser*)shaderData)->getType(); in glAttachShader()
521 pData->attachShader(shader, (ShaderParser*)shaderData, shaderType); in glAttachShader()
522 s_attachShader(ctx, program, shader, (ShaderParser*)shaderData); in glAttachShader()
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLSharedGroup.h171 ShaderData shaderData;
/hardware/google/gfxstream/guest/GLESv2_enc/
DGL2Encoder.cpp1894 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glShaderSource() local
1896 SET_ERROR_IF(!shaderData, GL_INVALID_OPERATION); in s_glShaderSource()
1918 shaderData->sources = orig_sources; in s_glShaderSource()
1927 if (!replaceSamplerExternalWith2D(str, shaderData)) { in s_glShaderSource()
2108 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glGetShaderSource() local
2109 if (shaderData) { in s_glGetShaderSource()
2112 for (int i = 0; i < shaderData->sources.size(); i++) { in s_glGetShaderSource()
2113 if (curr_len + shaderData->sources[i].size() < bufsize - 1) { in s_glGetShaderSource()
2114 returned += shaderData->sources[i]; in s_glGetShaderSource()
2116 returned += shaderData->sources[i].substr(0, bufsize - 1 - curr_len); in s_glGetShaderSource()
[all …]
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLSharedGroup.cpp819 ShaderData& sData = spData->shaderData; in setShaderProgramIndexInfo()