/external/skia/gpu/src/ |
GrGpuGLFixed.cpp | 69 GR_GL(Disable(GR_GL_TEXTURE_2D)); 73 GR_GL(EnableClientState(GR_GL_VERTEX_ARRAY)); 74 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_TEXTURE_ENV_MODE, GR_GL_COMBINE)); 75 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_COMBINE_RGB, GR_GL_MODULATE)); 76 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_SRC0_RGB, GR_GL_TEXTURE0+s)); 77 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_SRC1_RGB, GR_GL_PREVIOUS)); 78 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_OPERAND1_RGB, GR_GL_SRC_COLOR)); 80 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_COMBINE_ALPHA, GR_GL_MODULATE)); 81 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_SRC0_ALPHA, GR_GL_TEXTURE0+s)); 82 GR_GL(TexEnvi(GR_GL_TEXTURE_ENV, GR_GL_OPERAND0_ALPHA, GR_GL_SRC_ALPHA)) [all...] |
GrGLIndexBuffer.cpp | 37 GR_GL(DeleteBuffers(1, &fBufferID)); 48 GR_GL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, fBufferID)); 62 GR_GL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, size(), NULL, 64 fLockPtr = GR_GL(MapBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, GR_GL_WRITE_ONLY)); 81 GR_GL(UnmapBuffer(GR_GL_ELEMENT_ARRAY_BUFFER)); 90 GR_GL(GetBufferParameteriv(GR_GL_ELEMENT_ARRAY_BUFFER, 107 GR_GL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, srcSizeInBytes, src, usage)); 109 GR_GL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, size(), NULL, usage)); 110 GR_GL(BufferSubData(GR_GL_ELEMENT_ARRAY_BUFFER, 0, srcSizeInBytes, src)); 124 GR_GL(BufferSubData(GR_GL_ELEMENT_ARRAY_BUFFER, offset, srcSizeInBytes, src)) [all...] |
GrGLVertexBuffer.cpp | 36 GR_GL(DeleteBuffers(1, &fBufferID)); 47 GR_GL(BindBuffer(GR_GL_ARRAY_BUFFER, fBufferID)); 61 GR_GL(BufferData(GR_GL_ARRAY_BUFFER, size(), NULL, 63 fLockPtr = GR_GL(MapBuffer(GR_GL_ARRAY_BUFFER, GR_GL_WRITE_ONLY)); 80 GR_GL(UnmapBuffer(GR_GL_ARRAY_BUFFER)); 90 GR_GL(GetBufferParameteriv(GR_GL_ARRAY_BUFFER, GR_GL_BUFFER_MAPPED, &mapped)); 106 GR_GL(BufferData(GR_GL_ARRAY_BUFFER, srcSizeInBytes, src, usage)); 108 GR_GL(BufferData(GR_GL_ARRAY_BUFFER, size(), NULL, usage)); 109 GR_GL(BufferSubData(GR_GL_ARRAY_BUFFER, 0, srcSizeInBytes, src)); 123 GR_GL(BufferSubData(GR_GL_ARRAY_BUFFER, offset, srcSizeInBytes, src)) [all...] |
GrGpuGL.cpp | 166 GR_GL(ActiveTexture(GR_GL_TEXTURE0 + SPARE_TEX_UNIT)); 169 GR_GL(GenFramebuffers(1, &testFBO)); 170 GR_GL(BindFramebuffer(GR_GL_FRAMEBUFFER, testFBO)); 172 GR_GL(GenTextures(1, &testRTTex)); 173 GR_GL(BindTexture(GR_GL_TEXTURE_2D, testRTTex)); 176 GR_GL(TexParameteri(GR_GL_TEXTURE_2D, GR_GL_TEXTURE_MIN_FILTER, GR_GL_NEAREST)); 177 GR_GL(TexImage2D(GR_GL_TEXTURE_2D, 0, GR_GL_RGBA, w, h, 179 GR_GL(BindTexture(GR_GL_TEXTURE_2D, 0)); 180 GR_GL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, 182 GrGLenum status = GR_GL(CheckFramebufferStatus(GR_GL_FRAMEBUFFER)) [all...] |
GrGLUtil.cpp | 40 GR_GL(PixelStorei(GR_GL_UNPACK_ROW_LENGTH, 0));
|
GrGLTexture.cpp | 46 GR_GL(DeleteFramebuffers(1, &fTexFBOID)); 49 GR_GL(DeleteFramebuffers(1, &fRTFBOID)); 52 GR_GL(DeleteRenderbuffers(1, &fStencilRenderbufferID)); 55 GR_GL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); 171 GR_GL(BindTexture(GR_GL_TEXTURE_2D, fTexIDObj->id())); 172 GR_GL(PixelStorei(GR_GL_UNPACK_ALIGNMENT, fUploadByteCount)); 173 GR_GL(TexSubImage2D(GR_GL_TEXTURE_2D, 0, x, y, width, height,
|
GrGpuGLShaders.cpp | 139 GR_GL(DeleteShader(programData->fVShaderID)); 140 GR_GL(DeleteShader(programData->fFShaderID)); 141 GR_GL(DeleteProgram(programData->fProgramID)); 301 GR_GL(DisableVertexAttribArray(GrGLProgram::ColorAttributeIdx())); 303 GR_GL(DisableVertexAttribArray(GrGLProgram::TexCoordAttributeIdx(t))); 305 GR_GL(EnableVertexAttribArray(GrGLProgram::PositionAttributeIdx())); 336 GR_GL(VertexAttrib4fv(baseIdx + 0, mt+0)); 337 GR_GL(VertexAttrib4fv(baseIdx + 1, mt+3)); 338 GR_GL(VertexAttrib4fv(baseIdx + 2, mt+6)); 342 GR_GL(UniformMatrix3fv(fProgramData->fUniLocations.fViewMatrixUni [all...] |
GrGLProgram.cpp | 737 GrGLuint shader = GR_GL(CreateShader(type)); 743 GR_GL(ShaderSource(shader, stringCnt, strings, stringLengths)); 744 GR_GL(CompileShader(shader)); 745 GR_GL(GetShaderiv(shader, GR_GL_COMPILE_STATUS, &compiled)); 749 GR_GL(GetShaderiv(shader, GR_GL_INFO_LOG_LENGTH, &infoLen)); 752 GR_GL(GetShaderInfoLog(shader, infoLen+1, NULL, (char*)log.get())); 763 GR_GL(DeleteShader(shader)); 774 programData->fProgramID = GR_GL(CreateProgram()); 780 GR_GL(AttachShader(progID, programData->fVShaderID)); 781 GR_GL(AttachShader(progID, programData->fFShaderID)) [all...] |
/external/skia/gpu/include/ |
GrGLConfig.h | 163 #define GR_GL(X) GrGLGetGLInterface()->f##X;; GR_GL_LOG_CALLS_IMPL(X); GR_GL_CHECK_ERROR_IMPL(X); 188 GR_GL(GetIntegerv(e, p)); \
|
GrGLIRect.h | 34 GR_GL(Viewport(fLeft, fBottom, fWidth, fHeight)); 38 GR_GL(Scissor(fLeft, fBottom, fWidth, fHeight));
|
GrGLTexture.h | 37 GR_GL(DeleteTextures(1, &fTexID));
|