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.h41 using TextureRef = std::shared_ptr<Texture>; variable
110 TextureRef *refOut);
117 TextureRef *refOut);
125 TextureRef *refOut);
134 TextureRef *refOut);
144 TextureRef *refOut);
154 TextureRef *refOut);
162 TextureRef *refOut);
164 static TextureRef MakeFromMetal(id<MTLTexture> metalTexture);
198 TextureRef createCubeFaceView(uint32_t face);
[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.h27 mtl::TextureRef image;
172 const mtl::TextureRef &getNativeTexture() const { return mNativeTexture; } in getNativeTexture()
187 mtl::TextureRef createImageViewFromNativeTexture(GLuint cubeFaceOrZero,
192 const mtl::TextureRef &texture);
194 mtl::TextureRef &getImage(const gl::ImageIndex &imageIndex);
198 mtl::TextureRef &getImplicitMSTexture(const gl::ImageIndex &imageIndex);
273 const mtl::TextureRef &sourceTexture);
285 const mtl::TextureRef &sourceTexture);
300 const mtl::TextureRef &image);
313 const mtl::TextureRef &image);
[all …]
Dmtl_resources.mm111 TextureRef *refOut)
129 TextureRef *refOut)
149 TextureRef *refOut)
170 TextureRef *refOut)
195 TextureRef *refOut)
222 TextureRef *refOut)
249 TextureRef *refOut)
268 TextureRef *refOut)
281 TextureRef *refOut)
307 TextureRef *refOut)
[all …]
DImageMtl.h41 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture()
54 mtl::TextureRef mNativeTexture;
68 const mtl::TextureRef &getTexture() const { return mNativeTexture; } in getTexture()
78 mtl::TextureRef mNativeTexture;
Dmtl_command_buffer.h180 CommandEncoder &markResourceBeingWrittenByGPU(const TextureRef &texture);
361 RenderCommandEncoder &setVertexTexture(const TextureRef &texture, uint32_t index) in setVertexTexture()
388 RenderCommandEncoder &setFragmentTexture(const TextureRef &texture, uint32_t index) in setFragmentTexture()
416 const TextureRef &texture,
492 void initWriteDependency(const TextureRef &texture);
550 const TextureRef &dst,
556 BlitCommandEncoder &copyTextureToBuffer(const TextureRef &src,
567 BlitCommandEncoder &copyTexture(const TextureRef &src,
570 const TextureRef &dst,
578 BlitCommandEncoder &generateMipmapsForTexture(const TextureRef &texture);
[all …]
Dmtl_utils.h40 const TextureRef &texture,
46 const TextureRef &texture,
53 const TextureRef &texture,
59 const TextureRef &texture,
67 const TextureRef &texture,
DSurfaceMtl.h79 const mtl::TextureRef &getColorTexture() { return mColorTexture; } in getColorTexture()
98 mtl::TextureRef mColorTexture;
99 mtl::TextureRef mDepthTexture;
100 mtl::TextureRef mStencilTexture;
103 mtl::TextureRef mMSColorTexture;
DRenderBufferMtl.h59 mtl::TextureRef mTexture;
60 mtl::TextureRef mImplicitMSTexture;
Dmtl_render_utils.h67 TextureRef src;
95 TextureRef srcStencil;
105 TextureRef dstStencil;
149 TextureRef texture;
451 const TextureRef &srcTexture,
488 const TextureRef &texture,
608 const TextureRef &srcTexture);
652 const TextureRef &srcTexture,
DTextureMtl.mm37 gl::ImageIndex GetZeroLevelIndex(const mtl::TextureRef &image)
60 gl::ImageIndex GetCubeOrArraySliceMipIndex(const mtl::TextureRef &image,
89 gl::ImageIndex GetLayerMipIndex(const mtl::TextureRef &image, uint32_t layer, uint32_t level)
279 const mtl::TextureRef &texture)
318 const mtl::TextureRef &texture)
390 const mtl::TextureRef &texture)
523 for (mtl::TextureRef &view : mNativeLevelViews)
614 mtl::TextureRef &imageToTransfer = mTexImageDefs[face][imageMipLevel].image;
703 mtl::TextureRef &image = getImage(index);
739 mtl::TextureRef TextureMtl::createImageViewFromNativeTexture(
[all …]
DFrameBufferMtl.h186 mtl::TextureRef *readableDepthView,
187 mtl::TextureRef *readableStencilView,
Dmtl_command_buffer.mm912 CommandEncoder &CommandEncoder::markResourceBeingWrittenByGPU(const TextureRef &texture)
1152 TextureRef texture = attachment.texture;
1166 inline void RenderCommandEncoder::initWriteDependency(const TextureRef &texture)
1596 const TextureRef &texture,
1965 const TextureRef &dst,
1993 BlitCommandEncoder &BlitCommandEncoder::copyTextureToBuffer(const TextureRef &src,
2027 BlitCommandEncoder &BlitCommandEncoder::copyTexture(const TextureRef &src,
2030 const TextureRef &dst,
2084 BlitCommandEncoder &BlitCommandEncoder::generateMipmapsForTexture(const TextureRef &texture)
2230 ComputeCommandEncoder &ComputeCommandEncoder::setTexture(const TextureRef &texture, uint32_t index)
[all …]
Dmtl_state_cache.h306 TextureRef texture;
309 TextureRef implicitMSTexture;
DFrameBufferMtl.mm30 void OverrideMTLClearColor(const mtl::TextureRef &texture,
881 mtl::TextureRef *readableDepthViewOut,
882 mtl::TextureRef *readableStencilViewOut,
888 mtl::TextureRef srcTexture = rtt.getTexture();
940 mtl::TextureRef formatableView = srcTexture->getReadableCopy(
1074 const mtl::TextureRef &texture = colorAttachment.texture;
1117 const mtl::TextureRef &texture = colorAttachment.texture;
1380 mtl::TextureRef texture;
1472 mtl::TextureRef texture = renderTarget->getTexture();
Dmtl_utils.mm268 const TextureRef &texture,
346 const TextureRef &texture,
437 const TextureRef &texture,
481 const TextureRef &texture,
514 const TextureRef &texture,
DContextMtl.h347 mtl::RenderCommandEncoder *getTextureRenderCommandEncoder(const mtl::TextureRef &textureTarget,
556 mtl::TextureRef mDummyXFBRenderTexture;
Dmtl_render_utils.mm472 int GetShaderTextureType(const TextureRef &texture)
1029 const TextureRef &srcTexture)
1157 const TextureRef &srcTexture,
2570 const TextureRef &srcTexture,
2660 const TextureRef &firstMipView =
2716 const TextureRef &texture,
Dmtl_state_cache.mm180 id<MTLTexture> ToObjC(const TextureRef &texture)
189 const TextureRef &implicitMsTexture = src.implicitMSTexture;
DSurfaceMtl.mm47 mtl::TextureRef *textureOut)
DContextMtl.mm1498 const mtl::TextureRef &textureTarget,