Lines Matching refs:gles
35 Gles gles; in Load() local
36 gles.lib_ = GFXSTREAM_EXPECT(Lib::Load(kGles2Lib)); in Load()
40 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in Load()
41 gles.lib_.GetSymbol(#function_name)); \ in Load()
42 if (gles.function_name == nullptr) { \ in Load()
43 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in Load()
44 gles.lib_.GetSymbol(#function_name)); \ in Load()
46 if (gles.function_name == nullptr) { \ in Load()
47 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in Load()
48 gles.lib_.GetSymbol(#function_name "OES")); \ in Load()
50 if (gles.function_name == nullptr) { \ in Load()
51 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in Load()
52 gles.lib_.GetSymbol(#function_name "EXT")); \ in Load()
54 if (gles.function_name == nullptr) { \ in Load()
55 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in Load()
56 gles.lib_.GetSymbol(#function_name "ARB")); \ in Load()
61 gles.Init(); in Load()
63 return std::move(gles); in Load()
67 Gles gles; in LoadFromEgl() local
71 gles.function_name = reinterpret_cast<return_type(*) signature>( \ in LoadFromEgl()
76 gles.Init(); in LoadFromEgl()
78 return std::move(gles); in LoadFromEgl()