HomeSort by relevance Sort by last modified time
    Searched refs:GLC (Results 1 - 14 of 14) sorted by null

  /external/webkit/Source/WebCore/platform/graphics/chromium/
ProgramBinding.cpp 49 GLC(m_context, m_context->deleteProgram(m_program));
68 GLC(m_context, m_context->shaderSource(shader, sourceString));
69 GLC(m_context, m_context->compileShader(shader));
71 GLC(m_context, m_context->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compiled));
73 GLC(m_context, m_context->deleteShader(shader));
89 GLC(m_context, m_context->deleteShader(vertexShader));
100 GLC(m_context, m_context->attachShader(programObject, vertexShader));
101 GLC(m_context, m_context->attachShader(programObject, fragmentShader));
104 GLC(m_context, m_context->bindAttribLocation(programObject, GeometryBinding::positionAttribLocation(), "a_position"));
105 GLC(m_context, m_context->bindAttribLocation(programObject, GeometryBinding::texCoordAttribLocation(), (…)
    [all...]
GeometryBinding.cpp 52 GLC(m_context, m_quadVerticesVbo = m_context->createBuffer());
53 GLC(m_context, m_quadElementsVbo = m_context->createBuffer());
54 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, m_quadVerticesVbo));
55 GLC(m_context, m_context->bufferData(GraphicsContext3D::ARRAY_BUFFER, sizeof(vertices), vertices, GraphicsContext3D::STATIC_DRAW));
56 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, m_quadElementsVbo));
57 GLC(m_context, m_context->bufferData(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GraphicsContext3D::STATIC_DRAW));
64 GLC(m_context, m_context->deleteBuffer(m_quadVerticesVbo));
65 GLC(m_context, m_context->deleteBuffer(m_quadElementsVbo));
70 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ARRAY_BUFFER, quadVerticesVbo()));
71 GLC(m_context, m_context->bindBuffer(GraphicsContext3D::ELEMENT_ARRAY_BUFFER, quadElementsVbo()))
    [all...]
RenderSurfaceChromium.cpp 115 GLC(context3D, context3D->activeTexture(GraphicsContext3D::TEXTURE0));
116 GLC(context3D, context3D->uniform1i(maskProgram->fragmentShader().samplerLocation(), 0));
118 GLC(context3D, context3D->activeTexture(GraphicsContext3D::TEXTURE1));
119 GLC(context3D, context3D->uniform1i(maskProgram->fragmentShader().maskSamplerLocation(), 1));
121 GLC(context3D, context3D->activeTexture(GraphicsContext3D::TEXTURE0));
131 GLC(context3D, context3D->uniform1i(program->fragmentShader().samplerLocation(), 0));
LayerRendererChromium.cpp 151 GLC(m_context.get(), m_context->useProgram(programId));
379 GLC(m_context.get(), m_context->viewport(0, 0, m_viewportVisibleRect.width(), m_viewportVisibleRect.height()));
385 GLC(m_context.get(), m_context->disable(GraphicsContext3D::DEPTH_TEST));
386 GLC(m_context.get(), m_context->disable(GraphicsContext3D::CULL_FACE));
389 GLC(m_context.get(), m_context->disable(GraphicsContext3D::BLEND));
406 GLC(m_context.get(), m_context->enable(GraphicsContext3D::BLEND));
407 GLC(m_context.get(), m_context->blendFunc(GraphicsContext3D::ONE, GraphicsContext3D::ONE_MINUS_SRC_ALPHA));
408 GLC(m_context.get(), m_context->enable(GraphicsContext3D::SCISSOR_TEST));
424 GLC(m_context.get(), m_context->disable(GraphicsContext3D::SCISSOR_TEST));
425 GLC(m_context.get(), m_context->clearColor(0, 0, 0, 0))
    [all...]
