Searched refs:SamplerState (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DRenderStateCache.h40 gl::Error getSamplerState(const gl::SamplerState &samplerState, ID3D11SamplerState **outSamplerState);
94 static std::size_t hashSamplerState(const gl::SamplerState &samplerState);
95 static bool compareSamplerStates(const gl::SamplerState &a, const gl::SamplerState &b);
98 typedef std::size_t (*SamplerStateHashFunction)(const gl::SamplerState &);
99 typedef bool (*SamplerStateEqualityFunction)(const gl::SamplerState &, const gl::SamplerState &);
101 typedef std::unordered_map<gl::SamplerState,
H A DRenderStateCache.cpp358 std::size_t RenderStateCache::hashSamplerState(const gl::SamplerState &samplerState)
363 MurmurHash3_x86_32(&samplerState, sizeof(gl::SamplerState), seed, &hash);
367 bool RenderStateCache::compareSamplerStates(const gl::SamplerState &a, const gl::SamplerState &b)
369 return memcmp(&a, &b, sizeof(gl::SamplerState)) == 0;
372 gl::Error RenderStateCache::getSamplerState(const gl::SamplerState &samplerState, ID3D11SamplerState **outSamplerState)
H A DRenderer11.h63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
249 std::vector<gl::SamplerState> mCurVertexSamplerStates;
252 std::vector<gl::SamplerState> mCurPixelSamplerStates;
H A DTextureStorage11.h44 virtual ID3D11ShaderResourceView *getSRV(const gl::SamplerState &samplerState);
H A DRenderer11.cpp433 void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState)
439 if (mForceSetPixelSamplerStates[index] || memcmp(&samplerState, &mCurPixelSamplerStates[index], sizeof(gl::SamplerState)) != 0)
461 if (mForceSetVertexSamplerStates[index] || memcmp(&samplerState, &mCurVertexSamplerStates[index], sizeof(gl::SamplerState)) != 0)
495 gl::SamplerState samplerState;
H A DTextureStorage11.cpp196 ID3D11ShaderResourceView *TextureStorage11::getSRV(const gl::SamplerState &samplerState)
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DSampler.cpp30 void Sampler::getState(SamplerState *samplerState) const
H A DSampler.h17 struct SamplerState;
44 void getState(SamplerState *samplerState) const;
H A DTexture.h42 bool IsMipmapFiltered(const gl::SamplerState &samplerState);
53 const SamplerState &getSamplerState() const { return mSamplerState; }
54 SamplerState &getSamplerState() { return mSamplerState; }
55 void getSamplerStateWithNativeOffset(SamplerState *sampler);
70 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const = 0;
92 SamplerState mSamplerState;
126 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const;
169 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const;
204 virtual bool isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const;
234 virtual bool isSamplerComplete(const SamplerState
[all...]
H A Dangletypes.cpp16 SamplerState::SamplerState() function in class:gl::SamplerState
35 bool SamplerState::swizzleRequired() const
H A Dangletypes.h137 struct SamplerState struct in namespace:gl
139 SamplerState();
H A DTexture.cpp28 bool IsMipmapFiltered(const gl::SamplerState &samplerState)
45 bool IsPointSampled(const gl::SamplerState &samplerState)
75 void Texture::getSamplerStateWithNativeOffset(SamplerState *sampler)
289 bool Texture2D::isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const
565 bool TextureCubeMap::isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const
764 bool Texture3D::isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const
922 bool Texture2DArray::isSamplerComplete(const SamplerState &samplerState, const TextureCapsMap &textureCaps, const Extensions &extensions, int clientVersion) const
H A DContext.cpp1431 SamplerState sampler;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DTextureImpl.h27 struct SamplerState;
H A DRenderer.h113 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler) = 0;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DRenderer9.h64 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
299 std::vector<gl::SamplerState> mCurVertexSamplerStates;
302 std::vector<gl::SamplerState> mCurPixelSamplerStates;
H A DRenderer9.cpp645 void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &samplerState)
648 std::vector<gl::SamplerState> &appliedSamplers = (type == gl::SAMPLER_PIXEL) ? mCurPixelSamplerStates: mCurVertexSamplerStates;
650 if (forceSetSamplers[index] || memcmp(&samplerState, &appliedSamplers[index], sizeof(gl::SamplerState)) != 0)
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_objects.h116 IMPLEMENT_OBJECT_DTOR(SamplerState, sampler)
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
H A Dd3d11_objects.h116 IMPLEMENT_OBJECT_DTOR(SamplerState, sampler)

Completed in 934 milliseconds