/external/deqp/framework/opengl/simplereference/ |
D | sglrContextWrapper.hpp | 48 void glActiveTexture (deUint32 texture); 49 void glAttachShader (deUint32 program, deUint32 shader); 50 void glBindAttribLocation (deUint32 program, deUint32 index, const char* name); 51 void glBindBuffer (deUint32 target, deUint32 buffer); 52 void glBindFramebuffer (deUint32 target, deUint32 framebuffer); 53 void glBindRenderbuffer (deUint32 target, deUint32 renderbuffer); 54 void glBindTexture (deUint32 target, deUint32 texture); 56 void glBlendEquation (deUint32 mode); 57 void glBlendEquationSeparate (deUint32 modeRGB, deUint32 modeAlpha); 58 void glBlendFunc (deUint32 sfactor, deUint32 dfactor); [all …]
|
D | sglrGLContext.hpp | 53 …GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, const tcu::… 56 void enableLogging (deUint32 logFlags); 62 virtual void activeTexture (deUint32 texture); 64 virtual void bindTexture (deUint32 target, deUint32 texture); 65 virtual void genTextures (int numTextures, deUint32* textures); 66 virtual void deleteTextures (int numTextures, const deUint32* textures); 68 virtual void bindFramebuffer (deUint32 target, deUint32 framebuffer); 69 virtual void genFramebuffers (int numFramebuffers, deUint32* framebuffers); 70 virtual void deleteFramebuffers (int numFramebuffers, const deUint32* framebuffers); 72 virtual void bindRenderbuffer (deUint32 target, deUint32 renderbuffer); [all …]
|
D | sglrContext.hpp | 49 virtual void activeTexture (deUint32 texture) = DE_NULL; 52 virtual void bindTexture (deUint32 target, deUint32 texture) = DE_NULL; 53 virtual void genTextures (int numTextures, deUint32* textures) = DE_NULL; 54 virtual void deleteTextures (int numTextures, const deUint32* textures) = DE_NULL; 56 virtual void bindFramebuffer (deUint32 target, deUint32 framebuffer) = DE_NULL; 57 virtual void genFramebuffers (int numFramebuffers, deUint32* framebuffers) = DE_NULL; 58 virtual void deleteFramebuffers (int numFramebuffers, const deUint32* framebuffers) = DE_NULL; 60 virtual void bindRenderbuffer (deUint32 target, deUint32 renderbuffer) = DE_NULL; 61 virtual void genRenderbuffers (int numRenderbuffers, deUint32* renderbuffers) = DE_NULL; 62 …virtual void deleteRenderbuffers (int numRenderbuffers, const deUint32* renderbuffers) = DE_NUL… [all …]
|
D | sglrContextWrapper.cpp | 64 void ContextWrapper::glActiveTexture (deUint32 texture) in glActiveTexture() 69 void ContextWrapper::glBindTexture (deUint32 target, deUint32 texture) in glBindTexture() 74 void ContextWrapper::glGenTextures (int numTextures, deUint32* textures) in glGenTextures() 79 void ContextWrapper::glDeleteTextures (int numTextures, const deUint32* textures) in glDeleteTextures() 84 void ContextWrapper::glBindFramebuffer (deUint32 target, deUint32 framebuffer) in glBindFramebuffer() 89 void ContextWrapper::glGenFramebuffers (int numFramebuffers, deUint32* framebuffers) in glGenFramebuffers() 94 void ContextWrapper::glDeleteFramebuffers (int numFramebuffers, const deUint32* framebuffers) in glDeleteFramebuffers() 99 void ContextWrapper::glBindRenderbuffer (deUint32 target, deUint32 renderbuffer) in glBindRenderbuffer() 104 void ContextWrapper::glGenRenderbuffers (int numRenderbuffers, deUint32* renderbuffers) in glGenRenderbuffers() 109 void ContextWrapper::glDeleteRenderbuffers (int numRenderbuffers, const deUint32* renderbuffers) in glDeleteRenderbuffers() [all …]
|
D | sglrReferenceContext.hpp | 58 deUint32 getName (void) const { return m_name; } in getName() 65 NamedObject (deUint32 name) : m_name(name), m_refCount(1) {} in NamedObject() 68 deUint32 m_name; 87 Texture (deUint32 name, Type type); 139 Texture1D (deUint32 name = 0); 165 Texture2D (deUint32 name = 0); 191 TextureCube (deUint32 name = 0); 216 Texture2DArray (deUint32 name = 0); 242 Texture3D (deUint32 name = 0); 268 TextureCubeArray (deUint32 name = 0); [all …]
|
D | sglrGLContext.cpp | 42 GLContext::GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, cons… in GLContext() 70 for (std::set<deUint32>::const_iterator i = m_allocatedFbos.begin(); in ~GLContext() 73 deUint32 fbo = *i; in ~GLContext() 77 for (std::set<deUint32>::const_iterator i = m_allocatedRbos.begin(); in ~GLContext() 80 deUint32 rbo = *i; in ~GLContext() 84 for (std::set<deUint32>::const_iterator i = m_allocatedTextures.begin(); in ~GLContext() 87 deUint32 tex = *i; in ~GLContext() 91 for (std::set<deUint32>::const_iterator i = m_allocatedBuffers.begin(); in ~GLContext() 94 deUint32 buf = *i; in ~GLContext() 98 for (std::set<deUint32>::const_iterator i = m_allocatedVaos.begin(); in ~GLContext() [all …]
|
D | sglrReferenceUtils.hpp | 38 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type); 39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int … 41 rr::PrimitiveType mapGLPrimitiveType (deUint32 type); 42 rr::IndexType mapGLIndexType (deUint32 type); 43 rr::GeometryShaderOutputType mapGLGeometryShaderOutputType (deUint32 primitive); 44 rr::GeometryShaderInputType mapGLGeometryShaderInputType (deUint32 primitive); 45 rr::TestFunc mapGLTestFunc (deUint32 func); 46 rr::StencilOp mapGLStencilOp (deUint32 op); 47 rr::BlendEquation mapGLBlendEquation (deUint32 equation); 48 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation); [all …]
|
/external/deqp/framework/opengl/ |
D | gluProgramInterfaceQuery.hpp | 43 deUint32 index; 44 deUint32 bufferBinding; //!< GL_BUFFER_BINDING 45 deUint32 dataSize; //!< GL_BUFFER_DATA_SIZE 60 deUint32 index; 61 deUint32 blockIndex; //!< GL_BLOCK_INDEX 62 deUint32 atomicCounterBufferIndex; //!< GL_ATOMIC_COUNTER_BUFFER_INDEX 63 deUint32 type; //!< GL_TYPE 64 deUint32 arraySize; //!< GL_ARRAY_SIZE 65 deUint32 offset; //!< GL_OFFSET 68 deUint32 topLevelArraySize; //!< GL_TOP_LEVEL_ARRAY_SIZE - set only for GL_BUFFER_VARIABLEs [all …]
|
D | gluTextureUtil.hpp | 43 deUint32 format; //!< Pixel format. 44 deUint32 dataType; //!< Data type. 52 TransferFormat (deUint32 format_, deUint32 dataType_) in TransferFormat() 59 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType); 60 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat); 61 bool isGLInternalColorFormatFilterable (deUint32 internalFormat); 62 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 minFilter, deUint32 magFilter); 63 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 ma… 64 tcu::Sampler mapGLSampler (deUint32 wrapS, deUint32 wrapT, deUint32 wrapR, deUint32 minFil… 65 tcu::Sampler::CompareMode mapGLCompareFunc (deUint32 mode); [all …]
|
D | gluTexture.hpp | 45 Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width); 46 Texture1D (const RenderContext& context, deUint32 internalFormat, int width); 51 deUint32 getGLTexture (void) const { return m_glTexture; } in getGLTexture() 60 deUint32 m_format; //!< Internal format. 62 deUint32 m_glTexture; 72 …Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int hei… 73 Texture2D (const RenderContext& context, deUint32 internalFormat, int width, int height); 80 deUint32 getGLTexture (void) const { return m_glTexture; } in getGLTexture() 95 deUint32 m_format; //!< Internal format. 98 deUint32 m_glTexture; [all …]
|
D | gluRenderContext.hpp | 63 …tFlags operator| (ContextFlags a, ContextFlags b) { return ContextFlags((deUint32)a|(deUint32)b); } in operator |() 64 …tFlags operator& (ContextFlags a, ContextFlags b) { return ContextFlags((deUint32)a&(deUint32)b); } in operator &() 65 inline ContextFlags operator~ (ContextFlags a) { return ContextFlags(~(deUint32)a); } in operator ~() 89 ApiType (deUint32 bits) : m_bits(bits) {} in ApiType() 90 static ApiType fromBits (deUint32 bits) { return ApiType(bits); } in fromBits() 92 static deUint32 pack (int major, int minor, Profile profile); 94 deUint32 m_bits; 109 inline deUint32 ApiType::pack (int major, int minor, Profile profile) in pack() 111 deUint32 bits = 0; in pack() 113 DE_ASSERT((deUint32(major) & ~((1<<MAJOR_BITS)-1)) == 0); in pack() [all …]
|
D | gluProgramInterfaceQuery.cpp | 33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterf… in getProgramResourceUint() 35 deUint32 value = 0; in getProgramResourceUint() 41 …getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deU… in getProgramResourceName() 61 …terfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deU… in getProgramInterfaceActiveVariables() 68 const deUint32 queryParam = GL_ACTIVE_VARIABLES; in getProgramInterfaceActiveVariables() 74 …gramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deU… in getProgramInterfaceBlockInfo() 86 …mInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deU… in getProgramInterfaceVariableInfo()
|
/external/deqp/framework/common/ |
D | tcuBilinearImageCompare.cpp | 43 static inline deUint8 getChannel (deUint32 color) in getChannel() 48 inline deUint32 readRGBA8Raw (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8Raw() 50 return *(const deUint32*)((const deUint8*)src.getDataPtr() + y*src.getRowPitch() + x*4); in readRGBA8Raw() 53 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8() 55 deUint32 raw = readRGBA8Raw(src, x, y); in readRGBA8() 56 deUint32 res = 0; in readRGBA8() 66 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p1… in interpolateChannel() 68 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1; in interpolateChannel() 69 const deUint32 fy0 = (1u<<NUM_SUBPIXEL_BITS) - fy1; in interpolateChannel() 70 const deUint32 half = 1u<<(NUM_SUBPIXEL_BITS*2 - 1); in interpolateChannel() [all …]
|
D | tcuCompressedTexture.cpp | 341 static inline deUint32 getBit (deUint64 src, int bit) in getBit() 346 static inline deUint32 getBits (deUint64 src, int low, int high) in getBits() 407 const deUint32 table[2] = { getBits(src, 37, 39), getBits(src, 34, 36) }; in decompressETC1Block() 461 const deUint32 tableNdx = table[subBlock]; in decompressETC1Block() 462 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC1Block() 522 const deUint32 table[2] = { getBits(src, 37, 39), getBits(src, 34, 36) }; in decompressETC2Block() 556 const deUint32 tableNdx = table[subBlock]; in decompressETC2Block() 557 const deUint32 modifierNdx = (getBit(src, 16+pixelNdx) << 1) | getBit(src, pixelNdx); in decompressETC2Block() 606 const deUint32 distNdx = (getBits(src, 34, 35) << 1) | getBit(src, 32); in decompressETC2Block() 636 deUint32 baseValue[2]; in decompressETC2Block() [all …]
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.hpp | 54 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 56 const char* getBufferTargetName (deUint32 target); 57 const char* getUsageHintName (deUint32 hint); 70 deUint32 genBuffer (void); 71 void deleteBuffer (deUint32 buffer); 79 std::set<deUint32> m_allocatedBuffers; 123 …virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NU… 124 …virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint3… 142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes); 143 …void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targ… [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSwizzleTests.cpp | 48 static int swizzle (const tcu::RGBA& c, deUint32 swz) in swizzle() 64 static void swizzle (tcu::Surface& surface, deUint32 swzR, deUint32 swzG, deUint32 swzB, deUint32 s… in swizzle() 79 …description, deUint32 internalFormat, deUint32 format, deUint32 dataType, deUint32 swizzleR, deUin… 90 deUint32 m_internalFormat; 91 deUint32 m_format; 92 deUint32 m_dataType; 93 deUint32 m_swizzleR; 94 deUint32 m_swizzleG; 95 deUint32 m_swizzleB; 96 deUint32 m_swizzleA; [all …]
|
D | es3fBufferCopyTests.cpp | 53 deUint32 srcTarget, in BasicBufferCopyCase() 55 deUint32 srcHint, in BasicBufferCopyCase() 56 deUint32 dstTarget, in BasicBufferCopyCase() 58 deUint32 dstHint, in BasicBufferCopyCase() 84 deUint32 srcBuf = 0; in iterate() 85 deUint32 dstBuf = 0; in iterate() 86 deUint32 srcSeed = deStringHash(getName()) ^ 0xabcd; in iterate() 87 deUint32 dstSeed = deStringHash(getName()) ^ 0xef01; in iterate() 130 deUint32 m_srcTarget; 132 deUint32 m_srcHint; [all …]
|
D | es3fBufferMapTests.cpp | 53 …dCase (Context& context, const char* name, const char* desc, deUint32 bufferTarget, deUint32 usage… in BufferMapReadCase() 67 deUint32 dataSeed = deStringHash(getName()); in iterate() 76 deUint32 buf = genBuffer(); in iterate() 99 deUint32 m_bufferTarget; 100 deUint32 m_usage; 110 …eCase (Context& context, const char* name, const char* desc, deUint32 bufferTarget, deUint32 usage… in BufferMapWriteCase() 121 deUint32 dataSeed = deStringHash(getName()); in iterate() 129 deUint32 buf = genBuffer(); in iterate() 150 deUint32 m_bufferTarget; 151 deUint32 m_usage; [all …]
|
D | es3fTextureFilteringTests.cpp | 66 …const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint… 67 …txInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS… 81 const deUint32 m_minFilter; 82 const deUint32 m_magFilter; 83 const deUint32 m_wrapS; 84 const deUint32 m_wrapT; 86 const deUint32 m_internalFormat; 119 …const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint… in Texture2DFilteringCase() 135 …txInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS… in Texture2DFilteringCase() 192 deUint32 step = 0x00ffffff / numLevels; in init() [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureCases.hpp | 43 deUint32 format, deUint32 dataType, 44 deUint32 wrapS, deUint32 wrapT, 45 deUint32 minFilter, deUint32 magFilter, 54 void setupProgram (deUint32 program); 57 deUint32 m_format; 58 deUint32 m_dataType; 59 deUint32 m_wrapS; 60 deUint32 m_wrapT; 61 deUint32 m_minFilter; 62 deUint32 m_magFilter;
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() 120 static inline deUint32 extendSignTo32 (deUint32 integer, deUint32 integerLength) in extendSignTo32() 124 return deUint32(0 - deInt32((integer & (1 << (integerLength - 1))) << 1)) | integer; in extendSignTo32() 127 static inline deUint32 getLowBitMask (int integerLength) in getLowBitMask() 134 return ((1u << ((deUint32)integerLength - 1u)) << 1u) - 1u; in getLowBitMask() 137 …haderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValu… in generateRandomInputData() 140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 141 const deUint32 integerMask = getLowBitMask(integerLength); in generateRandomInputData() 236 static vector<void*> getInputOutputPointers (const vector<Symbol>& symbols, vector<deUint32>& data,… in getInputOutputPointers() [all …]
|
D | es31fBasicComputeShaderTests.cpp | 53 BufferMemMap (const glw::Functions& gl, deUint32 target, int offset, int size, deUint32 access) in BufferMemMap() 76 const deUint32 m_target; 152 std::vector<deUint32> inputValues (m_numValues); in iterate() 171 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM_BLOCK, … in iterate() 173 …const deUint32 valueIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "Input… in iterate() 182 for (deUint32 ndx = 0; ndx < de::min(valueInfo.arraySize, (deUint32)inputValues.size()); ndx++) in iterate() 183 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate() 193 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_B… in iterate() 208 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_SHADER_STORAGE_… in iterate() 210 …const deUint32 valueIndex = gl.getProgramResourceIndex(program.getProgram(), GL_BUFFER_VARIABLE… in iterate() [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.hpp | 45 deUint32 internalFormat, 46 deUint32 wrapS, 47 deUint32 wrapT, 48 deUint32 minFilter, 49 deUint32 magFilter, 59 void setupProgram (deUint32 program); 62 const deUint32 m_internalFormat; 63 const deUint32 m_wrapS; 64 const deUint32 m_wrapT; 65 const deUint32 m_minFilter; [all …]
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.h | 39 void deRcp32 (deUint32 a, deUint32* rcp, int* exp); 85 DE_INLINE deUint32 deMinu32 (deUint32 a, deUint32 b) in deMinu32() 96 DE_INLINE deUint32 deMaxu32 (deUint32 a, deUint32 b) in deMaxu32() 178 return (int)(((deUint32)val >> r) | ((deUint32)val << (32-r))); in deRor32() 193 return (int)(((deUint32)val << r) | ((deUint32)val >> (32-r))); in deRol32() 264 DE_INLINE int deClz32 (deUint32 a) in deClz32() 314 DE_INLINE deUint32 deLog2Clz(deInt32 a) in deLog2Clz() 316 return (deUint32)deLog2Ceil32(a); in deLog2Clz() 326 deUint32 mask0 = 0x55555555; /* 1-bit values. */ in dePop32() 327 deUint32 mask1 = 0x33333333; /* 2-bit values. */ in dePop32() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.hpp | 50 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 52 const char* getBufferTargetName (deUint32 target); 53 const char* getUsageHintName (deUint32 hint); 66 deUint32 genBuffer (void); 67 void deleteBuffer (deUint32 buffer); 72 std::set<deUint32> m_allocatedBuffers; 112 …virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = … 132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 153 deUint32 m_posLoc; [all …]
|