Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DSurface.cpp94 mColorFormat(config->renderTargetFormat), in Surface()
200 mColorFormat = gl::Format(mState.config->renderTargetFormat); in initialize()
222 mColorFormat = gl::Format(internalFormat, type); in initialize()
229 mColorFormat = gl::Format(internalFormat, colorFormat->componentType); in initialize()
231 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
579 return (binding == GL_BACK ? mColorFormat : mDSFormat); in getAttachmentFormat()
724 const gl::InternalFormat &format = *mColorFormat.info; in getRedOffset()
737 const gl::InternalFormat &format = *mColorFormat.info; in getGreenOffset()
750 const gl::InternalFormat &format = *mColorFormat.info; in getBlueOffset()
763 const gl::InternalFormat &format = *mColorFormat.info; in getAlphaOffset()
[all …]
DSurface.h181 const gl::Format &getBindTexImageFormat() const { return mColorFormat; } in getBindTexImageFormat()
262 gl::Format mColorFormat; variable
/third_party/skia/third_party/externals/angle2/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
/third_party/skia/third_party/externals/angle2/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