Home
last modified time | relevance | path

Searched refs:TextureRef (Results 1 – 22 of 22) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
Dmtl_resources.h42 using TextureRef = std::shared_ptr<Texture>; variable
136 TextureRef *refOut);
143 TextureRef *refOut);
151 TextureRef *refOut);
160 TextureRef *refOut);
170 TextureRef *refOut);
180 TextureRef *refOut);
181 static TextureRef MakeFromMetal(id<MTLTexture> metalTexture);
217 TextureRef createCubeFaceView(uint32_t face);
219 TextureRef createSliceMipView(uint32_t slice, const MipmapNativeLevel &level);
[all …]
DRenderTargetMtl.h35 void set(const mtl::TextureRef &texture,
39 void setWithImplicitMSTexture(const mtl::TextureRef &texture,
40 const mtl::TextureRef &implicitMSTexture,
44 void setTexture(const mtl::TextureRef &texture);
45 void setImplicitMSTexture(const mtl::TextureRef &implicitMSTexture);
49 mtl::TextureRef getTexture() const { return mTexture.lock(); } in getTexture()
50 mtl::TextureRef getImplicitMSTexture() const { return mImplicitMSTexture.lock(); } in getImplicitMSTexture()
DRenderTargetMtl.mm28 void RenderTargetMtl::set(const mtl::TextureRef &texture,
36 void RenderTargetMtl::setWithImplicitMSTexture(const mtl::TextureRef &texture,
37 const mtl::TextureRef &implicitMSTexture,
49 void RenderTargetMtl::setTexture(const mtl::TextureRef &texture)
54 void RenderTargetMtl::setImplicitMSTexture(const mtl::TextureRef &implicitMSTexture)
76 mtl::TextureRef implicitMSTex = getImplicitMSTexture();
77 mtl::TextureRef tex = getTexture();
DTextureMtl.h28 mtl::TextureRef image;
183 const mtl::TextureRef &getNativeTexture() const { return mNativeTexture; } in getNativeTexture()
198 mtl::TextureRef createImageViewFromNativeTexture(GLuint cubeFaceOrZero,
203 const mtl::TextureRef &texture);
205 mtl::TextureRef &getImage(const gl::ImageIndex &imageIndex);
209 mtl::TextureRef &getImplicitMSTexture(const gl::ImageIndex &imageIndex);
284 const mtl::TextureRef &sourceTexture);
296 const mtl::TextureRef &sourceTexture);
311 const mtl::TextureRef &image);
324 const mtl::TextureRef &image);
[all …]
Dmtl_resources.mm139 TextureRef *refOut)
157 TextureRef *refOut)
177 TextureRef *refOut)
198 TextureRef *refOut)
223 TextureRef *refOut)
250 TextureRef *refOut)
279 TextureRef *refOut)
292 TextureRef *refOut)
326 TextureRef *refOut)
355 TextureRef Texture::MakeFromMetal(id<MTLTexture> metalTexture)
[all …]
DImageMtl.h42 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture()
55 mtl::TextureRef mNativeTexture;
69 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture()
79 mtl::TextureRef mNativeTexture;
Dmtl_command_buffer.h226 CommandEncoder &markResourceBeingWrittenByGPU(const TextureRef &texture);
410 RenderCommandEncoder &setVertexTexture(const TextureRef &texture, uint32_t index) in setVertexTexture()
437 RenderCommandEncoder &setFragmentTexture(const TextureRef &texture, uint32_t index) in setFragmentTexture()
465 const TextureRef &texture,
467 RenderCommandEncoder &setRWTexture(gl::ShaderType, const TextureRef &, uint32_t index);
554 void initWriteDependency(const TextureRef &texture);
613 const TextureRef &dst,
619 BlitCommandEncoder &copyTextureToBuffer(const TextureRef &src,
630 BlitCommandEncoder &copyTexture(const TextureRef &src,
633 const TextureRef &dst,
[all …]
Dmtl_utils.h37 const TextureRef &texture,
42 const TextureRef &texture,
48 const TextureRef &texture,
55 const TextureRef &texture,
61 const TextureRef &texture,
69 const TextureRef &texture,
DSurfaceMtl.h78 const mtl::TextureRef &getColorTexture() { return mColorTexture; } in getColorTexture()
102 mtl::TextureRef mColorTexture;
103 mtl::TextureRef mDepthTexture;
104 mtl::TextureRef mStencilTexture;
107 mtl::TextureRef mMSColorTexture;
DRenderBufferMtl.h60 mtl::TextureRef mTexture;
61 mtl::TextureRef mImplicitMSTexture;
Dmtl_render_utils.h76 TextureRef src;
103 TextureRef srcStencil;
113 TextureRef dstStencil;
157 TextureRef texture;
465 const TextureRef &srcTexture,
508 const TextureRef &texture,
614 const TextureRef &srcTexture);
658 const TextureRef &srcTexture,
DContextMtl.h364 mtl::RenderCommandEncoder *getTextureRenderCommandEncoder(const mtl::TextureRef &textureTarget,
393 angle::Result copy2DTextureSlice0Level0ToWorkTexture(const mtl::TextureRef &srcTexture);
394 const mtl::TextureRef &getWorkTexture() const { return mWorkTexture; } in getWorkTexture()
396 const mtl::TextureRef &srcTexture,
596 mtl::TextureRef mWorkTexture;
631 mtl::TextureRef mDummyXFBRenderTexture;
DTextureMtl.mm39 gl::ImageIndex GetZeroLevelIndex(const mtl::TextureRef &image)
62 gl::ImageIndex GetCubeOrArraySliceMipIndex(const mtl::TextureRef &image,
91 gl::ImageIndex GetLayerMipIndex(const mtl::TextureRef &image, uint32_t layer, uint32_t level)
361 const mtl::TextureRef &texture)
400 const mtl::TextureRef &texture)
472 const mtl::TextureRef &texture)
524 const mtl::TextureRef &texture)
669 for (mtl::TextureRef &view : mNativeLevelViews)
757 mtl::TextureRef &imageToTransfer = mTexImageDefs[face][imageMipLevel].image;
851 mtl::TextureRef &image = getImage(index);
[all …]
DFrameBufferMtl.h194 mtl::TextureRef *readableDepthView,
195 mtl::TextureRef *readableStencilView,
Dmtl_utils.mm275 bool GetCompressedBufferSizeAndRowLengthForTextureWithFormat(const TextureRef &texture,
300 const TextureRef &texture,
352 const TextureRef &texture,
393 const TextureRef &texture,
481 const TextureRef &texture,
572 const TextureRef &texture,
608 const TextureRef &texture,
641 const TextureRef &texture,
1587 mtl::TextureRef texture =
Dmtl_state_cache.h324 TextureRef texture;
327 TextureRef implicitMSTexture;
Dmtl_command_buffer.mm1161 CommandEncoder &CommandEncoder::markResourceBeingWrittenByGPU(const TextureRef &texture)
1436 TextureRef texture = attachment.texture;
1450 inline void RenderCommandEncoder::initWriteDependency(const TextureRef &texture)
1897 const TextureRef &texture,
1924 const TextureRef &texture,
2315 const TextureRef &dst,
2343 BlitCommandEncoder &BlitCommandEncoder::copyTextureToBuffer(const TextureRef &src,
2377 BlitCommandEncoder &BlitCommandEncoder::copyTexture(const TextureRef &src,
2380 const TextureRef &dst,
2434 BlitCommandEncoder &BlitCommandEncoder::generateMipmapsForTexture(const TextureRef &texture)
[all …]
DFrameBufferMtl.mm31 void OverrideMTLClearColor(const mtl::TextureRef &texture,
959 mtl::TextureRef *readableDepthViewOut,
960 mtl::TextureRef *readableStencilViewOut,
966 mtl::TextureRef srcTexture = rtt.getTexture();
1018 mtl::TextureRef formatableView = srcTexture->getReadableCopy(
1164 const mtl::TextureRef &texture = colorAttachment.texture;
1246 const mtl::TextureRef &texture = colorAttachment.texture;
1573 mtl::TextureRef texture;
1691 mtl::TextureRef texture = renderTarget->getTexture();
Dmtl_render_utils.mm463 int GetShaderTextureType(const TextureRef &texture)
860 const TextureRef &srcTexture)
991 const TextureRef &srcTexture,
2431 const TextureRef &srcTexture,
2511 const TextureRef &firstMipView =
2559 const TextureRef &texture,
Dmtl_state_cache.mm136 id<MTLTexture> ToObjC(const TextureRef &texture)
145 const TextureRef &implicitMsTexture = src.implicitMSTexture;
DSurfaceMtl.mm47 mtl::TextureRef *textureOut)
DContextMtl.mm1932 const mtl::TextureRef &textureTarget,
2915 angle::Result ContextMtl::copy2DTextureSlice0Level0ToWorkTexture(const mtl::TextureRef &srcTexture)
2941 const mtl::TextureRef &srcTexture,