Fix more OSS warnings and build errors
-Wc++98-compat-extra-semi * in type_map.h -Winconsistent-missing-override * in gl_texture_buffer.h -Wdeprecated-declarations * usage of (absl) Status in * status_util.cc * api2/packet.h * output_stream_shard.cc -Wimplicit-const-int-float-conversion * Adds a static_cast to handle the precision loss when converting from large ints to floating point ANNOTATE_THREAD_NAME * explicitly uses ABSL_ANNOTATE_THREAD_NAME instead. This is useful in Chromium's build where there are multiple ANNOTATE_THREAD_NAME symbols Also ran clang-format over all of each edited file PiperOrigin-RevId: 537351290
This commit is contained in:
committed by
Copybara-Service
parent
9045a74ba3
commit
280bd320b4
@@ -91,9 +91,9 @@ class GlTextureBuffer
|
||||
// TODO: turn into a single call?
|
||||
GLuint name() const { return name_; }
|
||||
GLenum target() const { return target_; }
|
||||
int width() const { return width_; }
|
||||
int height() const { return height_; }
|
||||
GpuBufferFormat format() const { return format_; }
|
||||
int width() const override { return width_; }
|
||||
int height() const override { return height_; }
|
||||
GpuBufferFormat format() const override { return format_; }
|
||||
|
||||
GlTextureView GetReadView(internal::types<GlTextureView>,
|
||||
int plane) const override;
|
||||
|
||||
Reference in New Issue
Block a user