HomeSort by relevance Sort by last modified time
    Searched refs:colorBuffer (Results 1 - 25 of 51) sorted by null

1 2 3

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLVertex.java 56 public void put(IntBuffer vertexBuffer, IntBuffer colorBuffer) {
61 colorBuffer.put(0);
62 colorBuffer.put(0);
63 colorBuffer.put(0);
64 colorBuffer.put(0);
66 colorBuffer.put(color.red);
67 colorBuffer.put(color.green);
68 colorBuffer.put(color.blue);
69 colorBuffer.put(color.alpha);
  /external/deqp/external/openglcts/modules/glesext/geometry_shader/
esextcGeometryShaderLayeredRenderingBoundaryCondition.hpp 64 virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer,
138 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
190 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
225 void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
269 virtual void getReferenceColor(glw::GLint layerIndex, unsigned char* colorBuffer, int colorBufferSize);
esextcGeometryShaderLayeredRenderingBoundaryCondition.cpp 584 * @param colorBuffer will be used to store the requested data(buffor size should be greater than or equal colorBufferSize)
588 unsigned char* colorBuffer,
593 memcpy(colorBuffer, m_red_color, colorBufferSize);
597 memcpy(colorBuffer, m_green_color, colorBufferSize);
601 memset(colorBuffer, 0, colorBufferSize);
631 * @param colorBuffer will be used to store the requested data(buffer size should be greater than or equal colorBufferSize)
635 unsigned char* colorBuffer,
640 memcpy(colorBuffer, m_white_color, colorBufferSize);
644 memset(colorBuffer, 0, colorBufferSize);
743 * @param colorBuffer will be used to store the requested data(buffer size should be greater than or equal colorBuff (…)
    [all...]
  /external/deqp/framework/referencerenderer/
rrFragmentOperations.hpp 145 void executeColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
146 void executeRGBA8ColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::PixelBufferAccess& colorBuffer);
147 void executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
148 void executeSignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
149 void executeUnsignedValueWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::BVec4& colorMask, const tcu::PixelBufferAccess& colorBuffer);
rrFragmentOperations.cpp     [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java 320 private final FloatBuffer colorBuffer;
372 colorBuffer = bb.asFloatBuffer();
411 colorBuffer.clear();
419 colorBuffer.put((float)((c & 0xFF0000) >> 16) / 0xFF);
420 colorBuffer.put((float)((c & 0x00FF00) >> 8) / 0xFF);
421 colorBuffer.put((float)(c & 0x0000FF) / 0xFF);
422 colorBuffer.put(/*a*/ 1f);
424 colorBuffer.position(0);
427 colorStride, colorBuffer);
  /device/generic/goldfish-opengl/system/renderControl_enc/
renderControl_entry.cpp 21 void rcOpenColorBuffer(uint32_t colorbuffer);
22 void rcCloseColorBuffer(uint32_t colorbuffer);
23 void rcSetWindowColorBuffer(uint32_t windowSurface, uint32_t colorBuffer);
26 void rcFBPost(uint32_t colorBuffer);
28 void rcBindTexture(uint32_t colorBuffer);
29 void rcBindRenderbuffer(uint32_t colorBuffer);
30 EGLint rcColorBufferCacheFlush(uint32_t colorbuffer, EGLint postCount, int forRead);
31 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
32 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels);
33 int rcOpenColorBuffer2(uint32_t colorbuffer);
    [all...]
  /external/deqp/modules/glshared/
