Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::Adaptor::GlProxyImplementation Class Reference

GlProxyImplementation is a wrapper for the concrete implementation of GlAbstraction that also gathers statistical information. More...

#include <gl-proxy-implementation.h>

Inheritance diagram for Dali::Internal::Adaptor::GlProxyImplementation:
Inheritance graph
[legend]
Collaboration diagram for Dali::Internal::Adaptor::GlProxyImplementation:
Collaboration graph
[legend]

Public Member Functions

 GlProxyImplementation (EnvironmentOptions &environmentOptions)
 Constructor. More...
 
virtual ~GlProxyImplementation ()
 Virtual destructor. More...
 
virtual void PreRender ()
 Invoked by Render thread before Core::Render. More...
 
virtual void PostRender ()
 Invoked by Render thread after Core::Render Inform the gl implementation that the rendering in this frame has finished, and how much time was spent. More...
 
virtual void Clear (GLbitfield mask)
 
virtual void GenBuffers (GLsizei n, GLuint *buffers)
 
virtual void DeleteBuffers (GLsizei n, const GLuint *buffers)
 
virtual void BindBuffer (GLenum target, GLuint buffer)
 
virtual void GenTextures (GLsizei n, GLuint *textures)
 
virtual void DeleteTextures (GLsizei n, const GLuint *textures)
 
virtual void ActiveTexture (GLenum texture)
 
virtual void BindTexture (GLenum target, GLuint texture)
 
virtual void DrawArrays (GLenum mode, GLint first, GLsizei count)
 
virtual void DrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices)
 
virtual void Uniform1f (GLint location, GLfloat x)
 
virtual void Uniform1fv (GLint location, GLsizei count, const GLfloat *v)
 
virtual void Uniform1i (GLint location, GLint x)
 
virtual void Uniform1iv (GLint location, GLsizei count, const GLint *v)
 
virtual void Uniform2f (GLint location, GLfloat x, GLfloat y)
 
virtual void Uniform2fv (GLint location, GLsizei count, const GLfloat *v)
 
virtual void Uniform2i (GLint location, GLint x, GLint y)
 
virtual void Uniform2iv (GLint location, GLsizei count, const GLint *v)
 
virtual void Uniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z)
 
virtual void Uniform3fv (GLint location, GLsizei count, const GLfloat *v)
 
virtual void Uniform3i (GLint location, GLint x, GLint y, GLint z)
 
virtual void Uniform3iv (GLint location, GLsizei count, const GLint *v)
 
virtual void Uniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
virtual void Uniform4fv (GLint location, GLsizei count, const GLfloat *v)
 
virtual void Uniform4i (GLint location, GLint x, GLint y, GLint z, GLint w)
 
virtual void Uniform4iv (GLint location, GLsizei count, const GLint *v)
 
virtual void UniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
virtual void UniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
virtual void UniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
virtual GLuint CreateProgram (void)
 
virtual void DeleteProgram (GLuint program)
 
virtual void UseProgram (GLuint program)
 
- Public Member Functions inherited from Dali::Internal::Adaptor::GlImplementation
virtual ~GlImplementation ()
 
void AttachShader (GLuint program, GLuint shader)
 
void BindAttribLocation (GLuint program, GLuint index, const char *name)
 
void BindFramebuffer (GLenum target, GLuint framebuffer)
 
void BindRenderbuffer (GLenum target, GLuint renderbuffer)
 
void BlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void BlendEquation (GLenum mode)
 
void BlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
 
void BlendFunc (GLenum sfactor, GLenum dfactor)
 
void BlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
 
void BufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage)
 
void BufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
 
GLenum CheckFramebufferStatus (GLenum target)
 
void ClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void ClearDepthf (GLclampf depth)
 
void ClearStencil (GLint s)
 
void ColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
 
void CompileShader (GLuint shader)
 
void CompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
 
void CompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
 
void CopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
 
void CopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 
GLuint CreateShader (GLenum type)
 
void CullFace (GLenum mode)
 
void DeleteFramebuffers (GLsizei n, const GLuint *framebuffers)
 
void DeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers)
 
void DeleteShader (GLuint shader)
 
void DepthFunc (GLenum func)
 
void DepthMask (GLboolean flag)
 
void DepthRangef (GLclampf zNear, GLclampf zFar)
 
