Home | History | Annotate | Download | only in d3d11

Lines Matching defs:gl

22 namespace gl
62 virtual void generateSwizzle(gl::Texture *texture);
63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture);
66 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]);
68 virtual void setRasterizerState(const gl::RasterizerState &rasterState);
69 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor,
71 virtual void setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef,
74 virtual void setScissorRectangle(const gl::Rectangle &scissor, bool enabled);
75 virtual bool setViewport(const gl::Rectangle &viewport, float zNear, float zFar, GLenum drawMode, GLenum frontFace,
79 virtual bool applyRenderTarget(gl::Framebuffer *frameBuffer);
80 virtual void applyShaders(gl::ProgramBinary *programBinary, bool rasterizerDiscard, bool transformFeedbackActive, const gl::VertexFormat inputLayout[]);
81 virtual void applyUniforms(const gl::ProgramBinary &programBinary);
82 virtual GLenum applyVertexBuffer(gl::ProgramBinary *programBinary, const gl::VertexAttribute vertexAttributes[], gl::VertexAttribCurrentValueData currentValues[],
84 virtual GLenum applyIndexBuffer(const GLvoid *indices, gl::Buffer *elementArrayBuffer, GLsizei count, GLenum mode, GLenum type, TranslatedIndexData *indexInfo);
85 virtual void applyTransformFeedbackBuffers(gl::Buffer *transformFeedbackBuffers[], GLintptr offsets[]);
89 gl::Buffer *elementArrayBuffer, const TranslatedIndexData &indexInfo, GLsizei instances);
91 virtual void clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer);
175 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
177 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
179 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
181 virtual bool copyImage(gl::Framebuffer *framebuffer, const gl::Rectangle &sourceRect, GLenum destFormat,
184 virtual bool blitRect(gl::Framebuffer *readTarget, const gl::Rectangle &readRect, gl::Framebuffer *drawTarget, const gl::Rectangle &drawRect,
185 const gl::Rectangle *scissor, bool blitRenderTarget, bool blitDepth, bool blitStencil, GLenum filter);
186 virtual void readPixels(gl::Framebuffer *framebuffer, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,
187 GLenum type, GLuint outputPitch, const gl::PixelPackState &pack, void* pixels);
195 const std::vector<gl::LinkedVarying> &transformFeedbackVaryings,
197 virtual ShaderExecutable *compileToExecutable(gl::InfoLog &infoLog, const char *shaderHLSL, rx::ShaderType type,
198 const std::vector<gl::LinkedVarying> &transformFeedbackVaryings,
229 virtual bool fastCopyBufferToTexture(const gl::PixelUnpackState &unpack, unsigned int offset, RenderTarget *destRenderTarget,
230 GLenum destinationFormat, GLenum sourcePixelsType, const gl::Box &destArea);
232 bool getRenderTargetResource(gl::FramebufferAttachment *colorbuffer, unsigned int *subresourceIndex, ID3D11Texture2D **resource);
239 virtual rx::VertexConversionType getVertexConversionType(const gl::VertexFormat &vertexFormat) const;
240 virtual GLenum getVertexComponentType(const gl::VertexFormat &vertexFormat) const;
245 void drawLineLoop(GLsizei count, GLenum type, const GLvoid *indices, int minIndex, gl::Buffer *elementArrayBuffer);
246 void drawTriangleFan(GLsizei count, GLenum type, const GLvoid *indices, int minIndex, gl::Buffer *elementArrayBuffer, int instances);
248 void readTextureData(ID3D11Texture2D *texture, unsigned int subResource, const gl::Rectangle &area, GLenum format,
249 GLenum type, GLuint outputPitch, const gl::PixelPackState &pack, void *pixels);
253 bool blitRenderbufferRect(const gl::Rectangle &readRect, const gl::Rectangle &drawRect, RenderTarget *readRenderTarget,
254 RenderTarget *drawRenderTarget, GLenum filter, const gl::Rectangle *scissor,
258 static void invalidateFBOAttachmentSwizzles(gl::FramebufferAttachment *attachment, int mipLevel);
259 static void invalidateFramebufferSwizzles(gl::Framebuffer *framebuffer);
307 unsigned int mAppliedRenderTargetSerials[gl::IMPLEMENTATION_MAX_DRAW_BUFFERS];
315 bool mForceSetVertexSamplerStates[gl::IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS];
316 gl::SamplerState mCurVertexSamplerStates[gl::IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS];
318 bool mForceSetPixelSamplerStates[gl::MAX_TEXTURE_IMAGE_UNITS];
319 gl::SamplerState mCurPixelSamplerStates[gl::MAX_TEXTURE_IMAGE_UNITS];
322 ID3D11ShaderResourceView *mCurVertexSRVs[gl::IMPLEMENTATION_MAX_VERTEX_TEXTURE_IMAGE_UNITS];
323 ID3D11ShaderResourceView *mCurPixelSRVs[gl::MAX_TEXTURE_IMAGE_UNITS];
327 gl::BlendState mCurBlendState;
328 gl::ColorF mCurBlendColor;
333 gl::RasterizerState mCurRasterState;
337 gl
344 gl::Rectangle mCurScissor;
348 gl::Rectangle mCurViewport;
361 ID3D11Buffer *mAppliedTFBuffers[gl::IMPLEMENTATION_MAX_TRANSFORM_FEEDBACK_BUFFERS];
362 GLintptr mAppliedTFOffsets[gl::IMPLEMENTATION_MAX_TRANSFORM_FEEDBACK_BUFFERS];
374 unsigned int mCurrentConstantBufferVS[gl::IMPLEMENTATION_MAX_VERTEX_SHADER_UNIFORM_BUFFERS];
380 unsigned int mCurrentConstantBufferPS[gl::IMPLEMENTATION_MAX_VERTEX_SHADER_UNIFORM_BUFFERS];