OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:samplerState
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
RenderStateCache.cpp
329
std::size_t RenderStateCache::hashSamplerState(const gl::
SamplerState
&
samplerState
)
334
MurmurHash3_x86_32(&
samplerState
, sizeof(gl::
SamplerState
), seed, &hash);
338
bool RenderStateCache::compareSamplerStates(const gl::
SamplerState
&a, const gl::
SamplerState
&b)
340
return memcmp(&a, &b, sizeof(gl::
SamplerState
)) == 0;
343
ID3D11SamplerState *RenderStateCache::getSamplerState(const gl::
SamplerState
&
samplerState
)
351
SamplerStateMap::iterator i = mSamplerStateCache.find(
samplerState
);
[
all
...]
RenderStateCache.h
33
ID3D11SamplerState *getSamplerState(const gl::
SamplerState
&
samplerState
);
83
static std::size_t hashSamplerState(const gl::
SamplerState
&
samplerState
);
84
static bool compareSamplerStates(const gl::
SamplerState
&a, const gl::
SamplerState
&b);
87
typedef std::size_t (*SamplerStateHashFunction)(const gl::
SamplerState
&);
88
typedef bool (*SamplerStateEqualityFunction)(const gl::
SamplerState
&, const gl::
SamplerState
&);
90
typedef std::unordered_map<gl::
SamplerState
,
[
all
...]
Renderer9.cpp
754
void Renderer9::setSamplerState(gl::SamplerType type, int index, const gl::
SamplerState
&
samplerState
)
757
gl::
SamplerState
*appliedSamplers = (type == gl::SAMPLER_PIXEL) ? mCurPixelSamplerStates: mCurVertexSamplerStates;
759
if (forceSetSamplers[index] || memcmp(&
samplerState
, &appliedSamplers[index], sizeof(gl::
SamplerState
)) != 0)
764
mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSU, gl_d3d9::ConvertTextureWrap(
samplerState
.wrapS));
765
mDevice->SetSamplerState(d3dSampler, D3DSAMP_ADDRESSV, gl_d3d9::ConvertTextureWrap(
samplerState
.wrapT));
767
mDevice->SetSamplerState(d3dSampler, D3DSAMP_MAGFILTER, gl_d3d9::ConvertMagFilter(
samplerState
.magFilter,
samplerState
.maxAnisotropy));
769
gl_d3d9::ConvertMinFilter(
samplerState
.minFilter, &d3dMinFilter, &d3dMipFilter, samplerState.maxAnisotropy)
[
all
...]
Renderer11.cpp
530
void Renderer11::setSamplerState(gl::SamplerType type, int index, const gl::
SamplerState
&
samplerState
)
540
if (mForceSetPixelSamplerStates[index] || memcmp(&
samplerState
, &mCurPixelSamplerStates[index], sizeof(gl::
SamplerState
)) != 0)
542
ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(
samplerState
);
552
mCurPixelSamplerStates[index] =
samplerState
;
565
if (mForceSetVertexSamplerStates[index] || memcmp(&
samplerState
, &mCurVertexSamplerStates[index], sizeof(gl::
SamplerState
)) != 0)
567
ID3D11SamplerState *dxSamplerState = mStateCache.getSamplerState(
samplerState
);
577
mCurVertexSamplerStates[index] =
samplerState
;
[
all
...]
/external/chromium_org/third_party/angle/src/libGLESv2/
Context.cpp
[
all
...]
Completed in 32 milliseconds