Module webrender::device [] [src]

Reexports

use super::shader_source;
use api::ColorF;
use api::ImageDescriptor;
use api::ImageFormat;
use api::DeviceIntPoint;
use api::DeviceIntRect;
use api::DeviceUintRect;
use api::DeviceUintSize;
use euclid::Transform3D;
use gleam::gl;
use internal_types::FastHashMap;
use internal_types::RenderTargetInfo;
use smallvec::SmallVec;
use std::cell::RefCell;
use std::fs::File;
use std::io::Read;
use std::iter::repeat;
use std::marker::PhantomData;
use std::mem;
use std::ops::Add;
use std::path::PathBuf;
use std::ptr;
use std::rc::Rc;
use std::thread;

Structs

Capabilities
CustomVAO
Device
ExternalTexture
FBOId
FrameId
IBOId
PBO
PixelBuffer
Program
ProgramBinary
ProgramCache
ProgramSources
RBOId
Stream
Texture
TextureSlot
TextureUploader
UniformLocation
UploadChunk
UploadTarget
VAO
VBO
VBOId
VertexAttribute
VertexDescriptor

Enums

DepthFunction
FBOTarget
ShaderError
TextureFilter
TextureTarget
UploadMethod

Method of uploading texel data from CPU to GPU.

VertexAttributeKind
VertexUsageHint

Constants

DEFAULT_TEXTURE
GL_FORMAT_A
GL_FORMAT_BGRA_GL
GL_FORMAT_BGRA_GLES
SHADER_IMPORT
SHADER_KIND_FRAGMENT
SHADER_KIND_VERTEX
SHADER_LINE_MARKER
SHADER_VERSION_GL
SHADER_VERSION_GLES

Traits

FileWatcherHandler

Functions

build_shader_strings
get_gl_format_bgra
get_shader_source
get_shader_version
gl_texture_formats_for_image_format

return (gl_internal_format, gl_format)

gl_type_for_texture_format
parse_shader_source