Home
last modified time | relevance | path

Searched refs:shaderType (Results 1 – 25 of 27) sorted by relevance

12

/hardware/google/gfxstream/host/tests/
DShaderUtils.h25 GLuint compileShader(GLenum shaderType, const char* src);
29 const std::string& shaderType,
DShaderUtils.cpp44 GLuint compileShader(GLenum shaderType, const char* src) { in compileShader() argument
47 GLuint shader = gl->glCreateShader(shaderType); in compileShader()
DGLSnapshotTestStateUtils.cpp49 GLenum shaderType, in loadAndCompileShader() argument
51 GLuint shader = gl->glCreateShader(shaderType); in loadAndCompileShader()
DGLSnapshotTestStateUtils.h27 GLenum shaderType,
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DANGLEShaderParser.cpp182 GLenum shaderType; member
221 if (a.shaderType != b.shaderType) in operator ()()
222 return a.shaderType < b.shaderType; in operator ()()
364 GLenum shaderType, in translate() argument
408 key.shaderType = shaderType; in translate()
413 shaderType, in translate()
DANGLEShaderParser.h63 const char* src, GLenum shaderType,
DGLESv2Validate.h43 static bool shaderType(GLEScontext* ctx, GLenum type);
DGLESv2Validate.cpp455 bool GLESv2Validate::shaderType(GLEScontext* ctx, GLenum type){ in shaderType() function in GLESv2Validate
DGLESv2Imp.cpp518 GLenum shaderType = ((ShaderParser*)shaderData)->getType(); in glAttachShader() local
520 SET_ERROR_IF((pData->getAttachedShader(shaderType)!=0), GL_INVALID_OPERATION); in glAttachShader()
521 pData->attachShader(shader, (ShaderParser*)shaderData, shaderType); in glAttachShader()
1290 RET_AND_SET_ERROR_IF(!GLESv2Validate::shaderType(ctx, type), GL_INVALID_ENUM, 0); in glCreateShader()
2837 SET_ERROR_IF(!(GLESv2Validate::shaderType(ctx, shadertype) && in glGetShaderPrecisionFormat()
4444 GLenum shaderType, in compileShader() argument
4447 GLuint shader = gl->glCreateShader(shaderType); in compileShader()
/hardware/google/gfxstream/host/gl/glsnapshot/
DGLSnapshot.cpp104 GLuint GLSnapshotState::createShader(GLuint shader, GLenum shaderType) { in createShader() argument
108 mShaderState[shaderName].type = shaderType; in createShader()
DGLSnapshot.h47 GLuint createShader(GLuint shader, GLenum shaderType);
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLSharedGroup.h120 bool attachShader(GLuint shader, GLenum shaderType);
166 GLenum shaderType; member
230 bool addShaderData(GLuint shader, GLenum shaderType);
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLSharedGroup.cpp191 bool ProgramData::attachShader(GLuint shader, GLenum shaderType) { in attachShader() argument
197 } else if (m_shaderTypes[i] == shaderType) { in attachShader()
202 m_shaderTypes.push_back(shaderType); in attachShader()
497 res = pData->attachShader(shader, sData->shaderType); in attachShader()
684 bool GLSharedGroup::addShaderData(GLuint shader, GLenum shaderType) { in addShaderData() argument
693 data->shaderType = shaderType; in addShaderData()
/hardware/libhardware/tests/hwc/
Dutil.c47 static GLuint load_shader(GLenum shaderType, const char *src) { in load_shader() argument
51 if (!(shader = glCreateShader(shaderType))) in load_shader()
/hardware/google/gfxstream/guest/GLESv2_enc/
DGLESv2Validation.h82 bool shaderType(GL2Encoder* ctx, GLenum type);
DGLESv2Validation.cpp1308 bool shaderType(GL2Encoder* ctx, GLenum type) { in shaderType() function
DGL2Encoder.cpp2078 GLuint GL2Encoder::s_glCreateShader(void *self, GLenum shaderType) in s_glCreateShader() argument
2081 RET_AND_SET_ERROR_IF(!GLESv2Validation::shaderType(ctx, shaderType), GL_INVALID_ENUM, 0); in s_glCreateShader()
2082 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); in s_glCreateShader()
2084 if (!ctx->m_shared->addShaderData(shader, shaderType)) { in s_glCreateShader()
5538 GLuint GL2Encoder::s_glCreateShaderProgramv(void* self, GLenum shaderType, GLsizei count, const cha… in s_glCreateShaderProgramv() argument
5559 GLuint res = ctx->glCreateShaderProgramvAEMU(ctx, shaderType, count, str, len + 1); in s_glCreateShaderProgramv()
DGL2Encoder.h305 static GLuint s_glCreateShader(void *self, GLenum shaderType);
/hardware/google/gfxstream/host/gl/
DTextureDraw.cpp36 GLuint createShader(GLint shaderType, const char* shaderText) { in createShader() argument
38 GLuint shader = s_gles2.glCreateShader(shaderType); in createShader()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DCoreProfileEngine.cpp174 static std::string sMakeGeometryDrawShader(bool isGles, GLenum shaderType, bool flat) { in sMakeGeometryDrawShader() argument
194 switch (shaderType) { in sMakeGeometryDrawShader()
/hardware/google/gfxstream/host/gl/gles2_dec/
DGLESv2Decoder.cpp716 GLuint GLESv2Decoder::s_glCreateShader(void* self, GLenum shaderType) { in s_glCreateShader() argument
718 GLuint shader = ctx->glCreateShader(shaderType); in s_glCreateShader()
721 GLuint emuName = ctx->m_snapshot->createShader(shader, shaderType); in s_glCreateShader()
DGLESv2Decoder.h121 static GLuint gles2_APIENTRY s_glCreateShader(void* self, GLenum shaderType);
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLEScontext.h500 static GLuint compileAndValidateCoreShader(GLenum shaderType, const char* src);
/hardware/google/gfxstream/host/apigen-codec-common/GL/
Dgl.h2101 GLAPI void GLAPIENTRY glClearDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
2102 GLAPI void GLAPIENTRY glGetDebugLogMESA (GLhandleARB obj, GLenum logType, GLenum shaderType, GLsize…
2104 …PI GLsizei GLAPIENTRY glGetDebugLogLengthMESA (GLhandleARB obj, GLenum logType, GLenum shaderType);
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLEScontext.cpp2734 GLuint GLEScontext::compileAndValidateCoreShader(GLenum shaderType, const char* src) { in compileAndValidateCoreShader() argument
2737 GLuint shader = gl.glCreateShader(shaderType); in compileAndValidateCoreShader()

12