Searched refs:webGlContextAttributes_ (Results 1 – 2 of 2) sorted by relevance
135 if (webGlContextAttributes_ == nullptr) { in SetWebGLContextAttributes()137 if (webGlContextAttributes_ == nullptr) { in SetWebGLContextAttributes()143 webGlContextAttributes_->alpha_ = true; in SetWebGLContextAttributes()146 webGlContextAttributes_->depth_ = true; in SetWebGLContextAttributes()149 webGlContextAttributes_->stencil_ = true; in SetWebGLContextAttributes()152 webGlContextAttributes_->premultipliedAlpha_ = true; in SetWebGLContextAttributes()156 webGlContextAttributes_->preserveDrawingBuffer_ = true; in SetWebGLContextAttributes()163 webGlContextAttributes_->desynchronized_ = true; in SetWebGLContextAttributes()167 webGlContextAttributes_->powerPreference_ = highPerformance; in SetWebGLContextAttributes()172 webGlContextAttributes_->powerPreference_ = lowPower; in SetWebGLContextAttributes()[all …]
67 if (webGlContextAttributes_ == nullptr) { in CreateWebGlContextAttributes()68 webGlContextAttributes_ = std::make_shared<WebGLContextAttributes>(); in CreateWebGlContextAttributes()70 return webGlContextAttributes_; in CreateWebGlContextAttributes()87 std::shared_ptr<WebGLContextAttributes> webGlContextAttributes_ = nullptr; variable