glsFragmentOpUtil.hpp 118 void render (const tcu::PixelBufferAccess& colorBuffer,
130 void flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer,
glsFragmentOpUtil.cpp 213 void ReferenceQuadRenderer::flushFragmentBuffer (const rr::MultisamplePixelBufferAccess& colorBuffer,
219 m_fragmentProcessor.render(colorBuffer, depthBuffer, stencilBuffer, &m_fragmentBuffer[0], m_fragmentBufferSize, faceType, state);
223 void ReferenceQuadRenderer::render (const tcu::PixelBufferAccess& colorBuffer,
262 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer),
272 flushFragmentBuffer(rr::MultisamplePixelBufferAccess::fromMultisampleAccess(colorBuffer),
  /external/skia/src/core/
SkColorSpaceXformer.cpp 181 SkColor* colorBuffer, int count) {
183 this->apply(colorBuffer, lattice.fColors, count);
185 lattice.fXCount, lattice.fYCount, lattice.fBounds, colorBuffer};
SkColorSpaceXformCanvas.cpp 167 SkSTArray<16, SkColor> colorBuffer;
170 colorBuffer.reset(count);
172 fXformer->apply(lattice, colorBuffer.begin(), count),
231 SkSTArray<16, SkColor> colorBuffer;
234 colorBuffer.reset(count);
236 fXformer->apply(lattice, colorBuffer.begin(), count), dst,
  /external/skqp/src/core/
SkColorSpaceXformer.cpp 181 SkColor* colorBuffer, int count) {
183 this->apply(colorBuffer, lattice.fColors, count);
185 lattice.fXCount, lattice.fYCount, lattice.fBounds, colorBuffer};
SkColorSpaceXformCanvas.cpp 167 SkSTArray<16, SkColor> colorBuffer;
170 colorBuffer.reset(count);
172 fXformer->apply(lattice, colorBuffer.begin(), count),
231 SkSTArray<16, SkColor> colorBuffer;
234 colorBuffer.reset(count);
236 fXformer->apply(lattice, colorBuffer.begin(), count), dst,
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryBasicClass.cpp 109 const Buffer colorBuffer (vk, device, memAlloc, makeBufferCreateInfo(colorBufferSizeBytes,
179 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
183 const VkBufferMemoryBarrier postCopyBarrier = makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
194 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
vktGeometryInstancedRenderingTests.cpp 344 const VkBuffer colorBuffer,
445 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, &region);
458 colorBuffer, // VkBuffer buffer;
639 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)));
640 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
651 draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInstancePosition);
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationGeometryPassthroughTests.cpp 350 const Buffer& colorBuffer,
355 const Allocation& alloc = colorBuffer.getAllocation();
484 const Buffer* const colorBuffer[PIPELINE_CASES] = { &colorBuffer1, &colorBuffer2 };
583 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer[pipelineNdx]->get(), 1u, &copyRegion);
587 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, colorBuffer[pipelineNdx]->get(), 0ull, colorBufferSizeBytes);
599 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, colorBufferSizeBytes, renderSize);
600 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, colorBufferSizeBytes, renderSize);
vktTessellationGeometryPointSizeTests.cpp 325 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
398 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
402 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
413 const Allocation& alloc = colorBuffer.getAllocation();
vktTessellationCommonEdgeTests.cpp 360 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
435 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
439 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
451 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
vktTessellationGeometryGridRenderTests.cpp 550 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
612 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
616 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
627 const Allocation& alloc = colorBuffer.getAllocation();
vktTessellationMiscDrawTests.cpp 171 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
286 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
290 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
300 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
vktTessellationPrimitiveDiscardTests.cpp 443 const Buffer colorBuffer(vk, device, allocator,
537 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
541 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
559 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
vktTessellationShaderInputOutputTests.cpp 105 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
181 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
185 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
195 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
vktTessellationWindingTests.cpp 428 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible);
552 vk.cmdCopyImageToBuffer(*cmdBuffer, *colorAttachmentImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *colorBuffer, 1u, &copyRegion);
556 VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *colorBuffer, 0ull, colorBufferSizeBytes);
567 const Allocation& colorBufferAlloc = colorBuffer.getAllocation();
  /external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
vktFragmentOperationsScissorMultiViewportTests.cpp 594 void draw (Context& context, const VkBuffer colorBuffer) const
661 vk.cmdCopyImageToBuffer(*m_cmdBuffer, *m_colorImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, colorBuffer, 1u, &region);
674 colorBuffer, // VkBuffer buffer;
731 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, makeBufferCreateInfo(colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT)));
732 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
745 renderer.draw(context, *colorBuffer);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineFramebufferAttachmentTests.cpp 531 const Unique<VkBuffer> colorBuffer (makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT));
532 const UniquePtr<Allocation> colorBufferAlloc (bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible));
731 // copy colorImage to host visible colorBuffer
    [all...]

Completed in 395 milliseconds

1 2 3