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

Side by Side Diff: gpu/command_buffer/client/context_support.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CONTEXT_SUPPORT_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void ScheduleOverlayPlane(int plane_z_order, 45 virtual void ScheduleOverlayPlane(int plane_z_order,
46 gfx::OverlayTransform plane_transform, 46 gfx::OverlayTransform plane_transform,
47 unsigned overlay_texture_id, 47 unsigned overlay_texture_id,
48 const gfx::Rect& display_bounds, 48 const gfx::Rect& display_bounds,
49 const gfx::RectF& uv_rect) = 0; 49 const gfx::RectF& uv_rect) = 0;
50 50
51 // Returns an ID that can be used to globally identify the share group that 51 // Returns an ID that can be used to globally identify the share group that
52 // this context's resources belong to. 52 // this context's resources belong to.
53 virtual uint64_t ShareGroupTracingGUID() const = 0; 53 virtual uint64_t ShareGroupTracingGUID() const = 0;
54 54
55 // Sets a callback to be run when an error occurs.
56 virtual void SetErrorMessageCallback(
57 const base::Callback<void(const char*, int32_t)>& callback) = 0;
58
55 protected: 59 protected:
56 ContextSupport() {} 60 ContextSupport() {}
57 virtual ~ContextSupport() {} 61 virtual ~ContextSupport() {}
58 }; 62 };
59 63
60 } 64 }
61 65
62 #endif // GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_ 66 #endif // GPU_COMMAND_BUFFER_CLIENT_CONTEXT_SUPPORT_H_
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698