Home | History | Annotate | Download | only in common

Lines Matching defs:ConstPixelBufferAccess

308  * ConstPixelBufferAccess encapsulates pixel data pointer along with
315 class ConstPixelBufferAccess
318 ConstPixelBufferAccess (void);
319 ConstPixelBufferAccess (const TextureLevel& level);
320 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, const void* data);
321 ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const void* data);
322 ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data);
323 ConstPixelBufferAccess (const TextureFormat& format, const IVec3& size, const IVec3& pitch, const void* data);
373 * PixelBufferAccess to ConstPixelBufferAccess.
375 class PixelBufferAccess : public ConstPixelBufferAccess
422 ConstPixelBufferAccess getAccess (void) const { return isEmpty() ? ConstPixelBufferAccess() : ConstPixelBufferAccess(m_format, m_size, calculatePackedPitch(m_format, m_size), getPtr()); }
432 friend class ConstPixelBufferAccess;
435 Vec4 sampleLevelArray1D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, int level, float lod);
436 Vec4 sampleLevelArray2D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, int depth, float lod);
437 Vec4 sampleLevelArray3D (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod);
439 Vec4 sampleLevelArray1DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float lod, const IVec2& offset);
440 Vec4 sampleLevelArray2DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float lod, const IVec3& offset);
441 Vec4 sampleLevelArray3DOffset (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float s, float t, float r, float lod, const IVec3& offset);
443 float sampleLevelArray1DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float lod, const IVec2& offset);
444 float sampleLevelArray2DCompare (const ConstPixelBufferAccess* levels, int numLevels, const Sampler& sampler, float ref, float s, float t, float lod, const IVec3& offset);
446 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
447 Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
489 Texture1DView (int numLevels, const ConstPixelBufferAccess* levels);
493 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
494 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
503 const ConstPixelBufferAccess* m_levels;
506 inline Texture1DView::Texture1DView (int numLevels, const ConstPixelBufferAccess* levels)
539 Texture2DView (int numLevels, const ConstPixelBufferAccess* levels);
544 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
545 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
557 const ConstPixelBufferAccess* m_levels;
560 inline Texture2DView::Texture2DView (int numLevels, const ConstPixelBufferAccess* levels)
611 const ConstPixelBufferAccess& getLevel (int levelNdx) const { DE_ASSERT(de::inBounds(levelNdx, 0, getNumLevels())); return m_access[(size_t)levelNdx]; }
614 const ConstPixelBufferAccess* getLevels (void) const { return &m_access[0]; }
752 TextureCubeView (int numLevels, const ConstPixelBufferAccess* const (&levels)[CUBEFACE_LAST]);
756 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[face][ndx]; }
757 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; }
767 const ConstPixelBufferAccess* m_levels[CUBEFACE_LAST];
784 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, getNumLevels())); return m_access[face][(size_t)ndx]; }
837 Texture1DArrayView (int numLevels, const ConstPixelBufferAccess* levels);
842 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
843 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
854 const ConstPixelBufferAccess* m_levels;
863 Texture2DArrayView (int numLevels, const ConstPixelBufferAccess* levels);
869 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
870 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
884 const ConstPixelBufferAccess* m_levels;
1020 Texture3DView (int numLevels, const ConstPixelBufferAccess* levels);
1026 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
1027 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
1034 const ConstPixelBufferAccess* m_levels;
1099 TextureCubeArrayView (int numLevels, const ConstPixelBufferAccess* levels);
1105 const ConstPixelBufferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[ndx]; }
1106 const ConstPixelBufferAccess* getLevels (void) const { return m_levels; }
1117 const ConstPixelBufferAccess* m_levels;
1181 std::ostream& operator<< (std::ostream& str, const ConstPixelBufferAccess& access);