| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 // This file contains the GLES2DecoderPassthroughImpl class. | 5 // This file contains the GLES2DecoderPassthroughImpl class. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 void InsertError(GLenum error, const std::string& message); | 296 void InsertError(GLenum error, const std::string& message); |
| 297 GLenum PopError(); | 297 GLenum PopError(); |
| 298 bool FlushErrors(); | 298 bool FlushErrors(); |
| 299 | 299 |
| 300 bool IsEmulatedQueryTarget(GLenum target) const; | 300 bool IsEmulatedQueryTarget(GLenum target) const; |
| 301 error::Error ProcessQueries(bool did_finish); | 301 error::Error ProcessQueries(bool did_finish); |
| 302 void RemovePendingQuery(GLuint service_id); | 302 void RemovePendingQuery(GLuint service_id); |
| 303 | 303 |
| 304 void UpdateTextureBinding(GLenum target, GLuint client_id, GLuint service_id); | 304 void UpdateTextureBinding(GLenum target, GLuint client_id, GLuint service_id); |
| 305 | 305 |
| 306 error::Error BindTexImage2DCHROMIUMImpl(GLenum target, |
| 307 GLenum internalformat, |
| 308 GLint image_id); |
| 309 |
| 306 int commands_to_process_; | 310 int commands_to_process_; |
| 307 | 311 |
| 308 DebugMarkerManager debug_marker_manager_; | 312 DebugMarkerManager debug_marker_manager_; |
| 309 Logger logger_; | 313 Logger logger_; |
| 310 | 314 |
| 311 #define GLES2_CMD_OP(name) \ | 315 #define GLES2_CMD_OP(name) \ |
| 312 Error Handle##name(uint32_t immediate_data_size, const volatile void* data); | 316 Error Handle##name(uint32_t immediate_data_size, const volatile void* data); |
| 313 | 317 |
| 314 GLES2_COMMAND_LIST(GLES2_CMD_OP) | 318 GLES2_COMMAND_LIST(GLES2_CMD_OP) |
| 315 #undef GLES2_CMD_OP | 319 #undef GLES2_CMD_OP |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 405 |
| 402 // Include the prototypes of all the doer functions from a separate header to | 406 // Include the prototypes of all the doer functions from a separate header to |
| 403 // keep this file clean. | 407 // keep this file clean. |
| 404 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" | 408 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp
es.h" |
| 405 }; | 409 }; |
| 406 | 410 |
| 407 } // namespace gles2 | 411 } // namespace gles2 |
| 408 } // namespace gpu | 412 } // namespace gpu |
| 409 | 413 |
| 410 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ | 414 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ |
| OLD | NEW |