rename namespace filament::driver -> filament::backend
This commit is contained in:
committed by
Mathias Agopian
parent
639d05374b
commit
b26684deed
@@ -25,7 +25,7 @@
|
||||
#include "CallbackUtils.h"
|
||||
|
||||
using namespace filament;
|
||||
using namespace driver;
|
||||
using namespace backend;
|
||||
|
||||
class StreamBuilder {
|
||||
public:
|
||||
@@ -145,8 +145,8 @@ Java_com_google_android_filament_Stream_nReadPixels(JNIEnv *env, jclass,
|
||||
void *buffer = nioBuffer.getData();
|
||||
auto *callback = JniBufferCallback::make(engine, env, handler, runnable, std::move(nioBuffer));
|
||||
|
||||
PixelBufferDescriptor desc(buffer, sizeInBytes, (driver::PixelDataFormat) format,
|
||||
(driver::PixelDataType) type, (uint8_t) alignment, (uint32_t) left, (uint32_t) top,
|
||||
PixelBufferDescriptor desc(buffer, sizeInBytes, (backend::PixelDataFormat) format,
|
||||
(backend::PixelDataType) type, (uint8_t) alignment, (uint32_t) left, (uint32_t) top,
|
||||
(uint32_t) stride, &JniBufferCallback::invoke, callback);
|
||||
|
||||
stream->readPixels(uint32_t(xoffset), uint32_t(yoffset), uint32_t(width), uint32_t(height),
|
||||
|
||||
Reference in New Issue
Block a user