Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/include/GLSLANG/
DShaderLang.h605 using ShHandle = void *; variable
634 const std::string &GetBuiltInResourcesString(const ShHandle handle);
647 ShHandle ConstructCompiler(sh::GLenum type,
651 void Destruct(ShHandle handle);
662 bool Compile(const ShHandle handle,
668 void ClearResults(const ShHandle handle);
671 int GetShaderVersion(const ShHandle handle);
674 ShShaderOutput GetShaderOutputType(const ShHandle handle);
679 const std::string &GetInfoLog(const ShHandle handle);
685 const std::string &GetObjectCode(const ShHandle handle);
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderLang.cpp57 TCompiler *GetCompilerFromHandle(ShHandle handle) in GetCompilerFromHandle()
69 const std::vector<VarT> *GetShaderVariables(const ShHandle handle) in GetShaderVariables()
81 TranslatorHLSL *GetTranslatorHLSLFromHandle(ShHandle handle) in GetTranslatorHLSLFromHandle()
348 ShHandle ConstructCompiler(sh::GLenum type, in ConstructCompiler()
375 void Destruct(ShHandle handle) in Destruct()
386 const std::string &GetBuiltInResourcesString(const ShHandle handle) in GetBuiltInResourcesString()
400 bool Compile(const ShHandle handle, in Compile()
411 void ClearResults(const ShHandle handle) in ClearResults()
418 int GetShaderVersion(const ShHandle handle) in GetShaderVersion()
425 ShShaderOutput GetShaderOutputType(const ShHandle handle) in GetShaderOutputType()
[all …]
/third_party/glslang/glslang/Public/
DShaderLang.h307 typedef void* ShHandle; typedef
313 GLSLANG_EXPORT ShHandle ShConstructCompiler(const EShLanguage, int debugOptions); // one per shader
314 GLSLANG_EXPORT ShHandle ShConstructLinker(const EShExecutable, int debugOptions); // one per shade…
315 GLSLANG_EXPORT ShHandle ShConstructUniformMap(); // one per uniform namespace (curr…
316 GLSLANG_EXPORT void ShDestruct(ShHandle);
326 const ShHandle,
339 const ShHandle, // linker object
340 const ShHandle h[], // compiler objects to link together
347 GLSLANG_EXPORT void ShSetEncryptionMethod(ShHandle);
353 GLSLANG_EXPORT const char* ShGetInfoLog(const ShHandle);
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderVariable_test.cpp220 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST()
222 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST()
243 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST()
245 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST()
278 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST()
280 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST()
320 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST()
322 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST()
363 ShHandle compiler = sh::ConstructCompiler(GL_VERTEX_SHADER, SH_GLES2_SPEC, in TEST()
365 EXPECT_NE(static_cast<ShHandle>(0), compiler); in TEST()
DExpressionLimit_test.cpp223 bool CheckShaderCompilation(ShHandle compiler, in CheckShaderCompilation()
261 ShHandle vertexCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
283 ShHandle vertexCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
308 ShHandle vertexCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
330 ShHandle vertexCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
352 ShHandle vertexCompiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
555 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
577 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
600 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, spec, output, &resources); in TEST_F()
DConstructCompiler_test.cpp19 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST()
30 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST()
42 ShHandle compiler = sh::ConstructCompiler(GL_FRAGMENT_SHADER, SH_WEBGL_SPEC, in TEST()
DFragDepth_test.cpp64 ShHandle mCompiler;
DPrecise_test.cpp110 std::map<ShShaderOutput, ShHandle> mCompilerList;
DShCompile_test.cpp61 ShHandle mCompiler;
DEXT_shader_framebuffer_fetch_test.cpp226 std::map<ShShaderOutput, ShHandle> mCompilerList;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCompiler.h55 ShCompilerInstance(ShHandle handle, ShShaderOutput outputType, ShaderType shaderType);
62 ShHandle getHandle();
68 ShHandle mHandle;
DCompiler.cpp313 ShHandle handle = sh::ConstructCompiler(ToGLenum(type), mSpec, mOutputType, &mResources); in getInstance()
341 ShCompilerInstance::ShCompilerInstance(ShHandle handle, in ShCompilerInstance()
376 ShHandle ShCompilerInstance::getHandle() in getHandle()
DShader.cpp390 ShHandle compilerHandle = compilerInstance.getHandle(); in compile()
419 ShHandle compilerHandle = mCompilingState->shCompilerInstance.getHandle(); in resolveCompile()
/third_party/skia/third_party/externals/angle2/samples/shader_translator/
Dshader_translator.cpp36 static bool CompileFile(char *fileName, ShHandle compiler, ShCompileOptions compileOptions);
39 static void PrintActiveVariables(ShHandle compiler);
84 ShHandle vertexCompiler = 0; in main()
85 ShHandle fragmentCompiler = 0; in main()
86 ShHandle computeCompiler = 0; in main()
87 ShHandle geometryCompiler = 0; in main()
280 ShHandle compiler = 0; in main()
475 bool CompileFile(char *fileName, ShHandle compiler, ShCompileOptions compileOptions) in CompileFile()
700 static void PrintActiveVariables(ShHandle compiler) in PrintActiveVariables()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DShaderImpl.cpp44 TranslateTask(ShHandle handle, ShCompileOptions options, const std::string &source) in TranslateTask()
57 ShHandle getHandle() { return mHandle; } in getHandle()
60 ShHandle mHandle;
DShaderImpl.h26 using UpdateShaderStateFunctor = std::function<void(bool compiled, ShHandle handle)>;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DShaderGL.cpp28 TranslateTaskGL(ShHandle handle, in TranslateTaskGL()
56 ShHandle getHandle() { return mHandle; } in getHandle()
59 ShHandle mHandle;
88 ShHandle handle = mTranslateTask->getHandle(); in postTranslate()
390 ShHandle handle = compilerInstance->getHandle(); in compile()
427 ShHandle handle = compilerInstance->getHandle(); in compile()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DShaderMtl.mm30 TranslateTask(ShHandle handle, ShCompileOptions options, const std::string &source)
42 ShHandle getHandle() { return mHandle; }
45 ShHandle mHandle;
/third_party/glslang/glslang/MachineIndependent/
DShaderLang.cpp1354 ShHandle ShConstructCompiler(const EShLanguage language, int debugOptions) in ShConstructCompiler()
1364 ShHandle ShConstructLinker(const EShExecutable executable, int debugOptions) in ShConstructLinker()
1374 ShHandle ShConstructUniformMap() in ShConstructUniformMap()
1384 void ShDestruct(ShHandle handle) in ShDestruct()
1460 const ShHandle handle, in ShCompile()
1514 const ShHandle linkHandle, in ShLinkExt()
1515 const ShHandle compHandles[], in ShLinkExt()
1565 void ShSetEncryptionMethod(ShHandle handle) in ShSetEncryptionMethod()
1574 const char* ShGetInfoLog(const ShHandle handle) in ShGetInfoLog()
1597 const void* ShGetExecutable(const ShHandle handle) in ShGetExecutable()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DShaderD3D.cpp27 TranslateTaskD3D(ShHandle handle, in TranslateTaskD3D()
54 ShHandle mHandle;
321 ShHandle compilerHandle = compiler->getHandle(); in compile()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderExtensionTest.h77 ShHandle mCompiler;
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DCompilerPerf.cpp203 ShHandle translator = in IsPlatformAvailable()
/third_party/glslang/StandAlone/
DStandAlone.cpp131 void CompileFile(const char* fileName, ShHandle);
922 ShHandle compiler = ShConstructCompiler(FindLanguage("stdin"), Options); in CompileShaders()
935 ShHandle compiler = ShConstructCompiler(FindLanguage(workItem->name), Options); in CompileShaders()
1481 void CompileFile(const char* fileName, ShHandle compiler) in CompileFile()
/third_party/glslang/glslang/
DCMakeLists.txt162 Include/ShHandle.h
/third_party/glslang/
DBUILD.gn133 "glslang/Include/ShHandle.h",