void DetachShader (GLuint program, GLuint shader)
 
void Disable (GLenum cap)
 
void DisableVertexAttribArray (GLuint index)
 
void Enable (GLenum cap)
 
void EnableVertexAttribArray (GLuint index)
 
void Finish (void)
 
void Flush (void)
 
void FramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
 
void FramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
 
void FrontFace (GLenum mode)
 
void GenerateMipmap (GLenum target)
 
void GenFramebuffers (GLsizei n, GLuint *framebuffers)
 
void GenRenderbuffers (GLsizei n, GLuint *renderbuffers)
 
void GetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void GetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void GetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders)
 
int GetAttribLocation (GLuint program, const char *name)
 
void GetBooleanv (GLenum pname, GLboolean *params)
 
void GetBufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
GLenum GetError (void)
 
void GetFloatv (GLenum pname, GLfloat *params)
 
void GetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params)
 
void GetIntegerv (GLenum pname, GLint *params)
 
void GetProgramiv (GLuint program, GLenum pname, GLint *params)
 
void GetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, char *infolog)
 
void GetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
void GetShaderiv (GLuint shader, GLenum pname, GLint *params)
 
void GetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, char *infolog)
 
void GetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
 
void GetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, char *source)
 
const GLubyteGetString (GLenum name)
 
void GetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
 
void GetTexParameteriv (GLenum target, GLenum pname, GLint *params)
 
void GetUniformfv (GLuint program, GLint location, GLfloat *params)
 
void GetUniformiv (GLuint program, GLint location, GLint *params)
 
int GetUniformLocation (GLuint program, const char *name)
 
void GetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params)
 
void GetVertexAttribiv (GLuint index, GLenum pname, GLint *params)
 
void GetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer)
 
void Hint (GLenum target, GLenum mode)
 
GLboolean IsBuffer (GLuint buffer)
 
GLboolean IsEnabled (GLenum cap)
 
GLboolean IsFramebuffer (GLuint framebuffer)
 
GLboolean IsProgram (GLuint program)
 
GLboolean IsRenderbuffer (GLuint renderbuffer)
 
GLboolean IsShader (GLuint shader)
 
GLboolean IsTexture (GLuint texture)
 
void LineWidth (GLfloat width)
 
void LinkProgram (GLuint program)
 
void PixelStorei (GLenum pname, GLint param)
 
void PolygonOffset (GLfloat factor, GLfloat units)
 
void ReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels)
 
void ReleaseShaderCompiler (void)
 
void RenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
 
void SampleCoverage (GLclampf value, GLboolean invert)
 
void Scissor (GLint x, GLint y, GLsizei width, GLsizei height)
 
void ShaderBinary (GLsizei n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length)
 
void ShaderSource (GLuint shader, GLsizei count, const char **string, const GLint *length)
 
void StencilFunc (GLenum func, GLint ref, GLuint mask)
 
void StencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
 
void StencilMask (GLuint mask)
 
void StencilMaskSeparate (GLenum face, GLuint mask)
 
void StencilOp (GLenum fail, GLenum zfail, GLenum zpass)
 
void StencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
 
void TexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels)
 
void TexParameterf (GLenum target, GLenum pname, GLfloat param)
 
void TexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
 
void TexParameteri (GLenum target, GLenum pname, GLint param)
 
void TexParameteriv (GLenum target, GLenum pname, const GLint *params)
 
void TexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
 
void ValidateProgram (GLuint program)
 
void VertexAttrib1f (GLuint indx, GLfloat x)
 
void VertexAttrib1fv (GLuint indx, const GLfloat *values)
 
void VertexAttrib2f (GLuint indx, GLfloat x, GLfloat y)
 
void VertexAttrib2fv (GLuint indx, const GLfloat *values)
 
void VertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z)
 
void VertexAttrib3fv (GLuint indx, const GLfloat *values)
 
void VertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void VertexAttrib4fv (GLuint indx, const GLfloat *values)
 
void VertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr)
 
void Viewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void ReadBuffer (GLenum mode)
 
void DrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
 
void TexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void TexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
 
void CopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 
void CompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
 
void CompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
 
void GenQueries (GLsizei n, GLuint *ids)
 
void DeleteQueries (GLsizei n, const GLuint *ids)
 
