OSDN Git Service

glClearBuffer implementation
authorAlexis Hetu <sugoi@google.com>
Wed, 29 Apr 2015 19:53:26 +0000 (15:53 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 20 May 2015 12:30:53 +0000 (12:30 +0000)
commit4ffc8188b90fd2583ad7c2082db5ac45c54a5f54
treee2567fc50b6d3302358b72c895a916d337f94c5a
parentb72f8ee800442ae27b864583d26f636667450657
glClearBuffer implementation

Implemented glClearBuffer* functions.
Right now, all colors are represented
as floats internally, but should that
change, and integer types be supported,
we'd be able to remove the casts to
float here.

Change-Id: Ie785858d77ce7ac03b78fca9e43ac922c15e76e0
Reviewed-on: https://swiftshader-review.googlesource.com/3004
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLESv2/Context.cpp
src/OpenGL/libGLESv2/Context.h
src/OpenGL/libGLESv2/Device.cpp
src/OpenGL/libGLESv2/Device.hpp
src/OpenGL/libGLESv2/libGLESv3.cpp