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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 1882503002: Remove setErrorMessageCallback from WebGraphicsContext3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@errorcallback
Patch Set: weberrors: owned Created 4 years, 8 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // ContextSupport implementation. 201 // ContextSupport implementation.
202 void Swap() override; 202 void Swap() override;
203 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 203 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
204 void CommitOverlayPlanes() override; 204 void CommitOverlayPlanes() override;
205 void ScheduleOverlayPlane(int plane_z_order, 205 void ScheduleOverlayPlane(int plane_z_order,
206 gfx::OverlayTransform plane_transform, 206 gfx::OverlayTransform plane_transform,
207 unsigned overlay_texture_id, 207 unsigned overlay_texture_id,
208 const gfx::Rect& display_bounds, 208 const gfx::Rect& display_bounds,
209 const gfx::RectF& uv_rect) override; 209 const gfx::RectF& uv_rect) override;
210 uint64_t ShareGroupTracingGUID() const override; 210 uint64_t ShareGroupTracingGUID() const override;
211 void SetErrorMessageCallback(
212 const base::Callback<void(const char*, int32_t)>& callback) override;
211 213
212 void SetErrorMessageCallback( 214 // TODO(danakj): Move to ContextSupport once ContextProvider doesn't need to
213 const base::Callback<void(const char*, int32_t)>& callback); 215 // intercept it.
214 void SetLostContextCallback(const base::Closure& callback); 216 void SetLostContextCallback(const base::Closure& callback);
215 217
216 void GetProgramInfoCHROMIUMHelper(GLuint program, 218 void GetProgramInfoCHROMIUMHelper(GLuint program,
217 std::vector<int8_t>* result); 219 std::vector<int8_t>* result);
218 GLint GetAttribLocationHelper(GLuint program, const char* name); 220 GLint GetAttribLocationHelper(GLuint program, const char* name);
219 GLint GetUniformLocationHelper(GLuint program, const char* name); 221 GLint GetUniformLocationHelper(GLuint program, const char* name);
220 GLint GetFragDataIndexEXTHelper(GLuint program, const char* name); 222 GLint GetFragDataIndexEXTHelper(GLuint program, const char* name);
221 GLint GetFragDataLocationHelper(GLuint program, const char* name); 223 GLint GetFragDataLocationHelper(GLuint program, const char* name);
222 bool GetActiveAttribHelper( 224 bool GetActiveAttribHelper(
223 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, 225 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length,
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 892
891 inline bool GLES2Implementation::GetTexParameterivHelper( 893 inline bool GLES2Implementation::GetTexParameterivHelper(
892 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 894 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
893 return false; 895 return false;
894 } 896 }
895 897
896 } // namespace gles2 898 } // namespace gles2
897 } // namespace gpu 899 } // namespace gpu
898 900
899 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 901 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('k') | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698