Home
last modified time | relevance | path

Searched refs:TextureFormat (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/gl/
H A Dcontext.hpp112 TextureFormat format = Image::channels == 4 ? TextureFormat::RGBA
113 : TextureFormat::Alpha>
115 static_assert(Image::channels == (format == TextureFormat::RGBA ? 4 : 1), in readFramebuffer()
123 auto format = image.channels == 4 ? TextureFormat::RGBA : TextureFormat::Alpha; in drawPixels()
133 auto format = image.channels == 4 ? TextureFormat::RGBA : TextureFormat::Alpha; in createTexture()
142 auto format = image.channels == 4 ? TextureFormat::RGBA : TextureFormat::Alpha; in updateTexture()
149 TextureFormat format = TextureFormat::RGBA, in createTexture()
274 … UniqueTexture createTexture(Size size, const void* data, TextureFormat, TextureUnit, TextureType);
275 …void updateTexture(TextureID, Size size, const void* data, TextureFormat, TextureUnit, TextureType…
278 std::unique_ptr<uint8_t[]> readFramebuffer(Size, TextureFormat, bool flip);
[all …]
H A Dcontext.cpp59 static_assert(std::is_same<std::underlying_type_t<TextureFormat>, GLenum>::value, "OpenGL type mism…
60 static_assert(underlying_type(TextureFormat::RGBA) == GL_RGBA, "OpenGL type mismatch");
61 static_assert(underlying_type(TextureFormat::Alpha) == GL_ALPHA, "OpenGL type mismatch");
386 std::unique_ptr<uint8_t[]> Context::readFramebuffer(const Size size, const TextureFormat format, co… in readFramebuffer()
387 const size_t stride = size.width * (format == TextureFormat::RGBA ? 4 : 1); in readFramebuffer()
411 void Context::drawPixels(const Size size, const void* data, TextureFormat format) { in drawPixels()
413 if (format != TextureFormat::RGBA) { in drawPixels()
414 format = static_cast<TextureFormat>(GL_LUMINANCE); in drawPixels()
530 Context::createTexture(const Size size, const void* data, TextureFormat format, TextureUnit unit, T… in createTexture()
544 …TextureID id, const Size size, const void* data, TextureFormat format, TextureUnit unit, TextureTy… in updateTexture()
H A Dtypes.hpp58 enum class TextureFormat : uint32_t { enum
/OK3568_Linux_fs/kernel/drivers/video/fbdev/riva/
H A Driva_hw.h288 U032 TextureFormat; member
319 U032 TextureFormat; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Doffscreen_texture.cpp28 texture = context.createTexture(size, gl::TextureFormat::RGBA, 0, type); in bind()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drenderer_impl.cpp536 …auto image = parameters.context.readFramebuffer<AlphaImage, gl::TextureFormat::Stencil>(viewport.s… in render()
621 …auto image = parameters.context.readFramebuffer<AlphaImage, gl::TextureFormat::Depth>(viewport.siz… in render()