Home
last modified time | relevance | path

Searched refs:mColorFormat (Results 1 – 14 of 14) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/
DSurfaceD3D.cpp43 mColorFormat(nullptr), in SurfaceD3D()
109 &mColorFormat, nullptr)); in initialize()
112 if (mColorFormat->id != angle::FormatID::R8G8B8A8_TYPELESS && in initialize()
113 mColorFormat->id != angle::FormatID::B8G8R8A8_TYPELESS) in initialize()
119 if (mColorFormat->id == angle::FormatID::R8G8B8A8_TYPELESS) in initialize()
125 mColorFormat = &angle::Format::Get(angle::FormatID::R8G8B8A8_TYPELESS_SRGB); in initialize()
128 if (mColorFormat->id == angle::FormatID::B8G8R8A8_TYPELESS) in initialize()
134 mColorFormat = &angle::Format::Get(angle::FormatID::B8G8R8A8_TYPELESS_SRGB); in initialize()
137 mRenderTargetFormat = mColorFormat->fboImplementationInternalFormat; in initialize()
435 return mColorFormat; in getD3DTextureColorFormat()
DSurfaceD3D.h103 const angle::Format *mColorFormat; variable
/external/angle/src/libANGLE/
DSurface.cpp98 mColorFormat(config->renderTargetFormat), in Surface()
220 mColorFormat = gl::Format(mState.config->renderTargetFormat); in initialize()
242 mColorFormat = gl::Format(internalFormat, type); in initialize()
249 mColorFormat = gl::Format(internalFormat, colorFormat->componentType); in initialize()
251 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
631 return (binding == GL_BACK ? mColorFormat : mDSFormat); in getAttachmentFormat()
840 const gl::InternalFormat &format = *mColorFormat.info; in getRedOffset()
853 const gl::InternalFormat &format = *mColorFormat.info; in getGreenOffset()
866 const gl::InternalFormat &format = *mColorFormat.info; in getBlueOffset()
879 const gl::InternalFormat &format = *mColorFormat.info; in getAlphaOffset()
[all …]
DSurface.h195 const gl::Format &getBindTexImageFormat() const { return mColorFormat; } in getBindTexImageFormat()
293 gl::Format mColorFormat; variable
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp267 mColorFormat(nullptr), in D3DTextureSurfaceWGL()
320 &mWidth, &mHeight, &mColorFormat, &mObject, &device)); in initialize()
322 if (mColorFormat) in initialize()
326 if (mColorFormat->id != angle::FormatID::R8G8B8A8_TYPELESS && in initialize()
327 mColorFormat->id != angle::FormatID::B8G8R8A8_TYPELESS) in initialize()
515 return mColorFormat; in getD3DTextureColorFormat()
DD3DTextureSurfaceWGL.h92 const angle::Format *mColorFormat; variable
/external/libmpeg2/fuzzer/
Dmpeg2_dec_fuzzer.cpp80 IV_COLOR_FORMAT_T mColorFormat; member in Codec
92 mColorFormat = colorFormat; in Codec()
140 fill_mem_ip.e_output_format = mColorFormat; in createCodec()
188 init_ip.s_ivd_init_ip_t.e_output_format = mColorFormat; in createCodec()
295 switch (mColorFormat) { in allocFrame()
/external/libavc/fuzzer/
Davc_dec_fuzzer.cpp92 IV_COLOR_FORMAT_T mColorFormat; member in Codec
101 mColorFormat = colorFormat; in Codec()
118 create_ip.s_ivd_create_ip_t.e_output_format = mColorFormat; in createCodec()
217 switch (mColorFormat) { in allocFrame()
Dsvc_dec_fuzzer.cpp117 IV_COLOR_FORMAT_T mColorFormat; member in Codec
127 mColorFormat = colorFormat; in Codec()
146 create_ip.s_ivd_create_ip_t.e_output_format = mColorFormat; in createCodec()
274 switch(mColorFormat) in allocFrame()
Dmvc_dec_fuzzer.cpp103 IV_COLOR_FORMAT_T mColorFormat; member in Codec
110 : mCodec(nullptr), mColorFormat(colorFormat), mNumCores(numCores), mWidth(0), mHeight(0) in Codec()
/external/libhevc/fuzzer/
Dhevc_dec_fuzzer.cpp92 IV_COLOR_FORMAT_T mColorFormat; member in Codec
101 mColorFormat = colorFormat; in Codec()
120 create_ip.s_ivd_create_ip_t.e_output_format = mColorFormat; in createCodec()
221 switch (mColorFormat) { in allocFrame()
/external/angle/src/libANGLE/renderer/metal/
DIOSurfaceSurfaceMtl.mm111 mColorFormat = display->getPixelFormat(actualAngleFormatId);
166 [MTLTextureDescriptor texture2DDescriptorWithPixelFormat:mColorFormat.metalFormat
180 mColorFormat, mColorTexture->widthAt0(), mColorTexture->heightAt0(),
187 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
DSurfaceMtl.mm87 mColorFormat = display->getPixelFormat(angle::FormatID::B8G8R8A8_UNORM);
361 ANGLE_TRY(CreateOrResizeTexture(context, mColorFormat, size.width, size.height, mSamples,
416 mColorFormat);
420 context, encoder, mColorFormat.actualAngleFormat(), mMSColorTexture));
480 mMetalLayer.get().pixelFormat = mColorFormat.metalFormat;
689 mtl::kZeroNativeMipLevel, 0, mColorFormat);
815 ANGLE_TRY(CreateOrResizeTexture(context, mColorFormat, mSize.width, mSize.height, 1,
818 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
DSurfaceMtl.h79 const mtl::Format &getColorFormat() const { return mColorFormat; } in getColorFormat()
117 mtl::Format mColorFormat; variable