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

Side by Side Diff: Source/WebCore/html/canvas/WebGLGetInfo.h

Issue 8218017: Merge 96726 - Mask underlying RENDERER and VENDOR strings (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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 * Copyright (C) 2009 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 kTypeWebGLFramebuffer, 63 kTypeWebGLFramebuffer,
64 kTypeWebGLIntArray, 64 kTypeWebGLIntArray,
65 kTypeWebGLObjectArray, 65 kTypeWebGLObjectArray,
66 kTypeWebGLProgram, 66 kTypeWebGLProgram,
67 kTypeWebGLRenderbuffer, 67 kTypeWebGLRenderbuffer,
68 kTypeWebGLTexture, 68 kTypeWebGLTexture,
69 kTypeWebGLUnsignedByteArray, 69 kTypeWebGLUnsignedByteArray,
70 kTypeWebGLVertexArrayObjectOES, 70 kTypeWebGLVertexArrayObjectOES,
71 }; 71 };
72 72
73 WebGLGetInfo(bool value); 73 explicit WebGLGetInfo(bool value);
74 WebGLGetInfo(const bool* value, int size); 74 WebGLGetInfo(const bool* value, int size);
75 WebGLGetInfo(float value); 75 explicit WebGLGetInfo(float value);
76 WebGLGetInfo(int value); 76 explicit WebGLGetInfo(int value);
77 // Represents the null value and type. 77 // Represents the null value and type.
78 WebGLGetInfo(); 78 WebGLGetInfo();
79 WebGLGetInfo(const String& value); 79 explicit WebGLGetInfo(const String& value);
80 WebGLGetInfo(unsigned int value); 80 explicit WebGLGetInfo(unsigned int value);
81 WebGLGetInfo(PassRefPtr<WebGLBuffer> value); 81 explicit WebGLGetInfo(PassRefPtr<WebGLBuffer> value);
82 WebGLGetInfo(PassRefPtr<Float32Array> value); 82 explicit WebGLGetInfo(PassRefPtr<Float32Array> value);
83 WebGLGetInfo(PassRefPtr<WebGLFramebuffer> value); 83 explicit WebGLGetInfo(PassRefPtr<WebGLFramebuffer> value);
84 WebGLGetInfo(PassRefPtr<Int32Array> value); 84 explicit WebGLGetInfo(PassRefPtr<Int32Array> value);
85 // FIXME: implement WebGLObjectArray 85 // FIXME: implement WebGLObjectArray
86 // WebGLGetInfo(PassRefPtr<WebGLObjectArray> value); 86 // WebGLGetInfo(PassRefPtr<WebGLObjectArray> value);
87 WebGLGetInfo(PassRefPtr<WebGLProgram> value); 87 explicit WebGLGetInfo(PassRefPtr<WebGLProgram> value);
88 WebGLGetInfo(PassRefPtr<WebGLRenderbuffer> value); 88 explicit WebGLGetInfo(PassRefPtr<WebGLRenderbuffer> value);
89 WebGLGetInfo(PassRefPtr<WebGLTexture> value); 89 explicit WebGLGetInfo(PassRefPtr<WebGLTexture> value);
90 WebGLGetInfo(PassRefPtr<Uint8Array> value); 90 explicit WebGLGetInfo(PassRefPtr<Uint8Array> value);
91 WebGLGetInfo(PassRefPtr<WebGLVertexArrayObjectOES> value); 91 explicit WebGLGetInfo(PassRefPtr<WebGLVertexArrayObjectOES> value);
92 92
93 virtual ~WebGLGetInfo(); 93 virtual ~WebGLGetInfo();
94 94
95 Type getType() const; 95 Type getType() const;
96 96
97 bool getBool() const; 97 bool getBool() const;
98 const Vector<bool>& getBoolArray() const; 98 const Vector<bool>& getBoolArray() const;
99 float getFloat() const; 99 float getFloat() const;
100 int getInt() const; 100 int getInt() const;
101 const String& getString() const; 101 const String& getString() const;
(...skipping 27 matching lines...) Expand all
129 RefPtr<WebGLProgram> m_webglProgram; 129 RefPtr<WebGLProgram> m_webglProgram;
130 RefPtr<WebGLRenderbuffer> m_webglRenderbuffer; 130 RefPtr<WebGLRenderbuffer> m_webglRenderbuffer;
131 RefPtr<WebGLTexture> m_webglTexture; 131 RefPtr<WebGLTexture> m_webglTexture;
132 RefPtr<Uint8Array> m_webglUnsignedByteArray; 132 RefPtr<Uint8Array> m_webglUnsignedByteArray;
133 RefPtr<WebGLVertexArrayObjectOES> m_webglVertexArrayObject; 133 RefPtr<WebGLVertexArrayObjectOES> m_webglVertexArrayObject;
134 }; 134 };
135 135
136 } // namespace WebCore 136 } // namespace WebCore
137 137
138 #endif // WebGLGetInfo_h 138 #endif // WebGLGetInfo_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698