forked from mirrors/gecko-dev
		
	 e1d0fe64bb
			
		
	
	
		e1d0fe64bb
		
	
	
	
	
		
			
			* Context loss using RAII * Move Program reflection Client-side Depends on D54018 Differential Revision: https://phabricator.services.mozilla.com/D54019 --HG-- extra : moz-landing-system : lando
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			693 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			693 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 | |
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| #ifndef WEBGL_VERTEX_ARRAY_GL_H_
 | |
| #define WEBGL_VERTEX_ARRAY_GL_H_
 | |
| 
 | |
| #include "WebGLVertexArray.h"
 | |
| 
 | |
| namespace mozilla {
 | |
| 
 | |
| class WebGLVertexArrayGL final : public WebGLVertexArray {
 | |
|  public:
 | |
|   const GLuint mGLName;
 | |
| 
 | |
|   explicit WebGLVertexArrayGL(WebGLContext* webgl);
 | |
|   ~WebGLVertexArrayGL() override;
 | |
| 
 | |
|   virtual void BindVertexArray() override;
 | |
| };
 | |
| 
 | |
| }  // namespace mozilla
 | |
| 
 | |
| #endif  // WEBGL_VERTEX_ARRAY_GL_H_
 |