OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 return parse_error::kParseNoError; | 112 return parse_error::kParseNoError; |
113 } | 113 } |
114 | 114 |
115 parse_error::ParseError CommonDecoder::HandleSetToken( | 115 parse_error::ParseError CommonDecoder::HandleSetToken( |
116 uint32 arg_count, | 116 uint32 arg_count, |
117 const cmd::SetToken& args) { | 117 const cmd::SetToken& args) { |
118 engine_->set_token(args.token); | 118 engine_->set_token(args.token); |
119 return parse_error::kParseNoError; | 119 return parse_error::kParseNoError; |
120 } | 120 } |
121 | 121 |
| 122 parse_error::ParseError CommonDecoder::HandleJump( |
| 123 uint32 arg_count, |
| 124 const cmd::Jump& args) { |
| 125 DCHECK(false); // TODO(gman): Implement. |
| 126 return parse_error::kParseNoError; |
| 127 } |
| 128 |
| 129 parse_error::ParseError CommonDecoder::HandleJumpRelative( |
| 130 uint32 arg_count, |
| 131 const cmd::JumpRelative& args) { |
| 132 DCHECK(false); // TODO(gman): Implement. |
| 133 return parse_error::kParseNoError; |
| 134 } |
| 135 |
| 136 parse_error::ParseError CommonDecoder::HandleCall( |
| 137 uint32 arg_count, |
| 138 const cmd::Call& args) { |
| 139 DCHECK(false); // TODO(gman): Implement. |
| 140 return parse_error::kParseNoError; |
| 141 } |
| 142 |
| 143 parse_error::ParseError CommonDecoder::HandleCallRelative( |
| 144 uint32 arg_count, |
| 145 const cmd::CallRelative& args) { |
| 146 DCHECK(false); // TODO(gman): Implement. |
| 147 return parse_error::kParseNoError; |
| 148 } |
| 149 |
| 150 parse_error::ParseError CommonDecoder::HandleReturn( |
| 151 uint32 arg_count, |
| 152 const cmd::Return& args) { |
| 153 DCHECK(false); // TODO(gman): Implement. |
| 154 return parse_error::kParseNoError; |
| 155 } |
| 156 |
| 157 parse_error::ParseError CommonDecoder::HandleSetBucketSize( |
| 158 uint32 arg_count, |
| 159 const cmd::SetBucketSize& args) { |
| 160 DCHECK(false); // TODO(gman): Implement. |
| 161 return parse_error::kParseNoError; |
| 162 } |
| 163 |
| 164 parse_error::ParseError CommonDecoder::HandleSetBucketData( |
| 165 uint32 arg_count, |
| 166 const cmd::SetBucketData& args) { |
| 167 DCHECK(false); // TODO(gman): Implement. |
| 168 return parse_error::kParseNoError; |
| 169 } |
| 170 |
| 171 parse_error::ParseError CommonDecoder::HandleSetBucketDataImmediate( |
| 172 uint32 arg_count, |
| 173 const cmd::SetBucketDataImmediate& args) { |
| 174 DCHECK(false); // TODO(gman): Implement. |
| 175 return parse_error::kParseNoError; |
| 176 } |
| 177 |
| 178 parse_error::ParseError CommonDecoder::HandleGetResultSize( |
| 179 uint32 arg_count, |
| 180 const cmd::GetResultSize& args) { |
| 181 DCHECK(false); // TODO(gman): Implement. |
| 182 return parse_error::kParseNoError; |
| 183 } |
| 184 |
| 185 parse_error::ParseError CommonDecoder::HandleGetResultData( |
| 186 uint32 arg_count, |
| 187 const cmd::GetResultData& args) { |
| 188 DCHECK(false); // TODO(gman): Implement. |
| 189 return parse_error::kParseNoError; |
| 190 } |
| 191 |
122 } // namespace command_buffer | 192 } // namespace command_buffer |
OLD | NEW |