Searched refs:current_buffer_ (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/tint/src/writer/ |
D | text_generator.h | 96 void increment_indent() { current_buffer_->IncrementIndent(); } in increment_indent() 98 void decrement_indent() { current_buffer_->DecrementIndent(); } in decrement_indent() 216 LineWriter line() { return LineWriter(current_buffer_); } in line() 230 TextBuffer* current_buffer_ = &main_buffer_; variable
|
D | text_generator.cc | 144 : ScopedIndent(generator->current_buffer_) {} in ScopedIndent()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl.cc | 101 auto helpers_insertion_point = current_buffer_->lines.size(); in Generate() 113 if (current_buffer_->lines.size() != last_padding_line) { in Generate() 116 last_padding_line = current_buffer_->lines.size(); in Generate() 127 if (!EmitStructType(current_buffer_, builder_.Sem().Get(str))) { in Generate() 149 current_buffer_->Insert("", helpers_insertion_point++, 0); in Generate() 150 current_buffer_->Insert(helpers_, helpers_insertion_point++, 0); in Generate() 1606 EmitStructMembers(current_buffer_, str); in EmitUniformVariable() 1625 EmitStructMembers(current_buffer_, str); in EmitStorageVariable() 2125 TINT_SCOPED_ASSIGNMENT(current_buffer_, &init_buf); in EmitForLoop() 2134 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cond_pre); in EmitForLoop() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl.cc | 203 auto helpers_insertion_point = current_buffer_->lines.size(); in Generate() 256 current_buffer_->Insert("", helpers_insertion_point++, 0); in Generate() 257 current_buffer_->Insert(helpers_, helpers_insertion_point++, 0); in Generate() 265 if (!EmitStructType(current_buffer_, str)) { in EmitTypeDecl() 1842 TINT_SCOPED_ASSIGNMENT(current_buffer_, &init_buf); in EmitForLoop() 1851 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cond_pre); in EmitForLoop() 1859 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cont_buf); in EmitForLoop() 1878 current_buffer_->Append(init_buf); in EmitForLoop() 1890 current_buffer_->Append(cont_buf); in EmitForLoop() 1903 current_buffer_->Append(cond_pre); in EmitForLoop()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl.cc | 1002 TINT_SCOPED_ASSIGNMENT(current_buffer_, &init_buf); in EmitForLoop() 1010 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cont_buf); in EmitForLoop() 1030 init_buf.lines[i].indent += current_buffer_->current_indent; in EmitForLoop() 1055 cont_buf.lines[i].indent += current_buffer_->current_indent; in EmitForLoop()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.cc | 219 if (current_buffer_->lines.size() != last_padding_line) { in Generate() 222 last_padding_line = current_buffer_->lines.size(); in Generate() 243 if (!EmitStructType(current_buffer_, ty)) { in Generate() 265 current_buffer_->Insert(helpers_, 0, 0); in Generate() 3090 TINT_SCOPED_ASSIGNMENT(current_buffer_, &init_buf); in EmitForLoop() 3099 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cond_pre); in EmitForLoop() 3107 TINT_SCOPED_ASSIGNMENT(current_buffer_, &cont_buf); in EmitForLoop() 3122 current_buffer_->Append(init_buf); in EmitForLoop() 3128 current_buffer_->Append(cont_buf); in EmitForLoop() 3141 current_buffer_->Append(cond_pre); in EmitForLoop()
|