GLboolean IsQuery (GLuint id)
 
void BeginQuery (GLenum target, GLuint id)
 
void EndQuery (GLenum target)
 
void GetQueryiv (GLenum target, GLenum pname, GLint *params)
 
void GetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params)
 
GLboolean UnmapBuffer (GLenum target)
 
void GetBufferPointerv (GLenum target, GLenum pname, GLvoid **params)
 
void DrawBuffers (GLsizei n, const GLenum *bufs)
 
void UniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void UniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void UniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void UniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void UniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void UniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void BlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
 
void RenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
 
void FramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
 
GLvoidMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
 
void FlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length)
 
void BindVertexArray (GLuint array)
 
void DeleteVertexArrays (GLsizei n, const GLuint *arrays)
 
void GenVertexArrays (GLsizei n, GLuint *arrays)
 
GLboolean IsVertexArray (GLuint array)
 
void GetIntegeri_v (GLenum target, GLuint index, GLint *data)
 
void BeginTransformFeedback (GLenum primitiveMode)
 
void EndTransformFeedback (void)
 
void BindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
 
void BindBufferBase (GLenum target, GLuint index, GLuint buffer)
 
void TransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const *varyings, GLenum bufferMode)
 
void GetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
 
void VertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
 
void GetVertexAttribIiv (GLuint index, GLenum pname, GLint *params)
 
void GetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params)
 
void VertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w)
 
void VertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w)
 
void VertexAttribI4iv (GLuint index, const GLint *v)
 
void VertexAttribI4uiv (GLuint index, const GLuint *v)
 
void GetUniformuiv (GLuint program, GLint location, GLuint *params)
 
GLint GetFragDataLocation (GLuint program, const GLchar *name)
 
void Uniform1ui (GLint location, GLuint v0)
 
void Uniform2ui (GLint location, GLuint v0, GLuint v1)
 
void Uniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2)
 
void Uniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
 
void Uniform1uiv (GLint location, GLsizei count, const GLuint *value)
 
void Uniform2uiv (GLint location, GLsizei count, const GLuint *value)
 
void Uniform3uiv (GLint location, GLsizei count, const GLuint *value)
 
void Uniform4uiv (GLint location, GLsizei count, const GLuint *value)
 
void ClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value)
 
void ClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value)
 
void ClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value)
 
void ClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
 
const GLubyteGetStringi (GLenum name, GLuint index)
 
void CopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
 
void GetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices)
 
void GetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
 
GLuint GetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName)
 
void GetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
 
void GetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
 
void UniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
 
void DrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount)
 
void DrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount)
 
GLsync FenceSync (GLenum condition, GLbitfield flags)
 
GLboolean IsSync (GLsync sync)
 
void DeleteSync (GLsync sync)
 
GLenum ClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout)
 
void WaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout)
 
void GetInteger64v (GLenum pname, GLint64 *params)
 
void GetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
 
void GetInteger64i_v (GLenum target, GLuint index, GLint64 *data)
 
void GetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params)
 
void GenSamplers (GLsizei count, GLuint *samplers)
 
void DeleteSamplers (GLsizei count, const GLuint *samplers)
 
GLboolean IsSampler (GLuint sampler)
 
void BindSampler (GLuint unit, GLuint sampler)
 
void SamplerParameteri (GLuint sampler, GLenum pname, GLint param)
 
void SamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param)
 
void SamplerParameterf (GLuint sampler, GLenum pname, GLfloat param)
 
void SamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param)
 
void GetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params)
 
void GetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params)
 
void VertexAttribDivisor (GLuint index, GLuint divisor)
 
void BindTransformFeedback (GLenum target, GLuint id)
 
void DeleteTransformFeedbacks (GLsizei n, const GLuint *ids)
 
void GenTransformFeedbacks (GLsizei n, GLuint *ids)
 
GLboolean IsTransformFeedback (GLuint id)
 
void PauseTransformFeedback (void)
 
void ResumeTransformFeedback (void)
 
void GetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary)
 
void ProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length)
 
void ProgramParameteri (GLuint program, GLenum pname, GLint value)
 
void InvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments)
 
void InvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)
 
void TexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
 
void TexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
 
void GetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params)
 

