Lines Matching defs:init
45 void NormalizeInitState(gpu::gles2::GLES2DecoderTestBase::InitState* init) {
46 CHECK(init);
54 if (init->extensions.find(kVAOExtensions[ii]) != std::string::npos) {
59 if (init->use_native_vao) {
62 if (!init->extensions.empty())
63 init->extensions += " ";
64 if (StartsWithASCII(init->gl_version, "opengl es", false)) {
65 init->extensions += kVAOExtensions[0];
68 init->extensions += kVAOExtensions[1];
70 init->extensions += kVAOExtensions[2];
115 InitState init;
116 init.gl_version = "3.0";
117 init.has_alpha = true;
118 init.has_depth = true;
119 init.request_alpha = true;
120 init.request_depth = true;
121 init.bind_generates_resource = true;
122 InitDecoder(init);
145 void GLES2DecoderTestBase::InitDecoder(const InitState& init) {
146 InitDecoderWithCommandLine(init, NULL);
150 const InitState& init,
152 InitState normalized_init = init;