Searched refs:mColorFormat (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | SurfaceD3D.cpp | 43 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()
|
D | SurfaceD3D.h | 99 const angle::Format *mColorFormat; variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Surface.cpp | 94 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 …]
|
D | Surface.h | 181 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/ |
D | D3DTextureSurfaceWGL.cpp | 252 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()
|
D | D3DTextureSurfaceWGL.h | 88 const angle::Format *mColorFormat; variable
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | SurfaceMtl.mm | 81 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);
|
D | IOSurfaceSurfaceMtl.mm | 90 mColorFormat = 146 [MTLTextureDescriptor texture2DDescriptorWithPixelFormat:mColorFormat.metalFormat 161 mColorRenderTarget.set(mColorTexture, mtl::kZeroNativeMipLevel, 0, mColorFormat);
|
D | SurfaceMtl.h | 80 const mtl::Format &getColorFormat() const { return mColorFormat; } in getColorFormat() 111 mtl::Format mColorFormat; variable
|