Private Member Functions

void AccumulateSamples ()
 
void LogResults ()
 
void LogCalls (const Sampler &sampler)
 
void LogObjectCounter (const ObjectCounter &sampler)
 
void ResetSamplers ()
 

Private Attributes

EnvironmentOptionsmEnvironmentOptions
 
Sampler mActiveTextureSampler
 
Sampler mClearSampler
 
Sampler mBindBufferSampler
 
Sampler mBindTextureSampler
 
Sampler mDrawSampler
 
Sampler mUniformSampler
 
Sampler mUseProgramSampler
 
ObjectCounter mBufferCount
 
ObjectCounter mTextureCount
 
ObjectCounter mProgramCount
 
int mFrameCount
 

Additional Inherited Members

- Static Public Attributes inherited from Dali::Integration::GlAbstraction
static const unsigned int MIN_TEXTURE_UNIT_LIMIT = 8
 The number of texture units an implementation supports is implementation dependent, but must be at least 8. More...
 
- Protected Member Functions inherited from Dali::Integration::GlAbstraction
virtual ~GlAbstraction ()
 Virtual protected destructor, no deletion through this interface. More...
 

Detailed Description

GlProxyImplementation is a wrapper for the concrete implementation of GlAbstraction that also gathers statistical information.

Definition at line 139 of file gl-proxy-implementation.h.

Constructor & Destructor Documentation

Dali::Internal::Adaptor::GlProxyImplementation::GlProxyImplementation ( EnvironmentOptions environmentOptions)

Constructor.

Parameters
environmentOptionsto check how often to log results

Definition at line 162 of file gl-proxy-implementation.cpp.

Dali::Internal::Adaptor::GlProxyImplementation::~GlProxyImplementation ( )
virtual

Virtual destructor.

Definition at line 178 of file gl-proxy-implementation.cpp.

Member Function Documentation

void Dali::Internal::Adaptor::GlProxyImplementation::AccumulateSamples ( )
private

Definition at line 392 of file gl-proxy-implementation.cpp.

References Dali::Internal::Adaptor::Sampler::Accumulate(), mActiveTextureSampler, mBindBufferSampler, mBindTextureSampler, mClearSampler, mDrawSampler, mUniformSampler, and mUseProgramSampler.

