Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2379203002: implement getBufferSubDataAsync prototype (Closed)
Patch Set: small clarification Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 bool isAccelerated() const override { return true; } 642 bool isAccelerated() const override { return true; }
643 void setIsHidden(bool) override; 643 void setIsHidden(bool) override;
644 bool paintRenderingResultsToCanvas(SourceDrawingBuffer) override; 644 bool paintRenderingResultsToCanvas(SourceDrawingBuffer) override;
645 WebLayer* platformLayer() const override; 645 WebLayer* platformLayer() const override;
646 void stop() override; 646 void stop() override;
647 647
648 void addSharedObject(WebGLSharedObject*); 648 void addSharedObject(WebGLSharedObject*);
649 void addContextObject(WebGLContextObject*); 649 void addContextObject(WebGLContextObject*);
650 void detachAndRemoveAllObjects(); 650 void detachAndRemoveAllObjects();
651 651
652 void destroyContext(); 652 virtual void destroyContext();
653 void markContextChanged(ContentChangeType); 653 void markContextChanged(ContentChangeType);
654 654
655 void onErrorMessage(const char*, int32_t id); 655 void onErrorMessage(const char*, int32_t id);
656 656
657 void notifyCanvasContextChanged(); 657 void notifyCanvasContextChanged();
658 658
659 // Query if depth_stencil buffer is supported. 659 // Query if depth_stencil buffer is supported.
660 bool isDepthStencilSupported() { return m_isDepthStencilSupported; } 660 bool isDepthStencilSupported() { return m_isDepthStencilSupported; }
661 661
662 // Helper to return the size in bytes of OpenGL data types 662 // Helper to return the size in bytes of OpenGL data types
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 context, 1550 context,
1551 context->is3d(), 1551 context->is3d(),
1552 context.is3d()); 1552 context.is3d());
1553 1553
1554 } // namespace blink 1554 } // namespace blink
1555 1555
1556 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS( 1556 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(
1557 blink::WebGLRenderingContextBase::TextureUnitState); 1557 blink::WebGLRenderingContextBase::TextureUnitState);
1558 1558
1559 #endif // WebGLRenderingContextBase_h 1559 #endif // WebGLRenderingContextBase_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698