| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| index 05c70693791ff5d76091a2f23ca4bed1378b4f61..b69598763f309804dd3c04ce113184437af2a6ff 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| @@ -287,6 +287,8 @@ class GLES2DecoderPassthroughImpl : public GLES2Decoder {
|
| bool IsEmulatedQueryTarget(GLenum target) const;
|
| error::Error ProcessQueries(bool did_finish);
|
|
|
| + void UpdateTextureBinding(GLenum target, GLuint client_id, GLuint service_id);
|
| +
|
| int commands_to_process_;
|
|
|
| DebugMarkerManager debug_marker_manager_;
|
| @@ -347,7 +349,7 @@ class GLES2DecoderPassthroughImpl : public GLES2Decoder {
|
|
|
| // State tracking of currently bound 2D textures (client IDs)
|
| size_t active_texture_unit_;
|
| - std::vector<GLuint> bound_textures_;
|
| + std::unordered_map<GLenum, std::vector<GLuint>> bound_textures_;
|
|
|
| // Track the service-id to type of all queries for validation
|
| struct QueryInfo {
|
|
|