| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #define WebGLDebugRendererInfo_h | 27 #define WebGLDebugRendererInfo_h |
| 28 | 28 |
| 29 #include "modules/webgl/WebGLExtension.h" | 29 #include "modules/webgl/WebGLExtension.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class WebGLDebugRendererInfo final : public WebGLExtension { | 33 class WebGLDebugRendererInfo final : public WebGLExtension { |
| 34 DEFINE_WRAPPERTYPEINFO(); | 34 DEFINE_WRAPPERTYPEINFO(); |
| 35 public: | 35 public: |
| 36 enum EnumType { | 36 enum EnumType { |
| 37 UNMASKED_VENDOR_WEBGL = 0x9245, | 37 kUnmaskedVendorWebgl = 0x9245, |
| 38 UNMASKED_RENDERER_WEBGL = 0x9246 | 38 kUnmaskedRendererWebgl = 0x9246 |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 static WebGLDebugRendererInfo* create(WebGLRenderingContextBase*); | 41 static WebGLDebugRendererInfo* create(WebGLRenderingContextBase*); |
| 42 static bool supported(WebGLRenderingContextBase*); | 42 static bool supported(WebGLRenderingContextBase*); |
| 43 static const char* extensionName(); | 43 static const char* extensionName(); |
| 44 | 44 |
| 45 ~WebGLDebugRendererInfo() override; | 45 ~WebGLDebugRendererInfo() override; |
| 46 WebGLExtensionName name() const override; | 46 WebGLExtensionName name() const override; |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 explicit WebGLDebugRendererInfo(WebGLRenderingContextBase*); | 49 explicit WebGLDebugRendererInfo(WebGLRenderingContextBase*); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| 53 | 53 |
| 54 #endif // WebGLDebugRendererInfo_h | 54 #endif // WebGLDebugRendererInfo_h |
| OLD | NEW |