| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2009 Apple Inc. All rights reserved. | 2  * Copyright (C) 2009 Apple 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  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 628   bool isAccelerated() const override { return true; } | 628   bool isAccelerated() const override { return true; } | 
| 629   void setIsHidden(bool) override; | 629   void setIsHidden(bool) override; | 
| 630   bool paintRenderingResultsToCanvas(SourceDrawingBuffer) override; | 630   bool paintRenderingResultsToCanvas(SourceDrawingBuffer) override; | 
| 631   WebLayer* platformLayer() const override; | 631   WebLayer* platformLayer() const override; | 
| 632   void stop() override; | 632   void stop() override; | 
| 633 | 633 | 
| 634   void addSharedObject(WebGLSharedObject*); | 634   void addSharedObject(WebGLSharedObject*); | 
| 635   void addContextObject(WebGLContextObject*); | 635   void addContextObject(WebGLContextObject*); | 
| 636   void detachAndRemoveAllObjects(); | 636   void detachAndRemoveAllObjects(); | 
| 637 | 637 | 
| 638   void destroyContext(); | 638   virtual void destroyContext(); | 
| 639   void markContextChanged(ContentChangeType); | 639   void markContextChanged(ContentChangeType); | 
| 640 | 640 | 
| 641   void onErrorMessage(const char*, int32_t id); | 641   void onErrorMessage(const char*, int32_t id); | 
| 642 | 642 | 
| 643   void notifyCanvasContextChanged(); | 643   void notifyCanvasContextChanged(); | 
| 644 | 644 | 
| 645   // Query if depth_stencil buffer is supported. | 645   // Query if depth_stencil buffer is supported. | 
| 646   bool isDepthStencilSupported() { return m_isDepthStencilSupported; } | 646   bool isDepthStencilSupported() { return m_isDepthStencilSupported; } | 
| 647 | 647 | 
| 648   // Helper to return the size in bytes of OpenGL data types | 648   // Helper to return the size in bytes of OpenGL data types | 
| (...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1510                   context, | 1510                   context, | 
| 1511                   context->is3d(), | 1511                   context->is3d(), | 
| 1512                   context.is3d()); | 1512                   context.is3d()); | 
| 1513 | 1513 | 
| 1514 }  // namespace blink | 1514 }  // namespace blink | 
| 1515 | 1515 | 
| 1516 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 1516 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( | 
| 1517     blink::WebGLRenderingContextBase::TextureUnitState); | 1517     blink::WebGLRenderingContextBase::TextureUnitState); | 
| 1518 | 1518 | 
| 1519 #endif  // WebGLRenderingContextBase_h | 1519 #endif  // WebGLRenderingContextBase_h | 
| OLD | NEW | 
|---|