Home
last modified time | relevance | path

Searched refs:mColorFormat (Results 1 – 12 of 12) 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()
440 return mColorFormat; in getD3DTextureColorFormat()
DSurfaceD3D.h99 const angle::Format *mColorFormat; variable
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp252 mColorFormat(nullptr), in D3DTextureSurfaceWGL()
302 &mColorFormat, &mObject, &device)); in initialize()
304 if (mColorFormat) in initialize()
308 if (mColorFormat->id != angle::FormatID::R8G8B8A8_TYPELESS && in initialize()
309 mColorFormat->id != angle::FormatID::B8G8R8A8_TYPELESS) in initialize()
511 return mColorFormat; in getD3DTextureColorFormat()
DD3DTextureSurfaceWGL.h88 const angle::Format *mColorFormat; variable
/external/libmpeg2/fuzzer/
Dmpeg2_dec_fuzzer.cpp80 IV_COLOR_FORMAT_T mColorFormat; member in Codec
91 mColorFormat = colorFormat; in Codec()
137 fill_mem_ip.e_output_format = mColorFormat; in createCodec()
184 init_ip.s_ivd_init_ip_t.e_output_format = mColorFormat; in createCodec()
291 switch (mColorFormat) { in allocFrame()
/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()
220 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()
216 switch (mColorFormat) { in allocFrame()
/external/angle/src/libANGLE/
DSurface.cpp89 mColorFormat(config->renderTargetFormat), in Surface()
194 mColorFormat = gl::Format(mState.config->renderTargetFormat); in initialize()
216 mColorFormat = gl::Format(internalFormat, type); in initialize()
223 mColorFormat = gl::Format(internalFormat, colorFormat->componentType); in initialize()
225 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
568 return (binding == GL_BACK ? mColorFormat : mDSFormat); in getAttachmentFormat()
DSurface.h168 const gl::Format &getBindTexImageFormat() const { return mColorFormat; } in getBindTexImageFormat()
250 gl::Format mColorFormat; variable
/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.mm81 mColorFormat = display->getPixelFormat(angle::FormatID::B8G8R8A8_UNORM);
320 ANGLE_TRY(CreateOrResizeTexture(context, mColorFormat, size.width, size.height, mSamples,
371 mColorFormat);
375 context, encoder, mColorFormat.actualAngleFormat(), mMSColorTexture));
435 mMetalLayer.get().pixelFormat = mColorFormat.metalFormat;
637 mtl::kZeroNativeMipLevel, 0, mColorFormat);
748 ANGLE_TRY(CreateOrResizeTexture(context, mColorFormat, mSize.width, mSize.height, 1,
751 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
DIOSurfaceSurfaceMtl.mm90 mColorFormat =
146 [MTLTextureDescriptor texture2DDescriptorWithPixelFormat:mColorFormat.metalFormat
161 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
DSurfaceMtl.h80 const mtl::Format &getColorFormat() const { return mColorFormat; } in getColorFormat()
111 mtl::Format mColorFormat; variable