Searched refs:fragSource (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.cpp | 489 …y_view<const OES_Bind>& oesBinds, const ShaderModulePlatformDataGLES& fragPlat, string& fragSource) in PatchOesBinds() argument 493 auto p = fragSource.find("\n", 0); in PatchOesBinds() 495 fragSource.insert(p + 1, extension.data(), extension.size()); in PatchOesBinds() 503 … fragSource, " sampler2D " + t.name + ";", " samplerExternalOES " + t.name + ";"); in PatchOesBinds() 511 … fragSource, " sampler2D " + t.name + ";", " samplerExternalOES " + t.name + ";"); in PatchOesBinds() 647 string fragSource = plat_.fragShaderModule_->GetGLSL(specData); in Specialize() local 648 PLUGIN_ASSERT_MSG(!fragSource.empty(), "Trying to specialize a program with no frag source"); in Specialize() 650 PostProcessSource(map, ret->plat_, fragPlat, fragSource); in Specialize() 653 PatchOesBinds(oesBinds, fragPlat, fragSource); in Specialize() 656 ret->plat_.program = device_.CacheProgram(vertSource, fragSource, string_view()); in Specialize()
|
H A D | device_gles.h | 183 …BASE_NS::string_view vertSource, BASE_NS::string_view fragSource, BASE_NS::string_view compSource);
|
H A D | device_gles.cpp | 1434 const string_view vertSource, const string_view fragSource, const string_view compSource) in CacheProgram() argument 1439 const auto& fEntry = CacheShader(DeviceGLES::FRAGMENT_CACHE, fragSource); in CacheProgram()
|