| OLD | NEW | 
|   1 // Copyright 2014 The Chromium Authors. All rights reserved. |   1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #ifndef MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ |   5 #ifndef MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ | 
|   6 #define MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ |   6 #define MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ | 
|   7  |   7  | 
|   8 #include <stdint.h> |   8 #include <stdint.h> | 
|   9  |   9  | 
 |  10 #include "mojo/public/c/gles2/gles2_export.h" | 
 |  11 #include "mojo/public/c/gles2/gles2_types.h" | 
|  10 #include "mojo/public/c/system/async_waiter.h" |  12 #include "mojo/public/c/system/async_waiter.h" | 
|  11 #include "mojo/public/cpp/system/core.h" |  13 #include "mojo/public/cpp/system/core.h" | 
|  12 #include "mojo/public/gles2/gles2_export.h" |  | 
|  13 #include "mojo/public/gles2/gles2_types.h" |  | 
|  14  |  14  | 
|  15 namespace mojo { |  15 namespace mojo { | 
|  16 class GLES2Interface; |  16 class GLES2Interface; | 
|  17  |  17  | 
|  18 // Implementors of the GLES2 APIs can use this interface to install their |  18 // Implementors of the GLES2 APIs can use this interface to install their | 
|  19 // implementation into the mojo_gles2 dynamic library. Mojo clients should not |  19 // implementation into the mojo_gles2 dynamic library. Mojo clients should not | 
|  20 // call these functions directly. |  20 // call these functions directly. | 
|  21 class MOJO_GLES2_EXPORT GLES2Support { |  21 class MOJO_GLES2_EXPORT GLES2Support { | 
|  22  public: |  22  public: | 
|  23   virtual ~GLES2Support(); |  23   virtual ~GLES2Support(); | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
|  37   virtual void RequestAnimationFrames(MojoGLES2Context context) = 0; |  37   virtual void RequestAnimationFrames(MojoGLES2Context context) = 0; | 
|  38   virtual void CancelAnimationFrames(MojoGLES2Context context) = 0; |  38   virtual void CancelAnimationFrames(MojoGLES2Context context) = 0; | 
|  39   virtual void* GetGLES2Interface(MojoGLES2Context context) = 0; |  39   virtual void* GetGLES2Interface(MojoGLES2Context context) = 0; | 
|  40   virtual void* GetContextSupport(MojoGLES2Context context) = 0; |  40   virtual void* GetContextSupport(MojoGLES2Context context) = 0; | 
|  41   virtual GLES2Interface* GetGLES2InterfaceForCurrentContext() = 0; |  41   virtual GLES2Interface* GetGLES2InterfaceForCurrentContext() = 0; | 
|  42 }; |  42 }; | 
|  43  |  43  | 
|  44 }  // namespace mojo |  44 }  // namespace mojo | 
|  45  |  45  | 
|  46 #endif  // MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ |  46 #endif  // MOJO_PUBLIC_GLES2_GLES2_PRIVATE_H_ | 
| OLD | NEW |