Home
last modified time | relevance | path

Searched refs:WriteColor (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A DFormat_table_autogen.cpp35 { FormatID::A16_FLOAT, GL_ALPHA16F_EXT, GL_ALPHA16F_EXT, GenerateMip<A16F>, NoCopyFunctions, ReadColor<A16F, GLfloat>, WriteColor<A16F, GLfloat>, GL_FLOAT, 0, 0, 0, 16, 0, 0, 0, 2, 1, false, false, false, false, false, gl::VertexAttribType::Float },
36 { FormatID::A1R5G5B5_UNORM, GL_A1RGB5_ANGLEX, GL_A1RGB5_ANGLEX, GenerateMip<A1R5G5B5>, NoCopyFunctions, ReadColor<A1R5G5B5, GLfloat>, WriteColor<A1R5G5B5, GLfloat>, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
43 { FormatID::A32_FLOAT, GL_ALPHA32F_EXT, GL_ALPHA32F_EXT, GenerateMip<A32F>, NoCopyFunctions, ReadColor<A32F, GLfloat>, WriteColor<A32F, GLfloat>, GL_FLOAT, 0, 0, 0, 32, 0, 0, 0, 4, 3, false, false, false, false, false, gl::VertexAttribType::Float },
44 { FormatID::A8_UNORM, GL_ALPHA8_EXT, GL_ALPHA8_EXT, GenerateMip<A8>, NoCopyFunctions, ReadColor<A8, GLfloat>, WriteColor<A8, GLfloat>, GL_UNSIGNED_NORMALIZED, 0, 0, 0, 8, 0, 0, 0, 1, 0, false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
93 { FormatID::B10G10R10A2_UNORM, GL_BGR10_A2_ANGLEX, GL_BGR10_A2_ANGLEX, GenerateMip<B10G10R10A2>, NoCopyFunctions, ReadColor<B10G10R10A2, GLfloat>, WriteColor<B10G10R10A2, GLfloat>, GL_UNSIGNED_NORMALIZED, 10, 10, 10, 2, 0, 0, 0, 4, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::UnsignedInt2101010 },
94 { FormatID::B4G4R4A4_UNORM, GL_BGRA4_ANGLEX, GL_RGBA4, GenerateMip<A4R4G4B4>, NoCopyFunctions, ReadColor<A4R4G4B4, GLfloat>, WriteColor<A4R4G4B4, GLfloat>, GL_UNSIGNED_NORMALIZED, 4, 4, 4, 4, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
95 { FormatID::B5G5R5A1_UNORM, GL_BGR5_A1_ANGLEX, GL_RGB5_A1, GenerateMip<A1R5G5B5>, NoCopyFunctions, ReadColor<A1R5G5B5, GLfloat>, WriteColor<A1R5G5B5, GLfloat>, GL_UNSIGNED_NORMALIZED, 5, 5, 5, 1, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
96 { FormatID::B5G6R5_UNORM, GL_BGR565_ANGLEX, GL_RGB565, GenerateMip<B5G6R5>, NoCopyFunctions, ReadColor<B5G6R5, GLfloat>, WriteColor<B5G6R5, GLfloat>, GL_UNSIGNED_NORMALIZED, 5, 6, 5, 0, 0, 0, 0, 2, std::numeric_limits<GLuint>::max(), false, false, false, false, false, gl::VertexAttribType::InvalidEnum },
97 { FormatID::B8G8R8A8_TYPELESS, GL_BGRA8_EXT, GL_BGRA8_EXT, GenerateMip<B8G8R8A8>, NoCopyFunctions, ReadColor<B8G8R8A8, GLfloat>, WriteColor<B8G8R8A8, GLfloat>, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, false, false, gl::VertexAttribType::UnsignedByte },
98 { FormatID::B8G8R8A8_TYPELESS_SRGB, GL_BGRA8_SRGB_ANGLEX, GL_BGRA8_SRGB_ANGLEX, GenerateMip<B8G8R8A8>, NoCopyFunctions, ReadColor<B8G8R8A8, GLfloat>, WriteColor<B8G8R8A
[all...]
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Dterm.rs4 use termcolor::{ColorChoice, WriteColor};
88 writer: &mut dyn WriteColor, in emit()
/third_party/rust/crates/codespan/codespan-reporting/tests/support/
H A Dcolor_buffer.rs3 use termcolor::{ColorSpec, WriteColor};
28 /// understand what real WriteColor implementations would do, it tries
29 /// to approximate the contract in the WriteColor trait: "Subsequent
66 impl WriteColor for ColorBuffer {
H A Dmod.rs4 use termcolor::{Buffer, WriteColor};
16 fn emit<W: WriteColor>(&'files self, mut writer: W, config: &Config) -> W { in emit()
/third_party/skia/third_party/externals/angle2/src/image_util/
H A Dcopyimage.h25 void WriteColor(const uint8_t *source, uint8_t *dest);
/third_party/rust/crates/syn/tests/
H A Dzzz_stable.rs4 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
/third_party/rust/crates/termcolor/src/
H A Dlib.rs15 The `WriteColor` trait extends the `io::Write` trait with methods for setting
18 `StandardStream` and `StandardStreamLock` both satisfy `WriteColor` and are
29 `Ansi` and `NoColor` both satisfy `WriteColor` for arbitrary implementors of
36 except it is augmented with methods for coloring by the `WriteColor` trait.
42 use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};
54 [`WriteColor::set_color`](trait.WriteColor.html#tymethod.set_color), and this
55 may include calling [`WriteColor::reset`](trait.WriteColor.html#tymethod.reset)
61 does *not* implement `io::Write` or `WriteColor` itsel
132 pub trait WriteColor: io::Write { global() traits
167 impl<'a, T: ?Sized + WriteColor> WriteColor for &'a mut T { global() impls
[all...]
/third_party/rust/crates/cxx/gen/src/
H A Derror.rs5 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor};
114 fn display_syn_error(stderr: &mut dyn WriteColor, path: &Path, source: &str, error: syn::Error) { in display_syn_error()
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Derror.rs5 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor};
114 fn display_syn_error(stderr: &mut dyn WriteColor, path: &Path, source: &str, error: syn::Error) { in display_syn_error()
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Derror.rs5 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor};
114 fn display_syn_error(stderr: &mut dyn WriteColor, path: &Path, source: &str, error: syn::Error) { in display_syn_error()
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Derror.rs5 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream, WriteColor};
114 fn display_syn_error(stderr: &mut dyn WriteColor, path: &Path, source: &str, error: syn::Error) { in display_syn_error()
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
H A Dextern_impl.rs9 use termcolor::{self, ColorChoice, ColorSpec, WriteColor};
483 /// paired with the `Ansi` `WriteColor` implementation.
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs12 use codespan_reporting::term::termcolor::{Color, ColorSpec, StandardStream, WriteColor};
227 impl<W: WriteColor> WriteColor for HtmlEscapeWriter<W> {
265 impl<W: Write> WriteColor for SvgWriter<W> {
/third_party/rust/crates/codespan/codespan-reporting/src/term/
H A Drenderer.rs3 use termcolor::{ColorSpec, WriteColor};
112 writer: &'writer mut dyn WriteColor,
119 writer: &'writer mut dyn WriteColor, in new()
971 impl<'writer, 'config> WriteColor for Renderer<'writer, 'config> {

Completed in 8 milliseconds