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

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

Issue 2539113002: [wrapper-tracing] Fix WebGL extension and attachment handling (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class WebGLRenderbuffer; 41 class WebGLRenderbuffer;
42 class WebGLTexture; 42 class WebGLTexture;
43 43
44 class WebGLFramebuffer final : public WebGLContextObject { 44 class WebGLFramebuffer final : public WebGLContextObject {
45 DEFINE_WRAPPERTYPEINFO(); 45 DEFINE_WRAPPERTYPEINFO();
46 46
47 public: 47 public:
48 class WebGLAttachment : public GarbageCollected<WebGLAttachment> { 48 class WebGLAttachment : public GarbageCollected<WebGLAttachment>,
49 public TraceWrapperBase {
49 public: 50 public:
50 virtual WebGLSharedObject* object() const = 0; 51 virtual WebGLSharedObject* object() const = 0;
51 virtual bool isSharedObject(WebGLSharedObject*) const = 0; 52 virtual bool isSharedObject(WebGLSharedObject*) const = 0;
52 virtual bool valid() const = 0; 53 virtual bool valid() const = 0;
53 virtual void onDetached(gpu::gles2::GLES2Interface*) = 0; 54 virtual void onDetached(gpu::gles2::GLES2Interface*) = 0;
54 virtual void attach(gpu::gles2::GLES2Interface*, 55 virtual void attach(gpu::gles2::GLES2Interface*,
55 GLenum target, 56 GLenum target,
56 GLenum attachment) = 0; 57 GLenum attachment) = 0;
57 virtual void unattach(gpu::gles2::GLES2Interface*, 58 virtual void unattach(gpu::gles2::GLES2Interface*,
58 GLenum target, 59 GLenum target,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 154
154 Vector<GLenum> m_drawBuffers; 155 Vector<GLenum> m_drawBuffers;
155 Vector<GLenum> m_filteredDrawBuffers; 156 Vector<GLenum> m_filteredDrawBuffers;
156 157
157 GLenum m_readBuffer; 158 GLenum m_readBuffer;
158 }; 159 };
159 160
160 } // namespace blink 161 } // namespace blink
161 162
162 #endif // WebGLFramebuffer_h 163 #endif // WebGLFramebuffer_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698