Referenced by PostRender().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::GlProxyImplementation::ActiveTexture ( GLenum  texture)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::BindBuffer ( GLenum  target,
GLuint  buffer 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::BindTexture ( GLenum  target,
GLuint  texture 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Clear ( GLbitfield  mask)
virtual
GLuint Dali::Internal::Adaptor::GlProxyImplementation::CreateProgram ( void  )
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::DeleteBuffers ( GLsizei  n,
const GLuint buffers 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::DeleteProgram ( GLuint  program)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::DeleteTextures ( GLsizei  n,
const GLuint textures 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::DrawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::DrawElements ( GLenum  mode,
GLsizei  count,
GLenum  type,
const void *  indices 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::GenBuffers ( GLsizei  n,
GLuint buffers 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::GenTextures ( GLsizei  n,
GLuint textures 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::LogCalls ( const Sampler sampler)
private
void Dali::Internal::Adaptor::GlProxyImplementation::LogObjectCounter ( const ObjectCounter sampler)
private
void Dali::Internal::Adaptor::GlProxyImplementation::LogResults ( )
private
void Dali::Internal::Adaptor::GlProxyImplementation::PostRender ( )
virtual

Invoked by Render thread after Core::Render Inform the gl implementation that the rendering in this frame has finished, and how much time was spent.

Reimplemented from Dali::Internal::Adaptor::GlImplementation.

Definition at line 186 of file gl-proxy-implementation.cpp.

References AccumulateSamples(), Dali::Internal::Adaptor::EnvironmentOptions::GetGlesCallTime(), LogResults(), mEnvironmentOptions, mFrameCount, anonymous_namespace{gl-proxy-implementation.cpp}::NUM_FRAMES_PER_SECOND(), and ResetSamplers().

Here is the call graph for this function:

void Dali::Internal::Adaptor::GlProxyImplementation::PreRender ( )
virtual

Invoked by Render thread before Core::Render.

Reimplemented from Dali::Internal::Adaptor::GlImplementation.

Definition at line 182 of file gl-proxy-implementation.cpp.

void Dali::Internal::Adaptor::GlProxyImplementation::ResetSamplers ( )
private

Definition at line 436 of file gl-proxy-implementation.cpp.

References mActiveTextureSampler, mBindBufferSampler, mBindTextureSampler, mClearSampler, mDrawSampler, mFrameCount, mUniformSampler, mUseProgramSampler, and Dali::Internal::Adaptor::Sampler::Reset().

Referenced by PostRender().

Here is the call graph for this function:

Here is the caller graph for this function:

void Dali::Internal::Adaptor::GlProxyImplementation::Uniform1f ( GLint  location,
GLfloat  x 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform1fv ( GLint  location,
GLsizei  count,
const GLfloat v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform1i ( GLint  location,
GLint  x 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform1iv ( GLint  location,
GLsizei  count,
const GLint v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform2f ( GLint  location,
GLfloat  x,
GLfloat  y 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform2fv ( GLint  location,
GLsizei  count,
const GLfloat v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform2i ( GLint  location,
GLint  x,
GLint  y 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform2iv ( GLint  location,
GLsizei  count,
const GLint v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform3f ( GLint  location,
GLfloat  x,
GLfloat  y,
GLfloat  z 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform3fv ( GLint  location,
GLsizei  count,
const GLfloat v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform3i ( GLint  location,
GLint  x,
GLint  y,
GLint  z 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform3iv ( GLint  location,
GLsizei  count,
const GLint v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform4f ( GLint  location,
GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  w 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform4fv ( GLint  location,
GLsizei  count,
const GLfloat v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform4i ( GLint  location,
GLint  x,
GLint  y,
GLint  z,
GLint  w 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::Uniform4iv ( GLint  location,
GLsizei  count,
const GLint v 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::UniformMatrix2fv ( GLint  location,
GLsizei  count,
GLboolean  transpose,
const GLfloat value 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::UniformMatrix3fv ( GLint  location,
GLsizei  count,
GLboolean  transpose,
const GLfloat value 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::UniformMatrix4fv ( GLint  location,
GLsizei  count,
GLboolean  transpose,
const GLfloat value 
)
virtual
void Dali::Internal::Adaptor::GlProxyImplementation::UseProgram ( GLuint  program)
virtual

Member Data Documentation

Sampler Dali::Internal::Adaptor::GlProxyImplementation::mActiveTextureSampler
private
Sampler Dali::Internal::Adaptor::GlProxyImplementation::mBindBufferSampler
private
Sampler Dali::Internal::Adaptor::GlProxyImplementation::mBindTextureSampler
private
ObjectCounter Dali::Internal::Adaptor::GlProxyImplementation::mBufferCount
private

Definition at line 221 of file gl-proxy-implementation.h.

Referenced by DeleteBuffers(), GenBuffers(), and LogResults().

Sampler Dali::Internal::Adaptor::GlProxyImplementation::mClearSampler
private

Definition at line 215 of file gl-proxy-implementation.h.

Referenced by AccumulateSamples(), Clear(), LogResults(), and ResetSamplers().

Sampler Dali::Internal::Adaptor::GlProxyImplementation::mDrawSampler
private
EnvironmentOptions& Dali::Internal::Adaptor::GlProxyImplementation::mEnvironmentOptions
private

Definition at line 213 of file gl-proxy-implementation.h.

Referenced by PostRender().

int Dali::Internal::Adaptor::GlProxyImplementation::mFrameCount
private

Definition at line 225 of file gl-proxy-implementation.h.

Referenced by LogResults(), PostRender(), and ResetSamplers().

ObjectCounter Dali::Internal::Adaptor::GlProxyImplementation::mProgramCount
private

Definition at line 223 of file gl-proxy-implementation.h.

Referenced by CreateProgram(), DeleteProgram(), and LogResults().

ObjectCounter Dali::Internal::Adaptor::GlProxyImplementation::mTextureCount
private

Definition at line 222 of file gl-proxy-implementation.h.

Referenced by DeleteTextures(), GenTextures(), and LogResults().

Sampler Dali::Internal::Adaptor::GlProxyImplementation::mUniformSampler
private
Sampler Dali::Internal::Adaptor::GlProxyImplementation::mUseProgramSampler
private

The documentation for this class was generated from the following files:
Dali Docs Home
Read more about Dali