TextureManager.cpp 130 GLC(m_context.get(), m_context->deleteTexture(info.textureId));
149 GLC(m_context.get(), textureId = m_context->createTexture());
150 GLC(m_context.get(), m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
152 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
153 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR));
155 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE));
156 GLC(m_context.get(), m_context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_T, GraphicsContext3D::CLAMP_TO_EDGE));
157 GLC(m_context.get(), m_context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, format, size.width(), size.height(), 0, format, GraphicsContext3D::UNSIGNED_BYTE));
VideoLayerChromium.cpp 84 GLC(context, context->deleteTexture(texture.id));
243 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
244 GLC(context, context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, textureFormat, dimensions.width(), dimensions.height(), 0, textureFormat, GraphicsContext3D::UNSIGNED_BYTE));
250 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, textureId));
254 GLC(context, static_cast<Extensions3DChromium*>(context->getExtensions())->unmapTexSubImage2DCHROMIUM(mem));
259 GLC(context, context->texSubImage2D(GraphicsContext3D::TEXTURE_2D, 0, 0, 0, dimensions.width(), dimensions.height(), format, GraphicsContext3D::UNSIGNED_BYTE, data));
LayerTilerChromium.cpp 365 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, filter));
366 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, filter));
368 GLC(context, context->texSubImage2D(GraphicsContext3D::TEXTURE_2D, 0, destRect.x(), destRect.y(), destRect.width(), destRect.height(), GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE, pixelSource));
388 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0));
448 GLC(context, context->uniformMatrix4fv(program->vertexShader().matrixLocation(), false, &glMatrix[0], 1));
450 GLC(context, context->uniform1f(program->fragmentShader().alphaLocation(), opacity));
452 GLC(context, context->uniform4f(program->vertexShader().texTransformLocation(),
455 GLC(context, context->drawElements(GraphicsContext3D::TRIANGLES, 6, GraphicsContext3D::UNSIGNED_SHORT, 0));
LayerChromium.cpp 337 GLC(context, context->uniformMatrix4fv(matrixLocation, false, &glMatrix[0], 1));
340 GLC(context, context->uniform1f(alphaLocation, opacity));
342 GLC(context, context->drawElements(GraphicsContext3D::TRIANGLES, 6, GraphicsContext3D::UNSIGNED_SHORT, 0));
LayerRendererChromium.h 242 #define GLC(context, x) { (x), LayerRendererChromium::debugGLCall(context, #x, __FILE__, __LINE__); }
244 #define GLC(context, x) (x)
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCPluginLayerImpl.cpp 55 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
56 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
60 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
61 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR));
62 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE));
63 GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_T, GraphicsContext3D::CLAMP_TO_EDGE));
66 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0));
CCVideoLayerImpl.cpp 111 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE1));
112 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, yTexture.id));
113 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE2));
114 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, uTexture.id));
115 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE3));
116 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, vTexture.id));
123 GLC(context, context->uniform1f(program->vertexShader().yWidthScaleFactorLocation(), yWidthScaleFactor));
124 GLC(context, context->uniform1f(program->vertexShader().uvWidthScaleFactorLocation(), uvWidthScaleFactor));
126 GLC(context, context->uniform1i(program->fragmentShader().yTextureLocation(), 1));
127 GLC(context, context->uniform1i(program->fragmentShader().uTextureLocation(), 2))
    [all...]
CCCanvasLayerImpl.cpp 56 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
57 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
59 GLC(context, context->blendFunc(sfactor, GraphicsContext3D::ONE_MINUS_SRC_ALPHA));
61 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0));
CCLayerImpl.cpp 181 GLC(context, context->uniformMatrix4fv(program->vertexShader().matrixLocation(), false, &glMatrix[0], 1));
183 GLC(context, context->uniform4f(program->fragmentShader().colorLocation(), debugBorderColor().red() / 255.0, debugBorderColor().green() / 255.0, debugBorderColor().blue() / 255.0, 1));
185 GLC(context, context->lineWidth(debugBorderWidth()));
188 GLC(context, context->drawElements(GraphicsContext3D::LINE_LOOP, 4, GraphicsContext3D::UNSIGNED_SHORT, 6 * sizeof(unsigned short)));
CCHeadsUpDisplay.cpp 109 GLC(context.get(), context->texImage2D(GraphicsContext3D::TEXTURE_2D, 0, GraphicsContext3D::RGBA, canvas.size().width(), canvas.size().height(), 0, GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE, locker.pixels()));
115 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
118 GLC(context, context->uniform1i(program->fragmentShader().samplerLocation(), 0));

Completed in 992 milliseconds