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

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

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: NON_EXPORTED_BASE Created 3 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; 193 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override;
194 void CommitOverlayPlanes() override; 194 void CommitOverlayPlanes() override;
195 void ScheduleOverlayPlane(int plane_z_order, 195 void ScheduleOverlayPlane(int plane_z_order,
196 gfx::OverlayTransform plane_transform, 196 gfx::OverlayTransform plane_transform,
197 unsigned overlay_texture_id, 197 unsigned overlay_texture_id,
198 const gfx::Rect& display_bounds, 198 const gfx::Rect& display_bounds,
199 const gfx::RectF& uv_rect) override; 199 const gfx::RectF& uv_rect) override;
200 uint64_t ShareGroupTracingGUID() const override; 200 uint64_t ShareGroupTracingGUID() const override;
201 void SetErrorMessageCallback( 201 void SetErrorMessageCallback(
202 const base::Callback<void(const char*, int32_t)>& callback) override; 202 const base::Callback<void(const char*, int32_t)>& callback) override;
203 void AddLatencyInfo(
204 const std::vector<ui::LatencyInfo>& latency_info) override;
203 205
204 // TODO(danakj): Move to ContextSupport once ContextProvider doesn't need to 206 // TODO(danakj): Move to ContextSupport once ContextProvider doesn't need to
205 // intercept it. 207 // intercept it.
206 void SetLostContextCallback(const base::Closure& callback); 208 void SetLostContextCallback(const base::Closure& callback);
207 209
208 void GetProgramInfoCHROMIUMHelper(GLuint program, 210 void GetProgramInfoCHROMIUMHelper(GLuint program,
209 std::vector<int8_t>* result); 211 std::vector<int8_t>* result);
210 GLint GetAttribLocationHelper(GLuint program, const char* name); 212 GLint GetAttribLocationHelper(GLuint program, const char* name);
211 GLint GetUniformLocationHelper(GLuint program, const char* name); 213 GLint GetUniformLocationHelper(GLuint program, const char* name);
212 GLint GetFragDataIndexEXTHelper(GLuint program, const char* name); 214 GLint GetFragDataIndexEXTHelper(GLuint program, const char* name);
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 877
876 inline bool GLES2Implementation::GetTexParameterivHelper( 878 inline bool GLES2Implementation::GetTexParameterivHelper(
877 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 879 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
878 return false; 880 return false;
879 } 881 }
880 882
881 } // namespace gles2 883 } // namespace gles2
882 } // namespace gpu 884 } // namespace gpu
883 885
884 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 886 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/context_support.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698